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-admin/plog-options.php

    r555 r557  
    125125        configure_mod_rewrite($config["use_mod_rewrite"]); 
    126126 
    127         if (!isset($error_flag)) $output .= '<p class="actions">' . plog_tr("You have updated your settings successfully.") . '</p>'; 
     127        if (!isset($error_flag)) $output .= "\n\t" . '<p class="actions">' . plog_tr("You have updated your settings successfully.") . '</p>' . "\n"; 
    128128 
    129129        $_SESSION["msg"] = $output; 
     
    151151        ); 
    152152 
    153 $output .= ' 
    154         <h1>' . plog_tr("System Options") . '</h1> 
     153$output .= "\n\t" . '<h1>' . plog_tr("System Options") . '</h1> 
    155154 
    156155                <form action="'.$_SERVER["PHP_SELF"].'" method="post"> 
     
    158157                                <table class="option-table"> 
    159158                                        <tr class="alt"> 
    160                                                 <td><label for="gallery_name">' . plog_tr("Gallery Name:") . '</label> ' . plog_tr("(optional)") . '</td> 
     159                                                <td><label for="gallery_name">' . plog_tr("Gallery Name:") . '</label><br /> ' . plog_tr("(optional)") . '</td> 
    161160                                                <td><input size="45" type="text" id="gallery_name" name="gallery_name" value="'.stripslashes($config['gallery_name']).'" /></td> 
    162161                                        </tr> 
    163162                                        <tr> 
    164                                                 <td><label for="gallery_url">' . plog_tr('Gallery URL:') . '</label> </td> 
     163                                                <td><label for="gallery_url">' . plog_tr('Gallery URL:') . '</label></td> 
    165164                                                <td><input size="45" type="text" id="gallery_url" name="gallery_url" value="'.stripslashes($config['gallery_url']).'" /></td> 
    166165                                        </tr> 
     
    206205                                        </tr> 
    207206                                        <tr> 
    208                                                 <td><label for="generate_intermediate">' . plog_tr('Generate Intermediate Pictures?') . '</label>:</td> 
     207                                                <td><label for="generate_intermediate">' . plog_tr('Generate Intermediate Pictures?') . '</label></td> 
    209208                                                <td><input type="checkbox" id="generate_intermediate" name="generate_intermediate" value="1" '.$generate_intermediate.' /></td> 
    210209                                        </tr> 
     
    218217                                        </tr> 
    219218                                        <tr class="alt"> 
    220                                                 <td><label for="image_quality">' . plog_tr('JPEG Image Quality') . '</label><br /> ' . plog_tr("(1=worst, 95=best, 75=default):") . '</label></td> 
     219                                                <td><label for="image_quality">' . plog_tr('JPEG Image Quality:') . '</label><br /> ' . plog_tr("(1=worst, 95=best, 75=default)") . '</label></td> 
    221220                                                <td><input size="5" type="text" id="image_quality" name="image_quality" value="'.$config['compression'].'" /></td> 
    222221                                        </tr> 
     
    293292                                        </tr> 
    294293                                        <tr class="alt"> 
    295                                                 <td><label for="square_thumbs">' . plog_tr('Use Cropped Square Thumbnails?:') .'</label></td> 
     294                                                <td><label for="square_thumbs">' . plog_tr('Use Cropped Square Thumbnails?') .'</label></td> 
    296295                                                <td>'; 
    297296                                                if ($config['square_thumbs'] == 1) $checked = "checked='checked'"; else $checked = ""; 
     
    305304                                        </tr> 
    306305                                        <tr class="alt"> 
    307                                                 <td><label for="thumb_nav_range">' . plog_tr('Thumbnail Navigation Range') . '</label><br /> ' . plog_tr('(0 for whole album):') . '</td> 
     306                                                <td><label for="thumb_nav_range">' . plog_tr('Thumbnail Navigation Range:') . '</label><br /> ' . plog_tr('(0 for whole album)') . '</td> 
    308307                                                <td><input size="5" type="text" id="thumb_nav_range" name="thumb_nav_range" value="'.$config['thumb_nav_range'].'" /></td> 
    309308                                        </tr> 
     
    324323                                <table class="option-table"> 
    325324                                        <tr> 
    326                                                 <td><label for="date_format">' . plog_tr('Date Format') . '</label>:</td> 
     325                                                <td><label for="date_format">' . plog_tr('Date Format:') . '</label></td> 
    327326                                                <td> 
    328327                                                        <select id="date_format" name="date_format">'; 
     
    336335                                        </tr> 
    337336                                        <tr class="alt"> 
    338                                                 <td><label for="allow_dl">' . plog_tr('Allow Compressed Recursive Downloads?') . '</label>:</td> 
     337                                                <td><label for="allow_dl" style="white-space: nowrap;">' . plog_tr('Allow Compressed Recursive Downloads?') . '</label></td> 
    339338                                                <td>'; 
    340339                                                if ($config['allow_dl'] == 1) $checked = "checked='checked'"; else $checked = ""; 
     
    358357                                        </tr> 
    359358                                        <tr class="alt"> 
    360                                                 <td><label for="use_mod_rewrite">' . plog_tr('Generate Cruft-Free URLs') . '</label><br /> ' . plog_tr('(requires mod_rewrite)') . '</td> 
     359                                                <td><label for="use_mod_rewrite">' . plog_tr('Generate Cruft-Free URLs:') . '</label><br /> ' . plog_tr('(requires mod_rewrite)') . '</td> 
    361360                                                <td>'; 
    362361                                                $htaccess_file = $config["basedir"] . ".htaccess";