magic 0
parent
8abe3af165
commit
072d097be1
|
@ -46,7 +46,7 @@ sub backlinks ($) { #{{{
|
||||||
}
|
}
|
||||||
@links = sort { $a->{page} cmp $b->{page} } @links;
|
@links = sort { $a->{page} cmp $b->{page} } @links;
|
||||||
|
|
||||||
return \@links, [] if @links <= $config{numbacklinks};
|
return \@links, [] if @links <= $config{numbacklinks} && ! $config{numbacklinks};
|
||||||
return [@links[0..$config{numbacklinks}-1]],
|
return [@links[0..$config{numbacklinks}-1]],
|
||||||
[@links[$config{numbacklinks}..$#links]];
|
[@links[$config{numbacklinks}..$#links]];
|
||||||
} #}}}
|
} #}}}
|
||||||
|
|
|
@ -1 +1,4 @@
|
||||||
No value for `numbacklinks` will achieve a setting of "no limit". --[[JoshTriplett]]
|
No value for `numbacklinks` will achieve a setting of "no limit".
|
||||||
|
--[[JoshTriplett]]
|
||||||
|
|
||||||
|
0 [[done]] --[[Joey]]
|
||||||
|
|
|
@ -236,7 +236,7 @@ configuration options of their own.
|
||||||
* --numbacklinks n
|
* --numbacklinks n
|
||||||
|
|
||||||
Controls how many backlinks should be displayed maximum. Excess backlinks
|
Controls how many backlinks should be displayed maximum. Excess backlinks
|
||||||
will be hidden in a popup. Default is 10.
|
will be hidden in a popup. Default is 10. Set to 0 to disable this feature.
|
||||||
|
|
||||||
* --userdir subdir
|
* --userdir subdir
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2007-04-06 17:19-0400\n"
|
"POT-Creation-Date: 2007-04-06 19:31-0400\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
|
Loading…
Reference in New Issue