]> wagnertech.de Git - mfinanz.git/blobdiff - templates/webpages/admin/edit_user.html
Merge branch 'master' of vc.linet-services.de:public/lx-office-erp
[mfinanz.git] / templates / webpages / admin / edit_user.html
index 77ed62ee4be97ca6d11c7f1325eadd1efc20c1b9..45f2831bc60f08c892e99da44c8596f81fc39a0b 100644 (file)
@@ -1,8 +1,6 @@
 [%- USE T8 %]
 [%- USE HTML %]
 [%- USE L %]
-<body class="admin">
-
  <script type="text/javascript" src="js/common.js"></script>
  <script type="text/javascript" src="js/jquery.js"></script>
  <script type="text/javascript">
@@ -23,9 +21,9 @@
     -->
  </script>
 
- <form name="Form" id="Form" method="post" action="admin.pl">
+ <h1>[% title %]</h1>
 
 <div class="listtop" width="100%">[% title %]</div>
<form name="Form" id="Form" method="post" action="admin.pl">
   <p><a href="admin.pl?action=list_users">[% 'Back' | $T8 %]</a></p>
 
   <table width="100%">
      <table>
       <tr>
        <th align="right">[% 'Date Format' | $T8 %]</th>
-       <td>[% L.select_tag('user.dateformat', L.options_for_select(all_dateformats, default=user.dateformat)) %]</td>
+       <td>[% L.select_tag('user.dateformat', all_dateformats, default = user.dateformat) %]</td>
       </tr>
 
       <tr>
        <th align="right">[% 'Number Format' | $T8 %]</th>
-       <td>[% L.select_tag('user.numberformat', L.options_for_select(all_numberformats, default=user.numberformat)) %]</td>
+       <td>[% L.select_tag('user.numberformat', all_numberformats, default = user.numberformat) %]</td>
       </tr>
 
       <tr>
 
       <tr>
        <th align="right">[% 'Language' | $T8 %]</th>
-       <td>[% L.select_tag('user.countrycode', L.options_for_select(all_countrycodes, title='title', default=user.countrycode)) %]</td>
+       <td>[% L.select_tag('user.countrycode', all_countrycodes, title_key = 'title', default = user.countrycode) %]</td>
       </tr>
 
       <tr>
        <th align="right">[% 'Stylesheet' | $T8 %]</th>
-       <td>[% L.select_tag('user.stylesheet', L.options_for_select(all_stylesheets, default=user.stylesheet)) %]</td>
+       <td>[% L.select_tag('user.stylesheet', all_stylesheets, default = user.stylesheet) %]</td>
       </tr>
 
       <tr>
       </tr>
       <tr>
        <th align="right">[% 'Use Templates' | $T8 %]</th>
-       <td>[% L.select_tag('usetemplates', L.options_for_select(all_templates, default=user.templates)) %]</td>
+       <td>[% L.select_tag('usetemplates', all_templates, default = user.templates) %]</td>
       </tr>
       <tr>
        <th align="right">[% 'New Templates' | $T8 %]</th>
       </tr>
       <tr>
        <th align="right">[% 'Setup Templates' | $T8 %]</th>
-       <td>[% L.select_tag('mastertemplates', L.options_for_select(all_master_templates, default='German')) %]</td>
+       <td>[% L.select_tag('mastertemplates', all_master_templates, default = 'Standard') %]</td>
       </tr>
       <tr>
        <th align="right">[% 'Setup Menu' | $T8 %]</th>
-       <td>[% L.select_tag('user.menustyle', L.options_for_select(all_menustyles, title='title', default=user.menustyle)) %]</td>
+       <td>[% L.select_tag('user.menustyle', all_menustyles, title_key = 'title', default = user.menustyle) %]</td>
       </tr>
       <tr>
        <th align='right'>[% 'Mandatory Departments' | $T8 %]</th>
     });
     -->
  </script>
-
-</body>
-</html>