From 4aaef1823e5e37f02bc18078ccb67217b8cdbcb7 Mon Sep 17 00:00:00 2001 From: mensonge Date: Tue, 3 Feb 2009 14:15:34 +0000 Subject: Interface fix: correct visual bug under IE git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@246 b3834d28-1941-0410-a4f8-b48e95affb8f --- images/bg_admin.png | Bin 0 -> 1212 bytes images/logo_24.gif | Bin 0 -> 1530 bytes images/logo_24.png | Bin 1729 -> 0 bytes scuttle.css | 11 ++++++++--- templates/bookmarks.tpl.php | 21 ++++++++++++++++----- 5 files changed, 24 insertions(+), 8 deletions(-) create mode 100644 images/bg_admin.png create mode 100644 images/logo_24.gif delete mode 100644 images/logo_24.png diff --git a/images/bg_admin.png b/images/bg_admin.png new file mode 100644 index 0000000..c707779 Binary files /dev/null and b/images/bg_admin.png differ diff --git a/images/logo_24.gif b/images/logo_24.gif new file mode 100644 index 0000000..d5af64d Binary files /dev/null and b/images/logo_24.gif differ diff --git a/images/logo_24.png b/images/logo_24.png deleted file mode 100644 index f450b78..0000000 Binary files a/images/logo_24.png and /dev/null differ diff --git a/scuttle.css b/scuttle.css index 5c9aba6..28377e0 100644 --- a/scuttle.css +++ b/scuttle.css @@ -116,7 +116,7 @@ html > body h1 { padding-left: 75px; } html > body div#header.popup h1 { - background: url('images/logo_24.png') no-repeat 10px; + background: url('images/logo_24.gif') no-repeat 10px; padding: 0.5em 0.5em 0.5em 50px; } /*html > body div#header #welcome { @@ -193,11 +193,12 @@ html > body ol#bookmarks { margin: 0 1em; padding: 0; } -img.thumbnail { +img.thumbnail { float: left; padding: 1px; margin-right: 6px; margin-bottom:4px; + cursor:pointer; border:1px solid #AAA; } div.link a { @@ -513,11 +514,15 @@ ul { } .adminBackground { - background: #FFFFFF url(http://127.0.0.6/SemanticScuttle/trunk/images/logo_24.png) repeat-y scroll top right; + /*background: #FFFFFF url(images/logo_24.png) no-repeat scroll center right;*/ /*border-top: 1px solid; border-color: #CC9900;*/ } +.adminBackground { + background: #FFF url('images/bg_admin.png') repeat-y top right; +} + /* DOJO Style */ /* DOJO Style */ diff --git a/templates/bookmarks.tpl.php b/templates/bookmarks.tpl.php index 6203d33..182f65e 100644 --- a/templates/bookmarks.tpl.php +++ b/templates/bookmarks.tpl.php @@ -23,7 +23,7 @@ include('search.inc.php'); isAdmin($userid)): ?>
- +
@@ -196,16 +196,27 @@ if($currenttag!= '') { if ($GLOBALS['useredir']) { $address = $GLOBALS['url_redir'] . $address; } + + // Admin specific design + if($userservice->isAdmin($row['uId'])) { + $adminBgClass = 'class="adminBackground"'; + $adminStar = ' '; + } else { + $adminBgClass = ''; + $adminStar = ''; + } // Output - echo '
  • '."\n"; + echo '
  • '."\n"; if ($GLOBALS['enableWebsiteThumbnails']) { $thumbnailHash = md5($address.$GLOBALS['thumbnailsUserId'].$GLOBALS['thumbnailsKey']); - echo ' '; + //echo ''; + echo ''; } - echo '
    '; + + echo '
    ';; - echo '\n"; + echo '\n"; if ($row['bDescription'] == '') { $bkDescription = '-'; } else { -- cgit v1.2.3-54-g00ecf