From 4aaef1823e5e37f02bc18078ccb67217b8cdbcb7 Mon Sep 17 00:00:00 2001 From: mensonge Date: Tue, 3 Feb 2009 14:15:34 +0000 Subject: [PATCH] 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 0000000000000000000000000000000000000000..c707779b6fa94b716c6f30bd45e8d782f87fe67b GIT binary patch literal 1212 zcmV;t1Vj6YP)Px#32;bRa{vGf6951U69E94oEQKA00(qQO+^RU0s{*h1T&uds{jB5PDw;TR9M4p zm|1e%Fc3ol-~Yzr%*zMS3njY}mu4i9y`TZm29zHp1Q-j!`357fL0iL*lgL-@RlB;@b8$RhemQvXJBy-Nbdb1nUo zKJY7j#0P)G2Ytk^^g+M*m}h=}w0_P4Ue_{CP0m-AlBST8JF-Q;d7i=fY@ghyYjf_n zwj(QB7S1MKk))0JSa+=MvrGk#>#GC{RLFfND-=+ud^rpF<&tM+)5QXu+19x%C0a9tZBrLZrmZ+ zq3DQR7iTqf(cwn#?nEj`Z<~SLxS15|OCk(bBhS*iPK}q=@b2v>O#!=_5Ueac*b06EwHI8=xt7#$YzRsfo)K? z#5C6GrIUJ;sp*oQ7cU;_AlL-otTNn)WIfez@R;d6#%>rsrtvr_nwtd64lEtNwY&!9 z+1DXKzvRZ;v)+Mt@7Bi8aR*2GIr@Z4@$3tW-V9h?@73?%?dKV6I|vnbJ|nk>l6*{8 z857^ylAIhSpMIWR@lZT2bNL1;`s2p~xv_k!s?My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OV%&gAnvF&S zO{AI;GaDWmbnwZh6-jXeEZK}YN~&hF#bQSW7%;=CKS=cON~qC5iVUr_#2>>902QFw4i7AUnaKNgpzVLz^Ve|mn0V!DFMiwa?K!5}k%rJxk5QNBTAp1%H z00u^&QRB#HB%#4-2oR7$BD?nULkc;7F|r$slp_x}iPZQ-4k^fh1|z%r!^_NiC<6~p g?*wzl%)0J6&nJwm;toHo?$gdHjC_I*P5}V`J9YJ2f&c&j literal 0 HcmV?d00001 diff --git a/images/logo_24.png b/images/logo_24.png deleted file mode 100644 index f450b785b4bf47180cbdb6dfadb5eb28b064371a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1729 zcmV;y20rkEPgZuXG;H-0%DT zzweV-(rj*+_U)0o*?zf#Dnk8j6-EddnrDgo+2d(Vf6r!?%eB9T(0 z-h6~m^al%hm3>_SfD>Ik`){>UIqZyrutCfYu~He5yYKAx1Ag?n0TlA;c4a2NVf74= z=`&H%gs_2<2B~g?SpNaKQhi@4#Ii}U13jervMn)l4Z!-mUiPRhI=Iac z34DV3EPizguQE{+ul8r)dEn8ZS(e)oOgSp&EMVDGTW4tAO&A&48r2J4sYU(UVG zIXZ@JV5AKKH=r^$O0`K@DP+yN0o$ba*Ml=A&XY%X6<-W!17sjgB|4L zUmT?jG=a+^A}gaX3{v#qjz`9)`QdUYm@{V2AgYoGXKIZmhuwrqLu+5EN zHFxV^_Cw$2p?(EwFGbY@wZ$4BOcptN^l|>wk{J<^+OlRlHX?H4+Ujr22_m3% zFb*`!pr;{scjQpm#B%1aO2fEwBh}XNuZqarTD=Vb0DWmZrRgY^d*8CXBg~q6p#wp& z<(Q8OmXN@~)QJN{5gBdQ>Ik3|DU^<;!c7E&)wXPK#$UOoR0t?codi(rq}34sNGheb zD)ZJ@9>h&YKs+W^JUyh5w9|VU!A7jbjRbC@djschbm9zFyjf5JuyF6`9QHgOXybcsx$s< zW`SuDsdU(r1_pp$Hd;O@B3HKp5C`@VS?2&Vz`Tfr9XG7ss{=hiAJ7H3ME?O!``Z5l X*t)bK+V-;000000NkvXXu0mjf-#;p% 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 {