mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
commandref_join.pl: fix single-module version
git-svn-id: https://svn.fhem.de/fhem/trunk@15658 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
970b14d4e6
commit
cc15da5acd
@ -80,7 +80,7 @@ chkAndGenLangLinks($$$)
|
||||
{
|
||||
my ($l, $lang, $fh) = @_;
|
||||
$var = $1 if($l =~ m/<a name="(.*?)"(.*?)><\/a>/);
|
||||
if($l =~ m/(.*?)<\/h3>/ && $var) {
|
||||
if($fh && $l =~ m/(.*?)<\/h3>/ && $var) {
|
||||
print $fh "<div class='langLinks'>[".join(" ", map {
|
||||
$_ eq $lang ? $_ :
|
||||
"<a href='commandref".($_ eq "EN" ? "":"_$_").".html#$var'>$_</a>"
|
||||
|
Loading…
x
Reference in New Issue
Block a user