--- /dev/null
+<html>
+
+<head>
+<title>???</title>
+
+<style type="text/css">
+#normal { background-color: white; font-family: sans-serif }
+td.head { font-weight: bold; background-color: #e6e6fa; color: brown }
+td.back { background-color: #e6e6fa; color: brown }
+#indent { margin-left: 1cm; margin-right: 1cm }
+#centered { text-align: center }
+</style>
+
+<script language="JavaScript" src="../../javascript/defaults.js"></script>
+<script language="JavaScript" src="../../javascript/utils.js"></script>
+
+</head>
+
+<body id="normal">
+ <center>
+ <h1>Broken control frame. Useful soon! (stay tooned)</h1>
+ </center>
+<form>
+ <script>document.write('<textarea rows="1" cols="75">' +
+ unescape(getParam('url')) +
+ '</textarea>');
+ </script>
+</form>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
+"http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<head>
+ <script language="JavaScript" src="../../javascript/defaults.js"></script>
+ <script language="JavaScript" src="../../javascript/utils.js"></script>
+ <title>???</script></title>
+</head>
+<script>
+ document.write('<frameset rows="18%,*" border="0" scrolling="no">');
+ document.write('<frame src="control.html?url=' + getParam('url') +'"/>');
+ document.write('<frame src="' + unescape(getParam('url')) + '"/>');
+/*
+ document.write('<frame src="control.html' +
+ '?topurl=' + location.protocol + "//" + location.host + location.pathname +
+ '&mode=' + getParam('mode') +
+ '&cicuri=' + getParam('cicuri') +
+ '&theoryuri=' + getParam('theoryuri') +
+ '&processorURL=' + getParam('processorURL') +
+ '&getterURL=' + getParam('getterURL') +
+ '" name="control"/>');
+*/
+/*
+ document.write('<frame src="' +
+ getParam('processorURL') + 'apply' +
+ '?keys=GP' +
+ '&xmluri=' + location.protocol + "//" + location.host + chopSlash(location.pathname) + "/header.html" +
+ '¶m.uri=' + getParam('theoryuri') +
+ '" name="theoryheader"/>');
+ document.write('<frame src="' +
+ getParam('processorURL') + 'apply' +
+ '?keys=L2H' +
+ '&xmluri=' + escape(getParam('getterURL') + 'ls?format=xml&baseuri=' + getParam('theoryuri')) +
+ '¶m.keys=L2H' +
+ '¶m.uri=' + getParam('theoryuri') +
+ '¶m.getterURL=' + getParam('getterURL') +
+ '¶m.target=theory' +
+ '¶m.interfaceURL=' + location.protocol + "//" + location.host + chopSlash(chopSlash(chopSlash(location.pathname))) +
+ '" name="theoryresult"/>');
+*/
+ document.write('</frameset>');
+</script>
+
+</html>
var keys = "";
var url = "";
+ var interfaceURL = chopSlash(chopSlash(top.topurl)) + "/cic/index.html";
+
var output = mode_list[0];
var format;
if (output == "raw") format = mode_list[1];
"¶m.doctype-public="+escape("-//W3C//DTD XHTML 1.0 Transitional//EN")+
"¶m.encoding=iso-8859-1" +
"¶m.media-type=text/html" +
- "¶m.keys=" + escape("C1,HC2,L");
+ "¶m.keys=" + escape("C1,HC2,L") +
+ "¶m.interfaceURL=" + escape(interfaceURL);
} else if (format == "html" && type == "theory") {
keys = escape("T1,T2,L,E")+"¶m.processorURL=" + escape(processorURL) +
"¶m.getterURL=" + escape(getterURL) +
"¶m.doctype-public="+escape("-//W3C//DTD XHTML 1.0 Transitional//EN")+
"¶m.encoding=iso-8859-1" +
"¶m.media-type=text/html" +
- "¶m.keys=" + escape("C1,HC2,L");
+ "¶m.keys=" + escape("C1,HC2,L") +
+ "¶m.interfaceURL=" + escape(interfaceURL);
} else if (format == "mml_cont" && type == "cic") {
keys = "C1";
} else if (format == "mml_cont" && type == "theory") {
"¶m.doctype-public=" +
"¶m.encoding=" +
"¶m.media-type=text/xml" +
- "¶m.keys=" + escape("C1,C2,L");
+ "¶m.keys=" + escape("C1,C2,L") +
+ "¶m.interfaceURL=" + escape(interfaceURL);
} else if (format == "mml_pres" && type == "theory") {
- keys = escape("T1,T2,L,E")+"¶m.keys=C1,C2¶m.thkeys=TC1,C2,L" +
+ keys = escape("T1,T2,L,E")+"¶m.keys=C1,C2,L¶m.thkeys=TC1,C2,L" +
"¶m.processorURL=" + escape(processorURL) +
"¶m.getterURL=" + escape(getterURL) +
"¶m.doctype-public=" +
"¶m.encoding=" +
- "¶m.media-type=text/xml";
+ "¶m.media-type=text/xml" +
+ "¶m.interfaceURL=" + escape(interfaceURL);
}
var naturalLanguage = typesflags;
url = processorURL + "apply?xmluri=" + escape(getterURL + "getxml?uri=" + uri) + "&keys=" + keys + "¶m.CICURI=" + uri + "¶m.naturalLanguage=" + naturalLanguage + "¶m.annotations=" + annotations;
}
- return url;
+ return interfaceURL + "?url=" + escape(url);
}