tunnel.
--- /dev/null
+<!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>
+
+<style type="text/css">
+#normal { background-color: #e6e6fa; 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 }
+li { padding-bottom: 1ex }
+div.center { text-align: center }
+</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 interfaceURL = "<subst:interfaceURL/>";
+ var url = "<subst:url/>";
+</script>
+
+</head>
+
+<body id="normal">
+ <div class="center">
+ <script>
+ document.write('<a target="result" style="color:black; text-decoration:none" href="' + url + '&param.toplevel=true">');
+ document.write('<img style="border-style:none" src="' + interfaceURL + '/icons/folder.png" />');
+ </script>
+ <h2><subst:base_CICURI/></h2>
+ <script>document.write('</a>');</script>
+ </div>
+ <hr />
+ <div class="center">
+ <a href="http://helm.cs.unibo.it" target="_top">HELM home</a>
+ </div>
+<!--
+ <ul>
+ <li>
+ <script>
+ var url = "<subst:url/>";
+ document.write('<a href="' + url + '" target="_blank">Open theory in new window</a>');
+ </script>
+ </li>
+ </ul>
+-->
+</body>
+</html>
--- /dev/null
+<!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><subst:CICURI/></title>
+</head>
+<script>
+ var processorURL = "<subst:processorURL/>";
+ var interfaceURL = "<subst:interfaceURL/>";
+ var profile = "<subst:profile/>";
+ var CICURI = "<subst:CICURI/>";
+ var annotations = "<subst:annotations/>";
+ var url = "<subst:makeTheoryURL/>";
+<![CDATA[
+ document.write('<frameset cols="20%,*" border="1" >');
+ document.write('<frame src="' + processorURL + 'apply?keys=RT&profile=' +
+ profile + '¶m.annotations=' + annotations + '¶m.CICURI=' + CICURI +
+ '¶m.url=' + escape(url) + '&xmluri=' +
+ escape(interfaceURL + 'html/folder/control.html') +'"/>');
+ document.write('<frame src="' + url + '¶m.toplevel=true" name="result"/>');
+ document.write('</frameset>');
+]]>
+</script>
+</html>
<xsl:output method="html" encoding="iso-8859-1"/>
<xsl:param name="CICURI" select="''" />
+ <xsl:param name="interfaceURL" select="''" />
<xsl:template match="ls">
<html>
<head>
<style>
- li.section {
+ li.theory {
list-style-image:
- url(http://helm.cs.unibo.it/helm/icons/section.png)
+ url(<xsl:value-of select="$interfaceURL"/>/icons/theory.png)
+ }
+ li.folder {
+ list-style-image:
+ url(<xsl:value-of select="$interfaceURL"/>/icons/folder.png)
}
li.object {
list-style-image:
- url(http://helm.cs.unibo.it/helm/icons/object.png)
+ url(<xsl:value-of select="$interfaceURL"/>/icons/object.png)
}
</style>
</head>
</xsl:template>
<xsl:template match="section">
- <li class="section">
- <a class="section" href="{concat($CICURI, text(), '/')}"
+ <li class="folder">
+ <a class="folder" href="{concat($CICURI, text(), '/')}"
helm:helm_link="href">
<xsl:value-of select="text()" />
</a>
</xsl:template>
<xsl:template match="object">
- <li class="object">
- <a class="object" href="{concat($CICURI, @name)}" helm:helm_link="href">
- <xsl:value-of select="@name" />
- </a>
- </li>
+ <xsl:choose>
+ <xsl:when test="substring-after(@name, '.')='theory'">
+ <li class="theory">
+ <a class="theory" href="{concat($CICURI, @name)}"
+ helm:helm_link="href">
+ <xsl:value-of select="@name" />
+ </a>
+ </li>
+ </xsl:when>
+ <xsl:otherwise>
+ <li class="object">
+ <a class="object"
+ href="{concat('cic:', substring-after($CICURI, ':'), @name)}"
+ helm:helm_link="href">
+ <xsl:value-of select="@name" />
+ </a>
+ </li>
+ </xsl:otherwise>
+ </xsl:choose>
</xsl:template>
</xsl:stylesheet>
<xsl:variable name="prefix" select="substring-before($CICURI, ':')" />
<html:table width="100%">
<html:tr>
- <html:td style="text-align:left">
+ <html:td>
<html:h3 style="font-family: sans-serif">
<html:a style="text-decoration: none"
href="{concat($prefix, ':/')}" helm:helm_link="href">
</xsl:call-template>
</html:h3>
</html:td>
+ <html:td style="text-align:right">
+ <html:span style="font-family:sans-serif">
+ <html:a href="">Search</html:a>
+ </html:span>
+ </html:td>
+<!--
<html:td style="text-align:right">
<html:span style="font-family:sans-serif">
<html:a href="theory:/" helm:helm_link="href">theory:/</html:a>
<html:a href="cic:/" helm:helm_link="href">cic:/</html:a>
</html:span>
</html:td>
+-->
</html:tr>
</html:table>
<html:hr />
metadataControl.xsl
metadataLib.xsl
resolve_topurl.xsl
+substKey.xsl
toplevel_header.xsl
utils.xsl