Changeset 240
- Timestamp:
- 08/19/07 15:53:21 (1 year ago)
- Files:
-
- trunk/templates/public/photoblog/index.html (modified) (5 diffs)
- trunk/templates/public/photoblog/themes/blue/blue.css (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/templates/public/photoblog/index.html
r238 r240 8 8 </h2> 9 9 10 <div id="albums">10 <div class="albums"> 11 11 12 12 {if $galleries.intRowCount == 0} … … 18 18 <div class="album"> 19 19 <div class="photo"> 20 {if $gallery->isPrivateAndLocked()}20 {if $gallery->isPrivateAndLocked()} 21 21 <a href="{$gallery.linkPrivate}"> 22 {elseif $gallery.totalCount > 0}22 {elseif $gallery.totalCount > 0} 23 23 <a href="{$gallery.linkConsult}"> 24 {elseif $gallery->hasSubGallery()}24 {elseif $gallery->hasSubGallery()} 25 25 <a href="{$gallery.linkSubGallery}"> 26 {/if}26 {/if} 27 27 <img src="{$gallery.defaultImage}" alt=""/></a> 28 28 </div> 29 29 30 30 <div class="albumdesc"> 31 {if $gallery->isPrivateAndLocked()}31 {if $gallery->isPrivateAndLocked()} 32 32 <h3><a href="{$gallery.linkPrivate}">{i18n 'Private gallery'}</a></h3> 33 {else}33 {else} 34 34 {if $gallery.totalCount > 0} 35 35 <h3><a href="{$gallery.linkConsult}">{$gallery.niceName}</a></h3> … … 41 41 {/if} 42 42 {/if} 43 {/if}43 {/if} 44 44 45 {if $gallery.totalCount > 0 && !$gallery->isPrivateAndLocked()}46 <span class="infos">47 {if $gallery.imageCount > 0}45 {if $gallery.totalCount > 0 && !$gallery->isPrivateAndLocked()} 46 <span class="infos"> 47 {if $gallery.imageCount > 0} 48 48 <strong>{$gallery.imageCount}</strong> {i18n ' pictures'} 49 {/if}50 {if $gallery.flvCount > 0}49 {/if} 50 {if $gallery.flvCount > 0} 51 51 {if $gallery.imageCount > 0} <br/>{/if} 52 52 <strong>{$gallery.flvCount}</strong> {i18n ' videos'} 53 {/if}54 </span>55 {/if}53 {/if} 54 </span> 55 {/if} 56 56 </div> 57 57 … … 71 71 72 72 {if $index && $cfg['show_selection'] && $selection.totalCount > 0} 73 < h2>74 {i18n 'My selection'} 75 < /h2>73 <p style="clear:both;"></p> 74 <div class="albums"> 75 <h2>{i18n 'My selection'}</h2> 76 76 <div class="album"> 77 <a href="{$selection.linkConsult}"><img src="{$selection.defaultImage}" alt=""/></a> 77 <div class="photo"> 78 <a href="{$selection.linkConsult}"><img src="{$selection.defaultImage}" alt=""/></a> 79 </div> 78 80 <div class="albumdesc"> 81 <h3><a href="{$selection.linkConsult}">{i18n 'My selection'}</a></h3> 82 <span class="infos"> 83 {if $gallery.imageCount > 0} 84 <strong>{$selection.imageCount}</strong> {i18n ' pictures'} 85 {/if} 86 {if $gallery.flvCount > 0} 87 {if $gallery.imageCount > 0} <br/>{/if} 88 <strong>{$selection.flvCount}</strong> {i18n ' videos'} 89 {/if} 90 </span> 91 </div> 92 <div class="otherlinks"> 79 93 <h3><a href="{$selection.linkConsult}">{i18n 'Consult'}</a></h3> 80 94 <h3><a href="{$selection.linkDelete}">{i18n 'Delete'}</a></h3> … … 82 96 </div> 83 97 </div> 98 </div> 84 99 <p style="clear:both;"></p> 85 100 {/if} trunk/templates/public/photoblog/themes/blue/blue.css
r239 r240 175 175 /* Album Thumbnails 176 176 */ 177 #albums {177 .albums { 178 178 width:680px; 179 179 } 180 #albums .album {180 .albums .album { 181 181 float:left; 182 182 width:110px; … … 188 188 background: #FBFCFD; 189 189 } 190 #albums .album .photo {190 .albums .album .photo { 191 191 text-align:center; 192 192 } 193 #albums .album h3 {193 .albums .album h3 { 194 194 text-align:center; 195 195 font-size:1.1em; … … 197 197 margin: 0; 198 198 } 199 #albums .album .albumdesc h3 a {199 .albums .album .albumdesc h3 a { 200 200 display: inline; 201 201 } 202 #albums .album p {202 .albums .album p { 203 203 margin: 0 0 4px 0; 204 204 } 205 #albums .album .albumdesc { 206 padding:5px; 207 } 208 #albums .album .albumdesc .infos { 209 205 .albums .album .albumdesc { 206 padding:5px 5px 0px 5px; 207 } 208 .albums .album .albumdesc .infos { 210 209 color: #8DB8CF; 211 210 } 212 #albums .album .otherlinks h3 {211 .albums .album .otherlinks h3 { 213 212 text-align:left; 214 213 font-size:0.9em; 215 214 padding-left:5px; 216 215 } 217 #albums .album .otherlinks h3 a{216 .albums .album .otherlinks h3 a{ 218 217 text-decoration:none; 219 218 }
