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
This commit is contained in:
vdigital 2009-07-04 21:24:12 +00:00
parent cbc5f2c649
commit 0abd9b4945
2 changed files with 2 additions and 0 deletions

View file

@ -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',
)
);

View file

@ -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>