From: Steinar H. Gunderson Date: Wed, 25 Jul 2007 23:55:14 +0000 (+0200) Subject: Move the filter link to a slightly more logical, but uglier place. X-Git-Url: https://git.sesse.net/?p=pr0n;a=commitdiff_plain;h=b145bfe051cc1c342cee2f77ecaa29720a39eb11 Move the filter link to a slightly more logical, but uglier place. --- diff --git a/perl/Sesse/pr0n/Index.pm b/perl/Sesse/pr0n/Index.pm index 9aa05fc..ef8bb54 100644 --- a/perl/Sesse/pr0n/Index.pm +++ b/perl/Sesse/pr0n/Index.pm @@ -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("

"); - 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("

\n"); diff --git a/templates/bilder.knatten.com/submittedby b/templates/bilder.knatten.com/submittedby index 0322a28..dee660d 100644 --- a/templates/bilder.knatten.com/submittedby +++ b/templates/bilder.knatten.com/submittedby @@ -1 +1 @@ -Tatt av: %AUTHOR% (%ACTION%) +Tatt av: %AUTHOR% (%ACTION%)%DATE% diff --git a/templates/default/submittedby b/templates/default/submittedby index 9f20f32..d1481f8 100644 --- a/templates/default/submittedby +++ b/templates/default/submittedby @@ -1 +1 @@ -Taken by: %AUTHOR% (%ACTION%) +Taken by: %AUTHOR% (%ACTION%)%DATE% diff --git a/templates/images.tg05.gathering.org/submittedby b/templates/images.tg05.gathering.org/submittedby index 9f20f32..d1481f8 100644 --- a/templates/images.tg05.gathering.org/submittedby +++ b/templates/images.tg05.gathering.org/submittedby @@ -1 +1 @@ -Taken by: %AUTHOR% (%ACTION%) +Taken by: %AUTHOR% (%ACTION%)%DATE% diff --git a/templates/itk-bilder.samfundet.no/submittedby b/templates/itk-bilder.samfundet.no/submittedby index 0322a28..dee660d 100644 --- a/templates/itk-bilder.samfundet.no/submittedby +++ b/templates/itk-bilder.samfundet.no/submittedby @@ -1 +1 @@ -Tatt av: %AUTHOR% (%ACTION%) +Tatt av: %AUTHOR% (%ACTION%)%DATE% diff --git a/templates/skoyen.bilder.knatten.com/submittedby b/templates/skoyen.bilder.knatten.com/submittedby index 0322a28..dee660d 100644 --- a/templates/skoyen.bilder.knatten.com/submittedby +++ b/templates/skoyen.bilder.knatten.com/submittedby @@ -1 +1 @@ -Tatt av: %AUTHOR% (%ACTION%) +Tatt av: %AUTHOR% (%ACTION%)%DATE% diff --git a/templates/skoyen.bildereks.knatten.com/submittedby b/templates/skoyen.bildereks.knatten.com/submittedby index 0322a28..dee660d 100644 --- a/templates/skoyen.bildereks.knatten.com/submittedby +++ b/templates/skoyen.bildereks.knatten.com/submittedby @@ -1 +1 @@ -Tatt av: %AUTHOR% (%ACTION%) +Tatt av: %AUTHOR% (%ACTION%)%DATE%