98_help.pm: use commandref instead frames

git-svn-id: https://svn.fhem.de/fhem/trunk@8047 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen 2015-02-20 18:13:18 +00:00
parent 4804dda5d4
commit 71a1d30444

View File

@ -61,13 +61,13 @@ sub CommandHelp {
$output = ''; $output = '';
my $i; my $i;
my $f = "$modPath/docs/commandref_frame$lang.html"; my $f = "$modPath/docs/commandref$lang.html";
my $skip = 1; my $skip = 1;
my ($err,@text) = FileRead({FileName => $f, ForceType => 'file'}); my ($err,@text) = FileRead({FileName => $f, ForceType => 'file'});
return $err if $err; return $err if $err;
foreach my $l (@text) { foreach my $l (@text) {
if($l =~ m/name=\"$mod\"/) { if($l =~ m/^<a name=\"$mod\"/) {
$skip = 0; $skip = 0;
} elsif($l =~ m/^<!-- $mod.end/) { } elsif($l =~ m/^<!-- $mod.end/) {
$skip = 1; $skip = 1;