[%- 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">
<!--
function open_connection_test_window() {
-->
</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>