mirror of
https://github.com/fhem/fhem-mirror.git
synced 2024-11-22 02:59:49 +00:00
Fixed bad path names (https://forum.fhem.de/index.php/topic,31999.0.html)
Added commandref stub git-svn-id: https://svn.fhem.de/fhem/trunk@14687 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d0f6766ebf
commit
1ead11794a
@ -24,6 +24,11 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
########################################################################################
|
||||
#
|
||||
# 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
|
||||
|
||||
<a name="YAF"></a>
|
||||
<b>Define</b>
|
||||
<ul>
|
||||
<code>define yaf YAF</code>
|
||||
</ul>
|
||||
=end html
|
||||
|
||||
=begin html_DE
|
||||
|
||||
<a name="YAF"></a>
|
||||
<b>Define</b>
|
||||
<ul>
|
||||
<code>define yaf YAF</code>
|
||||
</ul>
|
||||
=end html
|
||||
|
||||
# Ende der Commandref
|
||||
=cut
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user