Commits

Anonymous committed e9a45ba

Added template.wml (finally - it was a bug that it was not present there).

  • Participants
  • Parent commits 5b21261

Comments (0)

Files changed (1)

+# #use wml::des::navbar
+
+# The Definition of the page itself
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html 
+     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+     "DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
+<head>
+<title>{#SUBJECT_LOC#}</title>
+<link rel="StyleSheet" href="$(ROOT)/style.css" type="text/css" />
+</head>
+<body>
+<define-tag rellink>
+<if <match "%0" "^http://" action="report" /> "%0" "$(ROOT)/%0" />
+</define-tag>
+
+<define-tag navbarlink>
+<set-var l="<rellink "%0" />" />
+<if
+    ;;; Determine if %0 matches this document
+    <ifeq "$(FILENAME)" "%0"
+        "1"
+        <ifeq "$(FILENAME)" "%0index.html"
+            "1"
+            ""
+        />
+
+    />
+    ;;; If so - bolds the text
+    "<b>%1</b>"
+    ;;; If not - makes a hyperlink
+    
+    "<a href="<get-var l />">%1</a>"
+/>
+</define-tag>
+
+<define-tag humour:navbar>
+<ul class="navbarnested">
+<li><navbarlink "humour/TheEnemy/" "The Enemy and how I Helped to Fight it" /></li>
+<li><navbarlink "humour/TOWTF/" "The One with the Fountainhead" /></li>
+<li><navbarlink "humour/Pope/" "The Pope Died on Sunday" /></li>
+</ul>
+</define-tag>
+
+<define-tag vipe:url>http://vipe.technion.ac.il/~shlomif/%0</define-tag>
+
+<define-tag oss:navbar>
+<ul class="navbarnested">
+<li><navbarlink "<vipe:url "freecell-solver/" />" "Freecell Solver" /></li>
+<li><navbarlink "jmikmod/" "MikMod for Java" /></li>
+<li><navbarlink "<vipe:url "rwlock/" />" "FCFS RWLock" /></li>
+<li><navbarlink "<vipe:url "lm-solve/" />" "LM-Solve" /></li>
+<li><navbarlink "<vipe:url "quadpres/" />" "Quad-Pres" /></li>
+</ul>
+</define-tag>
+
+<define-tag is:oss><match "%0" "^(open-source|jmikmod|gradient-fu)/" action="report" /></define-tag>
+
+
+<table summary="Layout Table: The first cell contains a navigation bar, the second the main page" border="0" width="99%">
+<tr>
+<td valign="top" class="navbar" style="width:20%">
+<ul class="navbarmain">
+<li><navbarlink "" "Home" /></li>
+<li><navbarlink "me/" "About Myself" /></li>
+<li><navbarlink "humour/" "Humour" />
+<if <match "$(FILENAME)" "humour/*" action="report" /> 
+    <humour:navbar /> 
+    "" 
+    />
+</li>
+<li><navbarlink "MathVentures/" "Math-Ventures" /></li>
+<li><navbarlink "art/" "Computer Art" /></li>
+<li><navbarlink "open-source/" "Software" />
+<if <is:oss "$(FILENAME)" />
+    <oss:navbar />
+    ""
+    />
+</li>
+<li><navbarlink "http://vipe.technion.ac.il/~shlomif/lecture/" "Lectures" /></li>
+<li><navbarlink "DeCSS/" "Opinion on DeCSS" /></li>
+<li><br /></li>
+<li><navbarlink "links.html" "Cool Links" /></li>
+</ul>
+
+<define-tag validhtml>
+<br /><br /><br /><br />
+<p>
+<a href="http://validator.w3.org/check/referer">
+    <img style="border:0" src="http://www.w3.org/Icons/valid-xhtml10" 
+         alt="Valid XHTML 1.0!" height="31" width="88" 
+         />
+</a>
+</p>
+<p>
+ <a href="http://jigsaw.w3.org/css-validator/">
+  <img style="border:0;width:88px;height:31px"
+       src="http://jigsaw.w3.org/css-validator/images/vcss" 
+       alt="Valid CSS!" />
+ </a>
+</p>
+<p>
+</p>
+</define-tag>
+
+<ifeq "$(FILENAME)" "index.html" "<validhtml />" "" />
+
+</td>
+<td valign="top" class="main">
+<h1>{#SUBJECT_LOC#}</h1>
+{#BODY#}
+
+</td>
+</tr>
+</table>
+<hr />
+
+
+
+<define-tag hostedattech>
+<div class="rightalign">
+<a href="http://www.technion.ac.il/">
+<img src="images/techlogo.gif" alt="Hosted at the Technion" style="border : 0" /> 
+</a>
+</div>
+</define-tag>
+
+<define-tag backtomyhp>
+<div>
+<a href="$(ROOT)"><img src="$(ROOT)/images/bk2hp.gif" style="border : 0" /></a>
+</div>
+</define-tag>
+<p>
+Designed and Maintained by Shlomi Fish, <a href="mailto:shlomif@iglu.org.il">shlomif@iglu.org.il</a>
+</p>
+
+<ifeq "$(FILENAME)" "index.html" 
+    <hostedattech />
+    <backtomyhp />
+    />
+
+</body>
+</html>
+
+<define-tag subject>
+{#SUBJECT_LOC#:%0:##}
+</define-tag>
+
+<define-tag longblank>
+<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
+<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
+<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
+<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
+</define-tag>
+
+<define-tag email:link>
+<a href="mailto:%0">%0</a>
+</define-tag>
+
+#   per default we are in body
+{#BODY#:
+