2 // vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4:
3 // +--------------------------------------------------------------------+
4 // | Luca's Website (L'SWS) |
5 // +--------------------------------------------------------------------+
6 // | This file is part of L'SWS. |
8 // | L'SWS is free software; you can redistribute it and/or modify it |
9 // | under the terms of the GNU General Public License as published by |
10 // | the Free Software Foundation; either version 2 of the License, or |
11 // | (at your option) any later version. |
13 // | L'SWS is distributed in the hope that it will be useful, but |
14 // | WITHOUT ANY WARRANTY; without even the implied warranty of |
15 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
16 // | General Public License for more details. |
18 // | You should have received a copy of the GNU General Public License |
19 // | along with Hooks; if not, write to the Free Software Foundation, |
20 // | Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 // +--------------------------------------------------------------------+
22 // | Created: vie ene 31 00:53:31 ART 2003 |
23 // | Authors: Leandro Lucarella <luca@lugmen.org.ar> |
24 // +--------------------------------------------------------------------+
30 * Draws an album item.
32 * @param string $photo Photo file.
33 * @param string $desc Description.
34 * @param string $thumb Thumbnail file.
35 * @param bool $selected True if this photo is selected.
36 * @param int $current Current photo number.
37 * @param int $total Total number of photos.
42 $selected = @$args[4];
48 <TD class="albumitem">
49 <A class="albumitem" href="photo?photo=<?= urlencode( $photo ) ?>" title="<?= $desc ?>"><IMG alt="<?= $desc ?>" src="<?= $thumb ?>" class="albumitem"></A>