diff options
author | vdigital <vdigital@piwigo.org> | 2009-07-04 21:24:12 +0000 |
---|---|---|
committer | vdigital <vdigital@piwigo.org> | 2009-07-04 21:24:12 +0000 |
commit | 0abd9b49453b31596862ed3476717347b5437f8e (patch) | |
tree | bf48cbe6df7efcc5308714ca327ef717cc413006 | |
parent | cbc5f2c6499da9f136b4d747850da23b9ce621b8 (diff) |
New(minor): Add Logout from admin menu (net cafe or office shared desktop) - saqwild request
git-svn-id: http://piwigo.org/svn/branches/2.0@3521 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin.php | 1 | ||||
-rw-r--r-- | admin/template/goto/admin.tpl | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -95,6 +95,7 @@ $template->assign( 'U_PERMALINKS'=> $link_start.'permalinks', 'U_RETURN'=> make_index_url(), 'U_ADMIN'=> PHPWG_ROOT_PATH.'admin.php', + 'U_LOGOUT'=> PHPWG_ROOT_PATH.'index.php?act=logout', 'U_PLUGINS'=> $link_start.'plugins_list', ) ); diff --git a/admin/template/goto/admin.tpl b/admin/template/goto/admin.tpl index 5beb34d13..6103263eb 100644 --- a/admin/template/goto/admin.tpl +++ b/admin/template/goto/admin.tpl @@ -20,6 +20,7 @@ jQuery().ready(function(){ldelim} <li><a href="{$U_RETURN}">{'home'|@translate}</a></li> <li><a href="{$U_FAQ}">{'instructions'|@translate}</a></li> <li><a href="{$U_ADMIN}" title="{'hint_admin'|@translate}">{'admin'|@translate}</a></li> + <li><a href="{$U_LOGOUT}">{'logout'|@translate}</a></li> {if isset($pwgmenu)} <li class="external"><a class="external" href="{$pwgmenu.WIKI}" onclick="window.open(this.href, ''); return false;">{'WIKI / DOC'|@translate}</a></li> |