Replaced text links with icons on users.php page.
authorNik Okuntseff <support@anuko.com>
Sun, 7 Apr 2019 16:14:17 +0000 (16:14 +0000)
committerNik Okuntseff <support@anuko.com>
Sun, 7 Apr 2019 16:14:17 +0000 (16:14 +0000)
WEB-INF/templates/footer.tpl
WEB-INF/templates/users.tpl

index fdfaf89..effecb9 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.64.4919 | 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.64.4920 | 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 d3fadad..f03dfd0 100644 (file)
@@ -17,8 +17,8 @@
   {if $show_quota}
           <td class="tableHeader">{$i18n.label.quota}</td>
   {/if}
-          <td class="tableHeader">{$i18n.label.edit}</td>
-          <td class="tableHeader">{$i18n.label.delete}</td>
+          <td></td>
+          <td></td>
         </tr>
   {if $active_users}
     {foreach $active_users as $u}
@@ -35,8 +35,8 @@
           <td class="cellRightAligned">{$u.quota_percent}</td>
       {/if}
       {if $u.group_id != $user->group_id || $u.rank < $user->rank || ($u.rank == $user->rank && $u.id == $user->id)}
-          <td><a href="user_edit.php?id={$u.id}">{$i18n.label.edit}</a></td>
-         {if $u.id != $user->id}<td><a href="user_delete.php?id={$u.id}">{$i18n.label.delete}</a></td>{else}<td></td>{/if}
+          <td><a href="user_edit.php?id={$u.id}"><img class="table_icon" alt="{$i18n.label.edit}" src="images/icon_edit.png"></a></td>
+         {if $u.id != $user->id}<td><a href="user_delete.php?id={$u.id}"><img class="table_icon" alt="{$i18n.label.delete}" src="images/icon_delete.png"></a></td>{else}<td></td>{/if}
       {else}
           <td></td>
           <td></td>
@@ -64,8 +64,8 @@
     {if $show_quota}
           <td class="tableHeader">{$i18n.label.quota}</td>
     {/if}
-          <td class="tableHeader">{$i18n.label.edit}</td>
-          <td class="tableHeader">{$i18n.label.delete}</td>
+          <td></td>
+          <td></td>
         </tr>
     {foreach $inactive_users as $u}
         <tr bgcolor="{cycle values="#f5f5f5,#ffffff"}">
@@ -76,8 +76,8 @@
           <td class="cellRightAligned">{$u.quota_percent}</td>
       {/if}
       {if $u.group_id != $user->group_id || $u.rank < $user->rank}
-          <td><a href="user_edit.php?id={$u.id}">{$i18n.label.edit}</a></td>
-          <td><a href="user_delete.php?id={$u.id}">{$i18n.label.delete}</a></td>
+          <td><a href="user_edit.php?id={$u.id}"><img class="table_icon" alt="{$i18n.label.edit}" src="images/icon_edit.png"></a></td>
+          <td><a href="user_delete.php?id={$u.id}"><img class="table_icon" alt="{$i18n.label.delete}" src="images/icon_delete.png"></a></td>
       {else}
           <td></td>
           <td></td>