<td>
<script>
var url = unescape(getParam('url'));
+ var proofcheckerURL = unescape(extractParam(url,'param.proofcheckerURL'));
var CICURI = extractParam(url,'param.CICURI');
- url = "http://phd.cs.unibo.it:8085/proofCheck?uri=" + CICURI;
+ url = proofcheckerURL + "proofCheck?uri=" + CICURI;
document.write(
'<a target="proofChecker" href="' + url + '">Proof-check it</a>'
);
<select onChange="selectUwoboURL(this)">
<option value="">---</option>
<option value="localhost">localhost</option>
+ <option value="mowgli.cs.unibo.it">mowgli</option>
<option value="marcello.cs.unibo.it">marcello</option>
<option value="phd.cs.unibo.it">phd</option>
<option value="eolo.cs.unibo.it">eolo</option>
<select onChange="selectGetterURL(this)">
<option value="">---</option>
<option value="localhost">localhost</option>
+ <option value="mowgli.cs.unibo.it">mowgli</option>
<option value="marcello.cs.unibo.it">marcello</option>
<option value="phd.cs.unibo.it">phd</option>
<option value="eolo.cs.unibo.it">eolo</option>
<br />
+<table border="0">
+ <tr>
+ <th colspan="2" align="left">Proof-Checker URL</th>
+ </tr>
+ <tr>
+ <td>
+ <form name="proofcheckerURL">
+ <script>
+ document.write('<input type="text" value="' + getInitialProofCheckerURL() + '" size="50"/>');
+ </script>
+ </form>
+ </td>
+ <td>
+ <form>
+ <select onChange="selectProofCheckerURL(this)">
+ <option value="">---</option>
+ <option value="localhost">localhost</option>
+ <option value="mowgli.cs.unibo.it">mowgli</option>
+ <option value="marcello.cs.unibo.it">marcello</option>
+ <option value="phd.cs.unibo.it">phd</option>
+ <option value="eolo.cs.unibo.it">eolo</option>
+ </select>
+ </form>
+ </td>
+ <td>
+ <form>
+ <input type="button" value="Check" onClick="top.result.location = getProofCheckerURL() + 'help'"/>
+ </form>
+ </td>
+ </tr>
+</table>
+
+<br />
+
<table border="0">
<tr>
<th colspan="2" align="left">Graph Drawer URL</th>
<select onChange="selectDrawGraphURL(this)">
<option value="">---</option>
<option value="localhost">localhost</option>
+ <option value="mowgli.cs.unibo.it">mowgli</option>
<option value="marcello.cs.unibo.it">marcello</option>
<option value="phd.cs.unibo.it">phd</option>
<option value="eolo.cs.unibo.it">eolo</option>
<select onChange="selectURISetQueueURL(this)">
<option value="">---</option>
<option value="localhost">localhost</option>
+ <option value="mowgli.cs.unibo.it">mowgli</option>
<option value="marcello.cs.unibo.it">marcello</option>
<option value="phd.cs.unibo.it">phd</option>
<option value="eolo.cs.unibo.it">eolo</option>
<![CDATA[
top.processorURL = getParam2('processorURL');
top.getterURL = getParam2('getterURL');
+ top.proofcheckerURL = getParam2('proofcheckerURL');
top.draw_graphURL = getParam2('draw_graphURL');
top.uri_set_queueURL = getParam2('uri_set_queueURL');
top.UNICODEvsSYMBOL = getParam2('UNICODEvsSYMBOL');
'&theoryuri=' + getParam2('theoryuri') +
'&processorURL=' + getParam2('processorURL') +
'&getterURL=' + getParam2('getterURL') +
+ '&proofcheckerURL=' + getParam2('proofcheckerURL') +
'&draw_graphURL=' + getParam2('draw_graphURL') +
'&uri_set_queueURL=' + getParam2('uri_set_queueURL') +
'&UNICODEvsSYMBOL=' + getParam2('UNICODEvsSYMBOL');
'¶m.keys=L2H' +
'¶m.uri=' + getParam2('theoryuri') +
'¶m.getterURL=' + getParam2('getterURL') +
+ '¶m.proofcheckerURL=' + getParam2('proofcheckerURL') +
'¶m.draw_graphURL=' + getParam2('draw_graphURL') +
'¶m.uri_set_queueURL='+getParam2('uri_set_queueURL') +
'¶m.UNICODEvsSYMBOL=' + getParam2('UNICODEvsSYMBOL') +
'¶m.keys=L2H' +
'¶m.uri=' + getParam2('cicuri') +
'¶m.getterURL=' + getParam2('getterURL') +
+ '¶m.proofcheckerURL=' + getParam2('proofcheckerURL') +
'¶m.draw_graphURL=' + getParam2('draw_graphURL') +
'¶m.uri_set_queueURL='+getParam2('uri_set_queueURL') +
'¶m.UNICODEvsSYMBOL=' + getParam2('UNICODEvsSYMBOL') +
var topurl = top.topurl;
var processorURL = top.processorURL;
var getterURL = top.getterURL;
+ var proofcheckerURL = top.proofcheckerURL;
var draw_graphURL = top.draw_graphURL;
var uri_set_queueURL = top.uri_set_queueURL;
var mode_list = mode.split(",");
var new_mode = output.options[output.selectedIndex].value;
- var dest = "?theoryuri=" + theoryuri + "&cicuri=" + cicuri + "&topurl=" + topurl + "&processorURL=" + processorURL + "&getterURL=" + getterURL + "&draw_graphURL=" + draw_graphURL + "&uri_set_queueURL=" + uri_set_queueURL + "&mode=";
+ var dest = "?theoryuri=" + theoryuri + "&cicuri=" + cicuri + "&topurl=" + topurl + "&processorURL=" + processorURL + "&getterURL=" + getterURL + "&proofcheckerURL=" + proofcheckerURL + "&draw_graphURL=" + draw_graphURL + "&uri_set_queueURL=" + uri_set_queueURL + "&mode=";
if (new_mode != mode_list[0]) {
updateMode(0, new_mode);
"&theoryuri=" + top.theoryuri +
"&processorURL=" + top.processorURL +
"&getterURL=" + top.getterURL +
+ "&proofcheckerURL=" + top.proofcheckerURL +
"&draw_graphURL=" + top.draw_graphURL +
"&uri_set_queueURL=" + top.uri_set_queueURL +
"&UNICODEvsSYMBOL=" + top.UNICODEvsSYMBOL;
var mode = top.mode;
var processorURL = top.processorURL;
var getterURL = top.getterURL;
+ var proofcheckerURL = top.proofcheckerURL;
var draw_graphURL = top.draw_graphURL;
var uri_set_queueURL = top.uri_set_queueURL;
var UNICODEvsSYMBOL = top.UNICODEvsSYMBOL;
keys = getCICHTMLKeys() +
"¶m.processorURL=" + escape(processorURL) +
"¶m.getterURL=" + escape(getterURL) +
+ "¶m.proofcheckerURL=" + escape(proofcheckerURL) +
"¶m.draw_graphURL=" + escape(draw_graphURL) +
"¶m.uri_set_queueURL=" + escape(uri_set_queueURL) +
"¶m.UNICODEvsSYMBOL=" + escape(UNICODEvsSYMBOL) +
keys = getTheoryKeys()+
"¶m.processorURL=" + escape(processorURL) +
"¶m.getterURL=" + escape(getterURL) +
+ "¶m.proofcheckerURL=" + escape(proofcheckerURL) +
"¶m.draw_graphURL=" + escape(draw_graphURL) +
"¶m.uri_set_queueURL=" + escape(uri_set_queueURL) +
"¶m.UNICODEvsSYMBOL=" + escape(UNICODEvsSYMBOL) +
"¶m.processorURL=" + escape(processorURL) +
"¶m.getterURL=" + escape(getterURL) +
+ "¶m.proofcheckerURL=" + escape(proofcheckerURL) +
"¶m.draw_graphURL=" + escape(draw_graphURL) +
"¶m.uri_set_queueURL=" + escape(uri_set_queueURL) +
"¶m.doctype-public=" +
keys = getCICMathMLKeys()+
"¶m.processorURL=" + escape(processorURL) +
"¶m.getterURL=" + escape(getterURL) +
+ "¶m.proofcheckerURL=" + escape(proofcheckerURL) +
"¶m.draw_graphURL=" + escape(draw_graphURL) +
"¶m.uri_set_queueURL=" + escape(uri_set_queueURL) +
"&prop.doctype-public="+
"¶m.embedkeys=" + escape("d_c,TC1,G,C2,L") +
"¶m.processorURL=" + escape(processorURL) +
"¶m.getterURL=" + escape(getterURL) +
+ "¶m.proofcheckerURL=" + escape(proofcheckerURL) +
"¶m.draw_graphURL=" + escape(draw_graphURL) +
"¶m.uri_set_queueURL=" + escape(uri_set_queueURL) +
"¶m.doctype-public=" +
return "http://phd.cs.unibo.it:8083/";
case "uri_set_queueURL":
return "http://phd.cs.unibo.it:8084/";
+ case "proofcheckerURL":
+ return "http://mowgli.cs.unibo.it:48084/";
case "UNICODEvsSYMBOL":
return "symbol";
case "cicuri":
return getterURL;
}
+function getInitialProofCheckerURL()
+{
+ var search = top.location.search;
+ search = search.slice(1);
+ var args = search.split("&");
+ var proofcheckerURL = "-1";
+ for (var i = 0 ; i < args.length ; i++) {
+ var couple = args[i].split("=");
+ if (couple[0] == "proofcheckerURL") proofcheckerURL = couple[1];
+ }
+ if (proofcheckerURL == "-1")
+ proofcheckerURL = getDefaultParam("proofcheckerURL");
+ return proofcheckerURL;
+}
+
function getInitialDrawGraphURL()
{
var search = top.location.search;
return document.getterURL.elements[0].value;
}
+function getProofCheckerURL()
+{
+ return document.proofcheckerURL.elements[0].value;
+}
+
function getDrawGraphURL()
{
return document.draw_graphURL.elements[0].value;
"&mode=" + mode +
"&processorURL=" + getUwoboURL() +
"&getterURL=" + getGetterURL() +
+ "&proofcheckerURL=" + getProofCheckerURL() +
"&draw_graphURL=" + getDrawGraphURL() +
"&uri_set_queueURL=" + getURISetQueueURL() +
"&UNICODEvsSYMBOL=" + getUNICODEvsSYMBOL()
if (ss.selectedIndex == 0) {
document.uwoboURL.elements[0].value = "";
} else {
- document.uwoboURL.elements[0].value = "http://" + ss.options[ss.selectedIndex].value + ":8080/helm/servlet/uwobo/";
+ document.uwoboURL.elements[0].value = "http://" + ss.options[ss.selectedIndex].value + ":8081/helm/servlet/uwobo/";
}
refreshLinks();
if (ss.selectedIndex == 0) {
document.getterURL.elements[0].value = "";
} else {
- document.getterURL.elements[0].value = "http://" + ss.options[ss.selectedIndex].value + ":8081/";
+ document.getterURL.elements[0].value = "http://" + ss.options[ss.selectedIndex].value + ":48081/";
+ }
+
+ refreshLinks();
+}
+
+function selectProofCheckerURL(ss)
+{
+ if (ss.selectedIndex == 0) {
+ document.proofcheckerURL.elements[0].value = "";
+ } else {
+ document.proofcheckerURL.elements[0].value = "http://" + ss.options[ss.selectedIndex].value + ":48084/";
}
refreshLinks();