From fad6b0ec11d2125856d9ddd6fbce7c7df74bfa2f Mon Sep 17 00:00:00 2001 From: stan Date: Wed, 16 Jul 2008 13:16:19 +0000 Subject: [PATCH] PTZ control restructuring. git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2554 e3e1d417-86f3-4887-817a-d78f3d33393f --- web/skins/classic/views/control.php | 34 ++--------------------------- web/skins/classic/views/watch.php | 33 ++-------------------------- 2 files changed, 4 insertions(+), 63 deletions(-) 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 ); -?> -