Skip to content

Commit

Permalink
Bug 245 - Added progress bar options.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1799 e3e1d417-86f3-4887-817a-d78f3d33393f
  • Loading branch information
stan committed Jan 14, 2006
1 parent e3ab01b commit 365d497
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions db/zm_update-1.21.4.sql
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ alter table Zones add column NumCoords tinyint(3) unsigned NOT NULL default '0'
alter table Zones add column Coords tinytext NOT NULL after NumCoords;
alter table Zones add column Area int(10) unsigned not null default 0 after Coords;
alter table Zones modify column AlarmRGB int(10) unsigned default '0';
alter table Zones add index MonitorId (MonitorId);
--
insert into Controls values ('','Neu-Fusion NCS370','Remote','zmcontrol-ncs370.pl',0,0,0,0,0,0,0,0,NULL,NULL,NULL,NULL,0,NULL,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,0,NULL,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,0,NULL,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,0,NULL,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,0,NULL,NULL,1,24,1,0,1,1,0,0,0,1,1,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,1,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,0,0);

Expand Down
24 changes: 24 additions & 0 deletions scripts/ZoneMinder/lib/ZoneMinder/ConfigAdmin.pm.in
Original file line number Diff line number Diff line change
Expand Up @@ -1212,6 +1212,14 @@ body = "ZM alarm detected - %ED% secs, %EF%/%EFA% frames, t%EST%/m%ESM%/a%ESA% s
type => { db_type=>"string", hint=>"events|timeline", pattern=>qr|^([lt])|i, format=>q( $1 =~ /^e/ ? "events" : "timeline" ) },
category => "highband",
},
{
name => "ZM_WEB_H_SHOW_PROGRESS",
default => "yes",
description => "Whether to show the progress of replay in event view.",
help => "When viewing events an event navigation panel and progress bar is shown below the event itself. This allows you to jump to specific points in the event, but can can also dynamically update to display the current progress of the event replay itself. This progress is calculated from the actual event duration and is not directly linked to the replay itself, so on limited bandwidth connections may be out of step with the replay. This option allows you to turn off the progress display, whilst still keeping the navigation aspect, where bandwidth prevents it functioning effectively.",
type => $types{boolean},
category => "highband",
},
{
name => "ZM_WEB_M_REFRESH_MAIN",
default => "300",
Expand Down Expand Up @@ -1310,6 +1318,14 @@ body = "ZM alarm detected - %ED% secs, %EF%/%EFA% frames, t%EST%/m%ESM%/a%ESA% s
type => { db_type=>"string", hint=>"events|timeline", pattern=>qr|^([lt])|i, format=>q( $1 =~ /^e/ ? "events" : "timeline" ) },
category => "medband",
},
{
name => "ZM_WEB_M_SHOW_PROGRESS",
default => "yes",
description => "Whether to show the progress of replay in event view.",
help => "When viewing events an event navigation panel and progress bar is shown below the event itself. This allows you to jump to specific points in the event, but can can also dynamically update to display the current progress of the event replay itself. This progress is calculated from the actual event duration and is not directly linked to the replay itself, so on limited bandwidth connections may be out of step with the replay. This option allows you to turn off the progress display, whilst still keeping the navigation aspect, where bandwidth prevents it functioning effectively.",
type => $types{boolean},
category => "medband",
},
{
name => "ZM_WEB_L_REFRESH_MAIN",
default => "300",
Expand Down Expand Up @@ -1408,6 +1424,14 @@ body = "ZM alarm detected - %ED% secs, %EF%/%EFA% frames, t%EST%/m%ESM%/a%ESA% s
type => { db_type=>"string", hint=>"events|timeline", pattern=>qr|^([lt])|i, format=>q( $1 =~ /^e/ ? "events" : "timeline" ) },
category => "lowband",
},
{
name => "ZM_WEB_L_SHOW_PROGRESS",
default => "no",
description => "Whether to show the progress of replay in event view.",
help => "When viewing events an event navigation panel and progress bar is shown below the event itself. This allows you to jump to specific points in the event, but can can also dynamically update to display the current progress of the event replay itself. This progress is calculated from the actual event duration and is not directly linked to the replay itself, so on limited bandwidth connections may be out of step with the replay. This option allows you to turn off the progress display, whilst still keeping the navigation aspect, where bandwidth prevents it functioning effectively.",
type => $types{boolean},
category => "lowband",
},
{
name => "ZM_WEB_P_DEFAULT_RATE",
default => "100",
Expand Down

0 comments on commit 365d497

Please sign in to comment.