Cosmetic refactoring in plugins.tpl.
authorNik Okuntseff <support@anuko.com>
Thu, 14 Mar 2019 15:26:13 +0000 (15:26 +0000)
committerNik Okuntseff <support@anuko.com>
Thu, 14 Mar 2019 15:26:13 +0000 (15:26 +0000)
WEB-INF/templates/footer.tpl
WEB-INF/templates/plugins.tpl

index ed336fd..9518800 100644 (file)
@@ -12,7 +12,7 @@
       <br>
       <table cellspacing="0" cellpadding="4" width="100%" border="0">
         <tr>
-          <td align="center">&nbsp;Anuko Time Tracker 1.18.58.4867 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+          <td align="center">&nbsp;Anuko Time Tracker 1.18.58.4868 | Copyright &copy; <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>
index d3f9086..1835225 100644 (file)
@@ -28,7 +28,7 @@ function handlePluginCheckboxes() {
     taxCheckbox.style.visibility = "hidden";
     taxLabel.style.visibility = "hidden";
   }
-  var configureLabel = document.getElementById("expenses_config");
+  var configureLabel = document.getElementById("expenses_conf");
   var docLabel = null;
   if (expensesCheckbox.checked) {
     configureLabel.style.visibility = "visible";
@@ -37,7 +37,7 @@ function handlePluginCheckboxes() {
   }
 
   var customFieldsCheckbox = document.getElementById("custom_fields");
-  configureLabel = document.getElementById("cf_config");
+  configureLabel = document.getElementById("cf_conf");
   if (customFieldsCheckbox.checked) {
     configureLabel.style.visibility = "visible";
   } else {
@@ -45,7 +45,7 @@ function handlePluginCheckboxes() {
   }
 
   var notificationsCheckbox = document.getElementById("notifications");
-  configureLabel = document.getElementById("notifications_config");
+  configureLabel = document.getElementById("notifications_conf");
   if (notificationsCheckbox.checked) {
     configureLabel.style.visibility = "visible";
   } else {
@@ -53,7 +53,7 @@ function handlePluginCheckboxes() {
   }
 
   var lockingCheckbox = document.getElementById("locking");
-  configureLabel = document.getElementById("locking_config");
+  configureLabel = document.getElementById("locking_conf");
   if (lockingCheckbox.checked) {
     configureLabel.style.visibility = "visible";
   } else {
@@ -61,7 +61,7 @@ function handlePluginCheckboxes() {
   }
 
   var quotasCheckbox = document.getElementById("quotas");
-  configureLabel = document.getElementById("quotas_config");
+  configureLabel = document.getElementById("quotas_conf");
   if (quotasCheckbox.checked){
     configureLabel.style.visibility = "visible";
   } else {
@@ -69,7 +69,7 @@ function handlePluginCheckboxes() {
   }
 
   var weekViewCheckbox = document.getElementById("week_view");
-  configureLabel = document.getElementById("week_view_config");
+  configureLabel = document.getElementById("week_view_conf");
   if (weekViewCheckbox.checked){
     configureLabel.style.visibility = "visible";
   } else {
@@ -77,7 +77,7 @@ function handlePluginCheckboxes() {
   }
 
   var workUnitsCheckbox = document.getElementById("work_units");
-  configureLabel = document.getElementById("work_units_config");
+  configureLabel = document.getElementById("work_units_conf");
   if (workUnitsCheckbox.checked){
     configureLabel.style.visibility = "visible";
   } else {
@@ -85,7 +85,7 @@ function handlePluginCheckboxes() {
   }
 
   var templatesCheckbox = document.getElementById("templates");
-  configureLabel = document.getElementById("templates_config");
+  configureLabel = document.getElementById("templates_conf");
   docLabel = document.getElementById("templates_doc");
   if (templatesCheckbox.checked){
     configureLabel.style.display = "";
@@ -120,31 +120,31 @@ function handlePluginCheckboxes() {
           </tr>
           <tr>
             <td align="right" nowrap>{$forms.pluginsForm.custom_fields.control}</td>
-            <td><label for="custom_fields">{$i18n.label.custom_fields}</label> <span id="cf_config"><a href="cf_custom_fields.php">{$i18n.label.configure}</a></span></td>
+            <td><label for="custom_fields">{$i18n.label.custom_fields}</label> <span id="cf_conf"><a href="cf_custom_fields.php">{$i18n.label.configure}</a></span></td>
           </tr>
           <tr>
             <td align="right" nowrap>{$forms.pluginsForm.expenses.control}</td>
-            <td><label for="expenses">{$i18n.title.expenses}</label> {$forms.pluginsForm.tax_expenses.control} <span id="tax_label"><label for="tax_expenses">{$i18n.label.tax}</label></span> <span id="expenses_config"><a href="predefined_expenses.php">{$i18n.label.configure}</a></span></td>
+            <td><label for="expenses">{$i18n.title.expenses}</label> {$forms.pluginsForm.tax_expenses.control} <span id="tax_label"><label for="tax_expenses">{$i18n.label.tax}</label></span> <span id="expenses_conf"><a href="predefined_expenses.php">{$i18n.label.configure}</a></span></td>
           </tr>
           <tr>
             <td align="right" nowrap>{$forms.pluginsForm.notifications.control}</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>
+            <td><label for="notifications">{$i18n.title.notifications}</label> <span id="notifications_conf">{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>
-            <td><label for="locking">{$i18n.title.locking}</label> <span id="locking_config"><a href="locking.php">{$i18n.label.configure}</a></span></td>
+            <td><label for="locking">{$i18n.title.locking}</label> <span id="locking_conf"><a href="locking.php">{$i18n.label.configure}</a></span></td>
           </tr>
           <tr>
             <td align="right" nowrap>{$forms.pluginsForm.quotas.control}</td>
-            <td><label for="quotas">{$i18n.label.monthly_quotas}</label> <span id="quotas_config"><a href="quotas.php">{$i18n.label.configure}</a></span></td>
+            <td><label for="quotas">{$i18n.label.monthly_quotas}</label> <span id="quotas_conf"><a href="quotas.php">{$i18n.label.configure}</a></span></td>
           </tr>
           <tr>
             <td align="right" nowrap>{$forms.pluginsForm.week_view.control}</td>
-            <td><label for="week_view">{$i18n.label.week_view}</label> <span id="week_view_config"><a href="week_view.php">{$i18n.label.configure}</a></span></td>
+            <td><label for="week_view">{$i18n.label.week_view}</label> <span id="week_view_conf"><a href="week_view.php">{$i18n.label.configure}</a></span></td>
           </tr>
           <tr>
             <td align="right" nowrap>{$forms.pluginsForm.work_units.control}</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>
+            <td><label for="work_units">{$i18n.label.work_units}</label> <span id="work_units_conf"><a href="work_units.php">{$i18n.label.configure}</a></span></td>
           </tr>
           <tr>
             <td align="right" nowrap>{$forms.pluginsForm.approval.control}</td>
@@ -156,7 +156,7 @@ function handlePluginCheckboxes() {
           </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>
+            <td><label for="templates">{$i18n.title.templates}</label> <span id="templates_conf"><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">&nbsp;</td>