Edit D:\rfid\libsystem\page\application\js\opacsetpara.js
$(function(){initPageLayoutByElement(50);getOpacConfig()});function initPageLayoutByElement(b){var a=$(window).height();var c=a-b;$(".div-body-box").css("height",c+"px");$("#setOpacPara").tabs("resize")}function onStartSync(){var a=getValue("solrip");var b=getValue("solrport");if(a.length==0||b.length==0){return openMessageDlg("ip??????????????")}$.messager.confirm("??????","????????pac??????¤???????????",function(c){if(c){window.open("http://"+a+":"+b+"/solr/core1/dataimport?command=full-import&clean=true&commit=true")}})}function getOpacConfig(){var a={type:"opac"};var b=base_path+"lib/config/page.do";$.post(b,a,function(c){if(c.status=="0"){saveOpacConfigResult(c)}else{openMessageDlg(c.message)}},"json")}function saveOpacConfig(){var b=getJsonData(null,"record");if(!b.solrip||!b.solrport){return openMessageDlg("ip??????????????")}var a={type:"opac",paramjson:JSON.stringify(b)};var c=base_path+"lib/config/insert.do";if(getValue("id")>0){c=base_path+"lib/config/update.do";a.id=getValue("id")}$.post(c,a,function(d){if(d.status=="0"){openMessageDlg(d.message);saveOpacConfigResult(d)}else{openMessageDlg(d.message)}},"json")}function saveOpacConfigResult(b){if(b.status=="0"){var c=b.rows[0];setValue("id",c.id);var a=JSON.parse(c.paramjson);setJsonData(null,a)}};
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de