Skip to content
Permalink
Browse files

Fixes

* Modules installation fix
* Simple Devices: HTML device template
  • Loading branch information...
sergejey committed May 8, 2019
1 parent e708c40 commit 03c6c99344d0ea5be3aa976f268b8adb100aeb1d
Showing with 5 additions and 3 deletions.
  1. +2 −3 modules/control_modules/control_modules.class.php
  2. +3 −0 templates/classes/views/SHTML.html
@@ -215,14 +215,13 @@ function install($parent_name = "")
echo 'Installing '.$lst[$i]['FILENAME']." ($url)\n";
}
DebMes('Installing '.$lst[$i]['FILENAME']." ($url)",'reinstall');
$data = getURL($url);
/*
//$data = getURL($url); //
include_once(DIR_MODULES . $lst[$i]['FILENAME'] . "/" . $lst[$i]['FILENAME'] . ".class.php");
$obj = "\$object$i";
$code = "$obj=new " . $lst[$i]['FILENAME'] . ";\n";
//echo "Installing ".$lst[$i]['FILENAME']."\n";
@eval("$code");
*/
endMeasure('Installing '.$lst[$i]['FILENAME']);
}
}
@@ -0,0 +1,3 @@
<div class="device-widget">
%.data%
</div>

0 comments on commit 03c6c99

Please sign in to comment.
You can’t perform that action at this time.