aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2005-11-25 23:02:58 +0000
committerplegall <plg@piwigo.org>2005-11-25 23:02:58 +0000
commit4d464d7f70e53ef13fa9f0b0c45642d7e7cd9a4c (patch)
treea2aed6f995e02ae077110625fec48f3767bca9b1
parent6fd6d2721bcd156c020e05fefc104bd397d3c14d (diff)
- feature 195 added: Link to admin main page added in admin menu. This is
not a merge from BSF. git-svn-id: http://piwigo.org/svn/branches/branch-1_5@957 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--admin.php1
-rw-r--r--template/yoga/admin.tpl1
2 files changed, 2 insertions, 0 deletions
diff --git a/admin.php b/admin.php
index 7b81cad91..3479d8be4 100644
--- a/admin.php
+++ b/admin.php
@@ -86,6 +86,7 @@ $template->assign_vars(
'U_THUMBNAILS'=>add_session_id($link_start.'thumbnail' ),
'U_USERS'=>add_session_id($link_start.'user_list' ),
'U_GROUPS'=>add_session_id($link_start.'group_list' ),
+ 'U_ADMIN'=>add_session_id( PHPWG_ROOT_PATH.'admin.php' ),
'U_RETURN'=>add_session_id(PHPWG_ROOT_PATH.'category.php')
)
);
diff --git a/template/yoga/admin.tpl b/template/yoga/admin.tpl
index b16859c98..600d6433c 100644
--- a/template/yoga/admin.tpl
+++ b/template/yoga/admin.tpl
@@ -6,6 +6,7 @@
<dd>
<ul>
<li><a href="{U_RETURN}">{lang:home}</a></li>
+ <li><a href="{U_ADMIN}" >{lang:admin}</a></li>
</ul>
</dd>