egroupware/timesheet/templates/default/config.tpl
2012-10-17 20:24:56 +00:00

70 lines
2.0 KiB
Smarty

<!-- BEGIN header -->
<p style="text-align: center; color: {th_err};">{error}</p>
<form name=frm method="POST" action="{action_url}">
{hidden_vars}
<table border="0" align="left">
<tr class="th">
<td colspan="2">&nbsp;<b>{title}</b></td>
</tr>
<!-- END header -->
<!-- BEGIN body -->
<tr class="row_on">
<td>{lang_ProjectManager_integration}:</td>
<td>
<select name="newsettings[pm_integration]">
<option value="">{lang_Both:_allow_to_use_ProjectManager_and_free_project-names}</option>
<option value="none"{selected_pm_integration_none}>{lang_None:_use_only_free_project-names}</option>
<option value="full"{selected_pm_integration_full}>{lang_Full:_use_only_ProjectManager}</option>
</select>
</td>
</tr>
<tr class="row_on">
<td>{lang_Mode}:</td>
<td>
<select name="newsettings[ts_viewtype]">
<option value="normal"{selected_ts_viewtype_normal}>{lang_Regular}</option>
<option value="short"{selected_ts_viewtype_short}>{lang_Simple}</option>
</select>
</td>
</tr>
<tr class="row_on">
<td>{lang_Show_a_quantity_sum_(eg._to_sum_up_negative_overtime)}:</td>
<td>
<select name="newsettings[quantity_sum]">
<option value="">{lang_No}</option>
<option value="true"{selected_quantity_sum_true}>{lang_Yes}</option>
</select>
</td>
</tr>
<tr class="th">
<td colspan="2">&nbsp;<b>{lang_History_logging}</b></td>
</tr>
<tr class="row_on">
<td>&nbsp;{lang_Prevent_deleting}</td>
<td>
<select name="newsettings[history]">
<option value="">{lang_No}</option>
<option value="history"{selected_history_history}>{lang_Yes,_only_admins_can_purge_deleted_items}</option>
<option value="userpurge"{selected_history_userpurge}>{lang_Yes,_users_can_purge_their_deleted_items}</option>
</select>
</td>
</tr>
<!-- END body -->
<!-- BEGIN footer -->
<tr class="th">
<td colspan="2">
&nbsp;
</td>
</tr>
<tr>
<td colspan="2" align="center">
<input type="submit" name="submit" value="{lang_submit}">
<input type="submit" name="cancel" value="{lang_cancel}">
</td>
</tr>
</table>
</form>
<!-- END footer -->