2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

FHEMWEB: do not process help output

git-svn-id: https://svn.fhem.de/fhem/trunk@8058 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2015-02-21 19:55:09 +00:00
parent 0a77b7d67c
commit d29167af67
5 changed files with 4 additions and 23 deletions

View File

@ -760,7 +760,8 @@ FW_answerCall($)
$FW_detail = ""; $FW_detail = "";
$FW_room = ""; $FW_room = "";
if( $FW_cmdret !~ m/<html>.*<\/html>/ ) { # "linkify" output (e.g. for list)
if( $FW_cmdret !~ m/<html>.*<\/html>/ && $cmd !~ m/^help/) {
$FW_cmdret = FW_htmlEscape($FW_cmdret); $FW_cmdret = FW_htmlEscape($FW_cmdret);
my @lines = split( /\n/, $FW_cmdret ); # Adding links my @lines = split( /\n/, $FW_cmdret ); # Adding links

View File

@ -636,15 +636,6 @@ The following local attributes are used by a wider range of devices:
<br><br> <br><br>
<a name="commands"></a> <a name="commands"></a>
<a name="help"></a>
<h3>?, help</h3>
<ul>
<code>?</code><br>
<code>help</code><br>
<br>
Get a list of all commands and short description for each one
</ul>
<a name="attr"></a> <a name="attr"></a>
<h3>attr</h3> <h3>attr</h3>
<ul> <ul>

View File

@ -654,17 +654,6 @@ Die folgenden lokalen Attribute werden von mehreren Ger&auml;ten verwendet:
<!-- attributes end - diese Zeile nicht entfernen! --> <!-- attributes end - diese Zeile nicht entfernen! -->
<br><br> <br><br>
<a name="commands"></a>
<a name="help"></a>
<h3>?, help</h3>
<ul>
<code>?</code><br>
<code>help</code><br>
<br>
Sie erhalten eine Liste aller Befehle mit einer Kurzbeschreibung jedes
Befehls.
</ul>
<a name="attr"></a> <a name="attr"></a>
<h3>attr</h3> <h3>attr</h3>
<ul> <ul>

View File

@ -226,7 +226,7 @@
<div class="dist"></div> <div class="dist"></div>
<div class="dist">Our wiki at <a <div class="dist">Our wiki at <a
href="http://fhemwiki.de/index.php/FHEM">fhemwiki.de</a></div> href="http://fhemwiki.de">fhemwiki.de</a></div>
<div class="dist"></div> <div class="dist"></div>
<div class="dist">Forum: <a href="http://forum.fhem.de"> <div class="dist">Forum: <a href="http://forum.fhem.de">

View File

@ -244,7 +244,7 @@
Features.</div> Features.</div>
<div class="dist">Unser wiki ist erreichbar unter <a <div class="dist">Unser wiki ist erreichbar unter <a
href="http://fhemwiki.de/index.php/FHEM">fhemwiki.de</a></div> href="http://fhemwiki.de">fhemwiki.de</a></div>
<div class="dist">Forum: <a <div class="dist">Forum: <a
href="http://forum.fhem.de">http://forum.fhem.de</a> href="http://forum.fhem.de">http://forum.fhem.de</a>