From 1a5cf312ed50453f107a30be9c8b07d970369b70 Mon Sep 17 00:00:00 2001 From: vdigital Date: Sat, 4 Jul 2009 21:26:42 +0000 Subject: merge r3521 from branch 2.0 to trunk New(minor): Add Logout from admin menu (net cafe or office shared desktop) - saqwild request git-svn-id: http://piwigo.org/svn/trunk@3522 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 37225a373..6fd39dc0c 100644 --- a/admin/template/goto/admin.tpl +++ b/admin/template/goto/admin.tpl @@ -19,6 +19,7 @@ jQuery().ready(function(){ldelim}
  • {'home'|@translate}
  • {'instructions'|@translate}
  • {'admin'|@translate}
  • +
  • {'logout'|@translate}
  • {if isset($pwgmenu)}
  • {'WIKI / DOC'|@translate}
  • -- cgit v1.2.3