Refresh version of mootools, now slideshow works with IE8
[mkgallery.git] / mkindex.pl
index 5600ca30f498006e116b6ea32e9a610b8b07c0f1..cdce0480e0b0705ae96741f4fb65a1d4e6ca24b5 100755 (executable)
@@ -65,11 +65,13 @@ print h1("Gallery Index"),"\n";
 print start_table({-cellspacing=>3}),"\n";
 foreach my $yr(sort @years) {
        print start_Tr,"\n";
-       print td({-bgcolor=>"#ffc0ff"},$yr);
+       print td({-bgcolor=>"#ffc0ff"},
+               a({-href=>$yr.'/index.html'},$yr));
        for (my $mo=1;$mo<=12;$mo++) {
                my $dir=sprintf "%04d/%02d",$yr,$mo;
                if (-d $dir) {
-                       print td({-bgcolor=>"#ffffc0"},a({-href=>$dir.'/'},$mn[$mo]));
+                       print td({-bgcolor=>"#ffffc0"},
+                               a({-href=>$dir.'/index.html'},$mn[$mo]));
                } else {
                        print td({-bgcolor=>"#c0c0c0"},$mn[$mo]);
                }
@@ -80,7 +82,7 @@ print end_table,p,"\n";
 
 print start_table({-cellspacing=>3}),"\n";
 foreach my $sub(sort @subdirs) {
-       print Tr(td({-bgcolor=>"#ffffc0"},a({-href=>$sub.'/'},$sub)));
+       print Tr(td({-bgcolor=>"#ffffc0"},a({-href=>$sub.'/index.html'},$sub)));
 }
 print end_table,"\n";