Show
Ignore:
Timestamp:
07/14/08 22:15:37 (5 months ago)
Author:
kimparsell
Message:

All themes:
+ All pages validate XHTML Strict (ticket #166 - http://dev.plogger.org/ticket/166)
+ Stylesheet validates to CSS level 2.1
+ Changed code for action= in comments form tag (original code would not validate due to the ampersand (&) in the url not being shown as & in the code)
+ Added alt tag for large image in picture.php per ticket #171 (http://dev.plogger.org/ticket/171)
+ Added actions class to stylesheets for moderation message
+ Removed generate_slideshow_interface function from slideshow.php (now in plog-functions.php)
+ Reworked markup to conform to new theme code requirements
+ Cleaned up markup
Air theme - Added function to comments.php, if comments are moderated, to show moderation message
Lucid theme:
+ Added function to comments.php, if comments are moderated, to show moderation message
+ Cleaned up markup
+ Hyperlinked collection and album names per ticket #172 (http://dev.plogger.org/ticket/172)
Default theme:
+ Confirmed fix in place to resolve ticket #163 (http://dev.plogger.org/ticket/163)
+ Reorganized/commented gallery.css
+ Cleaned up markup
plog-functions.php:
+ Function added to provide meta-tags with keywords and descriptions using collection name/description, album name/description, image caption/description (default keyword is gallery name, default description is "This is my Plogger gallery" and can be changed by end user) (original code by sidetheduck in http://plogger.org/forum/discussion/1954/how-to-get-dynamic-contents/#Item_9) (requested in per ticket #172 (http://dev.plogger.org/ticket/172)
+ Added generate_slideshow_interface function (previously in slideshow.php in each theme)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/plog-content/themes/air/collections.php

    r552 r557  
    11<?php plogger_get_header(); ?> 
    22 
    3 <div id="thumbnail-container" class="clearfix"> 
     3        <div id="thumbnail-container" class="clearfix"> 
    44 
    55<?php if (plogger_has_collections()) : ?> 
    6  
    7         <div id="collections"> 
    8  
    9         <?php while(plogger_has_collections()) : ?> 
    10  
    11                 <?php plogger_load_collection(); 
     6                <div id="collections"> 
     7<?php while(plogger_has_collections()) : ?> 
     8<?php plogger_load_collection(); 
    129                // set variables for the collection 
    1310                $desc = plogger_get_collection_description(); 
    1411                $name = plogger_get_collection_name(); 
    1512                $num_albums = plogger_collection_album_count(); 
    16                 ?> 
    17  
    18                 <div class="collection"> 
    19                         <a class="collection-image-link" href="<?php echo plogger_get_collection_url(); ?>"><img class="photos" src="<?php echo plogger_get_collection_thumb(); ?>" title="<?php echo $name; ?>" alt="<?php echo $name; ?>" /></a> 
    20                         <h2><a href="<?php echo plogger_get_collection_url(); ?>"><?php echo $name; ?></a></h2> 
    21                         <?php echo plogger_download_checkbox(plogger_get_collection_id()); ?> 
    22                         <span class="meta-header"><?php echo plog_tr('Contains'); ?> <?php echo $num_albums . ' '; echo ($num_albums == 1) ? plog_tr("Album") : Plog_tr("Albums"); ?></span> 
    23                         <p class="description"><?php echo $desc; ?></p> 
    24                 </div> 
    25  
    26                 <?php endwhile; ?> 
    27  
    28         </div> 
     13?> 
     14                        <div class="collection"> 
     15                                <a class="collection-image-link" href="<?php echo plogger_get_collection_url(); ?>"><img class="photos" src="<?php echo plogger_get_collection_thumb(); ?>" title="<?php echo $name; ?>" alt="<?php echo $name; ?>" /></a> 
     16                                <h2><a href="<?php echo plogger_get_collection_url(); ?>"><?php echo $name; ?></a></h2> 
     17                                <?php echo plogger_download_checkbox(plogger_get_collection_id()); ?> 
     18                                <span class="meta-header"><?php echo plog_tr('Contains'); ?> <?php echo $num_albums . ' '; echo ($num_albums == 1) ? plog_tr("Album") : Plog_tr("Albums"); ?></span> 
     19                                <p class="description"><?php echo $desc; ?></p> 
     20                        </div><!-- /collection --> 
     21<?php endwhile; ?> 
     22                </div><!-- /collections --> 
    2923 
    3024        <?php else : ?> 
    31  
    32         <p id="no-pictures-msg"><?php echo plog_tr('No collections yet')?>.</p> 
    33  
     25                <p id="no-pictures-msg"><?php echo plog_tr('No collections yet')?>.</p> 
    3426        <?php endif; ?> 
    35  
    36 </div> 
    37  
     27</div><!-- /thumbnail-container --> 
    3828<?php plogger_get_footer(); ?>