$form->{date} = clock_line();
$form->{menu} = acc_menu();
- print $form->parse_html_template("menu/menuv3");
+ print $form->parse_html_template2("menu/menuv3");
}
-<body style="padding:0px; margin:0px;">
+[% USE HTML %]<body style="padding:0px; margin:0px;">
<script type="text/javascript">
<!--
<tr>
<td style="color:white; font-family:verdana,arial,sans-serif; font-size: 12px;">
- [<a href="menuv3.pl?action=display&login=<TMPL_VAR login ESCAPE=URL>&password=<TMPL_VAR password ESCAPE=URL>" target="_blank">neues Fenster</a>]
+ [<a href="menuv3.pl?action=display&login=[% HTML.url(login) %]&password=[% HTML.url(password) %]" target="_blank">neues Fenster</a>]
[<a href="JavaScript:top.main_window.print()">drucken</a>]
</td>
<td align="right" style="vertical-align:middle; color:white; font-family:verdana,arial,sans-serif; font-size: 12px;" nowrap>
- [Benutzer: <TMPL_VAR login ESCAPE=HTML> -
- <a href="login.pl?action=logout&login=<TMPL_VAR login ESCAPE=URL>&password=<TMPL_VAR password ESCAPE=URL>" target="_top">abmelden</a>]
- <TMPL_VAR date> <span id='clock_id' style='position:relative'></span>
+ [Benutzer: [% HTML.escape(login) %] -
+ <a href="login.pl?action=logout&login=[% HTML.url(login) %]&password=[% HTML.url(password) %]" target="_top">abmelden</a>]
+ [% date %] <span id='clock_id' style='position:relative'></span>
</td>
</tr>
</table>
<div id="menu">
- <TMPL_VAR menu>
+ [% menu %]
</div>
<div style="clear: both;"></div>
- <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; ">
+ <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; ">
<p>Ihr Browser kann leider keine eingebetteten Frames anzeigen. Bitte wählen Sie ein anderes Menü in der Benutzerkonfiguration im Administrationsmenü aus.</p>
</iframe>
</body>
-<body style="padding:0px; margin:0px;">
+[% USE HTML %]<body style="padding:0px; margin:0px;">
<script type="text/javascript">
<!--
<tr>
<td style="color:white; font-family:verdana,arial,sans-serif; font-size: 12px;">
- [<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>]
+ [<a href="menuv3.pl?action=display&login=[% HTML.url(login) %]&password=[% HTML.url(password) %]" target="_blank"><translate>new Window</translate></a>]
[<a href="JavaScript:top.main_window.print()"><translate>print</translate></a>]
</td>
<td align="right" style="vertical-align:middle; color:white; font-family:verdana,arial,sans-serif; font-size: 12px;" nowrap>
- [<translate>User</translate>: <TMPL_VAR login ESCAPE=HTML> -
- <a href="login.pl?action=logout&login=<TMPL_VAR login ESCAPE=URL>&password=<TMPL_VAR password ESCAPE=URL>" target="_top"><translate>logout</translate></a>]
- <TMPL_VAR date> <span id='clock_id' style='position:relative'></span>
+ [<translate>User</translate>: [% HTML.escape(login) %] -
+ <a href="login.pl?action=logout&login=[% HTML.url(login) %]&password=[% HTML.url(password) %]" target="_top"><translate>logout</translate></a>]
+ [% date %] <span id='clock_id' style='position:relative'></span>
</td>
</tr>
</table>
<div id="menu">
- <TMPL_VAR menu>
+ [% menu %]
</div>
<div style="clear: both;"></div>
- <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; ">
+ <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; ">
<p><translate>MSG_BROWSER_DOES_NOT_SUPPORT_IFRAMES</translate></p>
</iframe>
</body>