From 011ed48f326216672f962e128f96cb83cef28460 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 28 Feb 2011 18:11:19 +0100 Subject: Switch from lightbox to shadowbox --- lib/App/Dthumb.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/App/Dthumb.pm b/lib/App/Dthumb.pm index a8014de..ad927da 100755 --- a/lib/App/Dthumb.pm +++ b/lib/App/Dthumb.pm @@ -35,7 +35,6 @@ sub new { $ref->{current_file_id} = 0; $ref->{config}->{file_index} = 'index.xhtml'; - $ref->{config}->{file_lightbox} = 'lightbox.js'; $ref->{config}->{dir_thumbs} = '.thumbs'; $ref->{config}->{dir_data} = '.dthumb'; @@ -95,7 +94,8 @@ sub create_files { mkdir($datadir); } - for my $file (qw(lightbox.js overlay.png loading.gif close.gif)) { + for my $file (qw(close.png loading.gif next.png pause.png play.png + previous.png shadowbox.css shadowbox.js)) { open(my $fh, '>', "${datadir}/${file}"); print {$fh} $self->{data}->get($file); close($fh); @@ -134,7 +134,7 @@ sub create_thumbnail_html { $div_height, ); $self->{html} .= sprintf( - "\t\n" + "\t\n" . "\t\t\"%s\"\n", $file, $self->{config}->{dir_thumbs}, -- cgit v1.2.3