1 # <border color=foo> zeichnet einen Rahmen
3 <define-tag border endtag=required>
6 <if <not <get-var color>>
7 <set-var color="000000">
9 <if <not <get-var width>>
10 <set-var width="100%">
13 <table width=<get-var width> border=0 cellpadding=0 cellspacing=0><tr bgcolor=#<get-var color>><td>
14 <table width=100% border=0 cellpadding=0 cellspacing=1><tr bgcolor=#<bgcolor>><td>
15 <font face="Helvetica,Arial">
26 # <line> Zeichnet eine Linie
28 <define-tag line whitespace=delete>
29 <preserve color align width height>
32 <if <not <get-var align>>
33 <set-var align=center>>
34 <if <not <get-var color>>
35 <set-var color=000000>>
36 <if <not <get-var width>>
38 <if <not <get-var height>>
41 <div align=<get-var align>>
42 <table width=<get-var width> border=0 cellpadding=0 cellspacing=0 bgcolor=<get-var color>>
43 <tr><td align=<get-var align>>
44 <img src=<root_prefix>gifs/imgdot-1x1-transp.gif width=1 height=<get-var height> alt="------------------------------">
49 <restore color align width height>
52 # Draws a 80% line in the menu color for submenu.inc
53 <define-tag submenuhr>
54 <p><line width=80% color="<menucolor>" height=1 align=center><p>
57 # Draws a 100% line in the menu color for normal pages
58 <define-tag colorhr whitespace=delete>
62 <if <not <get-var width>>
65 <line width=<get-var width> color="<menucolor>" height=1 align=center>
71 # bcolor=border color (default black)
72 # bgcolor=background color (default <bgcolor>)
74 <define-tag colorbox endtag=required>
75 <preserve bgcolor bcolor width>
78 <if <not <get-var bcolor>>
79 <set-var bcolor=000000>>
80 <if <not <get-var bgcolor>>
81 <set-var bgcolor=<bgcolor>>>
82 <if <not <get-var width>>
87 <table width=<get-var width> border=0 cellpadding=0 cellspacing=0><tr bgcolor=#<get-var bcolor>><td>
88 <table width=100% border=0 cellpadding=0 cellspacing=1><tr bgcolor=#ffffff><td>
89 <font face="Helvetica,Arial">
92 <table width=100% border=0 bgcolor="#<get-var bgcolor>" cellpadding=5 cellspacing=0>
93 <tr><th align=center><font face="Helvetica,Arial">
107 <restore bgcolor bcolor width>
110 # Draws a coloured box with a title, see <root_prefix>Infodrom/web.html
112 <define-tag titlebox endtag=required>
113 <preserve width title titlebgcolor titlecolor titlebar titlealign titlepadding bordercolor bgcolor>
114 <set-var %attributes>
116 <if <not <get-var width>>
117 <set-var width="100%">
119 <if <not <get-var titlebgcolor>>
120 <set-var titlebgcolor="<menucolor>">
122 <if <not <get-var titlecolor>>
123 <set-var titlecolor="<white>">
125 <if <not <get-var bordercolor>>
126 <set-var bordercolor="<black>">
128 <if <not <get-var bgcolor>>
129 <set-var bgcolor="<bgcolor>">
131 <if <not <get-var titlealign>>
132 <set-var titlealign="center">
134 <if <not <get-var titlepadding>>
135 <set-var titlepadding="5">
138 <ifeq <get-var titlebar> "small" "<div align="<get-var titlealign>">
139 <table border=0 cellpadding=0 cellspacing=0><tr bgcolor=#<get-var titlebgcolor>><td align=center>
140 <img src=<root_prefix>gifs/imgdot-1x1-transp.gif height=0 width=<get-var titlepadding> alt="">
141 <font face="Helvetica,Arial" color="#<get-var titlecolor>"><b><get-var title></b></font>
142 <img src=<root_prefix>gifs/imgdot-1x1-transp.gif height=0 width=<get-var titlepadding> alt="">
143 </td></tr></table></div>">
145 #<table width=100% border=0 cellpadding=0 cellspacing=0><tr bgcolor=#<get-var bordercolor>><td>
146 <table width=<get-var width> border=0 cellpadding=0 cellspacing=0><tr bgcolor=#<get-var bordercolor>><td>
147 <table width=100% border=0 cellpadding=0 cellspacing=1>
148 <ifneq <get-var titlebar> "small" "<tr bgcolor=#<get-var titlebgcolor>><td align=center>
149 <font face="Helvetica,Arial" color="#<get-var titlecolor>"><b><get-var title></b></font>
152 <tr bgcolor=#<get-var bgcolor>><td>
153 <font face="Helvetica,Arial">
161 <restore width title titlebgcolor titlecolor titlebar titlealign titlepadding bordercolor bgcolor>
164 <define-tag author endtag=required whitespace=delete>
165 <div align=right><font size=-1><em>
170 <define-tag colorbg endtag=required>
172 <set-var %attributes>
173 <table width=100% cellpadding=2 cellspacing=0 border=0 bgcolor=<get-var bgcolor>>
174 <tr><td><font face="Helvetica,Arial">
176 </font></td></tr></table>