Don't overflow with keywords
[infodrom.org/infocon.infodrom.org] / Styles / infocon.style
index 80cf3f4..19ddac2 100644 (file)
@@ -48,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>>
@@ -60,12 +64,11 @@ printf "Letzte 
 <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="GNU/Linux, Linux, Freie Software, Free Software, Oldenburg, \
-   Dienstleistung, Support, Schulung, Service, Perl, Python, PHP, Web, JavaScript, \
-   Programmierung, Anpassung, Consulting, Customising, Norddeutschland, Weser-Ems, \
-   RRD, Datenbanken, SQL, kommerz, Kommerziell, Business, Joey, IT-Consulting, <get-var keywords>">
+<meta name="Keywords"  content="<get-var keywords>">
 <meta name="Robots"  content="index,follow">
 
 </head>
@@ -75,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>
@@ -137,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>
@@ -161,9 +166,9 @@ printf "Letzte 
     year += 1900;    
 
   if (year > 2006 && year < 2100)
-    document.write(today.getDate()
+    document.write("<small>" + today.getDate()
                    +". " + mon[today.getMonth()]
-                   +" " + year);
+                   +" " + year + "</small>");
 </script>
 </div>
 
@@ -195,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>