|
|
@@ -2,7 +2,7 @@
|
|
|
|
|
|
// ===================================
|
|
|
// Define Version
|
|
|
- define('INSTALLEDVERSION', '1.375');
|
|
|
+ define('INSTALLEDVERSION', '1.38');
|
|
|
// ===================================
|
|
|
|
|
|
// Debugging output functions
|
|
|
@@ -2783,5 +2783,58 @@ function sendResult($result, $icon = "floppy-o", $message = false, $success = "W
|
|
|
return $msg;
|
|
|
}
|
|
|
|
|
|
+function buildHomepageNotice($layout, $type, $title, $message){
|
|
|
+ switch ($layout) {
|
|
|
+ case 'elegant':
|
|
|
+ return '
|
|
|
+ <div id="homepageNotice" class="row">
|
|
|
+ <div class="col-lg-12">
|
|
|
+ <div class="content-box big-box box-shadow panel-box panel-'.$type.'">
|
|
|
+ <div class="content-title i-block">
|
|
|
+ <h4 class="zero-m"><strong>'.$title.'</strong></h4>
|
|
|
+ <div class="content-tools i-block pull-right">
|
|
|
+ <a class="close-btn">
|
|
|
+ <i class="fa fa-times"></i>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <p>'.$message.'</p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ ';
|
|
|
+ break;
|
|
|
+ case 'basic':
|
|
|
+ return '
|
|
|
+ <div id="homepageNotice" class="row">
|
|
|
+ <div class="col-lg-12">
|
|
|
+ <div class="panel panel-'.$type.'">
|
|
|
+ <div class="panel-heading">
|
|
|
+ <h3 class="panel-title">'.$title.'</h3>
|
|
|
+ </div>
|
|
|
+ <div class="panel-body">
|
|
|
+ '.$message.'
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ ';
|
|
|
+ break;
|
|
|
+ case 'jumbotron';
|
|
|
+ return '
|
|
|
+ <div id="homepageNotice" class="row">
|
|
|
+ <div class="col-lg-12">
|
|
|
+ <div class="jumbotron">
|
|
|
+ <div class="container">
|
|
|
+ <h1>'.$title.'</h1>
|
|
|
+ <p>'.$message.'</p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ ';
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
// Always run this
|
|
|
dependCheck();
|