]> matita.cs.unibo.it Git - helm.git/commitdiff
param.annotations was yes or NO. It is now yer or no.
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Tue, 27 Nov 2001 17:05:45 +0000 (17:05 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Tue, 27 Nov 2001 17:05:45 +0000 (17:05 +0000)
helm/on-line/html/cic/control.html
helm/on-line/javascript/control.js

index 7a69e1a0e46f11ba6797e364cd77bb94cb249613..dba30d5aa869ee570e215360ddc03c6157408c68 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>
@@ -62,10 +62,17 @@ td.back { background-color: #e6e6fa; color: brown }
   </tr>
   <tr>
    <td>
-    Proof-check it
+    <script>
+     var url = unescape(getParam('url'));
+     var CICURI = extractParam(url,'param.CICURI');
+     url = "http://phd.cs.unibo.it:8085/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>
index 633ddbef40de1de58d981cd481b37dde2dc748b1..e6ad6269eab836c142313d0681a81bf2a9922c17 100644 (file)
@@ -264,11 +264,11 @@ function makeURL(type,uri,cicflags,typesflags)
        "&param.thinterfaceURL=" + escape(thinterfaceURL);
     }
 
-    var naturalLanguage = typesflags;
+    var naturalLanguage = typesflags.toLowerCase();
     if (typesflags != "NO" || type == "theory") {
        naturalLanguage = mode_list[3];
     }
-    var annotations = cicflags;
+    var annotations = cicflags.toLowerCase();
     if (cicflags != "NO" || type == "theory") {
        annotations = mode_list[4];
     }