]> git.sesse.net Git - pr0n/commitdiff
Move the filter link to a slightly more logical, but uglier place.
authorSteinar H. Gunderson <sesse@debian.org>
Wed, 25 Jul 2007 23:55:14 +0000 (01:55 +0200)
committerSteinar H. Gunderson <sesse@debian.org>
Wed, 25 Jul 2007 23:55:14 +0000 (01:55 +0200)
perl/Sesse/pr0n/Index.pm
templates/bilder.knatten.com/submittedby
templates/default/submittedby
templates/images.tg05.gathering.org/submittedby
templates/itk-bilder.samfundet.no/submittedby
templates/skoyen.bilder.knatten.com/submittedby
templates/skoyen.bildereks.knatten.com/submittedby

index 9aa05fceb6f632b31e2d8a687c3b52bfc6e631cf..ef8bb543d0b205aba78ea44add76c035ff606649 100644 (file)
@@ -328,8 +328,9 @@ sub handler {
                while (my $ref = $q->fetchrow_hashref()) {
                        my $imgsz = "";
                        my $takenby = $ref->{'takenby'};
+                       my $day = '';
                        if (defined($ref->{'day'})) {
-                                $takenby .= ", " . $ref->{'day'};
+                               $day = ", " . $ref->{'day'};
                        }
 
                        if ($takenby ne $lastupl) {
@@ -350,7 +351,7 @@ sub handler {
                                my $url = "/$event/" . Sesse::pr0n::Common::get_query_string(\%newsettings, \%defsettings);
                                
                                $r->print("    <h2>");
-                               Sesse::pr0n::Templates::print_template($r, "submittedby", { author => $lastupl, action => $action, filterurl => $url });
+                               Sesse::pr0n::Templates::print_template($r, "submittedby", { author => $lastupl, action => $action, filterurl => $url, date => $day });
                                print_fullscreen_fromhere($r, $event, \%settings, \%defsettings, $img_num);
                                $r->print("</h2>\n");
 
index 0322a28cbd5d3c961b9d208709f7bb0704ffbe2a..dee660ddeeb897e2ea5c35a1b86fcfb963cd4b04 100644 (file)
@@ -1 +1 @@
-Tatt av: %AUTHOR% <span class="filter">(<a href="%FILTERURL%">%ACTION%</a>)</span>
+Tatt av: %AUTHOR% <span class="filter">(<a href="%FILTERURL%">%ACTION%</a>)</span>%DATE%
index 9f20f32935c98691507718d1346608cbbd0f83a1..d1481f8dc2a39b9206ba5b98d12ab16e82a4d82a 100644 (file)
@@ -1 +1 @@
-Taken by: %AUTHOR% <span class="filter">(<a href="%FILTERURL%">%ACTION%</a>)</span>
+Taken by: %AUTHOR% <span class="filter">(<a href="%FILTERURL%">%ACTION%</a>)</span>%DATE%
index 9f20f32935c98691507718d1346608cbbd0f83a1..d1481f8dc2a39b9206ba5b98d12ab16e82a4d82a 100644 (file)
@@ -1 +1 @@
-Taken by: %AUTHOR% <span class="filter">(<a href="%FILTERURL%">%ACTION%</a>)</span>
+Taken by: %AUTHOR% <span class="filter">(<a href="%FILTERURL%">%ACTION%</a>)</span>%DATE%
index 0322a28cbd5d3c961b9d208709f7bb0704ffbe2a..dee660ddeeb897e2ea5c35a1b86fcfb963cd4b04 100644 (file)
@@ -1 +1 @@
-Tatt av: %AUTHOR% <span class="filter">(<a href="%FILTERURL%">%ACTION%</a>)</span>
+Tatt av: %AUTHOR% <span class="filter">(<a href="%FILTERURL%">%ACTION%</a>)</span>%DATE%
index 0322a28cbd5d3c961b9d208709f7bb0704ffbe2a..dee660ddeeb897e2ea5c35a1b86fcfb963cd4b04 100644 (file)
@@ -1 +1 @@
-Tatt av: %AUTHOR% <span class="filter">(<a href="%FILTERURL%">%ACTION%</a>)</span>
+Tatt av: %AUTHOR% <span class="filter">(<a href="%FILTERURL%">%ACTION%</a>)</span>%DATE%
index 0322a28cbd5d3c961b9d208709f7bb0704ffbe2a..dee660ddeeb897e2ea5c35a1b86fcfb963cd4b04 100644 (file)
@@ -1 +1 @@
-Tatt av: %AUTHOR% <span class="filter">(<a href="%FILTERURL%">%ACTION%</a>)</span>
+Tatt av: %AUTHOR% <span class="filter">(<a href="%FILTERURL%">%ACTION%</a>)</span>%DATE%