]> matita.cs.unibo.it Git - helm.git/commitdiff
templates/menu.html moved to xml/menu.xml
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Tue, 26 Feb 2002 15:25:09 +0000 (15:25 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Tue, 26 Feb 2002 15:25:09 +0000 (15:25 +0000)
(it is processed when no frames are used)

helm/mowgli/home/html/Makefile
helm/mowgli/home/templates/menu.html [deleted file]
helm/mowgli/home/xml/menu.xml [new file with mode: 0644]
helm/mowgli/home/xsl/xhtml-content.xsl

index 8d91bb72683d831009b14157b0ef9a5dff604922..8a2193638045caaf833799069859d53fbe389545 100644 (file)
@@ -147,6 +147,9 @@ home.html: $(XMLROOT)/home.xml \
        $(XSLTP) --param make_header "false()" --param path_to_top "'.'" --param use_frames "'$(FRAMES)'" -o $@ $(XHTMLCONTENT) $(XMLROOT)/home.xml
 
 ifeq ($(FRAMES),yes)
+menu.html: $(XMLROOT)/menu.xml
+       cp $< $@
+
 index.html: $(TEMPLATESROOT)/index.html
        cp $< $@
 else
@@ -168,9 +171,6 @@ software/index.html: $(XMLROOT)/software/index.xml \
                     $(XHTMLCONTENT)
        $(XSLTP) --param path_to_top "'..'" --param use_frames "'$(FRAMES)'" -o $@ $(XHTMLCONTENT) $<
 
-menu.html: $(TEMPLATESROOT)/menu.html
-       cp $< $@
-
 project-management.html: $(XMLROOT)/project-management.xml \
                          $(XHTMLCONTENT)
        sed $(RMDOCTYPE) $< | $(XSLTP) --param path_to_top "'.'" --param use_frames "'$(FRAMES)'" -o $@ $(XHTMLCONTENT) -
diff --git a/helm/mowgli/home/templates/menu.html b/helm/mowgli/home/templates/menu.html
deleted file mode 100644 (file)
index c9949d4..0000000
+++ /dev/null
@@ -1,102 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
- "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
-
-<html xmlns="http://www.w3.org/1999/xhtml"
-      xmlns:mowgli="http://mowgli.cs.unibo.it/website">
-
-  <head>
-    <title>MoWGLI Menu</title>
-    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-    <link rel="stylesheet" href="../style/mowgli.css" type="text/css"/>
-  </head>
-
-  <body>
-
-  <table class="menuborder" width="100%" border="0" cellspacing="0" cellpadding="0">
-  <tr><td>
-  <table class="menusect" width="100%" border="0" cellspacing="1" cellpadding="3">
-  <tr>
-    <td class="menutitle">Project</td>
-  </tr>
-  <tr>
-    <td class="menuentries">
-      <table width="100%" border="0">
-      <tr><td><a class="menulink" target="content" href="home.html">Home</a></td></tr>
-      <tr><td><a class="menulink" target="content" href="consortium.html">Consortium</a></td></tr>
-      <tr><td><a class="menulink" target="content" href="people-list.html">People</a></td></tr>
-      <tr><td><a class="menulink" target="content" href="work-packages/index.html">Work Packages</a></td></tr>
-      <tr><td><a class="menulink" target="content" href="mowgli-events.html">MoWGLI Events</a></td></tr>
-      <tr><td><a class="menulink" target="content" href="other-events.html">Other Events</a></td></tr>
-      <tr><td><a class="menulink" target="content" href="news.html">News Archive</a></td></tr>
-      <tr><td><a class="menulink" target="content" href="members/index.html">Members Area</a></td></tr>
-      <tr><td><a class="menulink" target="content" href="publications/index.html">Publications</a></td></tr>
-      <tr><td><a class="menulink" target="content" href="software/index.html">Software</a> (<a class="menulink" target="content" href="software/index.html">CVS</a>)</td></tr>
-      </table>
-    </td>
-  </tr>
-  <tr>
-    <td class="menutitle">Related</td>
-  </tr>
-  <tr>
-    <td class="menuentries">
-      <table width="100%" border="0">
-      <tr><td><a class="menulink" target="_top" href="http://www.cs.unibo.it/helm">HELM</a></td></tr>
-      <tr><td><a class="menulink" target="_top" href="http://www.w3.org/Math">MathML</a></td></tr>
-      <tr><td><a class="menulink" target="_top" href="http://www.openmath.org">OpenMath</a></td></tr>
-      <tr><td><a class="menulink" target="_top" href="http://www.mathweb.org/omdoc/index.html">OMDoc</a></td></tr>
-      <tr><td><a class="menulink" target="content" href="publications/index.html#related">Bibliography</a></td></tr>
-      </table>
-    </td>
-  </tr>
-  <!--
-  <tr>
-    <td class="menutitle">Technologies</td>
-  </tr>
-  <tr>
-    <td class="menuentries">
-      <table width="100%" border="0">
-      <tr><td>
-        <a class="menulink" target="_top" href="">SGML</a>,
-        <a class="menulink" target="_top" href="">HTML</a>,
-        <a class="menulink" target="_top" href="">CSS</a>
-      </td></tr>
-      <tr><td>
-        <a class="menulink" target="_top" href="">XML</a>,
-        <a class="menulink" target="_top" href="">XSL</a>,
-        <a class="menulink" target="_top" href="">MathML</a>,
-        <a class="menulink" target="_top" href="">SVG</a>
-      </td></tr>
-      <tr><td><a class="menulink" target="_top" href="">DOM</a></td></tr>
-      </table>
-    </td>
-  </tr>
-  -->
-
-  <tr><td class="menutitle">Contact</td></tr>
-
-  <tr>
-    <td class="menuentries">
-      <table width="100%" border="0">
-        <tr>
-         <td><div class="small">Project Leader:</div></td>
-       </tr>
-        <tr>
-         <td><div class="small"><a href="people/bologna/asperti.html" target="content">Prof. Andrea Asperti</a></div></td>
-       </tr>
-        <tr>
-         <td><div class="small">Webmaster:</div></td>
-       </tr>
-        <tr>
-         <td><div class="small"><a href="mailto:mowgli-webmaster@cs.unibo.it">mowgli-webmaster@cs.unibo.it</a></div></td>
-       </tr>
-      </table>
-    </td>
-  </tr>
-  
-  </table>
-  </td></tr>
-  </table>
-
-  </body>
-
-</html>
diff --git a/helm/mowgli/home/xml/menu.xml b/helm/mowgli/home/xml/menu.xml
new file mode 100644 (file)
index 0000000..152e6c3
--- /dev/null
@@ -0,0 +1,105 @@
+<?xml version="1.0"?>
+<!--
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
+ "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+-->
+
+<html xmlns="http://www.w3.org/1999/xhtml"
+      xmlns:mowgli="http://mowgli.cs.unibo.it/website">
+
+  <head>
+    <title>MoWGLI Menu</title>
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+    <link rel="stylesheet" href="../style/mowgli.css" type="text/css"/>
+  </head>
+
+  <body>
+
+  <table class="menuborder" width="100%" border="0" cellspacing="0" cellpadding="0">
+  <tr><td>
+  <table class="menusect" width="100%" border="0" cellspacing="1" cellpadding="3">
+  <tr>
+    <td class="menutitle">Project</td>
+  </tr>
+  <tr>
+    <td class="menuentries">
+      <table width="100%" border="0">
+      <tr><td><a class="menulink" target="content" href="home.html">Home</a></td></tr>
+      <tr><td><a class="menulink" target="content" href="consortium.html">Consortium</a></td></tr>
+      <tr><td><a class="menulink" target="content" href="people-list.html">People</a></td></tr>
+      <tr><td><a class="menulink" target="content" href="work-packages/index.html">Work Packages</a></td></tr>
+      <tr><td><a class="menulink" target="content" href="mowgli-events.html">MoWGLI Events</a></td></tr>
+      <tr><td><a class="menulink" target="content" href="other-events.html">Other Events</a></td></tr>
+      <tr><td><a class="menulink" target="content" href="news.html">News Archive</a></td></tr>
+      <tr><td><a class="menulink" target="content" href="members/index.html">Members Area</a></td></tr>
+      <tr><td><a class="menulink" target="content" href="publications/index.html">Publications</a></td></tr>
+      <tr><td><a class="menulink" target="content" href="software/index.html">Software</a> (<a class="menulink" target="content" href="software/index.html">CVS</a>)</td></tr>
+      </table>
+    </td>
+  </tr>
+  <tr>
+    <td class="menutitle">Related</td>
+  </tr>
+  <tr>
+    <td class="menuentries">
+      <table width="100%" border="0">
+      <tr><td><a class="menulink" target="_top" href="http://www.cs.unibo.it/helm">HELM</a></td></tr>
+      <tr><td><a class="menulink" target="_top" href="http://www.w3.org/Math">MathML</a></td></tr>
+      <tr><td><a class="menulink" target="_top" href="http://www.openmath.org">OpenMath</a></td></tr>
+      <tr><td><a class="menulink" target="_top" href="http://www.mathweb.org/omdoc/index.html">OMDoc</a></td></tr>
+      <tr><td><a class="menulink" target="content" href="publications/index.html#related">Bibliography</a></td></tr>
+      </table>
+    </td>
+  </tr>
+  <!--
+  <tr>
+    <td class="menutitle">Technologies</td>
+  </tr>
+  <tr>
+    <td class="menuentries">
+      <table width="100%" border="0">
+      <tr><td>
+        <a class="menulink" target="_top" href="">SGML</a>,
+        <a class="menulink" target="_top" href="">HTML</a>,
+        <a class="menulink" target="_top" href="">CSS</a>
+      </td></tr>
+      <tr><td>
+        <a class="menulink" target="_top" href="">XML</a>,
+        <a class="menulink" target="_top" href="">XSL</a>,
+        <a class="menulink" target="_top" href="">MathML</a>,
+        <a class="menulink" target="_top" href="">SVG</a>
+      </td></tr>
+      <tr><td><a class="menulink" target="_top" href="">DOM</a></td></tr>
+      </table>
+    </td>
+  </tr>
+  -->
+
+  <tr><td class="menutitle">Contact</td></tr>
+
+  <tr>
+    <td class="menuentries">
+      <table width="100%" border="0">
+        <tr>
+         <td><div class="small">Project Leader:</div></td>
+       </tr>
+        <tr>
+         <td><div class="small"><a href="people/bologna/asperti.html" target="content">Prof. Andrea Asperti</a></div></td>
+       </tr>
+        <tr>
+         <td><div class="small">Webmaster:</div></td>
+       </tr>
+        <tr>
+         <td><div class="small"><a href="mailto:mowgli-webmaster@cs.unibo.it">mowgli-webmaster@cs.unibo.it</a></div></td>
+       </tr>
+      </table>
+    </td>
+  </tr>
+  
+  </table>
+  </td></tr>
+  </table>
+
+  </body>
+
+</html>
index 128c1de03ae3bbceef9a783babf6279154d4421d..d9b0f95e8f5bc8f31b21c7d44690b244632287a0 100644 (file)
@@ -45,7 +45,7 @@
      <table>
       <tr>
        <td nowrap="true" valign="top">
-        <xsl:apply-templates mode="menu" select="document('../templates/menu.xml')/*/*[2]/*"/>
+        <xsl:apply-templates mode="menu" select="document('../xml/menu.xml')/*/*[2]/*"/>
        </td>
        <td width="5%">&#x0A0;</td>
        <td valign="top">