diff --git a/FHEM/01_FHEMWEB.pm b/FHEM/01_FHEMWEB.pm index e7ff56a09..1af2ce451 100755 --- a/FHEM/01_FHEMWEB.pm +++ b/FHEM/01_FHEMWEB.pm @@ -175,6 +175,7 @@ FHEMWEB_Initialize($) smallscreen:unused smallscreenCommands:0,1 stylesheetPrefix + title touchpad:unused webname ); @@ -774,7 +775,10 @@ FW_answerCall($) $FW_lastHashUpdate = $lastDefChange; } - my $t = AttrVal("global", "title", "Home, Sweet Home"); + my $t = AttrVal($FW_wname, "title", + AttrVal("global", "title", "Home, Sweet Home")); + $t = eval $t if($t =~ m/^{.*}$/s); # Forum #48668 + FW_pO ''; @@ -3426,6 +3430,11 @@ FW_widgetOverride($$) See also the clearSvgCache command for clearing the cache.
+ +
  • title
    + Sets the title of the page. If enclosed in {} the content is evaluated. +

  • +
  • webCmd
    Colon separated list of commands to be shown in the room overview for a @@ -4104,6 +4113,12 @@ FW_widgetOverride($$) Siehe den clearSvgCache Befehl um diese Daten zu löschen.

  • + +
  • title
    + Setzt den Titel der Seite. Falls in {} eingeschlossen, dann wird es + als Perl Ausdruck evaluiert. +

  • +
  • webCmd
    Durch Doppelpunkte getrennte Auflistung von Befehlen, die für ein diff --git a/docs/commandref_frame.html b/docs/commandref_frame.html index b65dd9bde..04ae94af2 100644 --- a/docs/commandref_frame.html +++ b/docs/commandref_frame.html @@ -1413,7 +1413,7 @@ The following local attributes are used by a wider range of devices: shutdown.

  • -
  • sendStatistics +
  • sendStatistics
  • statefile
    @@ -1422,12 +1422,9 @@ The following local attributes are used by a wider range of devices: no information will be saved.

  • - -
  • title
    - Used by the web frontend fhemweb.pl (webpgm2) as a Page title. -

  • +
  • title
    -
  • uniqueID +
  • uniqueID
  • userattr
    diff --git a/docs/commandref_frame_DE.html b/docs/commandref_frame_DE.html index 53709eb6f..57b1f6862 100644 --- a/docs/commandref_frame_DE.html +++ b/docs/commandref_frame_DE.html @@ -1455,7 +1455,7 @@ Die folgenden lokalen Attribute werden von mehreren Geräten verwendet: gelöscht.

  • -
  • sendStatistics +
  • sendStatistics
  • statefile
    @@ -1465,11 +1465,7 @@ Die folgenden lokalen Attribute werden von mehreren Geräten verwendet: werden keinerlei Informationen gesichert.

  • - -
  • title
    - Das Attribut "title" wird unter dem Frontend fhemweb.pl (webpgm2) zur - Festlegung des Seitentitels benutzt.. -

  • +
  • title
  • uniqueID