- Timestamp:
- 09/18/08 19:32:25 (3 months ago)
- Location:
- trunk
- Files:
-
- 3 added
- 48 modified
-
plog-admin/_upgrade.php (modified) (3 diffs)
-
plog-admin/css/login.css (modified) (1 diff)
-
plog-admin/includes/install-functions.php (modified) (1 diff)
-
plog-admin/plog-admin-functions.php (modified) (4 diffs)
-
plog-admin/plog-manage.php (modified) (2 diffs)
-
plog-admin/plog-options.php (modified) (1 diff)
-
plog-content/themes/air/404.php (modified) (1 diff)
-
plog-content/themes/air/album.php (modified) (1 diff)
-
plog-content/themes/air/collection.php (modified) (1 diff)
-
plog-content/themes/air/collections.php (modified) (1 diff)
-
plog-content/themes/air/comments.php (modified) (3 diffs)
-
plog-content/themes/air/dynamics.js (modified) (2 diffs)
-
plog-content/themes/air/footer.php (modified) (1 diff)
-
plog-content/themes/air/gallery.css (modified) (9 diffs)
-
plog-content/themes/air/header.php (modified) (2 diffs)
-
plog-content/themes/air/picture.php (modified) (2 diffs)
-
plog-content/themes/air/search.php (modified) (1 diff)
-
plog-content/themes/air/slideshow.php (modified) (1 diff)
-
plog-content/themes/air/theme_functions.php (added)
-
plog-content/themes/default/404.php (modified) (1 diff)
-
plog-content/themes/default/album.php (modified) (2 diffs)
-
plog-content/themes/default/collection.php (modified) (4 diffs)
-
plog-content/themes/default/collections.php (modified) (3 diffs)
-
plog-content/themes/default/comments.php (modified) (3 diffs)
-
plog-content/themes/default/dynamics.js (modified) (2 diffs)
-
plog-content/themes/default/footer.php (modified) (2 diffs)
-
plog-content/themes/default/gallery.css (modified) (14 diffs)
-
plog-content/themes/default/header.php (modified) (3 diffs)
-
plog-content/themes/default/meta.php (modified) (1 diff)
-
plog-content/themes/default/picture.php (modified) (4 diffs)
-
plog-content/themes/default/search.php (modified) (2 diffs)
-
plog-content/themes/default/slideshow.php (modified) (3 diffs)
-
plog-content/themes/default/theme_functions.php (added)
-
plog-content/themes/lucid/404.php (modified) (1 diff)
-
plog-content/themes/lucid/album.php (modified) (3 diffs)
-
plog-content/themes/lucid/collection.php (modified) (2 diffs)
-
plog-content/themes/lucid/collections.php (modified) (2 diffs)
-
plog-content/themes/lucid/comments.php (modified) (4 diffs)
-
plog-content/themes/lucid/dynamics.js (modified) (2 diffs)
-
plog-content/themes/lucid/footer.php (modified) (1 diff)
-
plog-content/themes/lucid/gallery.css (modified) (6 diffs)
-
plog-content/themes/lucid/header.php (modified) (2 diffs)
-
plog-content/themes/lucid/picture.php (modified) (4 diffs)
-
plog-content/themes/lucid/search.php (modified) (3 diffs)
-
plog-content/themes/lucid/slideshow.php (modified) (3 diffs)
-
plog-content/themes/lucid/theme_functions.php (added)
-
plog-includes/lib/exifer1_7/exif.php (modified) (3 diffs)
-
plog-includes/lib/exifer1_7/makers/panasonic.php (modified) (5 diffs)
-
plog-includes/plog-functions.php (modified) (15 diffs)
-
plog-load-config.php (modified) (2 diffs)
-
plog-remote.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plog-admin/_upgrade.php
r585 r586 54 54 fwrite($fh,"<?php\n"); 55 55 fwrite($fh,$cfg_file); 56 fwrite($fh,"?> \n");56 fwrite($fh,"?>"); 57 57 fclose($fh); 58 58 … … 226 226 227 227 // selectable thumbnails 228 maybe_add_column(TABLE_PREFIX.'albums','thumbnail_id',"int(11) NOT NULL DEFAULT0");229 maybe_add_column(TABLE_PREFIX.'collections','thumbnail_id',"int(11) NOT NULL DEFAULT0");228 maybe_add_column(TABLE_PREFIX.'albums','thumbnail_id',"int(11) NOT NULL default 0"); 229 maybe_add_column(TABLE_PREFIX.'collections','thumbnail_id',"int(11) NOT NULL default 0"); 230 230 231 231 // … … 238 238 239 239 maybe_add_column(TABLE_PREFIX.'pictures','description',"text"); 240 maybe_add_column(TABLE_PREFIX.'pictures','EXIF_iso',"varchar(64) NOT NULL default"); 240 241 241 242 // user definable theme directory -
trunk/plog-admin/css/login.css
r585 r586 43 43 padding: 0.25em; 44 44 margin-left: 0; 45 width: 70px;45 width: auto; 46 46 } 47 47 -
trunk/plog-admin/includes/install-functions.php
r561 r586 198 198 `EXIF_flash` varchar(64) NOT NULL default '', 199 199 `EXIF_aperture` varchar(64) NOT NULL default '', 200 `EXIF_iso` varchar(64) NOT NULL default '', 200 201 `allow_comments` int(11) NOT NULL default '1', 201 202 PRIMARY KEY (id), -
trunk/plog-admin/plog-admin-functions.php
r585 r586 148 148 $exif["flash"] = (isset($exif_raw["SubIFD"]["Flash"])) ? $exif_raw["SubIFD"]["Flash"] : ''; 149 149 $exif["aperture"] = (isset($exif_raw["SubIFD"]["FNumber"])) ? $exif_raw["SubIFD"]["FNumber"] : ''; 150 $exif["iso"] = (isset($exif_raw["SubIFD"]["ISOSpeedRatings"])) ? $exif_raw["SubIFD"]["ISOSpeedRatings"] : ''; 150 151 151 152 $picture_path = $create_path . "/" . $final_filename; … … 164 165 `EXIF_flash`, 165 166 `EXIF_aperture`, 167 `EXIF_iso`, 166 168 `caption`, 167 169 `description`) … … 179 181 '".mysql_real_escape_string($exif["flash"])."', 180 182 '".mysql_real_escape_string($exif["aperture"])."', 183 '".mysql_real_escape_string($exif["iso"])."', 181 184 '".mysql_real_escape_string($caption)."', 182 185 '".mysql_real_escape_string($desc)."')"; … … 1383 1386 $output .= "\n\t\t\t\t<td><p id=\"picture-description-" . plogger_get_picture_id() ."\">" . plogger_get_picture_description() . "</p></td>"; 1384 1387 $allow_comments = (1 == plogger_picture_allows_comments()) ? plog_tr("Yes") : plog_tr("No"); 1385 $output .= "\n\t\t\t\t<td >" . $allow_comments . "</td>";1388 $output .= "\n\t\t\t\t<td style=\"text-align: center;\">" . $allow_comments . "</td>"; 1386 1389 $output .= "\n\t\t\t\t" . '<td style="text-align: center;"><a href="?action=edit-picture&id=' . $id; 1387 1390 if (isset($_GET["entries_per_page"])) $output .= '&entries_per_page=' . intval($_GET["entries_per_page"]); -
trunk/plog-admin/plog-manage.php
r585 r586 200 200 <label accesskey="c" for="caption">' . plog_tr('<em>C</em>aption') . ':</label><br /> 201 201 <input size="80" name="caption" id="caption" value="'.htmlspecialchars(SmartStripSlashes($photo['caption'])).'" /><br /> 202 <label >' . plog_tr('Description') . ':</label><br />202 <label for="description">' . plog_tr('Description') . ':</label><br /> 203 203 <textarea name="description" id="description" cols="60" rows="5">'.htmlspecialchars(SmartStripSlashes($photo['description'])).'</textarea><br /> 204 204 <label for="allow_comments" accesskey="w">' . plog_tr('Allo<em>w</em> Comments') . '?</label> <input type="checkbox" id="allow_comments" name="allow_comments" value="1"'." $state /><br /><br />"; … … 239 239 break; 240 240 case "update-collection": 241 // update the collection info mration241 // update the collection information 242 242 if (!isset($_REQUEST['cancel'])) { 243 243 $action_result = update_collection($_POST['pid'], $_POST['name'], $_POST['description'], $_POST['thumbnail_id']); -
trunk/plog-admin/plog-options.php
r570 r586 178 178 <table class="option-table"> 179 179 <tr class="alt"> 180 <td class="left"><label for="feed_language">' . plog_tr(' Language:') . '</label> <a href="http://www.w3.org/TR/REC-html40/struct/dirlang.html#langcodes">' . plog_tr('(language codes)') . '</a></td>180 <td class="left"><label for="feed_language">' . plog_tr('RSS Language:') . '</label> <a href="http://www.w3.org/TR/REC-html40/struct/dirlang.html#langcodes">' . plog_tr('(language codes)') . '</a></td> 181 181 <td class="right"><input size="40" type="text" id="feed_language" name="feed_language" value="'.$config['feed_language'].'" /></td> 182 182 </tr> -
trunk/plog-content/themes/air/404.php
r568 r586 1 1 <?php plogger_get_header(); ?> 2 2 3 <div id="thumbnail _container">3 <div id="thumbnail-container"> 4 4 5 5 <div id="error-404"> 6 6 <h2><?php echo plog_tr('404 - Not Found')?></h2> 7 7 <p><?php echo plog_tr('We are sorry, but the page that you are looking for does not exist. You might try using the <strong>Search</strong> feature to locate the image or album you are looking for.')?></p> 8 </div> 8 </div><!-- /error-404 --> 9 9 10 </div><!-- /thumbnail container -->10 </div><!-- /thumbnail-container --> 11 11 12 12 <?php plogger_get_footer(); ?> -
trunk/plog-content/themes/air/album.php
r572 r586 20 20 </li><!-- /thumbnail --> 21 21 <?php endwhile; ?> 22 </ul><!-- /slides -->22 </ul><!-- /slides clearfix --> 23 23 <?php else : ?> 24 24 <div id="no-pictures-msg"> 25 25 <h2><?php echo plog_tr('No Images') ?></h2> 26 26 <p><?php echo plog_tr('Sorry, but there are no images in this album yet.') ?></p> 27 </div> 27 </div><!-- /no-pictures-msg --> 28 28 <?php endif; ?> 29 29 30 </div><!-- /thumbnail container-->30 </div><!-- /thumbnail-container clearfix --> 31 31 <?php plogger_get_footer(); ?> -
trunk/plog-content/themes/air/collection.php
r572 r586 27 27 <h2><?php echo plog_tr('No Albums') ?></h2> 28 28 <p><?php echo plog_tr('Sorry, but there are no images or albums in this collection yet.') ?></p> 29 </div> 29 </div><!-- /no-pictures-msg --> 30 30 <?php endif; ?> 31 </div><!-- /thumbnail-container -->31 </div><!-- /thumbnail-container clearfix --> 32 32 <?php plogger_get_footer(); ?> -
trunk/plog-content/themes/air/collections.php
r572 r586 22 22 </div><!-- /collections --> 23 23 24 <?php else : ?>24 <?php else : ?> 25 25 <div id="no-pictures-msg"> 26 26 <h2><?php echo plog_tr('No Images') ?></h2> 27 27 <p><?php echo plog_tr('Sorry, but there are no images in this gallery yet.') ?></p> 28 </div> 29 <?php endif; ?>30 </div><!-- /thumbnail-container-->28 </div><!-- /no-pictures-msg --> 29 <?php endif; ?> 30 </div><!-- /thumbnail-container clearfix --> 31 31 <?php plogger_get_footer(); ?> -
trunk/plog-content/themes/air/comments.php
r573 r586 3 3 <h2 class="comment-heading"><?php echo plog_tr('Comments'); ?>:</h2> 4 4 5 <? if (plogger_picture_has_comments()) { ?>5 <?php if (plogger_picture_has_comments()) { ?> 6 6 <ol class="comments"> 7 <? $counter = 0;7 <?php $counter = 0; 8 8 while(plogger_picture_has_comments()) { 9 9 plogger_load_comment(); … … 11 11 $author = plogger_get_comment_author(); 12 12 // this code alternates the background color every other comment 13 $comment_class = ($counter % 2) ? "comment _alt" : "comment";13 $comment_class = ($counter % 2) ? "comment-alt" : "comment"; 14 14 ?> 15 15 <li class="<?php echo $comment_class; ?>"> 16 16 <p><?php echo plogger_get_comment_text(); ?></p> 17 17 <cite><?php echo plog_tr('Comment by'); ?> <?php echo (trim($url) != '') ? "<a href=\"$url\" rel=\"nofollow\">$author</a>" : "$author"; ?> - <?php echo plog_tr('posted on'); ?> <?php echo plogger_get_comment_date(); ?></cite> 18 </li> 18 </li><!-- /comment comment-alt --> 19 19 <?php $counter++; 20 20 } ?> 21 </ol> 21 </ol><!-- /comments --> 22 22 <?php } else { ?> 23 23 <p><?php echo plog_tr('No comments yet'); ?></p> … … 55 55 </p> 56 56 <p class="comment-input-button"><input class="submit" name="submit" type="submit" tabindex="5" value="<?php echo plog_tr('Post Comment'); ?>" /></p> 57 </form> 57 </form><!-- /commentform --> 58 58 59 59 <?php } else { ?> -
trunk/plog-content/themes/air/dynamics.js
r585 r586 31 31 httpRequest.send(null); 32 32 33 document.getElementById('exif _data').style.display = 'none';33 document.getElementById('exif-data').style.display = 'none'; 34 34 document.getElementById('hide_details').style.display = 'none'; // We have to switch visible tag 35 35 document.getElementById('show_details').style.display = 'inline'; // due to translations … … 52 52 httpRequest.send(null); 53 53 54 document.getElementById('exif _data').style.display = '';54 document.getElementById('exif-data').style.display = ''; 55 55 document.getElementById('hide_details').style.display = 'inline'; // We have to switch visible tag 56 56 document.getElementById('show_details').style.display = 'none'; // due to translations -
trunk/plog-content/themes/air/footer.php
r557 r586 24 24 <?php } ?> 25 25 <?php echo plogger_link_back(); ?> 26 <div class="credit"><a href="http://www.ardamis.com/"><?php echo plog_tr('Design by')?> ardamis.com</a></div> 26 <div class="credit"><a href="http://www.ardamis.com/"><?php echo plog_tr('Design by')?> ardamis.com</a></div><!-- /credit --> 27 27 28 </div><!-- /footer -->28 </div><!-- /footer clearfix --> 29 29 <?php echo plogger_download_selected_form_end(); ?> 30 30 31 </div><!-- / wrapper -->31 </div><!-- /plog-wrapper --> -
trunk/plog-content/themes/air/gallery.css
r572 r586 33 33 } 34 34 35 # wrapper {35 #plog-wrapper { 36 36 /* #wrapper contains the entire content of the page; this is where one would center the page content, and give it a definite width, this is also where one would put borders around the content of the page */ 37 37 margin: 0 auto 0; … … 101 101 } 102 102 103 #breadcrumb _links {103 #breadcrumb-links { 104 104 /* #breadcrumb_links controls the breadcrumbs text that isn't a link */ 105 105 float: left; … … 108 108 } 109 109 110 #breadcrumb _links a {110 #breadcrumb-links a { 111 111 /* #breadcrumb_links a controls the breadcrumbs text that is a link */ 112 112 color: #fff; … … 114 114 } 115 115 116 #breadcrumb _links a:hover, #slideshow a:hover {116 #breadcrumb-links a:hover, #slideshow a:hover { 117 117 /* #breadcrumb_links a:hover, #slideshow a:hover a controls hover behavior of the breadcrumbs text that is a link */ 118 118 color: #fff; … … 362 362 } 363 363 364 /* exif stuff is for the 'camera details' table */365 366 #exif _toggle {364 /* Exif stuff is for the 'camera details' table */ 365 366 #exif-toggle { 367 367 margin: 0 0 20px 0; 368 368 padding: 0; … … 372 372 } 373 373 374 #exif _table {375 } 376 377 #exif _data {374 #exif-table { 375 } 376 377 #exif-data { 378 378 margin: 0 auto 0; 379 379 text-align: left; 380 380 } 381 381 382 #exif_data td { 383 padding: 0 20px; 382 #exif-data td.exif-label { 383 text-align: right; 384 padding-right: 10px; 385 width: 50%; 386 } 387 388 #exif-data td.exif-info { 389 text-align: left; 390 padding-right: 10px; 391 width: 50%; 384 392 } 385 393 … … 432 440 } 433 441 434 .comment, .comment _alt {442 .comment, .comment-alt { 435 443 /* .comment, .comment_alt control those elements that all comments have in common */ 436 444 border-top: 1px solid #dfded6; … … 440 448 } 441 449 442 .comment _alt {450 .comment-alt { 443 451 /* .comment_alt controls those elements that every other comment has in common, eg: a different colored background */ 444 452 background: #effbfb; … … 534 542 } 535 543 536 .page _link {544 .page-link { 537 545 /* .page_link controls the page numbers (link and non-link) */ 538 546 padding-left: 1px; -
trunk/plog-content/themes/air/header.php
r572 r586 1 <div id="wrapper"> 1 <?php include('theme_functions.php'); ?> 2 <!--Output highest level container division--> 3 <div id="plog-wrapper"> 2 4 3 5 <div id="header"> … … 13 15 <?php echo plogger_print_button(); ?> 14 16 15 </div> 17 </div><!-- /slideshow --> 16 18 <?php echo generate_breadcrumb("Home", " | "); ?> 17 19 -
trunk/plog-content/themes/air/picture.php
r572 r586 29 29 30 30 <p id="picture-description"><?php echo plogger_get_picture_description(); ?></p> 31 <div id="exif _toggle"><?php echo $detail_link; ?></div>31 <div id="exif-toggle"><?php echo $detail_link; ?></div> 32 32 <div id="exif-toggle-container"> 33 33 <?php echo generate_exif_table(plogger_get_picture_id()); ?> … … 48 48 <h2><?php echo plog_tr('Not Found') ?></h2> 49 49 <p><?php echo plog_tr('Sorry, but the image that you requested does not exist.') ?></p> 50 </div> 50 </div><!-- /no-pictures-msg --> 51 51 <?php endif; ?> 52 52 </div><!-- /big-picture-container --> -
trunk/plog-content/themes/air/search.php
r572 r586 17 17 <a href="<?php echo plogger_get_picture_url(); ?>"><img id="thumb-<?php echo plogger_get_picture_id(); ?>" class="photos" src="<?php echo plogger_get_picture_thumb(); ?>" width="<?php echo $thumb_width; ?>px" height="<?php echo $thumb_height; ?>px" title="<?php echo $picture_caption; ?>" alt="<?php echo $picture_caption; ?>" /></a> 18 18 <div class="checkbox"><?php echo plogger_download_checkbox(plogger_get_picture_id()); ?></div> 19 <p style="width: <?php echo $thumb_width; ?>px;"><?php echo $picture_caption; ?></p>19 <p style="width: <?php echo $thumb_width; ?>px;"><?php echo $picture_caption; ?></p> 20 20 </li><!-- /thumbnail --> 21 21 <?php endwhile; ?> 22 </ul><!-- /slides -->22 </ul><!-- /slides clearfix --> 23 23 <?php else : ?> 24 24 <div id="no-pictures-msg"> 25 25 <h2><?php echo plog_tr('Search Results') ?></h2> 26 26 <p><?php echo plog_tr('Sorry, but there are no images that matched your search terms.') ?></p> 27 </div> 27 </div><!-- /no-pictures-msg --> 28 28 <?php endif; ?> 29 29 30 </div><!-- /thumbnail-container -->30 </div><!-- /thumbnail-container clearfix --> 31 31 <?php plogger_get_footer(); ?> -
trunk/plog-content/themes/air/slideshow.php
r585 r586 46 46 <h2><?php echo plog_tr('No Images') ?></h2> 47 47 <p><?php echo plog_tr('Sorry, but there are no images in this album to create a slideshow with.') ?></p> 48 </div> 48 </div><!-- /no-pictures-msg --> 49 49 <?php endif; ?> 50 50 -
trunk/plog-content/themes/default/404.php
r568 r586 1 1 <?php plogger_get_header(); ?> 2 2 3 <div id="thumbnail _container">3 <div id="thumbnail-container"> 4 4 5 5 <div id="error-404"> 6 6 <h2><?php echo plog_tr('404 - Not Found')?></h2> 7 7 <p><?php echo plog_tr('We are sorry, but the page that you are looking for does not exist. You might try using the <strong>Search</strong> feature to locate the image or album you are looking for.')?></p> 8 </div> 8 </div><!-- /error-404 --> 9 9 10 </div><!-- /thumbnail container -->10 </div><!-- /thumbnail-container --> 11 11 12 12 <?php plogger_get_footer(); ?> -
trunk/plog-content/themes/default/album.php
r572 r586 1 1 <?php plogger_get_header(); ?> 2 2 3 <div id="thumbnail _container">3 <div id="thumbnail-container"> 4 4 5 5 <?php if (plogger_has_pictures()) : ?> … … 32 32 <h2><?php echo plog_tr('No Images') ?></h2> 33 33 <p><?php echo plog_tr('Sorry, but there are no images in this album yet.') ?></p> 34
