Add button to permit user to refresh his access rights
authorBenjamin Renard <brenard@easter-eggs.com>
Thu, 23 Mar 2017 13:39:15 +0000 (14:39 +0100)
committerBenjamin Renard <brenard@easter-eggs.com>
Thu, 23 Mar 2017 13:39:15 +0000 (14:39 +0100)
public_html/lang/fr_FR.UTF8/lang.php
public_html/templates/default/top.tpl

index 9896e2b..515ca4c 100644 (file)
@@ -158,6 +158,9 @@ $GLOBALS['LSlang'] = array (
 "Posix" =>
   "Posix",
 
+"Refresh my access rights" =>
+  "Rafraîchir mes droits d'accès",
+
 "Result" =>
   "Résultat",
 
index fb1065f..08392ef 100644 (file)
@@ -49,7 +49,9 @@
       </select>
       <input type='submit' value='->'/>
     </form>
-    {if $displaySelfAccess}{$connected_as} <span id='user_name'>{$LSsession_username}</span>{/if}{if $displayLogoutBtn} <a href='index.php?LSsession_logout'><img src='{img name='logout'}' alt='Logout' title='Logout' /></a>{/if}
+    {if $displaySelfAccess}{$connected_as} <span id='user_name'>{$LSsession_username}</span>{/if}
+    <a href='index.php?LSsession_refresh=1'><img src='{img name='refresh'}' alt="{tr msg="Refresh my access rights"}" title="{tr msg="Refresh my access rights"}" /></a>
+    {if $displayLogoutBtn} <a href='index.php?LSsession_logout'><img src='{img name='logout'}' alt='Logout' title='Logout' /></a>{/if}
     </td>
   </tr>
   <tr>