);
$tplVars['tags'] = POST_TAGS;
} else {
- $tplVars['row'] = $bookmarkservice->getBookmark($_GET['copyOf'], true);
+ $tplVars['row'] = $bookmarkservice->getBookmark(GET_COPYOF, true);
if(!$currentUser->isAdmin()) {
$tplVars['row']['bPrivateNote'] = ''; //only admin can copy private note
}
// Page name
define('PAGE_INDEX', "index");
define('PAGE_BOOKMARKS', "bookmarks");
+define('PAGE_WATCHLIST', "watchlist");
// Miscellanous
<?php endif?>
-<?php if($GLOBALS['enableAdminColors']!=false && isset($userid) && $userservice->isAdmin($userid)): ?>
+<?php if($GLOBALS['enableAdminColors']!=false && isset($userid) && $userservice->isAdmin($userid) && $pageName != PAGE_WATCHLIST) : ?>
<div style="width:70%;text-align:center;">
<img src="<?php echo ROOT ?>images/logo_24.gif" width="12px"/> <?php echo T_('Bookmarks on this page are managed by an admin user.'); ?><img src="<?php echo ROOT ?>images/logo_24.gif" width="12px"/>
</div>
$tplVars['pagetitle'] = $title;
$tplVars['subtitle'] = $title;
$tplVars['range'] = 'watchlist';
+ $tplVars['pageName'] = PAGE_WATCHLIST;
$tplVars['rsschannels'] = array(
array(filter($sitename .': '. $title), createURL('rss', 'watchlist/'. filter($user, 'url')))