]> matita.cs.unibo.it Git - helm.git/commitdiff
Code clean-up: the code to create the link to the theory automatically
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Thu, 25 Oct 2001 10:26:24 +0000 (10:26 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Thu, 25 Oct 2001 10:26:24 +0000 (10:26 +0000)
generated from the backward metadata has been moved to makeGraphLinks.js

helm/on-line/xslt/metadataLib.xsl

index 7dbd5fd63e3c9a3520f7ce39956de3e13e9630bc..8b0f34e8254998c460a4f895b7342588c5e236f3 100644 (file)
   <xsl:when test="document(concat($BaseRDFURLBackward,$RDFURI))/*/*/*">
    <p>
     <script>
-     var RDFURI = "helm:rdf:www.cs.unibo.it/helm/rdf/backward//<xsl:value-of select="$RDFURI"/>";
-     var getterURL = "<xsl:value-of select="$getterURL"/>";
+     var CICURI = "<xsl:value-of select="$CICURI"/>";
 <![CDATA[
-     var url = setParam(location.href,"keys","meta_theory%2CT1%2CT2%2CL%2CE");
-     url = setParam(url,"xmluri", getterURL + "getxml%3Furi%3D" + RDFURI);
-     document.write('<a target="theory" href="' + url + '">View the objects depending on it.</a>');
+     document.write('<a target="theory" href="' + mkMetaTheoryURL(CICURI) + '">View the objects depending on it.</a>');
 ]]>
     </script>
    </p>