strict auf mandatory gestetzt, warnings auf TODO
[kivitendo-erp.git] / templates / webpages / am / config_de.html
index e82549b..f064f8d 100644 (file)
@@ -1,8 +1,10 @@
 [% USE HTML %]<body onLoad="fokus()">
 
- <div class="listtop">[% title %]</div>
+ <p>
+  <div class="listtop">[% title %]</div>
+ </p>
 
- <form method="post" action="am.pl" name="Form" onKeyUp="highlight(event)" onClick="highlight(event)">
+ <form method="post" action="am.pl" name="Form">
 
   <ul id="maintab" class="shadetabs">
    <li class="selected"><a href="#" rel="page_personal_settings">Pers&ouml;nliche Einstellungen</a></li>
      <tr>
       <th align="right">Menüsetup</th>
       <td>
-       <input name="menustyle" id="menustyle_v3" type="radio" class="radio" value="v3" [% IF menustyle_v3 %]checked[% END %]>&nbsp;
-       <label for="menustyle_v3">Oben (mit CSS)</label>
-       <input name="menustyle" id="menustyle_neu" type="radio" class="radio" value="neu" [% IF menustyle_neu %]checked[% END %]>&nbsp;
-       <label for="menustyle_neu">Oben (mit Javascript)</label>
-       <input name="menustyle" id="menustyle_old" type="radio" class="radio" value="old" [% IF menustyle_old %]checked[% END %]>&nbsp;
-       <label for="menustyle_old">Alt (seitlich)</label>
-       <input name="menustyle" id="menustyle_xml" type="radio" class="radio" value="xml" [% IF menustyle_xml %]checked[% END %]>&nbsp;
-       <label for="menustyle_xml">XML (XUL,...)</label>
+       <select name="menustyle">
+        <option value="v3"[% IF myconfig_menustyle == 'v3' %] selected[% END %]>Oben (mit CSS)</option>
+        <option value="v4"[% IF myconfig_menustyle == 'v4' %] selected[% END %]>Oben (mit CSS, neu)</option>
+        <option value="neu"[% IF myconfig_menustyle == 'neu' %] selected[% END %]>Oben (mit Javascript)</option>
+        <option value="xml"[% IF myconfig_menustyle == 'xml' %] selected[% END %]>Oben (XUL; nur f&uuml;r Mozilla Firefox)</option>
+        <option value="old"[% IF myconfig_menustyle == 'old' %] selected[% END %]>Alt (seitlich)</option>
+       </select>
       </td>
      </tr>
 
      <tr>
       <th align="right">Formulardetails (zweite Positionszeile)</th>
       <td>
-       <input type="radio" id="rad_show_form_details" name="show_form_details" value="1" [% IF myconfig_show_form_details %]checked[% END %]>&nbsp;
-       <label for="rad_show_form_details">Standardm&auml;&szlig;ig anzeigen</label>
-       <input type="radio" id="rad_hide_form_details" name="show_form_details" value="0" [% UNLESS myconfig_show_form_details %]checked[% END %]>&nbsp;
-       <label for="rad_hide_form_details">Standardm&auml;&szlig;ig verstecken</label></td>
+       <select name="show_form_details">
+        <option value="1"[% IF  myconfig_show_form_details %] selected[% END %]>Standardm&auml;&szlig;ig anzeigen</option>
+        <option value="0"[% IF !myconfig_show_form_details %] selected[% END %]>Standardm&auml;&szlig;ig verstecken</option>
+       </select>
+      </td>
+     </tr>
+
+     <tr>
+      <th align="right">Suchoptionen für Benutzerdefinierte Variablen verstecken</th>
+      <td>
+       <select name="hide_cvar_search_options">
+        <option value="0"[% IF !myconfig_hide_cvar_search_options %] selected[% END %]>Standardm&auml;&szlig;ig anzeigen</option>
+        <option value="1"[% IF  myconfig_hide_cvar_search_options %] selected[% END %]>Standardm&auml;&szlig;ig verstecken</option>
+       </select>
+      </td>
      </tr>
     </table>
 
 
  <script type="text/javascript">
   <!--
-      //Start Tab Content script for UL with id="maintab" Separate multiple ids each with a comma.
-      initializetabcontent("maintab");
+      var maintab = new ddtabcontent("maintab");
+      maintab.setpersist(true);
+      maintab.setselectedClassTarget("link"); //"link" or "linkparent"
+      maintab.init();
     -->
  </script>