Hide the viewing resolution choice.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 19 Nov 2015 18:38:34 +0000 (19:38 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 19 Nov 2015 18:38:34 +0000 (19:38 +0100)
19 files changed:
perl/Sesse/pr0n/Index.pm
templates/bilder.knatten.com/viewres [deleted file]
templates/bilder.knatten.com/viewres-original [deleted file]
templates/bilder.knatten.com/viewres-unlimited [deleted file]
templates/default/viewres [deleted file]
templates/default/viewres-original [deleted file]
templates/default/viewres-unlimited [deleted file]
templates/images.tg05.gathering.org/viewres [deleted file]
templates/images.tg05.gathering.org/viewres-original [deleted file]
templates/images.tg05.gathering.org/viewres-unlimited [deleted file]
templates/itk-bilder.samfundet.no/viewres [deleted file]
templates/itk-bilder.samfundet.no/viewres-original [deleted file]
templates/itk-bilder.samfundet.no/viewres-unlimited [deleted file]
templates/skoyen.bilder.knatten.com/viewres [deleted file]
templates/skoyen.bilder.knatten.com/viewres-original [deleted file]
templates/skoyen.bilder.knatten.com/viewres-unlimited [deleted file]
templates/skoyen.bildereks.knatten.com/viewres [deleted file]
templates/skoyen.bildereks.knatten.com/viewres-original [deleted file]
templates/skoyen.bildereks.knatten.com/viewres-unlimited [deleted file]

index fc8be72207a93c45e067bf217f3551ebb6175cf7..329aaed3cf02d3f0ce7bd13aa2c855856a144f3d 100644 (file)
@@ -212,7 +212,6 @@ sub handler {
                        Sesse::pr0n::Templates::print_template($r, $io, "overloadmode");
                }
 
-               print_viewres($r, $io, $event, \%settings, \%defsettings);
                print_selected($r, $io, $event, \%settings, \%defsettings) if ($num_selected > 0);
                print_fullscreen($r, $io, $event, \%settings, \%defsettings);
                print_nextprev($r, $io, $event, $where, \%settings, \%defsettings);
@@ -440,18 +439,6 @@ sub print_changes {
        $io->print("    </p>\n");
 }
 
-sub print_viewres {
-       my ($r, $io, $event, $settings, $defsettings) = @_;
-       my @alternatives = qw(320x256 512x384 640x480 800x600 1024x768 1152x864 1280x960 1400x1050 1600x1200 1920x1440 2048x1536 2304x1728);
-       chomp (my $unlimited = Sesse::pr0n::Templates::fetch_template($r, 'viewres-unlimited'));
-       chomp (my $original = Sesse::pr0n::Templates::fetch_template($r, 'viewres-original'));
-       push @alternatives, [ $unlimited, -2, -2 ];
-       push @alternatives, [ $original, -1, -1 ];
-
-       print_changes($r, $io, $event, 'viewres', $settings, $defsettings,
-                     'xres', 'yres', \@alternatives);
-}
-
 sub print_nextprev {
        my ($r, $io, $event, $where, $settings, $defsettings) = @_;
        my $start = $settings->{'start'};
diff --git a/templates/bilder.knatten.com/viewres b/templates/bilder.knatten.com/viewres
deleted file mode 100644 (file)
index 9259f61..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Skalér ned alle bilder (når man klikker på dem) til
diff --git a/templates/bilder.knatten.com/viewres-original b/templates/bilder.knatten.com/viewres-original
deleted file mode 100644 (file)
index d7d77af..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Alltid originalfil
diff --git a/templates/bilder.knatten.com/viewres-unlimited b/templates/bilder.knatten.com/viewres-unlimited
deleted file mode 100644 (file)
index 0999f6a..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Ingen skalering
diff --git a/templates/default/viewres b/templates/default/viewres
deleted file mode 100644 (file)
index 8f183bd..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Maximum viewing resolution
diff --git a/templates/default/viewres-original b/templates/default/viewres-original
deleted file mode 100644 (file)
index 2db1c40..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Always original file
diff --git a/templates/default/viewres-unlimited b/templates/default/viewres-unlimited
deleted file mode 100644 (file)
index fd50299..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Unlimited
diff --git a/templates/images.tg05.gathering.org/viewres b/templates/images.tg05.gathering.org/viewres
deleted file mode 100644 (file)
index 8f183bd..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Maximum viewing resolution
diff --git a/templates/images.tg05.gathering.org/viewres-original b/templates/images.tg05.gathering.org/viewres-original
deleted file mode 100644 (file)
index 2db1c40..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Always original file
diff --git a/templates/images.tg05.gathering.org/viewres-unlimited b/templates/images.tg05.gathering.org/viewres-unlimited
deleted file mode 100644 (file)
index fd50299..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Unlimited
diff --git a/templates/itk-bilder.samfundet.no/viewres b/templates/itk-bilder.samfundet.no/viewres
deleted file mode 100644 (file)
index 9259f61..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Skalér ned alle bilder (når man klikker på dem) til
diff --git a/templates/itk-bilder.samfundet.no/viewres-original b/templates/itk-bilder.samfundet.no/viewres-original
deleted file mode 100644 (file)
index d7d77af..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Alltid originalfil
diff --git a/templates/itk-bilder.samfundet.no/viewres-unlimited b/templates/itk-bilder.samfundet.no/viewres-unlimited
deleted file mode 100644 (file)
index 0999f6a..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Ingen skalering
diff --git a/templates/skoyen.bilder.knatten.com/viewres b/templates/skoyen.bilder.knatten.com/viewres
deleted file mode 100644 (file)
index 9259f61..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Skalér ned alle bilder (når man klikker på dem) til
diff --git a/templates/skoyen.bilder.knatten.com/viewres-original b/templates/skoyen.bilder.knatten.com/viewres-original
deleted file mode 100644 (file)
index d7d77af..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Alltid originalfil
diff --git a/templates/skoyen.bilder.knatten.com/viewres-unlimited b/templates/skoyen.bilder.knatten.com/viewres-unlimited
deleted file mode 100644 (file)
index 0999f6a..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Ingen skalering
diff --git a/templates/skoyen.bildereks.knatten.com/viewres b/templates/skoyen.bildereks.knatten.com/viewres
deleted file mode 100644 (file)
index 9259f61..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Skalér ned alle bilder (når man klikker på dem) til
diff --git a/templates/skoyen.bildereks.knatten.com/viewres-original b/templates/skoyen.bildereks.knatten.com/viewres-original
deleted file mode 100644 (file)
index d7d77af..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Alltid originalfil
diff --git a/templates/skoyen.bildereks.knatten.com/viewres-unlimited b/templates/skoyen.bildereks.knatten.com/viewres-unlimited
deleted file mode 100644 (file)
index 0999f6a..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Ingen skalering