« Back to zenphoto.org

Ticket #35: sterile_subalbums.patch

File sterile_subalbums.patch, 2.0 kB (added by anonymous, 2 years ago)
  • themes/sterile/zen.css

    old new  
    173173        float: left; 
    174174} 
    175175.albumdesc2 { 
    176         padding: 5px 20px 5px 20px; 
    177176        line-height: 18px; 
    178177} 
    179178 
    180179 
    181180/* Album Thumbnails 
    182181------------------------------ */ 
     182#albums { 
     183        float: left; 
     184} 
    183185.album { 
    184186        margin: 0 15px 15px 0; 
    185187        float: left; 
     
    210212 
    211213/* Individual Image 
    212214------------------------------ */ 
     215#images { 
     216        float: left; 
     217        clear: left; 
     218} 
    213219.image {  
    214220        margin: 0; 
    215221        padding: 0; 
  • themes/sterile/album.php

    old new  
    1111<div id="main"> 
    1212 
    1313        <div id="gallerytitle"> 
    14                 <h2><span><a href="<?=getGalleryIndexURL();?>" title="Gallery Index"><?=getGalleryTitle();?></a> | </span> <?php printAlbumTitle(true);?></h2> 
     14                <h2><span><a href="<?=getGalleryIndexURL();?>" title="Gallery Index"><?=getGalleryTitle();?></a> | <?php printParentBreadcrumb(); ?></span> <?php printAlbumTitle(true);?></h2> 
    1515        </div> 
    1616 
    1717<div id="padbox"> 
    1818         
    19         <p class="albumdesc2"><?php printAlbumDesc(true); ?></p
     19        <div class="albumdesc2"><?php printAlbumDesc(true); ?></div
    2020         
     21        <div id="albums"> 
     22                <?php while (next_album()): ?> 
     23                <div class="album"> 
     24                        <div class="imagethumb"> 
     25                                <a href="<?=getAlbumLinkURL();?>" title="View album: <?=getAlbumTitle();?>"><?php printAlbumThumbImage(getAlbumTitle()); ?></a> 
     26                        </div> 
     27                        <div class="albumdesc"> 
     28                        <small><? printAlbumDate("Date Taken: "); ?></small> 
     29                                <h3><a href="<?=getAlbumLinkURL();?>" title="View album: <?=getAlbumTitle();?>"><?php printAlbumTitle(); ?></a></h3> 
     30                                <p><?php printAlbumDesc(); ?></p> 
     31                        </div> 
     32                        <p style="clear: both; "></p> 
     33                </div> 
     34                <?php endwhile; ?> 
     35        </div> 
    2136        <div id="images"> 
    2237                <?php while (next_image()): ?> 
    2338                <div class="image">