Recent changes on the main page required that we can post-modify the
authorJoey Schulze <joey@infodrom.org>
Sat, 3 Nov 2001 20:00:48 +0000 (20:00 +0000)
committerJoey Schulze <joey@infodrom.org>
Sat, 3 Nov 2001 20:00:48 +0000 (20:00 +0000)
color of the submenu, in order not to change the general style.  Well...

Styles/infodrom.style

index 01c349a..182d3db 100644 (file)
@@ -4,11 +4,13 @@
 #use wml::std::box
 
 <define-tag page endtag=required>
-<preserve title>
+<preserve title menugbcolor>
 <set-var %attributes>
 
 <if <not <get-var title>>
     <set-var title="Infodrom Oldenburg">>
+<if <not <get-var menubgcolor>>
+    <set-var menubgcolor="<submenubgcolor>">>
 
 <html>
 <head>
@@ -22,7 +24,7 @@
 <table border=0 cellpadding=0 cellspacing=0 width=100%>
 <tr>
 #  <td align=left valign=top width=10% bgcolor=#eff0f1><font face="Helvetica,Arial" size=-1 color="#<menu-fgcolor>">
-  <td align=left valign=top width=10% bgcolor=#<submenubgcolor>><font face="Helvetica,Arial" size=-1 color="#<menucolor>">
+<td align=left valign=top width=10% bgcolor=#<get-var menubgcolor>><font face="Helvetica,Arial" size=-1 color="#<menucolor>">
 
 #include "submenu.inc"
 
@@ -51,7 +53,7 @@ printf "Last modified: %s %d, %d", $months[$2], $3, $1;
 
 </body>
 </html>
-<restore title>
+<restore title menubgcolor>
 </define-tag>
 
 <define-tag flaglink whitespace=delete>