source: trunk/plog-content/themes/lucid/slideshow.php @ 557

Revision 557, 1.0 KB checked in by kimparsell, 2 years ago (diff)

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)

Line 
1<?php plogger_get_header(); ?>
2
3                <div id="thumbnail_container">
4
5<?php if (plogger_has_pictures()) : ?>
6                        <div id="inner_wrapper">
7
8                                <div id="big-picture-container">
9
10                                        <script type="text/javascript">
11                                                <!--
12                                                slides = new slideshow("slides");
13                                                slides.prefetch = 2;
14                                                slides.timeout = 4000;
15<?php while(plogger_has_pictures()) : ?>
16<?php $pic = plogger_load_picture(); ?>
17                                                // output a line of javascript for each image
18                                                s = new slide("<?php echo plogger_get_picture_thumb(THUMB_LARGE); ?>",
19                                                "<?php echo plogger_get_source_picture_url(); ?>",
20                                                "<?php echo plogger_get_picture_caption(); ?>",
21                                                "_self","","","<?php echo basename($pic['path']); ?>");
22                                                slides.add_slide(s);
23<?php endwhile; ?>
24                                                // -->
25                                        </script>
26
27                                </div><!-- /big-picture-container -->
28
29                        </div><!-- /inner_wrapper -->
30
31<?php echo generate_slideshow_interface(); ?>
32<?php else : ?>
33                        <div id="no-pictures-msg">No pictures to show.</div>
34<?php endif; ?>
35
36                </div><!-- /thumbnail container -->
37<?php plogger_get_footer(); ?>
Note: See TracBrowser for help on using the repository browser.