summaryrefslogtreecommitdiff
path: root/modules/slideshow
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2008-11-21 20:13:28 +0000
committerTim Almdal <tnalmdal@shaw.ca>2008-11-21 20:13:28 +0000
commit6ec266faa69cd1efeb531d3b1494189989a84293 (patch)
treecc0f86c570e33959f8b80262125ac7b4883d2352 /modules/slideshow
parent1b834319f4d92c7845ae67236c2e7a1ea66eba6c (diff)
2nd attempt at inserting html by modules.
Diffstat (limited to 'modules/slideshow')
-rw-r--r--modules/slideshow/helpers/slideshow_block.php (renamed from modules/slideshow/helpers/slideshow.php)13
1 files changed, 11 insertions, 2 deletions
diff --git a/modules/slideshow/helpers/slideshow.php b/modules/slideshow/helpers/slideshow_block.php
index 5fadf36b..b31a5003 100644
--- a/modules/slideshow/helpers/slideshow.php
+++ b/modules/slideshow/helpers/slideshow_block.php
@@ -17,8 +17,17 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
-class slideshow {
- public static function link() {
+class slideshow_block_Core {
+ public static function head($theme) {
+ return "<script src=\"http://lite.piclens.com/current/piclens.js\" type=\"text/javascript\">" .
+ "</script>";
+ }
+
+ public static function album_header() {
+ return "<a href=\"javascript:PicLensLite.start()\" id=\"gSlideshowLink\" class=\"gButtonLink\">Slideshow</a>";
+ }
+
+ public static function photo() {
return "<a href=\"javascript:PicLensLite.start()\" id=\"gSlideshowLink\" class=\"gButtonLink\">Slideshow</a>";
}
}