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/default/collections.php

    r552 r557  
    1 <?php 
    2 plogger_get_header(); 
    3 print '<div id="thumbnail_container">'; 
    4 if (plogger_has_collections()) 
    5 { 
    6         print '<ul class="slides">'; 
    7         while(plogger_has_collections()) 
    8         { 
    9                 $row = plogger_load_collection(); 
     1<?php plogger_get_header(); ?> 
     2 
     3                <div id="thumbnail_container"> 
     4<?php if (plogger_has_collections()) : ?> 
     5                        <ul class="slides"> 
     6<?php while(plogger_has_collections()) : ?> 
     7<?php plogger_load_collection(); 
     8                // set variables for the collection 
    109                $desc = plogger_get_collection_description(); 
     10                $name = plogger_get_collection_name(); 
     11                $num_albums = plogger_collection_album_count(); 
     12?> 
     13                                <li class="thumbnail"> 
     14                                        <div class="tag"> 
     15                                                <a 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><br /> 
     16                                                <a href="<?php echo plogger_get_collection_url(); ?>"><?php echo $name; ?></a> 
     17                                                <?php echo plogger_download_checkbox(plogger_get_collection_id()); ?><br /> 
     18                                                <span class="meta-header">(<?php echo $num_albums . ' '; echo ($num_albums == 1) ? plog_tr("Album") : Plog_tr("Albums"); ?>)</span> 
     19                                        </div> 
     20                                </li> 
     21<?php endwhile; ?> 
     22                        </ul><!-- /slides --> 
     23<?php else : ?> 
     24                        <p id="no-pictures-msg"><?php echo plog_tr('No collections yet')?>.</p> 
    1125 
    12                 print '<li class="thumbnail"><div class="tag"><a href="' . plogger_get_collection_url() . '">'; 
    13                          
    14                 // generate XHTML with thumbnail and link to picture view. 
    15                 print '<img class="photos" src="'.plogger_get_collection_thumb().'" title="'.$desc.'" alt="'.$desc.'"/>'; 
    16                  
    17                 print '</a><br/>'; 
    18                          
    19                 print plogger_download_checkbox(plogger_get_collection_id()); 
    20                          
    21                 print plogger_get_collection_name().' <br/>'; 
    22                 print '<div class="meta-header">('; 
     26<?php endif; ?> 
     27                </div><!-- /thumbnail container --> 
    2328 
    24                 $num_albums = plogger_collection_album_count(); 
    25                 print $num_albums . ' '; 
    26                 print ($num_albums == 1) ? plog_tr("album") : plog_tr("albums"); 
    27                  
    28                 print ')</div></div></li>'; 
    29         } 
    30         print '</ul>'; 
    31 } else { 
    32         print plog_tr("No collections yet"); 
    33 } 
    34 print '</div>'; 
    35 plogger_get_footer(); 
    36 ?> 
     29<?php plogger_get_footer(); ?> 
Note: See TracChangeset for help on using the changeset viewer.