aboutsummaryrefslogtreecommitdiffstats
path: root/include/common.inc.php
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2006-05-07 22:59:14 +0000
committerrub <rub@piwigo.org>2006-05-07 22:59:14 +0000
commitb1c336f7bc3ba99145a7624efb7041664406bd8e (patch)
treeb2308d8e398f05e311e6678e02ecdce4109bd323 /include/common.inc.php
parentb09f4b11b506d6fa9310888c5461d482dbce0388 (diff)
Issue ID 0000371:
o Sorry but reverse r1299/1300 Issue ID 0000356: o Add new html properties tags on adviser mode Merge BSF r1302:1303 into branch-1_6 git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1304 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/common.inc.php')
-rw-r--r--include/common.inc.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/common.inc.php b/include/common.inc.php
index 005297d25..8aeafb7bf 100644
--- a/include/common.inc.php
+++ b/include/common.inc.php
@@ -208,6 +208,19 @@ include(
.'/themeconf.inc.php'
);
+if (is_adviser())
+{
+ ob_start();// buffer output so that cookies work
+ echo '
+ <div class="titrePage">
+ <h2>
+ <div style="text-align:center;">'.$lang['adviser_mode_enabled'].'
+ </div>
+ </h2>
+ </div>
+ ';
+}
+
// template instance
$template = new Template(PHPWG_ROOT_PATH.'template/'.$user['template']);
?>