Maintenance announcement banner
Roundcube Maintenance Banner plugin
Code inspired by https://github.com/dharmann/info_banner
Using the config, set the maintenance period. This will have the following effect:
- Up to
$config['maintenance_pre']seconds before $config['maintenance_start'], a banner announcing the maintenance will be shown. This banner will be shown both on the login screen and as a notification in the main roundcube interface (only once per session).
$config['maintenance_end'], a banner announcing that the maintenance is taking place will be shown. The login form will also be hidden.
$config['maintenance_light']is set to
true, the banner text will be different, and the login form will not be hidden.
- By setting
$config['maintenance_post'], a banner text can be shown after the maintenance period ends.
config.inc.php.distcontains a config template. Copy to
config.inc.phpand adjust as needed.
localization/<locale>.inccontains the Announcement messages
skins/default/maintenance.csscontains the style for the