Show
Ignore:
Timestamp:
07/07/08 14:56:01 (5 months ago)
Author:
sidtheduck
Message:

+ cleared out require and include functions from included files (no longer needed if included)
+ added code to stop direct access to included files
+ adding back r549 translatable themes
+ cleaned version of "Air" theme

Files:
1 modified

Legend:

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

    r550 r552  
    1717 
    1818                <div class="collection"> 
    19  
    20                 <a href="<?php echo plogger_get_collection_url(); ?>"> 
    21  
    22                 <?php // generate XHTML with thumbnail and link to album view ?> 
    23                 <img class="photos" src="<?php echo plogger_get_collection_thumb(); ?>" title="<?php echo $name; ?>" alt="<?php echo $name; ?>" /></a> 
    24  
     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> 
    2520                        <h2><a href="<?php echo plogger_get_collection_url(); ?>"><?php echo $name; ?></a></h2> 
    26  
    2721                        <?php echo plogger_download_checkbox(plogger_get_collection_id()); ?> 
    28  
    29                         <span class="meta-header">Contains <?php echo $num_albums . ' '; echo ($num_albums == 1) ? "Album" : "Albums"; ?></span> 
    30  
     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> 
    3123                        <p class="description"><?php echo $desc; ?></p> 
    32  
    3324                </div> 
    3425 
     
    3930        <?php else : ?> 
    4031 
    41         <p>No collections yet</p> 
     32        <p id="no-pictures-msg"><?php echo plog_tr('No collections yet')?>.</p> 
    4233 
    4334        <?php endif; ?>