From ebecb4cf5be0a62c178dabd2d2a1f0c36ab9b0c9 Mon Sep 17 00:00:00 2001 From: stan Date: Wed, 19 Oct 2005 17:56:43 +0000 Subject: [PATCH] Made scales a drop-down. git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1526 e3e1d417-86f3-4887-817a-d78f3d33393f --- zmconfig.pl.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zmconfig.pl.in b/zmconfig.pl.in index e0393493f..85b393a49 100755 --- a/zmconfig.pl.in +++ b/zmconfig.pl.in @@ -1160,7 +1160,7 @@ my @options = default => "100", description => "What the default scaling factor applied to 'live' or 'event' views is (%)", help => "Normally ZoneMinder will display 'live' or 'event' streams in their native size. However if you have monitors with large dimensions or a slow link you may prefer to reduce this size, alternatively for small monitors you can enlarge it. This options lets you specify what the default scaling factor will be. It is expressed as a percentage so 100 is normal size, 200 is double size etc.", - type => $types{integer}, + type => { db_type=>'integer', hint=>'25|33|50|75|100|150|200|300|400', pattern=>qr|^(\d+)$|, format=>q( $1 ) }, category => 'highband', }, { @@ -1258,7 +1258,7 @@ my @options = default => "100", description => "What the default scaling factor applied to 'live' or 'event' views is (%)", help => "Normally ZoneMinder will display 'live' or 'event' streams in their native size. However if you have monitors with large dimensions or a slow link you may prefer to reduce this size, alternatively for small monitors you can enlarge it. This options lets you specify what the default scaling factor will be. It is expressed as a percentage so 100 is normal size, 200 is double size etc.", - type => $types{integer}, + type => { db_type=>'integer', hint=>'25|33|50|75|100|150|200|300|400', pattern=>qr|^(\d+)$|, format=>q( $1 ) }, category => 'medband', }, { @@ -1356,7 +1356,7 @@ my @options = default => "100", description => "What the default scaling factor applied to 'live' or 'event' views is (%)", help => "Normally ZoneMinder will display 'live' or 'event' streams in their native size. However if you have monitors with large dimensions or a slow link you may prefer to reduce this size, alternatively for small monitors you can enlarge it. This options lets you specify what the default scaling factor will be. It is expressed as a percentage so 100 is normal size, 200 is double size etc.", - type => $types{integer}, + type => { db_type=>'integer', hint=>'25|33|50|75|100|150|200|300|400', pattern=>qr|^(\d+)$|, format=>q( $1 ) }, category => 'lowband', }, {