From 32398ee61bf5fec93f2a0236149eb44db72768d2 Mon Sep 17 00:00:00 2001 From: mensonge Date: Wed, 7 Jan 2009 15:13:16 +0000 Subject: New Feature: special colors on admin page and bookmarks allowing to mark a difference with bookmarks from normal users. [Config file modified: ] git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@223 b3834d28-1941-0410-a4f8-b48e95affb8f --- config.inc.php.example | 4 +++- scuttle.css | 6 ++++++ templates/bookmarks.tpl.php | 7 +++++++ templates/sidebar.tpl.php | 24 +++++++++++++++--------- 4 files changed, 31 insertions(+), 10 deletions(-) diff --git a/config.inc.php.example b/config.inc.php.example index df4c615..56cf957 100644 --- a/config.inc.php.example +++ b/config.inc.php.example @@ -82,9 +82,11 @@ $menuTag = 'menu'; # name of the tag whose subtags will appear into the menu box $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. ?> diff --git a/scuttle.css b/scuttle.css index 9dfc0a4..7f9b579 100644 --- a/scuttle.css +++ b/scuttle.css @@ -507,6 +507,12 @@ ul { 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 */ diff --git a/templates/bookmarks.tpl.php b/templates/bookmarks.tpl.php index 4a9c1b2..56fadbe 100644 --- a/templates/bookmarks.tpl.php +++ b/templates/bookmarks.tpl.php @@ -19,6 +19,13 @@ include('search.inc.php'); +isAdmin($userid)): ?> +
+ +
+ + + isAdmin($userid)): ?> + \ No newline at end of file -- cgit v1.2.3-54-g00ecf