From 57f812749822a01b7d373748e238037ff2e5295c Mon Sep 17 00:00:00 2001 From: stan Date: Thu, 19 Feb 2009 14:17:33 +0000 Subject: [PATCH] Slight revamp git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2782 e3e1d417-86f3-4887-817a-d78f3d33393f --- web/skins/classic/views/options.php | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/web/skins/classic/views/options.php b/web/skins/classic/views/options.php index ac0507f25..d9ea74344 100644 --- a/web/skins/classic/views/options.php +++ b/web/skins/classic/views/options.php @@ -172,17 +172,17 @@ else $configCat = $configCats[$tab]; foreach ( $configCat as $name=>$value ) { - $optionPromptIndex = preg_replace( '/^ZM_/', '', $name ); - $optionPromptText = !empty($OLANG[$optionPromptIndex])?$OLANG[$optionPromptIndex]:$config[$name]['Prompt']; + $shortName = preg_replace( '/^ZM_/', '', $name ); + $optionPromptText = !empty($OLANG[$shortName])?$OLANG[$shortName]:$value['Prompt']; ?> - -  () + +  () - checked="checked"/> + checked="checked"/> 3 ) { ?> - > - checked="checked"/>  + checked="checked"/>  - + - /> + /> - /> + /> - /> + /> - /> + />