]> www.average.org Git - mkgallery.git/blobdiff - mkgallery.pl
update todo
[mkgallery.git] / mkgallery.pl
index 5927e144567130db3092ed6ff3d9f5ea600465f3..822cd49845d1f900e40ef0c54d0911df1cdfc936 100755 (executable)
@@ -440,6 +440,8 @@ sub makeaux {
 sub startindex {
        my $self = shift;
        my $fn = $self->{-fullpath}.'/index.html';
+       my $block = $self->{-fullpath}.'/.noindex';
+       $fn = '/dev/null' if ( -f $block );
        my $IND;
        unless (open($IND,'>'.$fn)) {
                warn "cannot open $fn: $!";
@@ -529,13 +531,13 @@ sub img_entry {
                end_div,"\n";
 
        print $IND table({-class=>'slide'},Tr(td(
-               a({-href=>".html/$name-info.html",
+               a({-href=>".html/$name-info.html",-title=>'Image Info',
                        -onClick=>"return showIbox('$name');"},$title),
                br,
                a({-href=>$medium,-rel=>"lightbox",-title=>$title},
                        img({-src=>$thumb})),
                br,
-               a({-href=>$name},"($w x $h)"),
+               a({-href=>$name,-title=>'Original Image'},"($w x $h)"),
                br))),"\n";
 }