<br>
<table cellspacing="0" cellpadding="4" width="100%" border="0">
<tr>
- <td align="center"> Anuko Time Tracker 1.18.41.4766 | Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+ <td align="center"> Anuko Time Tracker 1.18.41.4767 | 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>
function handleClientControl() {
var selectedRoleId = document.getElementById("role").value;
var clientControl = document.getElementById("client");
+ var nonClientBlock = document.getElementById("non_client_block");
var projectsControl = document.getElementById("projects_control");
var len = roles.length;
var isClient = roles[i][1];
if (isClient == 1) {
clientControl.style.visibility = "visible";
+ nonClientBlock.style.display = "none";
projectsControl.style.display = "none";
// Uncheck all project checkboxes.
} else {
clientControl.value = "";
clientControl.style.visibility = "hidden";
+ nonClientBlock.style.display = "";
projectsControl.style.display = "";
}
break;
<td align="right">{$i18n.form.users.role}:</td>
<td>{$forms.userForm.role.control} {$forms.userForm.client.control}</td>
</tr>
- <tr>
- <td align="right">{$i18n.form.users.default_rate} (0{$user->decimal_mark}00):</td>
- <td>{$forms.userForm.rate.control}</td>
- </tr>
+<tbody id="non_client_block">
{if $show_quota}
<tr>
<td align="right">{$i18n.label.quota} (%):</td>
<td>{$forms.userForm.quota_percent.control}</td>
</tr>
{/if}
+ <tr>
+ <td align="right">{$i18n.form.users.default_rate} (0{$user->decimal_mark}00):</td>
+ <td>{$forms.userForm.rate.control}</td>
+ </tr>
+</tbody>
{if $show_projects}
<tbody id="projects_control">
<tr valign="top">
<td align="right">{$i18n.label.projects}:</td>
<td>{$forms.userForm.projects.control}</td>
</tr>
+</tbody>
+{/if}
<tr>
<td colspan="2" align="center">{$i18n.label.required_fields}</td>
</tr>
-</tbody>
-{/if}
<tr>
<td colspan="2" align="center" height="50">{$forms.userForm.btn_submit.control}</td>
</tr>
function handleClientControl() {
var selectedRoleId = document.getElementById("role").value;
var clientControl = document.getElementById("client");
+ var nonClientBlock = document.getElementById("non_client_block");
var projectsControl = document.getElementById("projects_control");
var len = roles.length;
var isClient = roles[i][1];
if (isClient == 1) {
clientControl.style.visibility = "visible";
+ nonClientBlock.style.display = "none";
projectsControl.style.display = "none";
// Uncheck all project checkboxes.
} else {
clientControl.value = "";
clientControl.style.visibility = "hidden";
+ nonClientBlock.style.display = "";
projectsControl.style.display = "";
}
break;
}
</script>
+
{$forms.userForm.open}
<table cellspacing="4" cellpadding="7" border="0">
<table cellspacing="1" cellpadding="2" border="0">
<td>{$forms.userForm.status.control}</td>
</tr>
{/if}
- <tr>
- <td align="right">{$i18n.form.users.default_rate} (0{$user->decimal_mark}00):</td>
- <td>{$forms.userForm.rate.control}</td>
- </tr>
+<tbody id="non_client_block">
{if $show_quota}
<tr>
<td align="right">{$i18n.label.quota} (%):</td>
<td>{$forms.userForm.quota_percent.control}</td>
</tr>
{/if}
+ <tr>
+ <td align="right">{$i18n.form.users.default_rate} (0{$user->decimal_mark}00):</td>
+ <td>{$forms.userForm.rate.control}</td>
+ </tr>
+</tbody>
{if $show_projects}
<tbody id="projects_control">
<tr valign="top">
function handleClientControl() {
var selectedRoleId = document.getElementById("role").value;
var clientControl = document.getElementById("client");
+ var nonClientBlock = document.getElementById("non_client_block");
var projectsControl = document.getElementById("projects_control");
var len = roles.length;
var isClient = roles[i][1];
if (isClient == 1) {
clientControl.style.visibility = "visible";
+ nonClientBlock.style.display = "none";
projectsControl.style.display = "none";
// Uncheck all project checkboxes.
} else {
clientControl.value = "";
clientControl.style.visibility = "hidden";
+ nonClientBlock.style.display = "";
projectsControl.style.display = "";
}
break;
<td align="right">{$i18n.form.users.role}:</td>
<td>{$forms.userForm.role.control} {$forms.userForm.client.control}</td>
</tr>
- <tr>
- <td align="right">{$i18n.form.users.default_rate} (0{$user->getDecimalMark()}00):</td>
- <td>{$forms.userForm.rate.control}</td>
- </tr>
+<tbody id="non_client_block">
{if $show_quota}
<tr>
<td align="right">{$i18n.label.quota} (%):</td>
<td>{$forms.userForm.quota_percent.control} <a href="https://www.anuko.com/lp/tt_27.htm" target="_blank">{$i18n.label.what_is_it}</a></td>
</tr>
{/if}
+ <tr>
+ <td align="right">{$i18n.form.users.default_rate} (0{$user->getDecimalMark()}00):</td>
+ <td>{$forms.userForm.rate.control}</td>
+ </tr>
+</tbody>
{if $show_projects}
<tbody id="projects_control">
<tr><td> </td></tr>
<tr>
<td colspan="2" align="center">{$i18n.label.required_fields}</td>
</tr>
-
<tr>
<td colspan="2" align="center" height="50">{$forms.userForm.btn_submit.control}</td>
</tr>
function handleClientControl() {
var selectedRoleId = document.getElementById("role").value;
var clientControl = document.getElementById("client");
+ var nonClientBlock = document.getElementById("non_client_block");
var projectsControl = document.getElementById("projects_control");
var len = roles.length;
var isClient = roles[i][1];
if (isClient == 1) {
clientControl.style.visibility = "visible";
+ nonClientBlock.style.display = "none";
projectsControl.style.display = "none";
// Uncheck all project checkboxes.
} else {
clientControl.value = "";
clientControl.style.visibility = "hidden";
+ nonClientBlock.style.display = "";
projectsControl.style.display = "";
}
break;
<td>{$user->role_name} {if $can_swap}<a href="swap_roles.php">{$i18n.form.user_edit.swap_roles}</a>{/if}</td>
</tr>
{/if}
- <tr>
- <td align="right">{$i18n.form.users.default_rate} (0{$user->getDecimalMark()}00):</td>
- <td>{$forms.userForm.rate.control}</td>
- </tr>
+<tbody id="non_client_block">
{if $show_quota}
<tr>
<td align="right">{$i18n.label.quota} (%):</td>
<td>{$forms.userForm.quota_percent.control} <a href="https://www.anuko.com/lp/tt_27.htm" target="_blank">{$i18n.label.what_is_it}</a></td>
</tr>
{/if}
+ <tr>
+ <td align="right">{$i18n.form.users.default_rate} (0{$user->getDecimalMark()}00):</td>
+ <td>{$forms.userForm.rate.control}</td>
+ </tr>
+</tbody>
{if $show_projects}
<tbody id="projects_control">
<tr><td> </td></tr>