Do not highlight admin bookmarks when $enableAdminColors is disabled

git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@684 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
cweiske 2010-02-22 19:41:21 +00:00
parent 858b188f87
commit d665bb742e
2 changed files with 2 additions and 1 deletions

View file

@ -312,7 +312,7 @@ if($currenttag!= '') {
} }
// Admin specific design // Admin specific design
if ($userservice->isAdmin($row['username'])) { if ($userservice->isAdmin($row['username']) && $GLOBALS['enableAdminColors']) {
$adminBgClass = 'class="adminBackground"'; $adminBgClass = 'class="adminBackground"';
$adminStar = ' <img src="'. ROOT .'images/logo_24.gif" width="12px" title="'. T_('This bookmark is certified by an admin user.') .'" />'; $adminStar = ' <img src="'. ROOT .'images/logo_24.gif" width="12px" title="'. T_('This bookmark is certified by an admin user.') .'" />';
} else { } else {

View file

@ -5,6 +5,7 @@ ChangeLog for SemantiScuttle
------------------- -------------------
- Many SQL optimizations - Many SQL optimizations
- New config option to skip "SET NAMES UTF8" call: $dbneedssetnames - New config option to skip "SET NAMES UTF8" call: $dbneedssetnames
- Do not highlight admin bookmarks when $enableAdminColors is disabled
0.96.1 - 2010-02-09 0.96.1 - 2010-02-09