diff options
author | nikrou <nikrou@piwigo.org> | 2006-05-05 20:09:51 +0000 |
---|---|---|
committer | nikrou <nikrou@piwigo.org> | 2006-05-05 20:09:51 +0000 |
commit | ef31203f4858210e7548f1f58d392c25ca4464b2 (patch) | |
tree | 18f0ee0b5fa153ee5ddef06e621882948733c9e3 /include/page_header.php | |
parent | 8d4cda5620e2adf30a0cfef8f0380db6e8d72e7d (diff) |
html bug fixed: the sentence "mod adviser enabled" must be add in the page!
svn merge -r1298:1299 from trunk
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1300 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/page_header.php')
-rw-r--r-- | include/page_header.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/page_header.php b/include/page_header.php index 36b35c4ce..c807a5250 100644 --- a/include/page_header.php +++ b/include/page_header.php @@ -56,6 +56,16 @@ $template->assign_vars( 'TAG_INPUT_ENABLED' => ((is_adviser()) ? 'disabled' : '') )); +if (is_adviser()) +{ + $template->assign_vars( + array( + 'ADVISER_ENABLED' => $lang['adviser_mode_enabled'] + ) + ); +} + + // refresh if ( isset( $refresh ) and intval($refresh) >= 0 and isset( $url_link ) and isset( $redirect_msg ) ) { |