Revision f0545901
Von Moritz Bunkus vor etwa 17 Jahren hinzugefügt
bin/mozilla/menuv3.pl | ||
---|---|---|
45 | 45 |
$form->{date} = clock_line(); |
46 | 46 |
$form->{menu} = acc_menu(); |
47 | 47 |
|
48 |
print $form->parse_html_template("menu/menuv3"); |
|
48 |
print $form->parse_html_template2("menu/menuv3");
|
|
49 | 49 |
|
50 | 50 |
} |
51 | 51 |
|
templates/webpages/menu/menuv3_de.html | ||
---|---|---|
1 |
<body style="padding:0px; margin:0px;"> |
|
1 |
[% USE HTML %]<body style="padding:0px; margin:0px;">
|
|
2 | 2 |
|
3 | 3 |
<script type="text/javascript"> |
4 | 4 |
<!-- |
... | ... | |
17 | 17 |
<tr> |
18 | 18 |
<td style="color:white; font-family:verdana,arial,sans-serif; font-size: 12px;"> |
19 | 19 |
|
20 |
[<a href="menuv3.pl?action=display&login=<TMPL_VAR login ESCAPE=URL>&password=<TMPL_VAR password ESCAPE=URL>" target="_blank">neues Fenster</a>]
|
|
20 |
[<a href="menuv3.pl?action=display&login=[% HTML.url(login) %]&password=[% HTML.url(password) %]" target="_blank">neues Fenster</a>]
|
|
21 | 21 |
|
22 | 22 |
[<a href="JavaScript:top.main_window.print()">drucken</a>] |
23 | 23 |
</td> |
24 | 24 |
<td align="right" style="vertical-align:middle; color:white; font-family:verdana,arial,sans-serif; font-size: 12px;" nowrap> |
25 |
[Benutzer: <TMPL_VAR login ESCAPE=HTML> -
|
|
26 |
<a href="login.pl?action=logout&login=<TMPL_VAR login ESCAPE=URL>&password=<TMPL_VAR password ESCAPE=URL>" target="_top">abmelden</a>]
|
|
27 |
<TMPL_VAR date> <span id='clock_id' style='position:relative'></span>
|
|
25 |
[Benutzer: [% HTML.escape(login) %] -
|
|
26 |
<a href="login.pl?action=logout&login=[% HTML.url(login) %]&password=[% HTML.url(password) %]" target="_top">abmelden</a>]
|
|
27 |
[% date %] <span id='clock_id' style='position:relative'></span>
|
|
28 | 28 |
</td> |
29 | 29 |
</tr> |
30 | 30 |
</table> |
... | ... | |
32 | 32 |
|
33 | 33 |
<div id="menu"> |
34 | 34 |
|
35 |
<TMPL_VAR menu>
|
|
35 |
[% menu %]
|
|
36 | 36 |
|
37 | 37 |
</div> |
38 | 38 |
|
39 | 39 |
<div style="clear: both;"></div> |
40 | 40 |
|
41 |
<iframe id="win1" src="login.pl?action=company_logo&login=<TMPL_VAR login ESCAPE=URL>&password=<TMPL_VAR password ESCAPE=URL>" width="100%" height="94%" name="main_window" style="position: absolute; border: 0px; z-index: 99; ">
|
|
41 |
<iframe id="win1" src="login.pl?action=company_logo&login=[% HTML.url(login) %]&password=[% HTML.url(password) %]" width="100%" height="94%" name="main_window" style="position: absolute; border: 0px; z-index: 99; ">
|
|
42 | 42 |
<p>Ihr Browser kann leider keine eingebetteten Frames anzeigen. Bitte wählen Sie ein anderes Menü in der Benutzerkonfiguration im Administrationsmenü aus.</p> |
43 | 43 |
</iframe> |
44 | 44 |
</body> |
templates/webpages/menu/menuv3_master.html | ||
---|---|---|
1 |
<body style="padding:0px; margin:0px;"> |
|
1 |
[% USE HTML %]<body style="padding:0px; margin:0px;">
|
|
2 | 2 |
|
3 | 3 |
<script type="text/javascript"> |
4 | 4 |
<!-- |
... | ... | |
17 | 17 |
<tr> |
18 | 18 |
<td style="color:white; font-family:verdana,arial,sans-serif; font-size: 12px;"> |
19 | 19 |
|
20 |
[<a href="menuv3.pl?action=display&login=<TMPL_VAR login ESCAPE=URL>&password=<TMPL_VAR password ESCAPE=URL>" target="_blank"><translate>new Window</translate></a>]
|
|
20 |
[<a href="menuv3.pl?action=display&login=[% HTML.url(login) %]&password=[% HTML.url(password) %]" target="_blank"><translate>new Window</translate></a>]
|
|
21 | 21 |
|
22 | 22 |
[<a href="JavaScript:top.main_window.print()"><translate>print</translate></a>] |
23 | 23 |
</td> |
24 | 24 |
<td align="right" style="vertical-align:middle; color:white; font-family:verdana,arial,sans-serif; font-size: 12px;" nowrap> |
25 |
[<translate>User</translate>: <TMPL_VAR login ESCAPE=HTML> -
|
|
26 |
<a href="login.pl?action=logout&login=<TMPL_VAR login ESCAPE=URL>&password=<TMPL_VAR password ESCAPE=URL>" target="_top"><translate>logout</translate></a>]
|
|
27 |
<TMPL_VAR date> <span id='clock_id' style='position:relative'></span>
|
|
25 |
[<translate>User</translate>: [% HTML.escape(login) %] -
|
|
26 |
<a href="login.pl?action=logout&login=[% HTML.url(login) %]&password=[% HTML.url(password) %]" target="_top"><translate>logout</translate></a>]
|
|
27 |
[% date %] <span id='clock_id' style='position:relative'></span>
|
|
28 | 28 |
</td> |
29 | 29 |
</tr> |
30 | 30 |
</table> |
... | ... | |
32 | 32 |
|
33 | 33 |
<div id="menu"> |
34 | 34 |
|
35 |
<TMPL_VAR menu>
|
|
35 |
[% menu %]
|
|
36 | 36 |
|
37 | 37 |
</div> |
38 | 38 |
|
39 | 39 |
<div style="clear: both;"></div> |
40 | 40 |
|
41 |
<iframe id="win1" src="login.pl?action=company_logo&login=<TMPL_VAR login ESCAPE=URL>&password=<TMPL_VAR password ESCAPE=URL>" width="100%" height="94%" name="main_window" style="position: absolute; border: 0px; z-index: 99; ">
|
|
41 |
<iframe id="win1" src="login.pl?action=company_logo&login=[% HTML.url(login) %]&password=[% HTML.url(password) %]" width="100%" height="94%" name="main_window" style="position: absolute; border: 0px; z-index: 99; ">
|
|
42 | 42 |
<p><translate>MSG_BROWSER_DOES_NOT_SUPPORT_IFRAMES</translate></p> |
43 | 43 |
</iframe> |
44 | 44 |
</body> |
Auch abrufbar als: Unified diff
Umstellung der HTML-Vorlagen aus templates/webpages/menu von HTML::Template auf Template.