source: trunk/gallery/themes/default/collection.php@ 586

Last change on this file since 586 was 586, checked in by barny, 16 years ago

*Galerie

File size: 975 bytes
Line 
1<?php
2plogger_get_header();
3print '<div id="thumbnail_container">';
4if (plogger_has_albums()) {
5 print '<ul class="slides">';
6
7 while (plogger_has_albums()){
8 plogger_load_album();
9 $num_pictures = plogger_album_picture_count();
10
11 print '<li class="thumbnail"><div class="tag"><a href="' . plogger_get_album_url() . '">';
12
13 $desc = plogger_get_album_description();
14 // generate XHTML with thumbnail and link to picture view.
15 print '<img class="photos" src="'.plogger_get_album_thumb().'" title="'.$desc.'" alt="'.$desc.'" />';
16
17 print '</a> <br />';
18
19 print plogger_download_checkbox(plogger_get_album_id());
20
21 print plogger_get_album_name().' <br /><div class="meta-header">(';
22 print $num_pictures.' ';
23 print ($num_pictures == 1) ? "picture" : "pictures";
24
25 print ')</div></div></li>';
26
27 }
28 print'</ul>';
29}
30else
31{
32 print "No pictures in this collection!";
33}
34print '</form></div>';
35plogger_get_footer();
36?>
37
Note: See TracBrowser for help on using the repository browser.