diff options
author | nikrou <nikrou@piwigo.org> | 2006-05-05 20:07:49 +0000 |
---|---|---|
committer | nikrou <nikrou@piwigo.org> | 2006-05-05 20:07:49 +0000 |
commit | c32f43f225b235b4f731f8854b5c7c6724c0bbab (patch) | |
tree | 9b0c93d2c27efd7a6cc82911a6229258caa93066 /include/page_header.php | |
parent | aafda98e9724cfad15826f0de23e9cdedda76a71 (diff) |
html bug fixed: the sentence "mod adviser enabled" must be add in the page!
git-svn-id: http://piwigo.org/svn/trunk@1299 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-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 b793c6a58..cd4e59316 100644 --- a/include/page_header.php +++ b/include/page_header.php @@ -52,6 +52,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 ) ) { |