Fehlendes schließendes </tr> ergänzt.
[kivitendo-erp.git] / templates / webpages / am / config_de.html
index 0276947..fe1627e 100644 (file)
@@ -1,13 +1,16 @@
 [% 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>
    <li><a href="#" rel="page_display_options">Anzeigeoptionen</a></li>
    <li><a href="#" rel="page_print_options">Druckoptionen</a></li>
+   <li><a href="#" rel="page_todo_list_options">Aufgabenlistenoptionen</a></li>
   </ul>
 
   <input type="hidden" name="type" value="preferences">
      <tr>
       <th align="right">Sprache</th>
       <td>
-       <select name="countrycode">
+       Deutsch
+       <input type="hidden" name="countrycode" value="de">
+<!--       <select name="countrycode">
         [%- FOREACH row = COUNTRYCODES %]
         <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
         [%- END %]
-       </select>
+       </select>-->
       </td>
      </tr>
 
      <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>
     </table>
 
 
     <br style="clear: left" />
    </div>
+
+   <div id="page_todo_list_options" class="tabcontent">
+
+    <table>
+     <tr>
+      <th align="right">Aufgabenliste nach dem Anmelden anzeigen</th>
+      <td colspan="2">
+       <input type="radio" name="todo_cfg.show_after_login" id="todo_cfg_show_after_login_1" value="1"[% IF todo_cfg.show_after_login %] checked[% END %]>
+       <label for="todo_cfg_show_after_login_1">Ja</label>
+       <input type="radio" name="todo_cfg.show_after_login" id="todo_cfg_show_after_login_0" value="0"[% IF !todo_cfg.show_after_login %] checked[% END %]>
+       <label for="todo_cfg_show_after_login_0">Nein</label>
+      </td>
+     </tr>
+
+     <tr class="listheading">
+      <th colspan="3">Konfiguration f&uuml;r die einzelnen Aufgabenlistenpunkte</th>
+     </tr>
+
+     <tr>
+      <th align="right">Zeige Wiedervorlagen...</th>
+      <td>
+       <input type="checkbox" name="todo_cfg.show_follow_ups" id="todo_cfg_show_follow_ups" value="1"[% IF todo_cfg.show_follow_ups %] checked[% END %]>
+       <label for="todo_cfg_show_follow_ups">...auf der Aufgabenliste</label>
+      </td>
+      <td>
+       <input type="checkbox" name="todo_cfg.show_follow_ups_login" id="todo_cfg_show_follow_ups_login" value="1"[% IF todo_cfg.show_follow_ups_login %] checked[% END %]>
+       <label for="todo_cfg_show_follow_ups_login">...nach dem Anmelden</label>
+      </td>
+     </tr>
+
+     [%- IF AUTH_RIGHTS_SALES_QUOTATION_EDIT %]
+     <tr>
+      <th align="right">Überfällige Angebote und Preisanfragen anzeigen...</th>
+      <td>
+       <input type="checkbox" name="todo_cfg.show_overdue_sales_quotations" id="todo_cfg_show_overdue_sales_quotations" value="1"[% IF todo_cfg.show_overdue_sales_quotations %] checked[% END %]>
+       <label for="todo_cfg_show_overdue_sales_quotations">...auf der Aufgabenliste</label>
+      </td>
+      <td>
+       <input type="checkbox" name="todo_cfg.show_overdue_sales_quotations_login" id="todo_cfg_show_overdue_sales_quotations_login" value="1"[% IF todo_cfg.show_overdue_sales_quotations_login %] checked[% END %]>
+       <label for="todo_cfg_show_overdue_sales_quotations_login">...nach dem Anmelden</label>
+      </td>
+     </tr>
+     [%- END %]
+    </table>
+
+    <br style="clear: left" />
+   </div>
   </div>
 
   <p><input type="submit" class="submit" name="action" value="Speichern"></p>
 
  <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>