Don't overflow with keywords
[infodrom.org/infocon.infodrom.org] / Styles / infocon.style
index afdfe2e..19ddac2 100644 (file)
 # Sollte eigentlich in <address></address> eingefaßt sein, kursiv sieht's aber nicht aus.
 #
 <define-tag page-footer>
+<font face="Helvetica,Arial" size="-1">&copy; <a href="<root_prefix>impressum.html">InfoCon</a>
+</font>
+</define-tag>
+
+<define-tag old-page-footer>
 # &copy; = &#169;
 <font face="Helvetica,Arial" size="-1">&copy; <a href="<root_prefix>impressum.html">InfoCon</a>, <:
 @months =
@@ -43,6 +48,10 @@ printf "Letzte 
 
 <if <not <get-var title>>
     <set-var title="InfoCon - Information & Consulting">>
+<if <not <get-var keywords>>
+    <set-var keywords="Linux, Oldenburg, Support, Schulung, Service, Perl, Python, \
+       PHP, JavaScript, Programmierung, Anpassung, Datenbanken, MySQL, PostgreSQL, \
+       Internet-Dienstleistung, Monitoring, Server, Administration, Administrator">>
 
 # Titel im linken Submenü
 <if <not <get-var menu>>
@@ -50,11 +59,18 @@ printf "Letzte 
     <set-var menu="<div align=center><b>Infos</b></div><br>">
 >
 
-<html>
+<html lang="de">
 <head>
 <title>InfoCon - <get-var title></title>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 <link href="<root_prefix>infocon.css" rel="stylesheet" type="text/css">
+<link rel="icon" href="<root_prefix>favicon.ico" type="image/x-icon">
+<link rel="shortcut icon" href="<root_prefix>favicon.ico" type="image/x-icon">
+<meta name="Language"  content="de">
+
+<meta name="Keywords"  content="<get-var keywords>">
+<meta name="Robots"  content="index,follow">
+
 </head>
 
 <body>
@@ -62,7 +78,7 @@ printf "Letzte 
 <table cellspacing=0 cellpadding=0 border=0 width=100%>
 
 <tr>
-  <td width=90><a href="<root_prefix>"><img src="<root_prefix>Pics/infocon-90.png" align=center alt="[InfoCon]" border=0></a></td>
+  <td width=90><a href="<:=length($root_prefix)?$root_prefix:'/':>"><img src="<root_prefix>Pics/infocon-90.png" align=center alt="[InfoCon]" border=0></a></td>
   <td width=<page-horiz-space>></td>
   <td width=100%>
        <h1 align=center><font face=Helvetica>Information &amp; Consulting</font></h1>
@@ -124,11 +140,13 @@ printf "Letzte 
   <td width=90 valign=top bgcolor=#5dbbf9>
     <img src="<root_prefix>Pics/corner-upperleft.png" align="left" border="0" hspace="0" vspace="0" alt="" width="16" height="16">
     <img src="<root_prefix>Pics/corner-upperright.png" align="right" border="0" hspace="0" vspace="0" alt="" width="16" height="16">
-  <font size="-1" face="Helvetica"><get-var menu>
 
+&nbsp;
+<div class=vmenu>
+<ul>
 #include "submenu.inc"
-
-  </font>
+</ul>
+</div>
 
 </td>
   <td width=<page-horiz-space>></td>
@@ -141,16 +159,16 @@ printf "Letzte 
 <div class="date">
 <script type="text/javascript">
   var today = new Date;
-  var year = today.getYear;
+  var year = today.getYear();
   var mon = ['Januar','Februar','März','April','Mai','Juni','Juli','August','September','Oktober','November','Dezember'];
 
   if (year < 200)
     year += 1900;    
 
   if (year > 2006 && year < 2100)
-    document.write(today.getDate()
+    document.write("<small>" + today.getDate()
                    +". " + mon[today.getMonth()]
-                   +" " + year);
+                   +" " + year + "</small>");
 </script>
 </div>
 
@@ -182,3 +200,17 @@ printf "Letzte 
 </html>
 
 </define-tag>
+
+<define-tag menu-item>
+<preserve base text href current>
+<set-var %attributes>
+
+<if <not <get-var href>>
+  <set-var href="<get-var base>.html">>
+
+<ifeq <get-var WML_SRC_BASENAME> "<get-var base>" "<set-var current="id=\"current\"">">
+
+<li><a <get-var current> href="<get-var href>"><get-var text></a></li>
+
+<restore base text href current>
+</define-tag>