Start using CSS
[infodrom.org/service.infodrom.org] / Styles / service.style
1 #include <basic.style>
2 #include <tools.style>
3
4 # <page [title=] [func=] [pagetitle=]>
5 #       Define the actual page
6 #
7 #       title=          headline for the page, default: "Infodrom Service"
8 #       func=           Function of the page, left bar
9 #       pagetitle=      title for the page, default <func>: <title>
10
11 <define-tag page endtag=required>
12 <preserve title func pagetitle>
13 <set-var %attributes>
14
15 <if <not <get-var title>>
16     <set-var title="Infodrom Service">>
17
18 <if <default-func>
19   <if <not <get-var func>>
20     <set-var func=<default-func>>
21   >
22 >
23
24 <if <not <get-var pagetitle>>
25   <if <not <get-var func>>
26     <set-var pagetitle=<get-var title>>
27     <set-var pagetitle="<get-var func>: <get-var title>">
28   >
29 >
30
31 <html>
32 <head>
33 <title><get-var pagetitle></title>
34 <meta name="author" content="joey@infodrom.org (Martin Schulze)">
35 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
36 <link href="<root_prefix>infodrom.css" rel="stylesheet" type="text/css">
37 </head>
38 <body>
39
40 <table width=100% border=0 cellpadding=0 cellspacing=0>
41 <tr>
42 <td align=left valign=top width=10% bgcolor=#<submenu-bgcolor>><font face="Helvetica,Arial" size=-1 color="#<submenu-textcolor>">
43
44 <table width=100% border=0 cellpadding=1 cellspacing=0 bgcolor=#<white>>
45 <tr><td align=left valign=top>
46 <img src=<root_prefix>pix/infocon-90.png alt=""><p>
47 </td></tr></table><p>
48
49 #include "submenu.inc"
50
51 <p>
52 </font></td>
53
54 <td valign=top><img src=<root_prefix>pix/imgdot-1x1-transp.gif width=3 height=0 alt=""></td>
55
56 <td valign=top align=left width=90%><font face="Helvetica,Arial">
57
58 <table width=100% border=0 cellpadding=1 cellspacing=0 bgcolor=#<bar-bgcolor>>
59 <tr>
60 <td align=left><font face="Helvetica,Arial" color=#<bar-textcolor>>
61 &nbsp;<strong><get-var func></strong>
62 </font></td>
63 <td align=right><font face="Helvetica,Arial">
64 <a href="<root_prefix>index.html"><font color="#<bar-textcolor>"><strong>Infodrom Service</strong></font></a></a>&nbsp;
65 </font></td>
66 </tr>
67 </table>
68
69 <h3><get-var title></h3>
70
71 %body
72
73 </font></td>
74 </tr>
75 </table>
76
77 <page-footer>
78 </body>
79 </html>
80
81 <restore title function pagetitle>
82 </define-tag>