Quad-Pres / site / template.wml

Full commit
# #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"
<html xmlns="" xml:lang="en-US" lang="en-US">
<link rel="stylesheet" href="$(ROOT)/style.css" type="text/css" />

<define-tag rellink whitespace="delete">
<preserve url />
<set-var %attributes />
$(ROOT)/<get-var url />
<restore url />

<define-tag navbarlink whitespace="delete">
<set-var l="<rellink url="%0" />" />
<!-- <get-var l /> -->
    ;;; Determine if %0 matches this document
    <ifeq "$(FILENAME)" "%0"
        <ifeq "$(FILENAME)" "%0index.html"
            <ifeq "$(FILENAME)" "%0/index.html" 

    ;;; If so - bolds the text
    ;;; If not - makes a hyperlink    
    "<a href="<get-var l />">%1</a>"

<define-tag vipe:url></define-tag>
<define-tag lect:link><navbarlink "lecture/%0" "%1" host="vipe" /></define-tag>

<table summary="Layout Table: The first cell contains a navigation bar, the second the main page" border="0" width="99%">
<td valign="top" class="navbar" style="width:20%">

<ul class="navbarmain">
<li><navbarlink "" "Home" /></li>
<li><navbarlink "download.html" "Download" /></li>

<define-tag validhtml>
<br /><br /><br /><br />
<a href=""><img 
    style="border:0" src="" 
         alt="Valid XHTML 1.0!"
 <a href=""><img style="border:0"
       alt="Valid CSS!" /></a>

<ifeq "$(FILENAME)" "index.html" "<validhtml />" "" />

<td valign="top" class="main">

<hr />
<b>Webmaster:</b> <a href="">Shlomi Fish</a>
<a href=""></a> .


<define-tag subject>

<define-tag email:link>
<a href="mailto:%0">%0</a>

#   per default we are in body