From 0abd9b49453b31596862ed3476717347b5437f8e Mon Sep 17 00:00:00 2001 From: vdigital Date: Sat, 4 Jul 2009 21:24:12 +0000 Subject: [PATCH] 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 --- admin.php | 1 + admin/template/goto/admin.tpl | 1 + 2 files changed, 2 insertions(+) diff --git a/admin.php b/admin.php index 04536a4a5..bc69f7321 100644 --- a/admin.php +++ b/admin.php @@ -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}
  • {'home'|@translate}
  • {'instructions'|@translate}
  • {'admin'|@translate}
  • +
  • {'logout'|@translate}
  • {if isset($pwgmenu)}
  • {'WIKI / DOC'|@translate}