forked from github/kensanata.oddmuse
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.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user