Merge branch 'template_locales'
authorSven Schöling <s.schoeling@linet-services.de>
Mon, 12 Jul 2010 14:13:05 +0000 (16:13 +0200)
committerSven Schöling <s.schoeling@linet-services.de>
Mon, 12 Jul 2010 14:13:05 +0000 (16:13 +0200)
Conflicts:
templates/webpages/admin/edit_user_master.html
templates/webpages/admin/list_users_de.html
templates/webpages/is/form_header_master.html

25 files changed:
SL/RP.pm
SL/User.pm
bin/mozilla/ap.pl
bin/mozilla/ar.pl
bin/mozilla/gl.pl
bin/mozilla/ir.pl
bin/mozilla/is.pl
bin/mozilla/kopf.pl
image/icons/24x24/leftarrow_24.png [new file with mode: 0644]
image/icons/24x24/rightarrow_24.png [new file with mode: 0644]
locale/de/admin
locale/de/all
locale/de/ap
locale/de/ar
locale/de/gl
locale/de/ir
locale/de/is
locale/de/kopf
locale/de/menu
locale/de/menujs
locale/de/menunew
templates/webpages/admin/edit_user.html
templates/webpages/is/form_header.html
xslt/style1.css
xslt/xulmenu.xsl

index 81637ca..88f4ebe 100644 (file)
--- a/SL/RP.pm
+++ b/SL/RP.pm
@@ -1198,7 +1198,7 @@ sub aging {
          AND (exchangerate.transdate = ${arap}.transdate)) AS exchangerate
     FROM ${arap}, ${ct}
     WHERE ((paid != amount) OR (datepaid > (date $todate) AND datepaid is not null))
-      AND (${arap}.storno IS FALSE)
+      AND NOT COALESCE (${arap}.storno, 'f')
       AND (${arap}.${ct}_id = ${ct}.id)
       AND (${ct}.id = ?)
       AND (transdate <= (date $todate) $fromwhere )
index 0fbd66a..16ad74e 100644 (file)
@@ -1003,7 +1003,7 @@ sub config_vars {
     bestellungen rechnungen anfragen lieferantenbestellungen einkaufsrechnungen
     taxnumber co_ustid duns menustyle template_format default_media
     default_printer_id copies show_form_details favorites
-    pdonumber sdonumber hide_cvar_search_options);
+    pdonumber sdonumber hide_cvar_search_options mandatory_departments);
 
   $main::lxdebug->leave_sub();
 
index 62edff2..91836eb 100644 (file)
@@ -1017,6 +1017,12 @@ sub post {
   $form->isblank("duedate",   $locale->text("Due Date missing!"));
   $form->isblank("vendor",    $locale->text('Vendor missing!'));
 
+  if ($myconfig{mandatory_departments} && !$form->{department}) {
+    $form->{saved_message} = $::locale->text('You have to specify a department.');
+    update();
+    exit;
+  }
+
   my $closedto  = $form->datetonum($form->{closedto},  \%myconfig);
   my $transdate = $form->datetonum($form->{transdate}, \%myconfig);
   $form->error($locale->text('Cannot post transaction for a closed period!')) if ($form->date_closed($form->{"transdate"}, \%myconfig));
index f03a74b..b5bd9be 100644 (file)
@@ -1089,6 +1089,12 @@ sub post {
   $form->isblank("duedate",   $locale->text('Due Date missing!'));
   $form->isblank("customer",  $locale->text('Customer missing!'));
 
+  if ($myconfig{mandatory_departments} && !$form->{department}) {
+    $form->{saved_message} = $::locale->text('You have to specify a department.');
+    update();
+    exit;
+  }
+
   my $closedto  = $form->datetonum($form->{closedto},  \%myconfig);
   my $transdate = $form->datetonum($form->{transdate}, \%myconfig);
   $form->error($locale->text('Cannot post transaction for a closed period!')) if ($form->date_closed($form->{"transdate"}, \%myconfig));
index 5834a48..1baed91 100644 (file)
@@ -1154,7 +1154,14 @@ sub form_header {
 <table width=100%>
   <tr>
     <th class=listtop>$form->{title}</th>
-  </tr>
+  </tr>| .
+
+  ($form->{saved_message} ? qq|
+  <tr>
+    <td>$form->{saved_message}</th>
+  </tr>| : '') .
+
+qq|
   <tr height="5"></tr>
   <tr>
     <td>
@@ -1602,6 +1609,12 @@ sub post {
   my $form     = $main::form;
   my $locale   = $main::locale;
 
+  if ($::myconfig{mandatory_departments} && !$form->{department}) {
+    $form->{saved_message} = $::locale->text('You have to specify a department.');
+    update();
+    exit;
+  }
+
   $form->{title}  = $locale->text("$form->{title} General Ledger Transaction");
   $form->{storno} = 0;
 
index 042fd4b..06f6d05 100644 (file)
@@ -667,6 +667,12 @@ sub post {
     exit;
   }
 
+  if ($myconfig{mandatory_departments} && !$form->{department_id}) {
+    $form->{saved_message} = $::locale->text('You have to specify a department.');
+    update();
+    exit;
+  }
+
   remove_emptied_rows();
   &validate_items;
 
index a47b7e8..3c5282c 100644 (file)
@@ -654,6 +654,13 @@ sub post {
     &update;
     exit;
   }
+
+  if ($myconfig{mandatory_departments} && !$form->{department_id}) {
+    $form->{saved_message} = $::locale->text('You have to specify a department.');
+    update();
+    exit;
+  }
+
   if ($form->{second_run}) {
     $form->{print_and_post} = 0;
   }
index 3e01a31..e8fa8a3 100644 (file)
@@ -108,7 +108,12 @@ print qq|
 
 <table border="0" width="100%" background="image/bg_titel.gif" cellpadding="0" cellspacing="0">
   <tr>
-    <td  style="color:white; font-family:verdana,arial,sans-serif; font-size: 12px;"> &nbsp; [<a href="JavaScript:top.main_window.print()">| . $locale->text('drucken') . qq|</a>]</td>
+    <td  style="color:white; font-family:verdana,arial,sans-serif; font-size: 12px;"> 
+      &nbsp;[<a href="JavaScript:top.main_window.print();" title="| . $locale->text('Hardcopy') . qq|">| . $locale->text('Print') . qq|</a>]
+      &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>]
+      &nbsp;[<a href="Javascript:top.main_window.history.back();" title="| . $locale->text('Go one step back') . qq|">| . $locale->text('Back') . qq|</a>] 
+      <!-- is there a better solution for Back? Possibly with the callback variable? -->
+    </td>
     <td align="right" style="vertical-align:middle; color:white; font-family:verdana,arial,sans-serif; font-size: 12px;" nowrap>|
   . $login . $datum . qq| <script>writeclock()</script>&nbsp;
     </td>
diff --git a/image/icons/24x24/leftarrow_24.png b/image/icons/24x24/leftarrow_24.png
new file mode 100644 (file)
index 0000000..8786f74
Binary files /dev/null and b/image/icons/24x24/leftarrow_24.png differ
diff --git a/image/icons/24x24/rightarrow_24.png b/image/icons/24x24/rightarrow_24.png
new file mode 100644 (file)
index 0000000..b5f43b9
Binary files /dev/null and b/image/icons/24x24/rightarrow_24.png differ
index fec1eab..b0933a8 100644 (file)
@@ -301,7 +301,7 @@ $self->{subs} = {
   'gruppen_bearbeiten'          => 'edit_groups',
   'system_sperren'              => 'lock_system',
   'anmeldung'                   => 'login',
-  'abmeldung'                   => 'logout',
+  'abmelden'                    => 'logout',
   'neue_ware'                   => 'new_part',
   'nein'                        => 'no',
   'datenbankadministration'     => 'pg_database_administration',
index 5ba5cd3..e61de8c 100644 (file)
@@ -771,6 +771,7 @@ $self->{texts} = {
   'General ledger corrections'  => 'Korrekturen im Hauptbuch',
   'Generic Tax Report'          => 'USTVA Bericht',
   'Given Name'                  => 'Vorname',
+  'Go one step back'            => 'Einen Schritt zur&uuml;ck',
   'Greeting'                    => 'Anrede',
   'Greetings'                   => 'Anreden',
   'Group'                       => 'Warengruppe',
@@ -783,6 +784,7 @@ $self->{texts} = {
   'Groups'                      => 'Warengruppen',
   'HTML'                        => 'HTML',
   'HTML Templates'              => 'HTML-Vorlagen',
+  'Hardcopy'                    => 'Seite drucken',
   'Has serial number'           => 'Hat eine Serienummer',
   'Header'                      => 'Überschrift',
   'Heading'                     => 'Überschrift',
@@ -955,7 +957,7 @@ $self->{texts} = {
   'Login'                       => 'Anmeldung',
   'Login Name'                  => 'Benutzername',
   'Login name missing!'         => 'Loginname fehlt.',
-  'Logout'                      => 'Abmeldung',
+  'Logout'                      => 'Abmelden',
   'Long Dates'                  => 'Lange Monatsnamen',
   'Long Description'            => 'Langtext',
   'Lx-Office 2.4.0 introduces two new concepts: tax zones and Buchungsgruppen.' => 'Lx-Office 2.4.0 f&uuml;hrt zwei neue Konzepte ein: Steuerzonen und Buchungsgruppen.',
@@ -971,6 +973,7 @@ $self->{texts} = {
   'Make'                        => 'Lieferant',
   'Manage license keys'         => 'Lizenzschl&uuml;ssel verwalten',
   'Mandantennummer'             => 'Mandantennummer',
+  'Mandatory Departments'       => 'Benutzer muss Abteilungen vergeben',
   'Mar'                         => 'März',
   'March'                       => 'März',
   'Margins'                     => 'Seitenr&auml;nder',
@@ -1021,6 +1024,7 @@ $self->{texts} = {
   'Netto Terms'                 => 'Zahlungsziel netto',
   'New Buchungsgruppe #1'       => 'Neue Buchungsgruppe #1',
   'New Templates'               => 'neue Vorlagen',
+  'New Win/Tab'                 => 'Neues Fenster',
   'New assembly'                => 'Neues Erzeugnis',
   'New bank account'            => 'Neues Bankkonto',
   'New contact'                 => 'Neuer Ansprechpartner',
@@ -1104,6 +1108,7 @@ $self->{texts} = {
   'Only due follow-ups'         => 'Nur f&auml;llige Wiedervorlagen',
   'Open'                        => 'Offen',
   'Open Amount'                 => 'Offener Betrag',
+  'Open a further Lx-Office Window or Tab' => 'Neues Fenster bzw. Tab &ouml;ffnen',
   'Open amount'                 => 'offener Betrag',
   'OpenDocument/OASIS'          => 'OpenDocument/OASIS',
   'Openings'                    => 'Öffnungszeiten',
@@ -1870,6 +1875,7 @@ $self->{texts} = {
   'You have to create new Buchungsgruppen for all the combinations of inventory, income and expense accounts that have been used already.' => 'Sie m&uuml;ssen neue Buchungsgruppen f&uuml;r alle Kombinationen aus Inventar-, Erl&ouml;s- und Aufwandskonto, die bereits benutzt wurden.',
   'You have to enter a company name in your user preferences (see the "Program" menu, "Preferences").' => 'Sie müssen einen Firmennamen in Ihren Benutzereinstellungen angeben (siehe "Programm"-Menü, "Benuztereinstellungen).',
   'You have to fill in at least an account number, the bank code, the IBAN and the BIC.' => 'Sie müssen zumindest die Kontonummer, die Bankleitzahl, die IBAN und den BIC angeben.',
+  'You have to specify a department.' => 'Sie müssen eine Abteilung wählen.',
   'You have to specify an execution date for each antry.' => 'Sie müssen für jeden zu buchenden Eintrag ein Ausführungsdatum angeben.',
   'You must chose a user.'      => 'Sie m&uuml;ssen einen Benutzer ausw&auml;hlen.',
   'You should create a backup of the database before proceeding because the backup might not be reversible.' => 'Sie sollten eine Sicherungskopie der Datenbank erstellen, bevor Sie fortfahren, da die Aktualisierung unter Umständen nicht umkehrbar ist.',
@@ -1927,7 +1933,6 @@ $self->{texts} = {
   'disposed'                    => 'Entsorgung',
   'done'                        => 'erledigt',
   'down'                        => 'runter',
-  'drucken'                     => 'drucken',
   'dunning_list'                => 'mahnungsliste',
   'eMail Send?'                 => 'eMail-Versand?',
   'eMail?'                      => 'eMail?',
index fac2141..7f21bb5 100644 (file)
@@ -267,6 +267,7 @@ $self->{texts} = {
   'Warehouse management'        => 'Lagerverwaltung/Bestandsveränderung',
   'Yes'                         => 'Ja',
   'You do not have the permissions to access this function.' => 'Sie verf&uuml;gen nicht &uuml;ber die notwendigen Rechte, um auf diese Funktion zuzugreifen.',
+  'You have to specify a department.' => 'Sie müssen eine Abteilung wählen.',
   'Your PostgreSQL installationen uses UTF-8 as its encoding. Therefore you have to configure Lx-Office to use UTF-8 as well.' => 'Ihre PostgreSQL-Installation benutzt UTF-8 als Zeichensatz. Sie müssen deshalb Lx-Office so konfigurieren, dass es ebenfalls UTF-8 als Zeichensatz benutzt.',
   'Zero amount posting!'        => 'Buchung ohne Wert',
   '[email]'                     => '[email]',
index 9003cb0..0ec18bc 100644 (file)
@@ -271,6 +271,7 @@ $self->{texts} = {
   'Warehouse management'        => 'Lagerverwaltung/Bestandsveränderung',
   'Yes'                         => 'Ja',
   'You do not have the permissions to access this function.' => 'Sie verf&uuml;gen nicht &uuml;ber die notwendigen Rechte, um auf diese Funktion zuzugreifen.',
+  'You have to specify a department.' => 'Sie müssen eine Abteilung wählen.',
   'Your PostgreSQL installationen uses UTF-8 as its encoding. Therefore you have to configure Lx-Office to use UTF-8 as well.' => 'Ihre PostgreSQL-Installation benutzt UTF-8 als Zeichensatz. Sie müssen deshalb Lx-Office so konfigurieren, dass es ebenfalls UTF-8 als Zeichensatz benutzt.',
   'Zero amount posting!'        => 'Buchung ohne Wert',
   '[email]'                     => '[email]',
index 79d85da..e8e1eca 100644 (file)
@@ -250,6 +250,7 @@ $self->{texts} = {
   'Warehouse management'        => 'Lagerverwaltung/Bestandsveränderung',
   'Yes'                         => 'Ja',
   'You do not have the permissions to access this function.' => 'Sie verf&uuml;gen nicht &uuml;ber die notwendigen Rechte, um auf diese Funktion zuzugreifen.',
+  'You have to specify a department.' => 'Sie müssen eine Abteilung wählen.',
   'Your PostgreSQL installationen uses UTF-8 as its encoding. Therefore you have to configure Lx-Office to use UTF-8 as well.' => 'Ihre PostgreSQL-Installation benutzt UTF-8 als Zeichensatz. Sie müssen deshalb Lx-Office so konfigurieren, dass es ebenfalls UTF-8 als Zeichensatz benutzt.',
   '[email]'                     => '[email]',
   'bin_list'                    => 'Lagerliste',
index 7d2b1c1..7ae7c84 100644 (file)
@@ -267,6 +267,7 @@ $self->{texts} = {
   'Warehouse management'        => 'Lagerverwaltung/Bestandsveränderung',
   'Yes'                         => 'Ja',
   'You do not have the permissions to access this function.' => 'Sie verf&uuml;gen nicht &uuml;ber die notwendigen Rechte, um auf diese Funktion zuzugreifen.',
+  'You have to specify a department.' => 'Sie müssen eine Abteilung wählen.',
   'Your PostgreSQL installationen uses UTF-8 as its encoding. Therefore you have to configure Lx-Office to use UTF-8 as well.' => 'Ihre PostgreSQL-Installation benutzt UTF-8 als Zeichensatz. Sie müssen deshalb Lx-Office so konfigurieren, dass es ebenfalls UTF-8 als Zeichensatz benutzt.',
   'Zipcode'                     => 'PLZ',
   '[email]'                     => '[email]',
index 8cd031c..eecb827 100644 (file)
@@ -270,6 +270,7 @@ $self->{texts} = {
   'Warehouse management'        => 'Lagerverwaltung/Bestandsveränderung',
   'Yes'                         => 'Ja',
   'You do not have the permissions to access this function.' => 'Sie verf&uuml;gen nicht &uuml;ber die notwendigen Rechte, um auf diese Funktion zuzugreifen.',
+  'You have to specify a department.' => 'Sie müssen eine Abteilung wählen.',
   'Your PostgreSQL installationen uses UTF-8 as its encoding. Therefore you have to configure Lx-Office to use UTF-8 as well.' => 'Ihre PostgreSQL-Installation benutzt UTF-8 als Zeichensatz. Sie müssen deshalb Lx-Office so konfigurieren, dass es ebenfalls UTF-8 als Zeichensatz benutzt.',
   'Zipcode'                     => 'PLZ',
   '[email]'                     => '[email]',
index a3d4781..9496289 100644 (file)
@@ -1,8 +1,13 @@
 #!/usr/bin/perl
 
 $self->{texts} = {
-  'Logout'                      => 'Abmeldung',
-  'drucken'                     => 'drucken',
+  'Back'                        => 'Zurück',
+  'Go one step back'            => 'Einen Schritt zur&uuml;ck',
+  'Hardcopy'                    => 'Seite drucken',
+  'Logout'                      => 'Abmelden',
+  'New Win/Tab'                 => 'Neues Fenster',
+  'Open a further Lx-Office Window or Tab' => 'Neues Fenster bzw. Tab &ouml;ffnen',
+  'Print'                       => 'Drucken',
 };
 
 $self->{subs} = {
index 84979da..86c9b3b 100644 (file)
@@ -136,7 +136,7 @@ $self->{texts} = {
   'List Tax'                    => 'Bearbeiten',
   'List Warehouses'             => 'Lager anzeigen',
   'List bank accounts'          => 'Bankkonten anzeigen',
-  'Logout'                      => 'Abmeldung',
+  'Logout'                      => 'Abmelden',
   'Manage license keys'         => 'Lizenzschl&uuml;ssel verwalten',
   'Master Data'                 => 'Stammdaten',
   'May set the BCC field when sending emails' => 'Beim Verschicken von Emails das Feld \'BCC\' setzen',
index 92780da..4a47d76 100644 (file)
@@ -44,7 +44,7 @@ $self->{texts} = {
   'Error in database control file \'%s\': %s' => 'Fehler in Datenbankupgradekontrolldatei \'%s\': %s',
   'File'                        => 'Datei',
   'General ledger and cash'     => 'Finanzbuchhaltung und Zahlungsverkehr',
-  'Logout'                      => 'Abmeldung',
+  'Logout'                      => 'Abmelden',
   'Manage license keys'         => 'Lizenzschl&uuml;ssel verwalten',
   'Master Data'                 => 'Stammdaten',
   'May set the BCC field when sending emails' => 'Beim Verschicken von Emails das Feld \'BCC\' setzen',
index 7a6a9a9..c05b803 100644 (file)
@@ -135,7 +135,7 @@ $self->{texts} = {
   'List Tax'                    => 'Bearbeiten',
   'List Warehouses'             => 'Lager anzeigen',
   'List bank accounts'          => 'Bankkonten anzeigen',
-  'Logout'                      => 'Abmeldung',
+  'Logout'                      => 'Abmelden',
   'Manage license keys'         => 'Lizenzschl&uuml;ssel verwalten',
   'Master Data'                 => 'Stammdaten',
   'May set the BCC field when sending emails' => 'Beim Verschicken von Emails das Feld \'BCC\' setzen',
index 81eb1ea..b302780 100644 (file)
         </select>
        </td>
       </tr>
+      <tr>
+       <th align='right'>[% 'Mandatory Departments' | $T8 %]</th>
+       <td>
+        <input type='radio' name='mandatory_departments' value='0' [% IF !myc_mandatory_departments %] checked[% END %]> [% 'No' | $T8 %]
+        <input type='radio' name='mandatory_departments' value='1' [% IF  myc_mandatory_departments %] checked[% END %]> [% 'Yes' | $T8 %]
+       </td>
+      </tr>
 
       <input type="hidden" name="templates" value="[% HTML.escape(myc_templates) %]">
      </table>
index 0595413..919f37b 100644 (file)
@@ -12,8 +12,6 @@
 
 <form method="post" name="invoice" action="[% script %]">
 
-<p>[% saved_message %]</p>
-
 [%- FOREACH key = HIDDENS %]
 <input type="hidden" name="[% HTML.escape(key) %]" value="[% HTML.escape($key)  %]">
 [%- END %]
@@ -26,6 +24,8 @@
 
 <p><div class="listtop" width="100%">[% title %]</div></p>
 
+<p>[% saved_message %]</p>
+
 <table width="100%">
   <tr>
     <td valign="top">
index 182fb65..cddc7ba 100644 (file)
@@ -1,16 +1,8 @@
+/* toolbar style */
 toolbar{
  -moz-appearance:none !important;
  background: url('../image/fade.png');
  border-bottom:1px solid black;
- border-top:1px solid black
-}
-splitter{
- -moz-appearance:none !important;
- background:white url('../image/fade.png') no-repeat !important;
- border:0px
-}
-iframe{
- border-left:1px solid black !important
 }
 
 /* sidebar styles */
@@ -20,6 +12,7 @@ tree{
  padding-top:2px;
  background: white url('../image/fade.png') repeat-x;
 }
+
 #sidebar{
  background-image: url('../image/fade.png');
  max-width:450px;
@@ -35,33 +28,30 @@ menubar{
  background: url('../image/bg_titel.gif');
  border:0px
 }
+
 menu, 
 menuitem{
  font:12px Arial;
 }
-menu menuitem,
-menu menu{
- padding:2px
-}
-menubar menu,
-menubar menuitem{
+
+menubar menu{
  -moz-appearance: none !important;
- color:white
+ color:white;
+ background: url('../image/bg_titel.gif');
 }
-menubar menu:hover,
-menubar menuitem:hover{
+
+menubar menu:hover{
  -moz-appearance:none !important;
- background:lightblue;
- color:red
-}
-menu menu,
-menu menuitem{
- -moz-appearance: none !important;
- color:black
+ background:#4466cc;
+ color:yellow;
 }
-menu menu:hover,
-menu menuitem:hover{
+
+/* are splitter & iframe in use currently? */
+splitter{
  -moz-appearance:none !important;
- background:lightgrey;
- color:red
+ background:white url('../image/fade.png') no-repeat !important;
+ border:0px;
+}
+iframe{
+ border-left:1px solid black !important;
 }
index c4b5dde..0263d04 100644 (file)
@@ -253,16 +253,17 @@ document.getElementById("main_window").contentWindow.history.forward()
 <!-- ***************************************************************************  -->
 
 <!-- special buttons ( logout , print, open new window )
+The tooltips, like tooltiptext="Neues Fenster", do not appear in my Firefox/Prism browsers. Why?
+https://developer.mozilla.org/en/XUL_Tutorial/Popup_Menus
+https://developer.mozilla.org/en/XUL/Attribute/tooltiptext
 ****************************************************************************  -->
 <xsl:template name="specialbuttons">
-  <toolbarbutton image="image/icons/24x24/Batch Printing.png" tooltiptext="hallo" oncommand="PrintW(event)"/>
-  <toolbarbutton image="image/icons/24x24/Neues Fenster.png" tooltip="Neues Fenster" link="menuXML.pl?action=display" target="_top" oncommand="openLinkNewWindow(event)"/>
-  <toolbarbutton label="Logout" link="{/*//item[@id='Programm--Logout']/@link}" target="_top" oncommand="openLink(event)">
-    <image src="image/icons/24x24/Programm--Logout.png" width="24" height="24" />
-  </toolbarbutton>
-<toolbarseparator/>
- <toolbarbutton label="back" tooltiptext="hallo" oncommand="MyGoBack()"/>
-  <toolbarbutton label="forward" tooltip="Neues Fenster" oncommand="MyGoForward()"/>
+    <toolbarbutton image="image/icons/24x24/Batch Printing.png" oncommand="PrintW(event)" tooltiptext="Drucken"/>
+    <toolbarbutton image="image/icons/24x24/Neues Fenster.png" tooltiptext="Neues Fenster" link="menuXML.pl?action=display" target="_top" oncommand="openLinkNewWindow(event)"/>
+    <toolbarbutton image="image/icons/24x24/Programm--Logout.png" link="{/*//item[@id='Programm--Logout']/@link}" target="_top" oncommand="openLink(event)" tooltiptext="Abmelden"/>
+  <toolbarseparator/>
+    <toolbarbutton image="image/icons/24x24/leftarrow_24.png" tooltiptext="Schritt zurück" oncommand="MyGoBack()"/>
+    <toolbarbutton image="image/icons/24x24/rightarrow_24.png" tooltiptext="Schritt vor" oncommand="MyGoForward()"/>
 </xsl:template>
 <!-- ***************************************************************************  -->
 
@@ -272,10 +273,8 @@ document.getElementById("main_window").contentWindow.history.forward()
 <xsl:template name="searchbox">
 <vbox style="padding-top:2px">
   <hbox>
-
-    <textbox height="22px" style="font-size:12px;margin-right:0px" width="200px" id="searchboxtext" onkeypress="checkEnter(event)"/>
-<toolbarbutton type="toolbar" width="20" height="20" style="padding:5px !important"
-image="image/icons/16x16/CRM--Schnellsuche.png" flex="0" oncommand="doSearch()"/>
+    <textbox style="font-size:11px;margin-right:0px" width="200px" id="searchboxtext" onkeypress="checkEnter(event)"/> 
+    <toolbarbutton type="toolbar" width="20" height="20" style="padding:5px !important" image="image/icons/16x16/CRM--Schnellsuche.png" flex="0" oncommand="doSearch()"/>
 </hbox>
 
 </vbox>