From: Martin Mares Date: Thu, 27 Dec 2012 21:21:38 +0000 (+0100) Subject: Gallery2: Use "." as a self-ref, not "?" X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=54246bedf685226f78f47b97a47d36dea3e2f7ef;p=gallery.git Gallery2: Use "." as a self-ref, not "?" --- diff --git a/gal2/UCW/Gallery/Web.pm b/gal2/UCW/Gallery/Web.pm index ecc2184..f58232f 100644 --- a/gal2/UCW/Gallery/Web.pm +++ b/gal2/UCW/Gallery/Web.pm @@ -63,7 +63,7 @@ sub show_img($) { $self->html_top; $self->show_links(($show_img > 1 ? ("?i=".($show_img-1)) : ""), - "?", + ".", ($show_img < $self->{num_photos} ? ("?i=".($show_img+1)) : "")); my $t = UCW::CGI::html_escape($m->{title});