Ignore:
Timestamp:
07/14/08 22:15:37 (4 years 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)

File:
1 edited

Legend:

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

    r552 r557  
    11<?php plogger_get_header(); ?> 
    22 
    3 <div id="big-picture-container"> 
     3        <div id="big-picture-container"> 
    44 
    55<?php if (plogger_has_pictures()) : ?> 
    6  
    7         <?php while(plogger_has_pictures()) : // equivalent to the Wordpress loop ?> 
    8  
    9                 <?php plogger_load_picture(); 
     6<?php while(plogger_has_pictures()) : // equivalent to the Wordpress loop ?> 
     7<?php plogger_load_picture(); 
    108                // set variables for the picture 
    119                $picture_caption = trim(plogger_get_picture_caption()); 
     
    1614                $thumb_info = plogger_get_thumbnail_info(); 
    1715                $thumb_width = $thumb_info[0]; // The width of the image. It is integer data type. 
    18                 $thumb_height = $thumb_info[1]; // The height of the image. It is an integer data type. 
    19                 ?> 
    20  
     16                $thumb_height = $thumb_info[1]; // The height of the image. It is an integer data type. 
     17?> 
    2118                <div id="nav-link-img-prev"><?php echo $prev_link; ?></div> 
    2219                <div id="nav-link-img-next"><?php echo $next_link; ?></div> 
    2320 
    24                 <?php if ($picture_caption != '' || !isset($picture_caption)); ?> 
     21<?php if ($picture_caption != '' || !isset($picture_caption)); ?> 
    2522                <h2 class="picture-title"><?php echo $picture_caption; ?></h2> 
    2623                <h2 class="date"><?php echo plogger_get_picture_date(); ?></h2> 
    2724 
    28                 <?php // generate XHTML with picture and link to full raw picture ?> 
     25<?php // generate XHTML with picture and link to full raw picture ?> 
    2926                <div id="picture-holder"> 
    30                         <a accesskey="v" href="<?php echo plogger_get_source_picture_url(); ?>"> 
    31                                 <img class="photos-large" src="<?php echo plogger_get_picture_thumb(THUMB_LARGE); ?>" title="<?php echo $picture_caption; ?>" alt="<?php echo $picture_caption; ?>" /> 
    32                         </a> 
    33                 </div> 
     27                        <a accesskey="v" href="<?php echo plogger_get_source_picture_url(); ?>"><img class="photos-large" src="<?php echo plogger_get_picture_thumb(THUMB_LARGE); ?>" title="<?php echo $picture_caption; ?>" alt="<?php echo $picture_caption; ?>" /></a> 
     28                </div><!-- /picture-holder --> 
    3429 
    3530                <p id="picture-description"><?php echo plogger_get_picture_description(); ?></p> 
     31                <div id="exif_toggle"><?php echo $detail_link; ?></div> 
     32                <div id="exif-toggle-container"> 
     33<?php echo generate_exif_table(plogger_get_picture_id()); ?> 
     34                </div><!-- /exif-toggle-container --> 
     35<?php if (plogger_get_thumbnail_nav() != '') { ?> 
     36                <div class="clearfix"> 
     37<?php echo plogger_get_thumbnail_nav(); ?> 
     38                </div><!-- /clearfix --> 
     39<?php } ?> 
    3640 
    37                 <div id="exif_toggle"><?php echo $detail_link; ?></div> 
    38                 <div id="exif-toggle-container"><?php echo generate_exif_table(plogger_get_picture_id()); ?></div> 
     41                <div id="comment-section"> 
     42<?php echo plogger_display_comments(); ?> 
     43                </div><!-- /comment-section --> 
    3944 
    40                 <div class="clearfix"><?php echo plogger_get_thumbnail_nav(); ?></div> 
    41  
    42                 <div id="comment-section"><?php echo plogger_display_comments(); ?></div> 
    43  
    44                 <?php endwhile; ?> 
    45         <?php else : ?> 
    46  
    47         <p id="no-pictures-msg"><?php echo plog_tr('No such image')?>.</p> 
    48  
     45<?php endwhile; ?> 
     46<?php else : ?> 
     47                <p id="no-pictures-msg"><?php echo plog_tr('No such image')?>.</p> 
    4948        <?php endif; ?> 
    50  
    51 </div> 
    52  
     49        </div><!-- /big-picture-container --> 
    5350<?php plogger_get_footer(); ?> 
Note: See TracChangeset for help on using the changeset viewer.