From 19265b631abe64306507982234769dbc14d41366 Mon Sep 17 00:00:00 2001 From: Andy Bauer Date: Sat, 9 Jul 2016 13:11:30 -0500 Subject: [PATCH] custom banner text on web console --- scripts/ZoneMinder/lib/ZoneMinder/ConfigData.pm.in | 14 ++++++++++++++ web/skins/classic/views/console.php | 1 + 2 files changed, 15 insertions(+) diff --git a/scripts/ZoneMinder/lib/ZoneMinder/ConfigData.pm.in b/scripts/ZoneMinder/lib/ZoneMinder/ConfigData.pm.in index 610d2432d..d23186c23 100644 --- a/scripts/ZoneMinder/lib/ZoneMinder/ConfigData.pm.in +++ b/scripts/ZoneMinder/lib/ZoneMinder/ConfigData.pm.in @@ -1548,6 +1548,20 @@ our @options = type => $types{string}, category => "web", }, + { + name => "ZM_WEB_CONSOLE_BANNER", + default => "", + description => "Arbitrary text message near the top of the console", + help => qqq(" + Allows the administrator to place an arbitrary text message + near the top of the web console. This is useful for the developers + to display a message which indicates the running instance of + ZoneMinder is a development snapshot, but it can also be used for + any other purpose as well. + "), + type => $types{string}, + category => "web", + }, { name => "ZM_WEB_RESIZE_CONSOLE", default => "yes", diff --git a/web/skins/classic/views/console.php b/web/skins/classic/views/console.php index 8f0f3c198..e6f3ccf6a 100644 --- a/web/skins/classic/views/console.php +++ b/web/skins/classic/views/console.php @@ -195,6 +195,7 @@ xhtmlHeaders( __FILE__, translate('Console') );

: / : %

ZoneMinder - - v'.ZM_VERSION.'', canEdit( 'System' ) ) ?>

+