[% 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"><translate>Personal settings</translate></a></li>
<tr>
<th align="right"><translate>Setup Menu</translate></th>
<td>
- <input name="menustyle" id="menustyle_v3" type="radio" class="radio" value="v3" [% IF menustyle_v3 %]checked[% END %]>
- <label for="menustyle_v3"><translate>Top (CSS)</translate></label>
- <input name="menustyle" id="menustyle_neu" type="radio" class="radio" value="neu" [% IF menustyle_neu %]checked[% END %]>
- <label for="menustyle_neu"><translate>Top (Javascript)</translate></label>
- <input name="menustyle" id="menustyle_old" type="radio" class="radio" value="old" [% IF menustyle_old %]checked[% END %]>
- <label for="menustyle_old"><translate>Old (on the side)</translate></label>
- <input name="menustyle" id="menustyle_xml" type="radio" class="radio" value="xml" [% IF menustyle_xml %]checked[% END %]>
- <label for="menustyle_xml">XML (XUL,...)</label>
+ <select name="menustyle">
+ <option value="v3"[% IF myconfig_menustyle == 'v3' %] selected[% END %]><translate>Top (CSS)</translate></option>
+ <option value="v4"[% IF myconfig_menustyle == 'v4' %] selected[% END %]><translate>Top (CSS) new</translate></option>
+ <option value="neu"[% IF myconfig_menustyle == 'neu' %] selected[% END %]><translate>Top (Javascript)</translate></option>
+ <option value="xml"[% IF myconfig_menustyle == 'xml' %] selected[% END %]><translate>Top (XUL; only for Mozilla Firefox)</translate></option>
+ <option value="old"[% IF myconfig_menustyle == 'old' %] selected[% END %]><translate>Old (on the side)</translate></option>
+ </select>
</td>
</tr>
<tr>
<th align="right"><translate>Form details (second row)</translate></th>
<td>
- <input type="radio" id="rad_show_form_details" name="show_form_details" value="1" [% IF myconfig_show_form_details %]checked[% END %]>
- <label for="rad_show_form_details"><translate>Show by default</translate></label>
- <input type="radio" id="rad_hide_form_details" name="show_form_details" value="0" [% UNLESS myconfig_show_form_details %]checked[% END %]>
- <label for="rad_hide_form_details"><translate>Hide by default</translate></label></td>
+ <select name="show_form_details">
+ <option value="1"[% IF myconfig_show_form_details %] selected[% END %]><translate>Show by default</translate></option>
+ <option value="0"[% IF !myconfig_show_form_details %] selected[% END %]><translate>Hide by default</translate></option>
+ </select>
+ </td>
+ </tr>
+
+ <tr>
+ <th align="right"><translate>Show custom variable search inputs</translate></th>
+ <td>
+ <select name="hide_cvar_search_options">
+ <option value="0"[% IF !myconfig_hide_cvar_search_options %] selected[% END %]><translate>Show by default</translate></option>
+ <option value="1"[% IF myconfig_hide_cvar_search_options %] selected[% END %]><translate>Hide by default</translate></option>
+ </select>
+ </td>
</tr>
</table>
[%- IF AUTH_RIGHTS_SALES_QUOTATION_EDIT %]
<tr>
- <th align="right"><translate>Show overdue sales quotations...</translate></th>
+ <th align="right"><translate>Show overdue sales quotations and requests for quotations...</translate></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"><translate>...on the TODO list</translate></label>
<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>