Merge pull request #116 from catalyst/issue-115_outage-body-class

Issue 115 outage body class
This commit is contained in:
Daniel Thee Roperto
2017-05-19 11:39:31 +10:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -28,7 +28,7 @@
defined('MOODLE_INTERNAL') || die();
$plugin->component = "auth_outage";
$plugin->version = 2016121200; // The current plugin version (Date: YYYYMMDDXX).
$plugin->version = 2017051800; // The current plugin version (Date: YYYYMMDDXX).
$plugin->release = '1.0.8'; // Human-readable release information.
$plugin->requires = 2014051200; // Requires Moodle 2.7 or later. Moodle 3.0 or later recommended.
$plugin->maturity = MATURITY_STABLE; // Suitable for PRODUCTION environments!

View File

@@ -78,6 +78,7 @@ if (!$viewbag['static']) {
<?php if (!$viewbag['static']): ?>
<script>
document.body.className += ' auth_outage';
<?php
require(__DIR__.'/warningbar.js');
$json = json_encode([