From feda3cfc960c317c91f483238c29fce629f494e6 Mon Sep 17 00:00:00 2001 From: tommy tomson Date: Fri, 9 Mar 2012 02:59:13 +0100 Subject: [PATCH] fixed star-bug --- view/theme/diabook-blue/icons/starred.png | Bin 0 -> 1617 bytes view/theme/diabook-blue/icons/unstarred.png | Bin 358 -> 468 bytes view/theme/diabook-blue/style.css | 9 +++------ view/theme/diabook-blue/wall_item.tpl | 9 +++------ view/theme/diabook-blue/wallwall_item.tpl | 9 +++------ view/theme/diabook/icons/starred.png | Bin 0 -> 1617 bytes view/theme/diabook/icons/unstarred.png | Bin 358 -> 468 bytes view/theme/diabook/style.css | 11 ++++------- view/theme/diabook/wall_item.tpl | 9 +++------ view/theme/diabook/wallwall_item.tpl | 9 +++------ 10 files changed, 19 insertions(+), 37 deletions(-) create mode 100755 view/theme/diabook-blue/icons/starred.png create mode 100755 view/theme/diabook/icons/starred.png diff --git a/view/theme/diabook-blue/icons/starred.png b/view/theme/diabook-blue/icons/starred.png new file mode 100755 index 0000000000000000000000000000000000000000..72a49c157c8ccf21376e953984ffc30c6fe78b06 GIT binary patch literal 1617 zcmV-X2Cn&uP)4Tx0C?Jslgn=#RTRd5V~?km60yOw#j4O1i#9?@G<~Q|glKEWu9Y?zYnl`% zLaHX?YkSDeczS1?KGX&3h8-=4J>nr&`~el}f?ZcAm8yb}D%Mm8RH>*NRLsJUnU+8~ zt8>5eo$q}2TwTb0>V~1p2-pl_?Nm#mvAQO9{X~XWnV`Ug>qTL)US9%m!%*>$c=7`V zz`dEB>;D-OO&NJ$>;}5c$lCn@Uu!>kGcOedEzH-QCobHj)52o>EPnBR0m&8Nx*2&b8b7 z5{>)jt@rLt-nm8*g`$mQ6NyiNBuXiyJhXzFg+#&IzVS$YSbI|A`gDTYKia?9_wCQ^ zuk2s{Wk>Djc2rEwmjpYymnc?IV~0Dld=x$_1o&J+qKR-(1YAL+cQNWVUo#Jxi{_j; zk1$V~r_2*(*_<=qG?zvUt74U{BEovZnzs&FXRKm!6YHQ=w&tyaR^^!&@KSe8zo1O9 zWNITbtRsooK;yH8L=hn&mX~9Ig>HC7`|VCF4%_x|Q4B*R#bV&iP77Blq5XCzj)azx z)LXJSOJj9S48G%I2LmwnY$sU!HoWyaWbY=}S`WU7VDHfcn<~I7pTVtTUQcfg|F>a$ z4^ivL;lXLL1i7F4{l^Dj*C+7w<9`3oFZ%tbUqbc)e5d{fsUr&3#!m!&00006VoOIv z0RI600RN!9r;`8x010qNS#tmY3ljhU3ljkVnw%H_000McNliru+ye;#90delfJ*=X z0?tW9K~y-)g_2EZ6HySy|L?usO`4i)-A&RUY0{chH&u`#O|A9gCJI8W3hG5g{3?jj z*0UGAd-7DhD_T$lFN&gV5wTDaZDTPlR?yfW)FzvlWb?*@Mr^SHe32zow5=j91eRO#~AqAnupvTb|SpSgbm zQmGVlU1tDVrIebKQUlPc>pDxNQvU}4Kr)%sP1D@NIdgH&T&8L6NhXu}-)aSb1^{b3 z9#7CTO;gh}qg*aG3nBWdQij2p0Kql?WqurhTi11ewOaK%j-vypvYy_azTCIPzRAf+ zx0EDRRfVD`!sT{FR8`dgpi-%nOQq7BQ*o-5N(G9daI4L-eLmk+@#yixt+7~acP5jG z*tYE#isDxl#o$5+&N;?2mqYu=altz-Vcd&ZI?zy z#)fl?`4VTG6$%9^7K+32yk0Me z2>DzNQc9|;^SqE%xqT`%< z`cn(ph3XPOQ#foGrg0@6k3|MA4o)Q6tp0d&>qFBFObeAyx5U=A&!lGqE|+F-;`g)j z*}{_XcW&PqI(6pM_^US)Z|1*#-n9H>XFtB*_H^_~=J1h2Z>{x-P)+{<%pw}k+Ei^w P00000NkvXXu0mjfJP-p_ literal 0 HcmV?d00001 diff --git a/view/theme/diabook-blue/icons/unstarred.png b/view/theme/diabook-blue/icons/unstarred.png index ca20724143fd2ee28c363a47dc02268bea610c9a..ba3183f5c72b59b56923526013faaaca193b181a 100755 GIT binary patch delta 417 zcmV;S0bc&*0@MQ`iBL{Q4GJ0x0000DNk~Le0000H0000H2nGNE06T3*`jH_%e**~t z0tL_>zmxy~0aQsuK~y-)ozpu=Tu~6l@t>OY6|s zi5~n)N_vt4=|&$8u~#XnIt9{XRgVKIzF>woaM1YTC-claBf<-+FI z*vI!UBh}(O&e4tqY+x9x;a+1oi%T^Zp#E?yi{3aZFJf*#lRC+uEedb3jA{G`=ratZ zTor?H*>+=?1-0TM&ajhq=N7RZXQP~^@Ga(5Q4>YBR#F?@6bBvvAO}CsFHZ4n00000 LNkvXXu0mjfGfc7s delta 307 zcmV-30nGl?1LguDiBL{Q4GJ0x0000DNk~Le0000G0000G2nGNE03Y-JVUZy|e*zp8 z6&ZjO;`{&r0Omgb13(P*Li9eFd7K4N~zf5`6`gx}7|yGh~`W(w5XcueAzFY-nJduZY=3iXn0 zAm&*dhQCljBNh)ZLJjwLOGqbJj`#|_q-J0(68CY7%fNeqPvaHaI1YjNybe=1%Z_~$ zR~aVQ&QA}fi7u{#u!M7Lm9?iAvTCRw{rw;I3ArguBPXi@Bme*a2>?k&PDHLk FV1fo~eSZJ| diff --git a/view/theme/diabook-blue/style.css b/view/theme/diabook-blue/style.css index e272191c2..5b7a3f3d6 100644 --- a/view/theme/diabook-blue/style.css +++ b/view/theme/diabook-blue/style.css @@ -102,12 +102,11 @@ .icon.recycle { background-image: url("../../../view/theme/diabook-blue/icons/recycle.png");} .icon.remote-link { background-image: url("../../../view/theme/diabook-blue/icons/remote.png");} .icon.tagged { background-image: url("../../../view/theme/diabook-blue/icons/tagged.png");} -.icon.unstarred { background-image: url("../../../view/theme/diabook-blue/icons/star.png");} -.icon.star { background-image: url("../../../view/theme/diabook-blue/icons/star.png");} +.star-item.icon.unstarred { background-image: url("../../../view/theme/diabook-blue/icons/unstarred.png");} +.star-item.icon.starred { background-image: url("../../../view/theme/diabook-blue/icons/starred.png");} .icon.link { background-image: url("../../../view/theme/diabook-blue/icons/link.png");} .icon.lock { background-image: url("../../../view/theme/diabook-blue/icons/lock.png");} .icon.unlock { background-image: url("../../../view/theme/diabook-blue/icons/unlock.png");} -.icon.isstar { background-image: url("../../../view/theme/diabook-blue/icons/isstar.png");} .icon.language { background-image: url("../../../view/theme/diabook-blue/icons/language.png");} @@ -1078,9 +1077,7 @@ section { top: -10px; width: 16px; } -.unstarred { - display: none; -} + .wall-item-container { display: table; width: 780px; diff --git a/view/theme/diabook-blue/wall_item.tpl b/view/theme/diabook-blue/wall_item.tpl index 0a02ba812..b1a014949 100644 --- a/view/theme/diabook-blue/wall_item.tpl +++ b/view/theme/diabook-blue/wall_item.tpl @@ -1,6 +1,5 @@ {{ if $item.indent }}{{ else }}
- $item.star.starred {{ if $item.lock }}$item.lock{{ endif }}
@@ -62,11 +61,9 @@ {{ if $item.star }} - - $item.star.do - - $item.star.undo - $item.star.tagger + + $item.star.do + {{ endif }} {{ if $item.plink }}$item.plink.title{{ endif }} diff --git a/view/theme/diabook-blue/wallwall_item.tpl b/view/theme/diabook-blue/wallwall_item.tpl index effb7273f..603a908c5 100644 --- a/view/theme/diabook-blue/wallwall_item.tpl +++ b/view/theme/diabook-blue/wallwall_item.tpl @@ -1,6 +1,5 @@ {{ if $item.indent }}{{ else }}
- $item.star.starred {{ if $item.lock }}$item.lock{{ endif }}
@@ -68,11 +67,9 @@ {{ if $item.star }} - - $item.star.do - - $item.star.undo - $item.star.tagger + + $item.star.do + {{ endif }} {{ if $item.plink }}$item.plink.title{{ endif }} diff --git a/view/theme/diabook/icons/starred.png b/view/theme/diabook/icons/starred.png new file mode 100755 index 0000000000000000000000000000000000000000..72a49c157c8ccf21376e953984ffc30c6fe78b06 GIT binary patch literal 1617 zcmV-X2Cn&uP)4Tx0C?Jslgn=#RTRd5V~?km60yOw#j4O1i#9?@G<~Q|glKEWu9Y?zYnl`% zLaHX?YkSDeczS1?KGX&3h8-=4J>nr&`~el}f?ZcAm8yb}D%Mm8RH>*NRLsJUnU+8~ zt8>5eo$q}2TwTb0>V~1p2-pl_?Nm#mvAQO9{X~XWnV`Ug>qTL)US9%m!%*>$c=7`V zz`d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US)Z|1*#-n9H>XFtB*_H^_~=J1h2Z>{x-P)+{<%pw}k+Ei^w P00000NkvXXu0mjfJP-p_ literal 0 HcmV?d00001 diff --git a/view/theme/diabook/icons/unstarred.png b/view/theme/diabook/icons/unstarred.png index ca20724143fd2ee28c363a47dc02268bea610c9a..ba3183f5c72b59b56923526013faaaca193b181a 100755 GIT binary patch delta 417 zcmV;S0bc&*0@MQ`iBL{Q4GJ0x0000DNk~Le0000H0000H2nGNE06T3*`jH_%e**~t z0tL_>zmxy~0aQsuK~y-)ozpu=Tu~6l@t>OY6|s zi5~n)N_vt4=|&$8u~#XnIt9{XRgVKIzF>woaM1YTC-claBf<-+FI z*vI!UBh}(O&e4tqY+x9x;a+1oi%T^Zp#E?yi{3aZFJf*#lRC+uEedb3jA{G`=ratZ zTor?H*>+=?1-0TM&ajhq=N7RZXQP~^@Ga(5Q4>YBR#F?@6bBvvAO}CsFHZ4n00000 LNkvXXu0mjfGfc7s delta 307 zcmV-30nGl?1LguDiBL{Q4GJ0x0000DNk~Le0000G0000G2nGNE03Y-JVUZy|e*zp8 z6&ZjO;`{&r0Omgb13(P*Li9eFd7K4N~zf5`6`gx}7|yGh~`W(w5XcueAzFY-nJduZY=3iXn0 zAm&*dhQCljBNh)ZLJjwLOGqbJj`#|_q-J0(68CY7%fNeqPvaHaI1YjNybe=1%Z_~$ zR~aVQ&QA}fi7u{#u!M7Lm9?iAvTCRw{rw;I3ArguBPXi@Bme*a2>?k&PDHLk FV1fo~eSZJ| diff --git a/view/theme/diabook/style.css b/view/theme/diabook/style.css index 768ce1370..bccfea149 100644 --- a/view/theme/diabook/style.css +++ b/view/theme/diabook/style.css @@ -101,13 +101,12 @@ .icon.pencil { background-image: url("../../../view/theme/diabook/icons/pencil.png");} .icon.recycle { background-image: url("../../../view/theme/diabook/icons/recycle.png");} .icon.remote-link { background-image: url("../../../view/theme/diabook/icons/remote.png");} -.icon.tagged { background-image: url("../../../view/theme/diabook/icons/tagged.png");} -.icon.unstarred { background-image: url("../../../view/theme/diabook/icons/star.png");} -.icon.star { background-image: url("../../../view/theme/diabook/icons/star.png");} +.icon.tagged { background-image: url("../../../view/theme/diabook/icons/tagged.png");} +.star-item.icon.unstarred { background-image: url("../../../view/theme/diabook/icons/unstarred.png");} +.star-item.icon.starred { background-image: url("../../../view/theme/diabook/icons/starred.png");} .icon.link { background-image: url("../../../view/theme/diabook/icons/link.png");} .icon.lock { background-image: url("../../../view/theme/diabook/icons/lock.png");} .icon.unlock { background-image: url("../../../view/theme/diabook/icons/unlock.png");} -.icon.isstar { background-image: url("../../../view/theme/diabook/icons/isstar.png");} .icon.language { background-image: url("../../../view/theme/diabook/icons/language.png");} @@ -1077,9 +1076,7 @@ section { top: -10px; width: 16px; } -.unstarred { - display: none; -} + .wall-item-container { display: table; width: 780px; diff --git a/view/theme/diabook/wall_item.tpl b/view/theme/diabook/wall_item.tpl index 0a02ba812..b1a014949 100644 --- a/view/theme/diabook/wall_item.tpl +++ b/view/theme/diabook/wall_item.tpl @@ -1,6 +1,5 @@ {{ if $item.indent }}{{ else }}
- $item.star.starred {{ if $item.lock }}$item.lock{{ endif }}
@@ -62,11 +61,9 @@ {{ if $item.star }} - - $item.star.do - - $item.star.undo - $item.star.tagger + + $item.star.do + {{ endif }} {{ if $item.plink }}$item.plink.title{{ endif }} diff --git a/view/theme/diabook/wallwall_item.tpl b/view/theme/diabook/wallwall_item.tpl index effb7273f..603a908c5 100644 --- a/view/theme/diabook/wallwall_item.tpl +++ b/view/theme/diabook/wallwall_item.tpl @@ -1,6 +1,5 @@ {{ if $item.indent }}{{ else }}
- $item.star.starred {{ if $item.lock }}$item.lock{{ endif }}
@@ -68,11 +67,9 @@ {{ if $item.star }} - - $item.star.do - - $item.star.undo - $item.star.tagger + + $item.star.do + {{ endif }} {{ if $item.plink }}$item.plink.title{{ endif }}