diff --git a/contrib/YAF/FHEM/01_YAF.pm b/contrib/YAF/FHEM/01_YAF.pm index 85d5b13ce..c3bd47e1b 100644 --- a/contrib/YAF/FHEM/01_YAF.pm +++ b/contrib/YAF/FHEM/01_YAF.pm @@ -24,6 +24,11 @@ # along with this program. If not, see . # ######################################################################################## +# +# Contributions from: "Reinhart", Marcus Proest +# +######################################################################################## + package main; use strict; @@ -50,7 +55,7 @@ use vars qw($FW_dir); sub YAF_Request($@); my $fhem_url; -my $yaf_version=0.45; +my $yaf_version=0.46; my $yafw_encoding = "UTF-8"; my $mp = AttrVal("global", "modpath", "."); my $yaf_www_directory = $mp."/FHEM/YAF/www"; @@ -223,10 +228,11 @@ sub YAF_Request ($@) { my ($htmlarg) = @_; # %20 durch Leerzeichen ersetzen $htmlarg =~ s/%20/ /g; - + $htmlarg =~ s/www\///g; # Log for debug - Log 1,"YAF_Request: htmlarg: $htmlarg"; - + #Log 1,"YAF_Request: htmlarg: $htmlarg"; + #Log 1,"YAF_Dirs: FHEM_url: $fhem_url FW_cname: $FW_cname FW_RET: $FW_RET FW_dir: $FW_dir"; + # GET Parameter my @params = split(/\?/, $htmlarg); @@ -451,3 +457,31 @@ sub YAF_NotFound{ } 1; + +# Beginn der Commandref + +=pod +=item helper +=item summary YAF provides an interactive alternative to the floorplan module +=item summary_DE YAF ist eine interaktive alternaitve zum floorplan Modul. + +=begin html + + +Define + +=end html + +=begin html_DE + + +Define + +=end html + +# Ende der Commandref +=cut diff --git a/contrib/YAF/controls_yaf.txt b/contrib/YAF/controls_yaf.txt index bbb4cbe00..8651a0f19 100644 --- a/contrib/YAF/controls_yaf.txt +++ b/contrib/YAF/controls_yaf.txt @@ -25,7 +25,7 @@ DIR FHEM/YAF/www/smoothness/images DIR FHEM/YAF/www/img DIR FHEM/YAF/www/js DIR FHEM/YAF/xml -UPD 2013-11-18_18:30:00 12423 FHEM/01_YAF.pm +UPD 2017-07-10_22:00:00 13097 FHEM/01_YAF.pm UPD 2013-05-15_20:00:00 6590 FHEM/YAF/widgets/fs20st/fs20st.pm UPD 2013-08-14_21:30:00 7471 FHEM/YAF/widgets/fht80/fht80.pm UPD 2013-07-31_15:30:00 6534 FHEM/YAF/widgets/fhttk/fhttk.pm