Changeset 557 for trunk/plog-content/themes/air/picture.php
- Timestamp:
- 07/14/08 22:15:37 (4 years ago)
- File:
-
- 1 edited
-
trunk/plog-content/themes/air/picture.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plog-content/themes/air/picture.php
r552 r557 1 1 <?php plogger_get_header(); ?> 2 2 3 <div id="big-picture-container">3 <div id="big-picture-container"> 4 4 5 5 <?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(); 10 8 // set variables for the picture 11 9 $picture_caption = trim(plogger_get_picture_caption()); … … 16 14 $thumb_info = plogger_get_thumbnail_info(); 17 15 $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 ?> 21 18 <div id="nav-link-img-prev"><?php echo $prev_link; ?></div> 22 19 <div id="nav-link-img-next"><?php echo $next_link; ?></div> 23 20 24 <?php if ($picture_caption != '' || !isset($picture_caption)); ?>21 <?php if ($picture_caption != '' || !isset($picture_caption)); ?> 25 22 <h2 class="picture-title"><?php echo $picture_caption; ?></h2> 26 23 <h2 class="date"><?php echo plogger_get_picture_date(); ?></h2> 27 24 28 <?php // generate XHTML with picture and link to full raw picture ?>25 <?php // generate XHTML with picture and link to full raw picture ?> 29 26 <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 --> 34 29 35 30 <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 } ?> 36 40 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 --> 39 44 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> 49 48 <?php endif; ?> 50 51 </div> 52 49 </div><!-- /big-picture-container --> 53 50 <?php plogger_get_footer(); ?>
Note: See TracChangeset
for help on using the changeset viewer.
