Show
Ignore:
Timestamp:
07/14/08 22:15:37 (4 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/album.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_pictures()) : ?> 
    6  
    7         <ul class="slides clearfix"> 
    8  
    9         <?php while(plogger_has_pictures()) : ?> 
    10  
    11                 <?php plogger_load_picture(); 
     6                <ul class="slides clearfix"> 
     7<?php while(plogger_has_pictures()) : ?> 
     8<?php plogger_load_picture(); 
    129                // set variables for the album 
    1310                $picture_caption = plogger_get_picture_caption(); 
     
    1613                $thumb_width = $thumb_info[0]; // The width of the image. It is integer data type. 
    1714                $thumb_height = $thumb_info[1]; // The height of the image. It is an integer data type. 
    18                 ?> 
     15?> 
     16                        <li class="thumbnail"> 
     17                                <a href="<?php echo plogger_get_picture_url(); ?>"><img id="thumb-<?php echo plogger_get_picture_id(); ?>" class="photos" src="<?php echo plogger_get_picture_thumb(); ?>" width="<?php echo $thumb_width; ?>px" height="<?php echo $thumb_height; ?>px" title="<?php echo $picture_caption; ?>" alt="<?php echo $picture_caption; ?>" /></a> 
     18                                <div class="checkbox"><?php echo plogger_download_checkbox(plogger_get_picture_id()); ?></div> 
     19                                <p style="width: <?php echo $thumb_width; ?>px;"><?php echo $picture_caption; ?></p> 
     20                        </li><!-- /thumbnail --> 
     21<?php endwhile; ?> 
     22                </ul><!-- /slides --> 
     23<?php else : ?> 
     24                <p id="no-pictures-msg"><?php echo plog_tr('There are no pictures in this album')?>.</p> 
     25<?php endif; ?> 
    1926 
    20                 <li class="thumbnail"> 
    21                         <a href="<?php echo plogger_get_picture_url(); ?>"> 
    22                                 <img id="thumb-<?php echo plogger_get_picture_id(); ?>" class="photos" src="<?php echo plogger_get_picture_thumb(); ?>" width="<?php echo $thumb_width; ?>px" height="<?php echo $thumb_height; ?>px" title="<?php echo $picture_caption; ?>" alt="<?php echo $picture_caption; ?>" /> 
    23                         </a> 
    24                         <div class="checkbox"><?php echo plogger_download_checkbox(plogger_get_picture_id()); ?></div> 
    25                         <p style="width:<?php echo $thumb_width; ?>px;"><?php echo $picture_caption; ?></p> 
    26                 </li> 
    27         <?php endwhile; ?> 
    28  
    29         </ul> 
    30  
    31         <?php else : ?> 
    32  
    33         <p id="no-pictures-msg"><?php echo plog_tr('There are no pictures in this album')?>.</p> 
    34  
    35         <?php endif; ?> 
    36  
    37 </div> 
    38  
     27        </div><!-- /thumbnail container --> 
    3928<?php plogger_get_footer(); ?>