From 542f552002cfdbe93475e5bfefaf16e60e0ecb73 Mon Sep 17 00:00:00 2001 From: Aleks-Daniel Jakimenko-Aleksejev Date: Sat, 31 Oct 2015 02:58:00 +0200 Subject: [PATCH] nosearch.pl: code style It seems like oddtrans does not pick up the strings with double quotes? It's weird, but it does not matter anyway, because we will switch to gettext sooner or later. --- modules/nosearch.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/nosearch.pl b/modules/nosearch.pl index 3c4234e5..3bc2765b 100644 --- a/modules/nosearch.pl +++ b/modules/nosearch.pl @@ -25,7 +25,7 @@ sub NewGetSearchLink { my ($text, $class, $name, $title) = @_; $name = UrlEncode($name); $text =~ s/_/ /g; - return $q->span({-class=>$class }, $text); + return $q->span({-class=>$class}, $text); } push(@MyAdminCode, \&BacklinksMenu); @@ -34,8 +34,8 @@ sub BacklinksMenu { if ($id) { my $text = T('Backlinks'); my $class = 'backlinks'; - my $name = "backlinks"; - my $title = T("Click to search for references to this page"); + my $name = 'backlinks'; + my $title = T('Click to search for references to this page'); my $link = ScriptLink('search=' . $id, $text, $class, $name, $title); push(@$menuref, $link); }