]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/on-line/html/cic/control.html
Initial revision
[helm.git] / helm / on-line / html / cic / control.html
index 626db75801a46594439f6e9ba79b125d152e130b..470f82322ea2025f243a3e5069b6295231da6ab4 100644 (file)
@@ -21,7 +21,7 @@ td.back { background-color: #e6e6fa; color: brown }
  <h1>Object: 
   &quot;<script>document.write(extractParam(unescape(getParam('url')),'param.CICURI'))</script>&quot;
  &nbsp;&nbsp;&nbsp;<font size="+1">[Annotations are
- <script>if ((extractParam(unescape(getParam('url')),'param.annotations')) == 'NO') document.write('off'); else document.write('on')</script>
+ <script>if ((extractParam(unescape(getParam('url')),'param.annotations')) == 'no') document.write('off'); else document.write('on')</script>
  ]</font>
  </h1>
  <table>
@@ -49,32 +49,31 @@ td.back { background-color: #e6e6fa; color: brown }
      var url = unescape(getParam('url'));
      var getterURL = extractParam(url,'param.getterURL');
      var CICURI = extractParam(url,'param.CICURI');
-     var RDFURI = "helm:rdf:www.cs.unibo.it/helm/rdf/rdfprova//" + CICURI;
-     if (CICURI.substr(-4,4) == ".ind") {
-      url = setParam(url,"keys","DM%2CRT");
-      url = setParam(url,"xmluri", getterURL + "getxml%3Furi%3D" + CICURI);
-     } else {
-      url = setParam(url,"keys","MC%2CRT");
-      url = setParam(url,"xmluri", getterURL + "resolve%3Furi%3D" + RDFURI);
-     }
+     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 =
-      url +
-      "&param.RDFURI=" + RDFURI ;
      document.write(
-      '<a target="metadata" href="' + url + '">View its metadata</a>'
+      '<a target="metadata" href="' + url + '">View its metadata and dependencies</a>'
      );
     </script>
    </td>
-   <td>(Work in progress. Coming soon.)</td>
+   <td>NEW!!!</td>
   </tr>
   <tr>
    <td>
-    Proof-check it
+    <script>
+     var url = unescape(getParam('url'));
+     var proofcheckerURL = unescape(extractParam(url,'param.proofcheckerURL'));
+     var CICURI = extractParam(url,'param.CICURI');
+     url = proofcheckerURL + "proofCheck?uri=" + CICURI;
+     document.write(
+      '<a target="proofChecker" href="' + url + '">Proof-check it</a>'
+     );
+    </script>
    </td>
    <td>
-    (Not ported to V7, yet. Coming soon.)
+    (Not ported to V7, yet. Experimental. Coming soon.)
    </td>
   </tr>
  </table>