]> git.sesse.net Git - pr0n/blobdiff - perl/Sesse/pr0n/Index.pm
Fix nobox + noscale.
[pr0n] / perl / Sesse / pr0n / Index.pm
index bf201acab472241574e7d3427bcb5b530a16a44d..00709aa352a24fbce73821966816a9acf97fe46c 100644 (file)
@@ -169,7 +169,7 @@ sub handler {
                                }
 
                                my $filename = $ref->{'filename'};
                                }
 
                                my $filename = $ref->{'filename'};
-                               my $uri = $filename;
+                               my $uri = $infobox . $filename;
                                if (defined($xres) && defined($yres) && $xres != -1) {
                                        $uri = "${xres}x$yres/$infobox$filename";
                                } elsif (defined($xres) && $xres == -1) {
                                if (defined($xres) && defined($yres) && $xres != -1) {
                                        $uri = "${xres}x$yres/$infobox$filename";
                                } elsif (defined($xres) && $xres == -1) {
@@ -212,7 +212,7 @@ sub handler {
                                }
 
                                my $filename = $ref->{'filename'};
                                }
 
                                my $filename = $ref->{'filename'};
-                               my $uri = $filename;
+                               my $uri = $infobox . $filename;
                                if (defined($xres) && defined($yres) && $xres != -1) {
                                        $uri = "${xres}x$yres/$infobox$filename";
                                } elsif (defined($xres) && $xres == -1) {
                                if (defined($xres) && defined($yres) && $xres != -1) {
                                        $uri = "${xres}x$yres/$infobox$filename";
                                } elsif (defined($xres) && $xres == -1) {
@@ -250,7 +250,7 @@ sub handler {
                                }
 
                                my $filename = $ref->{'filename'};
                                }
 
                                my $filename = $ref->{'filename'};
-                               my $uri = $filename;
+                               my $uri = $infobox . $filename;
                                if (defined($xres) && defined($yres) && $xres != -1) {
                                        $uri = "${xres}x$yres/$infobox$filename";
                                } elsif (defined($xres) && $xres == -1) {
                                if (defined($xres) && defined($yres) && $xres != -1) {
                                        $uri = "${xres}x$yres/$infobox$filename";
                                } elsif (defined($xres) && $xres == -1) {