Benutzerkonfiguration um Einstellungen zur Aufgabenliste erweitert.
[kivitendo-erp.git] / templates / webpages / am / config_de.html
index 052204c..167f0b9 100644 (file)
-[% USE HTML %]<body>
+[% USE HTML %]<body onLoad="fokus()">
 
  <div class="listtop">[% title %]</div>
 
- <form method="post" action="am.pl"name="Form">
+ <form method="post" action="am.pl" name="Form" onKeyUp="highlight(event)" onClick="highlight(event)">
+
+  <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">
   <input type="hidden" name="role" value="[% HTML.escape(myconfig_role) %]">
-  <input type="hidden" name="login" value="[% HTML.escape(login) %]">
-  <input type="hidden" name="password" value="[% HTML.escape(password) %]">
-  <input type="hidden" name="old_password" value="[% HTML.escape(myconfig_password) %]">
-
-  <p>
-   <table>
-    <tr>
-     <th align="right">Name</th>
-     <td><input name="name" size="15" value="[% HTML.escape(myconfig_name) %]"></td>
-    </tr>
-
-    <tr>
-     <th align="right">Passwort</th>
-     <td><input type="password" name="new_password" size="10" value="[% HTML.escape(myconfig_password) %]"></td>
-    </tr>
-
-    <tr>
-     <th align="right">eMail</th>
-     <td><input name="email" size="30" value="[% HTML.escape(myconfig_email) %]"></td>
-    </tr>
-
-    <tr valign="top">
-     <th align="right">Unterschrift</th>
-     <td><textarea name="signature" rows="3" cols="50">[% HTML.escape(myconfig_signature) %]</textarea></td>
-    </tr>
-
-    <tr>
-     <th align="right">Telefon</th>
-     <td><input name="tel" size="14" value="[% HTML.escape(myconfig_tel) %]"></td>
-    </tr>
-
-    <tr>
-     <th align="right">Fax</th>
-     <td><input name="fax" size="14" value="[% HTML.escape(myconfig_fax) %]"></td>
-    </tr>
-    <tr>
-     <th align="right">Firma</th>
-     <td><input name="company" size="30" value="[% HTML.escape(myconfig_company) %]"></td>
-    </tr>
-    <tr valign="top">
-     <th align="right">Adresse</th>
-     <td><textarea name="address" rows="4" cols="50">[% HTML.escape(myconfig_address) %]</textarea></td>
-    </tr>
-    <tr>
-     <th align="right">Datumsformat</th>
-     <td>
-      <select name="dateformat">
-       [%- FOREACH row = DATEFORMATS %]
-       <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
-       [%- END %]
-      </select>
-     </td>
-    </tr>
-    <tr>
-     <th align="right">Zahlenformat (Ausgabe)</th>
-     <td>
-      <select name="numberformat">
-       [%- FOREACH row = NUMBERFORMATS %]
-       <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
-       [%- END %]
-      </select>
-     </td>
-    </tr>
-
-    <tr>
-     <th align="right">Auswahllistenbegrenzung</th>
-     <td><input name="vclimit" size="10" value="[% HTML.escape(myconfig_vclimit) %]"></td>
-    </tr>
-
-    <tr>
-     <th align="right">Sprache</th>
-     <td>
-      <select name="countrycode">
-       [%- FOREACH row = COUNTRYCODES %]
-       <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
-       [%- END %]
-      </select>
-     </td>
-    </tr>
-
-    <tr>
-     <th align="right">Stilvorlage</th>
-     <td>
-      <select name="usestylesheet">
-       [%- FOREACH row = STYLESHEETS %]
-       <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
-       [%- END %]
-      </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>
-     </td>
-    </tr>
-
-    <tr valign="top">
-     <th align="right">Favoriten</th>
-     <td><textarea name="favorites" rows="4" cols="50">[% HTML.escape(myconfig_favorites) %]</textarea></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>
-    </tr>
-
-    <input name="printer" type="hidden" value="[% HTML.escape(myconfig_printer) %]">
-    <tr class="listheading">
-     <th colspan="2">Druckoptionen</th>
-    </tr>
-
-    <tr>
-     <th align="right">Standardvorlagenformat</th>
-     <td>
-      <select name="template_format">
-       [%- FOREACH row = TEMPLATE_FORMATS %]
-       <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
-       [%- END %]
-      </select>
-     </td>
-    </tr>
-
-    <tr>
-     <th align="right">Standardausgabekanal</th>
-     <td>
-      <select name="default_media">
-       [%- FOREACH row = MEDIA %]
-       <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
-       [%- END %]
-      </select>
-     </td>
-    </tr>
-
-    <tr>
-     <th align="right">Standarddrucker</th>
-     <td>
-      <select name="default_printer_id">
-       [%- FOREACH row = PRINTERS %]
-       <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
+
+  <div class="tabcontentstyle">
+
+   <div id="page_personal_settings" class="tabcontent">
+
+    <table>
+     <tr>
+      <th align="right">Name</th>
+      <td><input name="name" size="15" value="[% HTML.escape(myconfig_name) %]"></td>
+     </tr>
+
+     <tr>
+      <th align="right">Passwort</th>
+      <td>
+       [%- IF CAN_CHANGE_PASSWORD %]
+       <input type="password" name="new_password" size="10" value="********">
+       [%- ELSE %]
+       <input type="hidden" name="new_password" value="********">
        [%- END %]
-      </select>
-     </td>
-    </tr>
-
-    <tr>
-     <th align="right">Anzahl Kopien</th>
-     <td><input name="copies" size="10" value="[% HTML.escape(myconfig_copies) %]"></td>
-    </tr>
-
-
-    <tr class="listheading">
-     <th colspan="2">&nbsp;</th>
-    </tr>
-
-    <tr>
-     <th align="right">Firmennummer</th>
-     <td><input name="businessnumber" size="25" value="[% HTML.escape(myconfig_businessnumber) %]"></td>
-    </tr>
-    <tr>
-     <th align="right">Jahresende (mm/dd)</th>
-     <td><input name="yearend" size="5" value="[% HTML.escape(defaults_yearend) %]"></td>
-    </tr>
-
-    <tr class="listheading">
-     <th colspan="2">Laufende Zähler und Standardkonten</th>
-    </tr>
-
-    <tr>
-     <td colspan="2">
-      <table width="100%">
-       <tr>
-        <th align="right" nowrap>Warenbestand</th>
-        <td>
-         <select name="inventory_accno">
-          [%- FOREACH row = ACCNOS_IC %]
-          <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
-          [%- END %]
-         </select>
-        </td>
-       </tr>
-
-       <tr>
-        <th align="right" nowrap>Erlöskonto</th>
-        <td>
-         <select name="income_accno">
-          [%- FOREACH row = ACCNOS_IC_INCOME %]
-          <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
-          [%- END %]
-         </select>
-        </td>
-       </tr>
-
-       <tr>
-        <th align="right" nowrap>Aufwandskonto</th>
-        <td>
-         <select name="expense_accno">
-          [%- FOREACH row = ACCNOS_IC_EXPENSE %]
-          <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
-          [%- END %]
-         </select>
-        </td>
-       </tr>
-
-       <tr>
-        <th align="right" nowrap>Wechselkurserträge</th>
-        <td>
-         <select name="fxgain_accno">
-          [%- FOREACH row = ACCNOS_FX_GAIN %]
-          <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
-          [%- END %]
-         </select>
-        </td>
-       </tr>
-
-       <tr>
-        <th align="right" nowrap>Wechselkursaufwendungen</th>
-        <td>
-         <select name="fxloss_accno">
-          [%- FOREACH row = ACCNOS_FX_LOSS %]
-          <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
-          [%- END %]
-         </select>
-        </td>
-       </tr>
-
-       <tr>
-        <td colspan="2">
-         Geben Sie Ihre und weitere Währungen mit bis zu drei Buchstaben pro Währung und Währungen durch Doppelpunkte getrennt ein (z.B. EUR:USD:CAD)<br>
-         <input name="curr" size="40" value="[% HTML.escape(defaults_curr) %]">
-        </td>
-       </tr>
-      </table>
-     </td>
-    </tr>
-
-    <tr>
-     <td colspan="2">
-      <table width="100"%>
-       <tr>
-        <th align="right" nowrap>Letzte Rechnungsnummer</th>
-        <td><input name="invnumber" size="10" value="[% HTML.escape(defaults_invnumber) %]"></td>
-        <th align="right" nowrap>Letzte Kundennummer</th>
-        <td><input name="customernumber" size="10" value="[% HTML.escape(defaults_customernumber) %]"></td>
-       </tr>
-
-       <tr>
-        <th align="right" nowrap>Letzte Gutschriftnummer</th>
-        <td><input name="cnnumber" size="10" value="[% HTML.escape(defaults_cnnumber) %]"></td>
-        <th align="right" nowrap>Letzte Lieferantennummer</th>
-        <td><input name="vendornumber" size="10" value="[% HTML.escape(defaults_vendornumber) %]"></td>
-       </tr>
-
-       <tr>
-        <th align="right" nowrap>Letzte Auftragsnummer</th>
-        <td><input name="sonumber" size="10" value="[% HTML.escape(defaults_sonumber) %]"></td>
-       </tr>
-
-       <tr>
-        <th align="right" nowrap>Letzte Lieferantenautragsnummer</th>
-        <td><input name="ponumber" size="10" value="[% HTML.escape(defaults_ponumber) %]"></td>
-        <th align="right" nowrap>Letzte Artikelnummer</th>
-        <td><input name="articlenumber" size="10" value="[% HTML.escape(defaults_articlenumber) %]"></td>
-       </tr>
-
-       <tr>
-        <th align="right" nowrap>Letzte Angebotsnummer</th>
-        <td><input name="sqnumber" size="10" value="[% HTML.escape(defaults_sqnumber) %]"></td>
-        <th align="right" nowrap>Letzte Dienstleistungsnr.</th>
-        <td><input name="servicenumber" size="10" value="[% HTML.escape(defaults_servicenumber) %]"></td>
-       </tr>
-
-       <tr>
-        <th align="right" nowrap>Letzte Anfragenummer</th>
-        <td><input name="rfqnumber" size="10" value="[% HTML.escape(defaults_rfqnumber) %]"></td>
-       </tr>
-
-      </table>
-     </td>
-    </tr>
-   </table>
-  </p>
-
-  <hr height="3" noshade>
+      </td>
+     </tr>
+
+     <tr>
+      <th align="right">eMail</th>
+      <td><input name="email" size="30" value="[% HTML.escape(myconfig_email) %]"></td>
+     </tr>
+
+     <tr valign="top">
+      <th align="right">Unterschrift</th>
+      <td><textarea name="signature" rows="3" cols="50">[% HTML.escape(myconfig_signature) %]</textarea></td>
+     </tr>
+
+     <tr>
+      <th align="right">Telefon</th>
+      <td><input name="tel" size="14" value="[% HTML.escape(myconfig_tel) %]"></td>
+     </tr>
+
+     <tr>
+      <th align="right">Fax</th>
+      <td><input name="fax" size="14" value="[% HTML.escape(myconfig_fax) %]"></td>
+     </tr>
+     <tr>
+      <th align="right">Firma</th>
+      <td><input name="company" size="30" value="[% HTML.escape(myconfig_company) %]"></td>
+     </tr>
+     <tr valign="top">
+      <th align="right">Adresse</th>
+      <td><textarea name="address" rows="4" cols="50">[% HTML.escape(myconfig_address) %]</textarea></td>
+     </tr>
+    </table>
+
+    <br style="clear: left" />
+   </div>
+
+   <div id="page_display_options" class="tabcontent">
+
+    <table>
+     <tr>
+      <th align="right">Datumsformat</th>
+      <td>
+       <select name="dateformat">
+        [%- FOREACH row = DATEFORMATS %]
+        <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
+        [%- END %]
+       </select>
+      </td>
+     </tr>
+     <tr>
+      <th align="right">Zahlenformat (Ausgabe)</th>
+      <td>
+       <select name="numberformat">
+        [%- FOREACH row = NUMBERFORMATS %]
+        <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
+        [%- END %]
+       </select>
+      </td>
+     </tr>
+
+     <tr>
+      <th align="right">Auswahllistenbegrenzung</th>
+      <td><input name="vclimit" size="10" value="[% HTML.escape(myconfig_vclimit) %]"></td>
+     </tr>
+
+     <tr>
+      <th align="right">Sprache</th>
+      <td>
+       <select name="countrycode">
+        [%- FOREACH row = COUNTRYCODES %]
+        <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
+        [%- END %]
+       </select>
+      </td>
+     </tr>
+
+     <tr>
+      <th align="right">Stilvorlage</th>
+      <td>
+       <select name="usestylesheet">
+        [%- FOREACH row = STYLESHEETS %]
+        <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
+        [%- END %]
+       </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>
+      </td>
+     </tr>
+
+     <tr valign="top">
+      <th align="right">Favoriten</th>
+      <td><textarea name="favorites" rows="4" cols="50">[% HTML.escape(myconfig_favorites) %]</textarea></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>
+     </tr>
+    </table>
+
+    <br style="clear: left" />
+   </div>
+
+   <div id="page_print_options" class="tabcontent">
+
+    <table>
+     <input name="printer" type="hidden" value="[% HTML.escape(myconfig_printer) %]">
+
+     <tr>
+      <th align="right">Standardvorlagenformat</th>
+      <td>
+       <select name="template_format">
+        [%- FOREACH row = TEMPLATE_FORMATS %]
+        <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
+        [%- END %]
+       </select>
+      </td>
+     </tr>
+
+     <tr>
+      <th align="right">Standardausgabekanal</th>
+      <td>
+       <select name="default_media">
+        [%- FOREACH row = MEDIA %]
+        <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
+        [%- END %]
+       </select>
+      </td>
+     </tr>
+
+     <tr>
+      <th align="right">Standarddrucker</th>
+      <td>
+       <select name="default_printer_id">
+        [%- FOREACH row = PRINTERS %]
+        <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
+        [%- END %]
+       </select>
+      </td>
+     </tr>
+
+     <tr>
+      <th align="right">Anzahl Kopien</th>
+      <td><input name="copies" size="10" value="[% HTML.escape(myconfig_copies) %]"></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">Zeige &uuml;berf&auml;llige Angebote...</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>
  </form>
 
+ <script type="text/javascript">
+  <!--
+      //Start Tab Content script for UL with id="maintab" Separate multiple ids each with a comma.
+      initializetabcontent("maintab");
+    -->
+ </script>
+
 </body>
 </html>