diff --git a/web/skins/classic/views/control.php b/web/skins/classic/views/control.php index a9af1b29d..a219a93c3 100644 --- a/web/skins/classic/views/control.php +++ b/web/skins/classic/views/control.php @@ -50,8 +50,6 @@ require_once( ZM_SKIN_PATH.'/includes/control_functions.php' ); $sql = "select C.*,M.* from Monitors as M inner join Controls as C on (M.ControlId = C.Id ) where M.Id = '".$mid."'"; $monitor = dbFetchOne( $sql ); -$cmds = getControlCommands( $monitor ); - $focusWindow = true; xhtmlHeaders(__FILE__, $SLANG['Control'] ); @@ -71,36 +69,8 @@ xhtmlHeaders(__FILE__, $SLANG['Control'] );
-
-
- -
- -
- -
- +
+
diff --git a/web/skins/classic/views/watch.php b/web/skins/classic/views/watch.php index 59775f438..29f43bc37 100644 --- a/web/skins/classic/views/watch.php +++ b/web/skins/classic/views/watch.php @@ -149,38 +149,9 @@ if ( canEdit( 'Monitors' ) ) if ( $showControls ) { require_once( ZM_SKIN_PATH.'/includes/control_functions.php' ); - $cmds = getControlCommands( $monitor ); -?> -