-<html>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
+"http://www.w3.org/TR/REC-html40/loose.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:subst="http://www.cs.unibo.it/helm/subst">
<head>
-<title>???</title>
<style type="text/css">
#normal { background-color: #e6e6fa; font-family: sans-serif }
td.back { background-color: #e6e6fa; color: brown }
#indent { margin-left: 1cm; margin-right: 1cm }
#centered { text-align: center }
+h2 { text-align: center }
+li { padding-bottom: 1ex }
</style>
-<script language="JavaScript" src="../../javascript/defaults.js"></script>
-<script language="JavaScript" src="../../javascript/utils.js"></script>
-<script language="JavaScript" src="../../javascript/control.js"></script>
-
+<script>
+ var CICURI="<subst:CICURI/>";
+ var annotations="<subst:annotations/>";
+</script>
</head>
<body id="normal">
- <h1>Object:
- "<script>document.write(extractParam(unescape(getParam('url')),'param.CICURI'))</script>"
- <font size="+1">[Annotations are
- <script>if ((extractParam(unescape(getParam('url')),'param.annotations')) == 'no') document.write('off'); else document.write('on')</script>
- ]</font>
- </h1>
- <table>
- <tr>
- <td>
+ <h2><subst:base_CICURI/></h2>
+<!--
+ [Annotations are <script>if (annotations) == 'no') document.write('off'); else document.write('on')</script>]
+-->
+<ul>
+<!--
+ <li>
<script>
- var url = unescape(getParam('url'));
- document.write('<a href="' + url + '" target="_blank">Object URL</a>');
+ var url = "<subst:url/>";
+ document.write('<a href="' + url + '" target="_blank">Open object in new window</a>');
</script>
- </td>
- <td>
- Follow the link to view the displayed object alone (without this control frame)
- </td>
- </tr>
- <tr>
- <td>
+ </li>
+-->
+ <li>
<script>
- var url = unescape(getParam('url'));
- url = setParam(url,"keys",getCICMathMLKeys());
- url = setParam(url,"prop.doctype-public","");
- url = setParam(url,"prop.encoding","");
- url = setParam(url,"prop.media-type","application/x-helm-annotation-helper");
- url = url + "¶m.explodeall=true";
- document.write(
- '<a target="result" href="' + url + '">Annotate it</a>'
- )
- </script>
- </td>
- <td>
- (Before following the link, you must install the HELM Annotation Helper)
- </td>
- </tr>
- <tr>
- <td>
+ var url = "<subst:url/>";
+ document.write('<a href="' + url + '&param.toplevel=true" target="result">Object</a>');
+ </script>
+ </li>
+ <li>
<script>
- var url = unescape(getParam('url'));
- var getterURL = extractParam(url,'param.getterURL');
- var CICURI = dropBodySuffix(extractParam(url,'param.CICURI'));
- url = setParam(url,"keys","MC%2CRT");
- url = setParam(url,"xmluri", getterURL + "getxml%3Furi%3D" + CICURI);
- url = setParam(url,"prop.media-type","text/html");
- url = setParam(url,"prop.encoding","iso-8859-1");
- url = setParam(url,"param.CICURI",CICURI);
+ var processorURL = "<subst:processorURL/>";
+ var getterURL = "<subst:getterURL/>";
+ var CICURI = "<subst:CICURI/>";
+ var profile = "<subst:profile/>";
+ var url = processorURL + "apply?keys=MC%2CRT&xmluri=" +
+ getterURL + "getxml%3Furi%3D" + CICURI +
+ "&prop.media-type=text/html&prop.encoding=iso-8859-1" +
+ "&param.CICURI=" + CICURI + "&param.profile=" + profile +
+ "&profile=" + profile;
document.write(
- '<a target="_blank" href="' + url + '">View its metadata and dependencies</a>'
+ '<a target="result" href="' + url + '">Metadata and dependencies</a>'
);
</script>
- </td>
- <td>DC Metadata and dependency metadata; Dependency graphs
- </td>
- </tr>
- <tr>
- <td>
+ </li>
+ <li>
<script>
- var url = unescape(getParam('url'));
- var proofcheckerURL = unescape(extractParam(url,'param.proofcheckerURL'));
- var CICURI = dropBodySuffix(extractParam(url,'param.CICURI'));
+ var proofcheckerURL = "<subst:proofcheckerURL/>";
+ var cicURI = "<subst:cicURI/>";
url = proofcheckerURL + "proofCheck?uri=" + CICURI;
document.write(
- '<a target="_blank" href="' + url + '">Proof-check it</a>'
+ '<a target="result" href="' + url + '">Proof-check it</a>'
);
</script>
- </td>
- <td>Proof-checking is recursively performed over the untrusted parts of the
- library
- </td>
- </tr>
- </table>
+ </li>
+</ul>
</body>
</html>