--- /dev/null
+{$forms.teamForm.open}
+<table cellspacing="4" cellpadding="7" border="0">
+ <tr>
+ <td>
+ <table cellspacing="1" cellpadding="2" border="0">
+ <tr>
+ <td align="right" nowrap>{$i18n.label.group_name}:</td>
+ <td>{$forms.teamForm.team_name.control}</td>
+ </tr>
+ <tr>
+ <td align="right" nowrap>{$i18n.label.language}:</td>
+ <td>{$forms.teamForm.lang.control}</td>
+ </tr>
+ <tr><td> </td></tr>
+ <tr>
+ <td align="right" nowrap>{$i18n.label.manager_name} (*):</td>
+ <td>{$forms.teamForm.manager_name.control}</td>
+ </tr>
+ <tr>
+ <td align="right" nowrap>{$i18n.label.manager_login} (*):</td>
+ <td>{$forms.teamForm.manager_login.control}</td>
+ </tr>
+{if !$auth_external}
+ <tr>
+ <td align="right" nowrap>{$i18n.label.password} (*):</td>
+ <td>{$forms.teamForm.password1.control}</td>
+ </tr>
+ <tr>
+ <td align="right" nowrap>{$i18n.label.confirm_password} (*):</td>
+ <td>{$forms.teamForm.password2.control}</td>
+ </tr>
+{/if}
+ <tr>
+ <td align="right" nowrap>{$i18n.label.email}:</td>
+ <td>{$forms.teamForm.manager_email.control}</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>{$i18n.label.required_fields}</td>
+ </tr>
+ <tr><td colspan="2"> </td></tr>
+ <tr>
+ <td colspan="2" height="50" align="center">{$forms.teamForm.btn_submit.control}</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+{$forms.teamForm.close}
--- /dev/null
+{$forms.teamForm.open}
+<table cellspacing="4" cellpadding="7" border="0">
+ <tr>
+ <td>
+ <table cellspacing="0" cellpadding="0" border="0">
+ <tr>
+ <td colspan="2" align="center"><b>{$team_to_delete|escape}</b></td>
+ </tr>
+ <tr>
+ <td colspan="2" align="center"> </td>
+ </tr>
+ <tr>
+ <td align="right">{$forms.teamForm.btn_delete.control} </td>
+ <td align="left"> {$forms.teamForm.btn_cancel.control}</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+{$forms.teamForm.close}
--- /dev/null
+{$forms.teamForm.open}
+<table cellspacing="4" cellpadding="7" border="0">
+ <tr>
+ <td>
+ <table cellspacing="1" cellpadding="2" border="0">
+ <tr>
+ <td align="right" nowrap>{$i18n.label.group_name}:</td>
+ <td>{$forms.teamForm.team_name.control}</td>
+ </tr>
+ <tr><td> </td></tr>
+ <tr>
+ <td align="right" nowrap>{$i18n.label.manager_name} (*):</td>
+ <td>{$forms.teamForm.manager_name.control}</td>
+ </tr>
+ <tr>
+ <td align="right" nowrap>{$i18n.label.manager_login} (*):</td>
+ <td>{$forms.teamForm.manager_login.control}</td>
+ </tr>
+{if !$auth_external}
+ <tr>
+ <td align="right" nowrap>{$i18n.label.password} (*):</td>
+ <td>{$forms.teamForm.password1.control}</td>
+ </tr>
+ <tr>
+ <td align="right" nowrap>{$i18n.label.confirm_password} (*):</td>
+ <td>{$forms.teamForm.password2.control}</td>
+ </tr>
+{/if}
+ <tr>
+ <td align="right" nowrap>{$i18n.label.email}:</td>
+ <td>{$forms.teamForm.manager_email.control}</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>{$i18n.label.required_fields}</td>
+ </tr>
+ <tr><td colspan="2"> </td></tr>
+ <tr>
+ <td colspan="2" height="50" align="center">{$forms.teamForm.btn_save.control} {$forms.teamForm.btn_cancel.control}</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+{$forms.teamForm.close}
--- /dev/null
+<script>
+ function chLocation(newLocation) { document.location = newLocation; }
+</script>
+
+<table cellspacing="0" cellpadding="7" border="0" width="720">
+ <tr><td valign="top">{$i18n.form.groups.hint}</td></tr>
+</table>
+
+<table cellspacing="1" cellpadding="3" border="0" width="720">
+ <tr>
+ <td width="3%" class="tableHeader">{$i18n.label.id}</td>
+ <td width="70%" class="tableHeader">{$i18n.label.thing_name}</td>
+ <td class="tableHeader">{$i18n.label.date}</td>
+ <td class="tableHeader">{$i18n.label.language}</td>
+ <td class="tableHeader">{$i18n.label.edit}</td>
+ <td class="tableHeader">{$i18n.label.delete}</td>
+ </tr>
+{if $teams}
+ {foreach $teams as $team}
+ <tr bgcolor="{cycle values="#f5f5f5,#ffffff"}">
+ <td>{$team.id}</td>
+ <td>{$team.name|escape}</td>
+ <td nowrap>{$team.date}</td>
+ <td align="center">{$team.lang}</td>
+ <td><a href="admin_group_edit.php?id={$team.id}">{$i18n.label.edit}</a></td>
+ <td><a href="admin_group_delete.php?id={$team.id}">{$i18n.label.delete}</a></td>
+ </tr>
+ {/foreach}
+{/if}
+</table>
+
+<table width="100%">
+ <tr>
+ <td align="center">
+ <br>
+ <form>
+ <input type="button" onclick="chLocation('admin_group_add.php');" value="{$i18n.button.create_group}"> {$i18n.label.or}
+ <input type="button" onclick="chLocation('import.php');" value="{$i18n.button.import}">
+ </form>
+ </td>
+ </tr>
+</table>
+++ /dev/null
-{$forms.teamForm.open}
-<table cellspacing="4" cellpadding="7" border="0">
- <tr>
- <td>
- <table cellspacing="1" cellpadding="2" border="0">
- <tr>
- <td align="right" nowrap>{$i18n.label.group_name}:</td>
- <td>{$forms.teamForm.team_name.control}</td>
- </tr>
- <tr>
- <td align="right" nowrap>{$i18n.label.language}:</td>
- <td>{$forms.teamForm.lang.control}</td>
- </tr>
- <tr><td> </td></tr>
- <tr>
- <td align="right" nowrap>{$i18n.label.manager_name} (*):</td>
- <td>{$forms.teamForm.manager_name.control}</td>
- </tr>
- <tr>
- <td align="right" nowrap>{$i18n.label.manager_login} (*):</td>
- <td>{$forms.teamForm.manager_login.control}</td>
- </tr>
-{if !$auth_external}
- <tr>
- <td align="right" nowrap>{$i18n.label.password} (*):</td>
- <td>{$forms.teamForm.password1.control}</td>
- </tr>
- <tr>
- <td align="right" nowrap>{$i18n.label.confirm_password} (*):</td>
- <td>{$forms.teamForm.password2.control}</td>
- </tr>
-{/if}
- <tr>
- <td align="right" nowrap>{$i18n.label.email}:</td>
- <td>{$forms.teamForm.manager_email.control}</td>
- </tr>
- <tr>
- <td></td>
- <td>{$i18n.label.required_fields}</td>
- </tr>
- <tr><td colspan="2"> </td></tr>
- <tr>
- <td colspan="2" height="50" align="center">{$forms.teamForm.btn_submit.control}</td>
- </tr>
- </table>
- </td>
- </tr>
-</table>
-{$forms.teamForm.close}
+++ /dev/null
-{$forms.teamForm.open}
-<table cellspacing="4" cellpadding="7" border="0">
- <tr>
- <td>
- <table cellspacing="0" cellpadding="0" border="0">
- <tr>
- <td colspan="2" align="center"><b>{$team_to_delete|escape}</b></td>
- </tr>
- <tr>
- <td colspan="2" align="center"> </td>
- </tr>
- <tr>
- <td align="right">{$forms.teamForm.btn_delete.control} </td>
- <td align="left"> {$forms.teamForm.btn_cancel.control}</td>
- </tr>
- </table>
- </td>
- </tr>
-</table>
-{$forms.teamForm.close}
+++ /dev/null
-{$forms.teamForm.open}
-<table cellspacing="4" cellpadding="7" border="0">
- <tr>
- <td>
- <table cellspacing="1" cellpadding="2" border="0">
- <tr>
- <td align="right" nowrap>{$i18n.label.group_name}:</td>
- <td>{$forms.teamForm.team_name.control}</td>
- </tr>
- <tr><td> </td></tr>
- <tr>
- <td align="right" nowrap>{$i18n.label.manager_name} (*):</td>
- <td>{$forms.teamForm.manager_name.control}</td>
- </tr>
- <tr>
- <td align="right" nowrap>{$i18n.label.manager_login} (*):</td>
- <td>{$forms.teamForm.manager_login.control}</td>
- </tr>
-{if !$auth_external}
- <tr>
- <td align="right" nowrap>{$i18n.label.password} (*):</td>
- <td>{$forms.teamForm.password1.control}</td>
- </tr>
- <tr>
- <td align="right" nowrap>{$i18n.label.confirm_password} (*):</td>
- <td>{$forms.teamForm.password2.control}</td>
- </tr>
-{/if}
- <tr>
- <td align="right" nowrap>{$i18n.label.email}:</td>
- <td>{$forms.teamForm.manager_email.control}</td>
- </tr>
- <tr>
- <td></td>
- <td>{$i18n.label.required_fields}</td>
- </tr>
- <tr><td colspan="2"> </td></tr>
- <tr>
- <td colspan="2" height="50" align="center">{$forms.teamForm.btn_save.control} {$forms.teamForm.btn_cancel.control}</td>
- </tr>
- </table>
- </td>
- </tr>
-</table>
-{$forms.teamForm.close}
+++ /dev/null
-<script>
- function chLocation(newLocation) { document.location = newLocation; }
-</script>
-
-<table cellspacing="0" cellpadding="7" border="0" width="720">
- <tr><td valign="top">{$i18n.form.groups.hint}</td></tr>
-</table>
-
-<table cellspacing="1" cellpadding="3" border="0" width="720">
- <tr>
- <td width="3%" class="tableHeader">{$i18n.label.id}</td>
- <td width="70%" class="tableHeader">{$i18n.label.thing_name}</td>
- <td class="tableHeader">{$i18n.label.date}</td>
- <td class="tableHeader">{$i18n.label.language}</td>
- <td class="tableHeader">{$i18n.label.edit}</td>
- <td class="tableHeader">{$i18n.label.delete}</td>
- </tr>
-{if $teams}
- {foreach $teams as $team}
- <tr bgcolor="{cycle values="#f5f5f5,#ffffff"}">
- <td>{$team.id}</td>
- <td>{$team.name|escape}</td>
- <td nowrap>{$team.date}</td>
- <td align="center">{$team.lang}</td>
- <td><a href="admin_group_edit.php?id={$team.id}">{$i18n.label.edit}</a></td>
- <td><a href="admin_group_delete.php?id={$team.id}">{$i18n.label.delete}</a></td>
- </tr>
- {/foreach}
-{/if}
-</table>
-
-<table width="100%">
- <tr>
- <td align="center">
- <br>
- <form>
- <input type="button" onclick="chLocation('admin_group_add.php');" value="{$i18n.button.create_group}"> {$i18n.label.or}
- <input type="button" onclick="chLocation('import.php');" value="{$i18n.button.import}">
- </form>
- </td>
- </tr>
-</table>
-
\ No newline at end of file
<br>
<table cellspacing="0" cellpadding="4" width="100%" border="0">
<tr>
- <td align="center"> Anuko Time Tracker 1.17.86.4226 | Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+ <td align="center"> Anuko Time Tracker 1.17.86.4227 | Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
<a href="https://www.anuko.com/lp/tt_4.htm" target="_blank">{$i18n.footer.credits}</a> |
<a href="https://www.anuko.com/lp/tt_5.htm" target="_blank">{$i18n.footer.license}</a> |
<a href="https://www.anuko.com/lp/tt_7.htm" target="_blank">{$i18n.footer.improve}</a>
$smarty->assign('auth_external', $auth->isPasswordExternal());
$smarty->assign('forms', array($form->getName()=>$form->toArray()));
$smarty->assign('onload', 'onLoad="document.teamForm.team.focus()"');
-$smarty->assign('content_page_name', 'admin_team_add.tpl');
+$smarty->assign('content_page_name', 'admin_group_add.tpl');
$smarty->assign('title', $i18n->get('title.create_group'));
$smarty->display('index.tpl');
$smarty->assign('team_to_delete', $team_name);
$smarty->assign('forms', array($form->getName()=>$form->toArray()));
$smarty->assign('title', $i18n->get('title.delete_group'));
-$smarty->assign('content_page_name', 'admin_team_delete.tpl');
+$smarty->assign('content_page_name', 'admin_group_delete.tpl');
$smarty->display('index.tpl');
$smarty->assign('forms', array($form->getName()=>$form->toArray()));
$smarty->assign('onload', 'onLoad="document.teamForm.manager_name.focus()"');
$smarty->assign('title', $i18n->get('title.edit_group'));
-$smarty->assign('content_page_name', 'admin_team_edit.tpl');
+$smarty->assign('content_page_name', 'admin_group_edit.tpl');
$smarty->display('index.tpl');
$smarty->assign('teams', ttGroupHelper::getTopGroups());
$smarty->assign('title', $i18n->get('title.groups'));
-$smarty->assign('content_page_name', 'admin_teams.tpl');
+$smarty->assign('content_page_name', 'admin_groups.tpl');
$smarty->display('index.tpl');