X-Git-Url: http://www.average.org/gitweb/?p=mkgallery.git;a=blobdiff_plain;f=mkgallery.pl;h=0c13f238df017d732b6bc0eeb827e89b4b680299;hp=7efd5c4209209b42e03497f7b6ae9ee29e23bad2;hb=60693a3a7ccafdbedbb28155d86f51dd3b07329b;hpb=c753aab96a7fc45d6d9f751e5b2cf76fc45a402b diff --git a/mkgallery.pl b/mkgallery.pl index 7efd5c4..0c13f23 100755 --- a/mkgallery.pl +++ b/mkgallery.pl @@ -1,6 +1,6 @@ #!/usr/bin/perl -# $Id$ +my $version='$Id$'; # Recursively create image gallery index and slideshow wrappings. # Makes use of modified "slideshow" javascript by Samuel Birch @@ -489,14 +489,16 @@ sub makeaux { -head=>meta({-http_equiv=>'Refresh', -content=>"3; url=$fwdref"}), -style=>{-src=>$inc."gallery.css"}, - ),"\n"; + ),"\n", + comment("Created by ".$version),"\n"; } else { print $F start_html(-title=>$title, -encoding=>"utf-8", -bgcolor=>"#808080", -style=>{-src=>$inc."gallery.css"}, - ),"\n"; + ),"\n", + comment("Created by ".$version),"\n"; } print $F start_table({-class=>'navi'}),start_Tr,"\n", td(a({-href=>"../index.html"},"Index")),"\n", @@ -530,6 +532,7 @@ sub makeaux { {-src=>$inc."urlparser.js"}, {-src=>$inc."infopage.js"}, ]),"\n", + comment("Created by ".$version),"\n", start_center,"\n", h1($title),"\n", table({-class=>'ipage'}, @@ -576,8 +579,8 @@ sub startindex { {-src=>$inc."multibox.js"}, {-src=>$inc."slideshow.js"}, {-src=>$inc."gallery.js"}, - {-code=>"var incPrefix='$inc';"} - ]), + ]),"\n", + comment("Created by ".$version),"\n", a({-href=>"../index.html"},"UP"),"\n", start_center,"\n", h1($title),"\n",