Commit 3d9c2f64 authored by nextime's avatar nextime

Fix some changes in admin gui

parent 2fd0ebd5
......@@ -17,6 +17,6 @@
<script src="/resources/bootstrap/js/bootstrap.min.js"></script>
<!-- Optionally enable responsive features in IE8 -->
<script src="/resources/js/js/respond.js"></script>
<script src="/resources/js/respond.js"></script>
</body>
</html>
......@@ -17,6 +17,6 @@
<script src="/resources/bootstrap/js/bootstrap.min.js"></script>
<!-- Optionally enable responsive features in IE8 -->
<script src="/resources/js/js/respond.js"></script>
<script src="/resources/js/respond.js"></script>
</body>
</html>
......@@ -17,6 +17,6 @@
<script src="/resources/bootstrap/js/bootstrap.min.js"></script>
<!-- Optionally enable responsive features in IE8 -->
<script src="/resources/js/js/respond.js"></script>
<script src="/resources/js/respond.js"></script>
</body>
</html>
......@@ -175,7 +175,7 @@
</thead>
<tbody>
<?
foreach(DB::query("SELECT * FROM video") as $video)
foreach(DB::query("SELECT * FROM mediasources") as $video)
{
?>
<tr>
......
<?
include_once("common_includes.php");
?>
<?
function isActive($name)
{
if(is_array($name)) {
......
......@@ -17,6 +17,6 @@
<script src="/resources/bootstrap/js/bootstrap.min.js"></script>
<!-- Optionally enable responsive features in IE8 -->
<script src="/resources/js/js/respond.js"></script>
<script src="/resources/js/respond.js"></script>
</body>
</html>
......@@ -17,6 +17,6 @@
<script src="/resources/bootstrap/js/bootstrap.min.js"></script>
<!-- Optionally enable responsive features in IE8 -->
<script src="/resources/js/js/respond.js"></script>
<script src="/resources/js/respond.js"></script>
</body>
</html>
......@@ -17,6 +17,6 @@
<script src="/resources/bootstrap/js/bootstrap.min.js"></script>
<!-- Optionally enable responsive features in IE8 -->
<script src="/resources/js/js/respond.js"></script>
<script src="/resources/js/respond.js"></script>
</body>
</html>
......@@ -17,6 +17,6 @@
<script src="/resources/bootstrap/js/bootstrap.min.js"></script>
<!-- Optionally enable responsive features in IE8 -->
<script src="/resources/js/js/respond.js"></script>
<script src="/resources/js/respond.js"></script>
</body>
</html>
......@@ -17,6 +17,6 @@
<script src="/resources/bootstrap/js/bootstrap.min.js"></script>
<!-- Optionally enable responsive features in IE8 -->
<script src="/resources/js/js/respond.js"></script>
<script src="/resources/js/respond.js"></script>
</body>
</html>
......@@ -17,6 +17,6 @@
<script src="/resources/bootstrap/js/bootstrap.min.js"></script>
<!-- Optionally enable responsive features in IE8 -->
<script src="/resources/js/js/respond.js"></script>
<script src="/resources/js/respond.js"></script>
</body>
</html>
......@@ -21,7 +21,7 @@ if(intval($button['status2'])>0) {
data-dmtext-on="<?=$button['text2_on']?>" data-dmtext-off="<?=$button['text2_off']?>"><?=$badgetext;?></span></div>
<?
if(is_array($button_switchar) && in_array($button['ctx'], $button_switchar)) {
if(@is_array($button_switchar) && in_array($button['ctx'], $button_switchar)) {
if(intval($button['status'])>0) $button_checked="checked";
?>
<div class="make-switch switch-medium devlist-switch"
......
a:2:{s:9:"timestamp";i:1379804587;s:12:"translations";a:17:{s:4:"home";s:4:"home";s:5:"blind";s:10:"tapparelle";s:8:"cancello";s:8:"cancelli";s:5:"clima";s:5:"clima";s:4:"door";s:5:"porte";s:3:"led";s:3:"led";s:5:"light";s:4:"luci";s:7:"scenari";s:7:"scenari";s:6:"socket";s:5:"prese";s:6:"valvle";s:7:"valvole";s:6:"sensor";s:7:"sensori";s:6:"camera";s:10:"telecamere";s:6:"window";s:8:"finestre";s:4:"user";s:4:"user";s:4:"none";s:15:"Nessuna Sezione";s:5:"phone";s:8:"telefono";s:5:"index";s:4:"Home";}}
\ No newline at end of file
a:2:{s:9:"timestamp";i:1383439313;s:12:"translations";a:17:{s:4:"home";s:4:"home";s:5:"blind";s:10:"tapparelle";s:8:"cancello";s:8:"cancelli";s:5:"clima";s:5:"clima";s:4:"door";s:5:"porte";s:3:"led";s:3:"led";s:5:"light";s:4:"luci";s:7:"scenari";s:7:"scenari";s:6:"socket";s:5:"prese";s:6:"valvle";s:7:"valvole";s:6:"sensor";s:7:"sensori";s:6:"camera";s:10:"telecamere";s:6:"window";s:8:"finestre";s:4:"user";s:4:"user";s:4:"none";s:15:"Nessuna Sezione";s:5:"phone";s:8:"telefono";s:5:"index";s:4:"Home";}}
\ No newline at end of file
a:2:{s:9:"timestamp";i:1359369689;s:12:"translations";a:9:{s:16:"websection.blind";s:38:"/domotika/mobile/images/tapparelle.jpg";s:19:"websection.cancello";s:36:"/domotika/mobile/images/cancelli.jpg";s:16:"websection.clima";s:33:"/domotika/mobile/images/clima.jpg";s:15:"websection.door";s:33:"/domotika/mobile/images/porte.jpg";s:14:"websection.led";s:31:"/domotika/mobile/images/led.jpg";s:16:"websection.light";s:32:"/domotika/mobile/images/luci.jpg";s:18:"websection.scenari";s:35:"/domotika/mobile/images/scenari.jpg";s:17:"websection.socket";s:33:"/domotika/mobile/images/prese.jpg";s:17:"websection.valvle";s:35:"/domotika/mobile/images/valvole.jpg";}}
\ No newline at end of file
a:2:{s:9:"timestamp";i:1383439313;s:12:"translations";a:9:{s:16:"websection.blind";s:38:"/domotika/mobile/images/tapparelle.jpg";s:19:"websection.cancello";s:36:"/domotika/mobile/images/cancelli.jpg";s:16:"websection.clima";s:33:"/domotika/mobile/images/clima.jpg";s:15:"websection.door";s:33:"/domotika/mobile/images/porte.jpg";s:14:"websection.led";s:31:"/domotika/mobile/images/led.jpg";s:16:"websection.light";s:32:"/domotika/mobile/images/luci.jpg";s:18:"websection.scenari";s:35:"/domotika/mobile/images/scenari.jpg";s:17:"websection.socket";s:33:"/domotika/mobile/images/prese.jpg";s:17:"websection.valvle";s:35:"/domotika/mobile/images/valvole.jpg";}}
\ No newline at end of file
a:2:{s:9:"timestamp";i:1373765974;s:12:"translations";a:14:{s:15:"websection.home";s:4:"home";s:16:"websection.blind";s:6:"blinds";s:19:"websection.cancello";s:5:"gates";s:16:"websection.clima";s:5:"clima";s:15:"websection.door";s:5:"doors";s:14:"websection.led";s:4:"leds";s:16:"websection.light";s:6:"lights";s:18:"websection.scenari";s:9:"scenaries";s:17:"websection.socket";s:7:"sockets";s:17:"websection.valvle";s:7:"valvles";s:17:"websection.sensor";s:7:"sensors";s:17:"websection.camera";s:6:"ipcams";s:17:"websection.window";s:7:"windows";s:15:"websection.user";s:4:"user";}}
\ No newline at end of file
<?
include_once("common_includes.php");
include_once("include.php");
?>
<html>
<head title="Domotika GUI">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment