Bug 177 - Added bandwidth specific default events view.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1516 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2005-10-16 21:42:42 +00:00
parent 412557a131
commit 2d7f5ad0a9
1 changed files with 24 additions and 8 deletions

View File

@ -1039,14 +1039,6 @@ my @options =
type => $types{boolean}, type => $types{boolean},
category => 'web', category => 'web',
}, },
{
name => "ZM_WEB_DEFAULT_EVENTS_VIEW",
default => "events",
description => "What the default view of multiple events should be. This can be 'events' or 'timeline'",
help => "Stored events can be viewed in either an events list format or in a timeline based one. This option sets the default view that will be used. Choosing one view here does not prevent the other view being used as it will always be selectable from whichever view is currently being used.",
type => { db_type=>'string', hint=>'events|timeline', pattern=>qr|^([lt])|i, format=>q( $1 =~ /^e/ ? 'events' : 'timeline' ) },
category => 'web',
},
{ {
name => "ZM_WEB_EVENTS_PER_PAGE", name => "ZM_WEB_EVENTS_PER_PAGE",
default => "25", default => "25",
@ -1179,6 +1171,14 @@ my @options =
requires => [ { name=>"ZM_PATH_NETPBM", value=>'/' } ], requires => [ { name=>"ZM_PATH_NETPBM", value=>'/' } ],
category => 'highband', category => 'highband',
}, },
{
name => "ZM_WEB_H_EVENTS_VIEW",
default => "events",
description => "What the default view of multiple events should be. This can be 'events' or 'timeline'",
help => "Stored events can be viewed in either an events list format or in a timeline based one. This option sets the default view that will be used. Choosing one view here does not prevent the other view being used as it will always be selectable from whichever view is currently being used.",
type => { db_type=>'string', hint=>'events|timeline', pattern=>qr|^([lt])|i, format=>q( $1 =~ /^e/ ? 'events' : 'timeline' ) },
category => 'highband',
},
{ {
name => "ZM_WEB_M_REFRESH_MAIN", name => "ZM_WEB_M_REFRESH_MAIN",
default => "300", default => "300",
@ -1261,6 +1261,14 @@ my @options =
requires => [ { name=>"ZM_PATH_NETPBM", value=>"/" } ], requires => [ { name=>"ZM_PATH_NETPBM", value=>"/" } ],
category => 'medband', category => 'medband',
}, },
{
name => "ZM_WEB_M_EVENTS_VIEW",
default => "events",
description => "What the default view of multiple events should be. This can be 'events' or 'timeline'",
help => "Stored events can be viewed in either an events list format or in a timeline based one. This option sets the default view that will be used. Choosing one view here does not prevent the other view being used as it will always be selectable from whichever view is currently being used.",
type => { db_type=>'string', hint=>'events|timeline', pattern=>qr|^([lt])|i, format=>q( $1 =~ /^e/ ? 'events' : 'timeline' ) },
category => 'medband',
},
{ {
name => "ZM_WEB_L_REFRESH_MAIN", name => "ZM_WEB_L_REFRESH_MAIN",
default => "300", default => "300",
@ -1343,6 +1351,14 @@ my @options =
requires => [ { name=>"ZM_PATH_NETPBM", value=>"/" } ], requires => [ { name=>"ZM_PATH_NETPBM", value=>"/" } ],
category => 'lowband', category => 'lowband',
}, },
{
name => "ZM_WEB_L_EVENTS_VIEW",
default => "events",
description => "What the default view of multiple events should be. This can be 'events' or 'timeline'",
help => "Stored events can be viewed in either an events list format or in a timeline based one. This option sets the default view that will be used. Choosing one view here does not prevent the other view being used as it will always be selectable from whichever view is currently being used.",
type => { db_type=>'string', hint=>'events|timeline', pattern=>qr|^([lt])|i, format=>q( $1 =~ /^e/ ? 'events' : 'timeline' ) },
category => 'lowband',
},
{ {
name => "ZM_WEB_P_REFRESH_MAIN", name => "ZM_WEB_P_REFRESH_MAIN",
default => "300", default => "300",