X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/b0f652b639cd4d363235e8f9b53e14efc5085e1a..ac55752:/templates/webpages/am/config.html
diff --git a/templates/webpages/am/config.html b/templates/webpages/am/config.html
index ea5b41b22..387c18cab 100644
--- a/templates/webpages/am/config.html
+++ b/templates/webpages/am/config.html
@@ -1,7 +1,6 @@
[%- USE T8 %]
[%- USE LxERP %]
-[% USE HTML %][% USE L %]
-
+[%- USE HTML %][%- USE L %]
[% title %]
@@ -69,6 +68,14 @@
[% 'SEPA creditor ID' | $T8 %]
+
+
+ [% 'taxincluded checked' | $T8 %]
+
+ [% L.yes_no_tag('taxincluded_checked', myconfig_taxincluded_checked) %]
+
+
+
@@ -80,21 +87,13 @@
[% 'Date Format' | $T8 %]
-
- [%- FOREACH row = DATEFORMATS %]
- [% HTML.escape(row.name) %]
- [%- END %]
-
+ [% L.select_tag('dateformat', DATEFORMATS, value_key = 'value', title_key = 'name') %]
[% 'Output Number Format' | $T8 %]
-
- [%- FOREACH row = NUMBERFORMATS %]
- [% HTML.escape(row.name) %]
- [%- END %]
-
+ [% L.select_tag('numberformat', NUMBERFORMATS, value_key = 'value', title_key = 'name') %]
@@ -106,22 +105,14 @@
[% 'Language' | $T8 %]
-
- [%- FOREACH row = COUNTRYCODES %]
- [% HTML.escape(row.name) %]
- [%- END %]
-
+ [% L.select_tag('countrycode', COUNTRYCODES, value_key = 'value', title_key = 'name') %]
[% 'Stylesheet' | $T8 %]
-
- [%- FOREACH row = STYLESHEETS %]
- [% HTML.escape(row.name) %]
- [%- END %]
-
+ [% L.select_tag('usestylesheet', STYLESHEETS, value_key = 'value', title_key = 'name') %]
@@ -133,16 +124,10 @@
[% 'Top (CSS)' | $T8 %]
[% 'Top (CSS) new' | $T8 %]
[% 'Top (Javascript)' | $T8 %]
- [% 'Top (XUL; only for Mozilla Firefox)' | $T8 %]
-
- [% 'Favorites' | $T8 %]
-
-
-
[% 'Form details (second row)' | $T8 %]
@@ -164,8 +149,6 @@
- [% LxERP.t8('Note: For Firefox 4 and later the menu XUL menu requires the addon Remote XUL Manager and the Lx-Office server to be white listed.', 'https://addons.mozilla.org/de/firefox/addon/remote-xul-manager/') %]
-
@@ -177,29 +160,21 @@
[% 'Default template format' | $T8 %]
-
- [%- FOREACH row = TEMPLATE_FORMATS %]
- [% HTML.escape(row.name) %]
- [%- END %]
-
+ [% L.select_tag('template_format', TEMPLATE_FORMATS, value_key = 'value', title_key = 'name') %]
[% 'Default output medium' | $T8 %]
-
- [%- FOREACH row = MEDIA %]
- [% HTML.escape(row.name) %]
- [%- END %]
-
+ [% L.select_tag('default_media', MEDIA, value_key = 'value', title_key = 'name') %]
[% 'Default printer' | $T8 %]
- [% L.select_tag('default_printer_id', L.options_for_select(PRINTERS, default => myconfig_default_printer_id, title => 'printer_description', with_empty => 1)) %]
+ [% L.select_tag('default_printer_id', PRINTERS, default = myconfig_default_printer_id, title_key = 'printer_description', with_empty = 1) %]
@@ -272,5 +247,3 @@
-->
-
-