Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision d2d63d80

Von Sven Donath vor etwa 14 Jahren hinzugefügt

  • ID d2d63d80de28c7356e81eb1143d729e4415cd1b4
  • Vorgänger 6cf3f776
  • Nachfolger ddbe7027

Das (linksseitige) HTML-Menü komaptibel zum Textbrowser Links gemacht.
Weiterhin werden die Bedienelemente (HTML-Links) im Kopf nur angezeigt,
wenn nicht der Browser Links oder Links2 verwendet wird, da sie auf JavaScript
basieren und somit keine Funktion hätten.

Unterschiede anzeigen:

bin/mozilla/kopf.pl
111 111
my $framesize = _calc_framesize(); # framesize calculation as in menu.pl is only a quick and dirty hack here
112 112
                                   # it would be better to use a global or config variable
113 113

  
114
# is there any better solution then the JS-Link for Back? Possibly with the callback variable?
115

  
114 116
print qq|
115 117
<body bgcolor="#ffffff" text="#ffffff" link="#ffffff" vlink="#ffffff" alink="#ffffff" topmargin="0" leftmargin="0"  marginwidth="0" marginheight="0" style="background-image: url('image/fade.png'); background-repeat:repeat-x;">
116 118
<script language='JavaScript' src='js/switchmenuframe.js'></script>
117 119
<table border="0" width="100%" background="image/bg_titel.gif" cellpadding="0" cellspacing="0">
118
  <tr>
119
    <td  style="color:white; font-family:verdana,arial,sans-serif; font-size: 12px;" nowrap>
120
  <tr>|;
121
   if ($framesize ne 240) {    # only show the the links in case of "links" in $ENV{HTTP_USER_AGENT} (see sub _calc_framesize)
122
      print qq|
123
      <td  style="color:white; font-family:verdana,arial,sans-serif; font-size: 12px;" nowrap>
120 124
      [<a href="JavaScript:Switch_Menu(|.$framesize.qq|);" title="| . $locale->text('Switch Menu on / off') . qq|">| . $locale->text('Menu') . qq|</a>]
121 125
      &nbsp;[<a HREF="login.pl" target="_blank" title="| . $locale->text('Open a further Lx-Office Window or Tab') . qq|">| . $locale->text('New Win/Tab') . qq|</a>]
122 126
      &nbsp;[<a href="JavaScript:top.main_window.print();" title="| . $locale->text('Hardcopy') . qq|">| . $locale->text('Print') . qq|</a>]
123 127
      &nbsp;[<a href="Javascript:top.main_window.history.back();" title="| . $locale->text('Go one step back') . qq|">| . $locale->text('Back') . qq|</a>]
124 128
      &nbsp;[<a href="Javascript:top.main_window.history.forward();" title="| . $locale->text('Go one step forward') . qq|">| . $locale->text('Fwd') . qq|</a>]
125
      <!-- is there any better solution for Back? Possibly with the callback variable? -->
126
    </td>
129
      </td>|;
130
   }
131
   print qq|
127 132
    <td align="right" style="vertical-align:middle; color:white; font-family:verdana,arial,sans-serif; font-size: 12px;" nowrap>|
128 133
  . $login . $datum . qq| <script>writeclock()</script>&nbsp;
129 134
    </td>

Auch abrufbar als: Unified diff