T8 Filter für Templates und Anwendungsbeispiel _payments
[kivitendo-erp.git] / templates / webpages / am / config_master.html
index 1c692ac..e24919e 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"><translate>Personal settings</translate></a></li>
       <td>
        <select name="menustyle">
         <option value="v3"[% IF myconfig_menustyle == 'v3' %] selected[% END %]><translate>Top (CSS)</translate></option>
+        <option value="v4"[% IF myconfig_menustyle == 'v4' %] selected[% END %]><translate>Top (CSS) new</translate></option>
         <option value="neu"[% IF myconfig_menustyle == 'neu' %] selected[% END %]><translate>Top (Javascript)</translate></option>
         <option value="xml"[% IF myconfig_menustyle == 'xml' %] selected[% END %]><translate>Top (XUL; only for Mozilla Firefox)</translate></option>
         <option value="old"[% IF myconfig_menustyle == 'old' %] selected[% END %]><translate>Old (on the side)</translate></option>
        </select>
       </td>
      </tr>
+
+     <tr>
+      <th align="right"><translate>Show custom variable search inputs</translate></th>
+      <td>
+       <select name="hide_cvar_search_options">
+        <option value="0"[% IF !myconfig_hide_cvar_search_options %] selected[% END %]><translate>Show by default</translate></option>
+        <option value="1"[% IF  myconfig_hide_cvar_search_options %] selected[% END %]><translate>Hide by default</translate></option>
+       </select>
+      </td>
+     </tr>
     </table>
 
     <br style="clear: left" />
 
  <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>