]> wagnertech.de Git - timetracker.git/commitdiff
Conditionally showing Work plugin depending on WORK_DEBUG constant.
authorNik Okuntseff <support@anuko.com>
Wed, 17 Apr 2019 19:55:27 +0000 (19:55 +0000)
committerNik Okuntseff <support@anuko.com>
Wed, 17 Apr 2019 19:55:27 +0000 (19:55 +0000)
WEB-INF/templates/footer.tpl
WEB-INF/templates/plugins.tpl

index 6e2e202d7780eff3f0d113b11a3c7aa63c91e3d5..131e8c6ba0bd53ddf985a6610ae0df2926475bad 100644 (file)
@@ -12,7 +12,7 @@
       <br>
       <table cellspacing="0" cellpadding="4" width="100%" border="0">
         <tr>
       <br>
       <table cellspacing="0" cellpadding="4" width="100%" border="0">
         <tr>
-          <td align="center">&nbsp;Anuko Time Tracker 1.18.65.4955 | 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.65.4956 | 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>
             <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 97f7cdb95997c025503645f62e274a71e91b4620..56868a6b779a77d3aac288ea127e335ff2f27208 100644 (file)
@@ -162,10 +162,12 @@ function handlePluginCheckboxes() {
             <td align="right" nowrap>{$forms.pluginsForm.attachments.control}</td>
             <td><label for="attachments">{$i18n.label.attachments}</label> <span id="attachments_doc"><a href="https://www.anuko.com/lp/tt_31.htm" target="_blank">{$i18n.label.what_is_it}</a></span></td>
           </tr>
             <td align="right" nowrap>{$forms.pluginsForm.attachments.control}</td>
             <td><label for="attachments">{$i18n.label.attachments}</label> <span id="attachments_doc"><a href="https://www.anuko.com/lp/tt_31.htm" target="_blank">{$i18n.label.what_is_it}</a></span></td>
           </tr>
+{if isTrue('WORK_DEBUG')}
           <tr>
             <td align="right" nowrap>{$forms.pluginsForm.work.control}</td>
             <td><label for="work">{$i18n.title.work}</label> <span id="work_doc"><a href="https://www.anuko.com/lp/tt_34.htm" target="_blank">{$i18n.label.what_is_it}</a></span></td>
           </tr>
           <tr>
             <td align="right" nowrap>{$forms.pluginsForm.work.control}</td>
             <td><label for="work">{$i18n.title.work}</label> <span id="work_doc"><a href="https://www.anuko.com/lp/tt_34.htm" target="_blank">{$i18n.label.what_is_it}</a></span></td>
           </tr>
+{/if}
           <tr>
             <td colspan="2">&nbsp;</td>
           </tr>
           <tr>
             <td colspan="2">&nbsp;</td>
           </tr>