mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-07 19:04:20 +00:00
Examples deleted
git-svn-id: https://svn.fhem.de/fhem/trunk@1366 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
39b26dafe7
commit
08a988f62a
@ -1529,19 +1529,6 @@ FW_style($$)
|
|||||||
}
|
}
|
||||||
FW_pO "${start}Reload the page in the browser.$end";
|
FW_pO "${start}Reload the page in the browser.$end";
|
||||||
|
|
||||||
} elsif($a[1] eq "examples") {
|
|
||||||
|
|
||||||
my @fl = FW_fileList("$FW_dir/example.*");
|
|
||||||
FW_pO "$start<table class=\"block\" id=\"at\">";
|
|
||||||
my $row = 0;
|
|
||||||
foreach my $file (@fl) {
|
|
||||||
FW_pO "<tr class=\"" . ($row?"odd":"even") . "\">";
|
|
||||||
FW_pO "<td><a href=\"$FW_ME/$file\">$file</a></td>";
|
|
||||||
FW_pO "</tr>";
|
|
||||||
$row = ($row+1)%2;
|
|
||||||
}
|
|
||||||
FW_pO "</table>$end";
|
|
||||||
|
|
||||||
} elsif($a[1] eq "edit") {
|
} elsif($a[1] eq "edit") {
|
||||||
|
|
||||||
$a[2] =~ s,/,,g; # little bit of security
|
$a[2] =~ s,/,,g; # little bit of security
|
||||||
|
Loading…
x
Reference in New Issue
Block a user