taxLabel.style.visibility = "hidden";
}
var configureLabel = document.getElementById("expenses_config");
+ var docLabel = null;
if (expensesCheckbox.checked) {
configureLabel.style.visibility = "visible";
} else {
} else {
configureLabel.style.visibility = "hidden";
}
+
+ var templatesCheckbox = document.getElementById("templates");
+ configureLabel = document.getElementById("templates_config");
+ docLabel = document.getElementById("templates_doc");
+ if (templatesCheckbox.checked){
+ configureLabel.style.display = "";
+ docLabel.style.display = "none";
+ } else {
+ configureLabel.style.display = "none";
+ docLabel.style.display = "";
+ }
}
</script>
</tr>
<tr>
<td align="right" nowrap>{$forms.pluginsForm.notifications.control}</td>
- <td><label for="notifications">{$i18n.title.notifications}</label> <span id="notifications_config"><a href="notifications.php">{$i18n.label.configure}</a></span></td>
+ <td><label for="notifications">{$i18n.title.notifications}</label> <span id="notifications_config">{if $user_exists}<a href="notifications.php">{$i18n.label.configure}</a>{/if}</span></td>
</tr>
<tr>
<td align="right" nowrap>{$forms.pluginsForm.locking.control}</td>
</tr>
<tr>
<td align="right" nowrap>{$forms.pluginsForm.work_units.control}</td>
- <td><label for="week_view">{$i18n.label.work_units}</label> <span id="work_units_config"><a href="work_units.php">{$i18n.label.configure}</a></span></td>
+ <td><label for="work_units">{$i18n.label.work_units}</label> <span id="work_units_config"><a href="work_units.php">{$i18n.label.configure}</a></span></td>
+ </tr>
+ <tr>
+ <td align="right" nowrap>{$forms.pluginsForm.approval.control}</td>
+ <td><label for="approval">{$i18n.label.approval}</label> <a href="https://www.anuko.com/lp/tt_28.htm" target="_blank">{$i18n.label.what_is_it}</a></td>
+ </tr>
+ <tr>
+ <td align="right" nowrap>{$forms.pluginsForm.timesheets.control}</td>
+ <td><label for="timesheets">{$i18n.title.timesheets}</label> <a href="https://www.anuko.com/lp/tt_30.htm" target="_blank">{$i18n.label.what_is_it}</a></td>
+ </tr>
+ <tr>
+ <td align="right" nowrap>{$forms.pluginsForm.templates.control}</td>
+ <td><label for="templates">{$i18n.title.templates}</label> <span id="templates_config"><a href="templates.php">{$i18n.label.configure}</a></span> <span id="templates_doc"><a href="https://www.anuko.com/lp/tt_29.htm" target="_blank">{$i18n.label.what_is_it}</a></span></td>
</tr>
<tr>
<td colspan="2"> </td>