$maxSizeMenuBlock = 7; # maximum number of items (tags) appearing into menu box
$menu2Tags = array('example', 'of', 'menu', 'tags'); # list of tags used by menu2 sidebar box (void list = hidden menu2 box)
-### Other ###
+### Search ###
$sizeSearchHistory = 10; # number of users' searches that are saved {1..10[Default]..-1[Unlimited]}
$enableGoogleCustomSearch = true; #Enable Google Search Engine into "gsearch/" folder
+### Other ###
+$enableAdminColors = true; #Enables special colors on admin pages and bookmarks marking the difference with normal user.
?>
width: 75%;
}
+.adminBackground {
+ background: #FFFFFF url(http://127.0.0.6/SemanticScuttle/trunk/images/logo_24.png) repeat-y scroll top right;
+ /*border-top: 1px solid;
+ border-color: #CC9900;*/
+}
+
/* DOJO Style */
/* DOJO Style */
<?php endif?>
+<?php if($GLOBALS['enableAdminColors']!=false && isset($userid) && $userservice->isAdmin($userid)): ?>
+<div style="width:70%;text-align:center;">
+<img src="<?php echo ROOT ?>images/logo_24.png" width="12px"/> <?php echo T_('Bookmarks on this page are managed by an admin user.'); ?><img src="<?php echo ROOT ?>images/logo_24.png" width="12px"/>
+</div>
+<?php endif?>
+
+
<?php
// common tag description
if((isset($currenttag) && $currenttag!= '' && $GLOBALS['enableCommonTagDescription'])
-
+<?php if($GLOBALS['enableAdminColors']!=false && isset($userid) && $userservice->isAdmin($userid)): ?>
+<div id="sidebar" class="adminBackground">
+<?php else: ?>
<div id="sidebar">
- <?php
-
- $size = count($sidebar_blocks);
- for ($i = 0; $i < $size; $i++) {
- $this->includeTemplate('sidebar.block.'. $sidebar_blocks[$i]);
- }
- ?>
-</div>
+<?php endif ?>
+
+
+<?php
+
+$size = count($sidebar_blocks);
+for ($i = 0; $i < $size; $i++) {
+ $this->includeTemplate('sidebar.block.'. $sidebar_blocks[$i]);
+}
+?>
+
+</div>
\ No newline at end of file