mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-24 02:12:17 +00:00
- Created Javascript DialogLib in public/js for showing JQuery UI succes, error and info messages
- Used created DialogLib in infocenterDetails
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
'bootstrap' => true,
|
||||
'fontawesome' => true,
|
||||
'jqueryui' => true,
|
||||
'dialoglib' => true,
|
||||
'ajaxlib' => true,
|
||||
'tablesorter' => true,
|
||||
'tinymce' => true,
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
|
||||
// By default set the parameters to false
|
||||
$addons = isset($addons) ? $addons : false;
|
||||
$dialoglib = isset($dialoglib) ? $dialoglib : false;
|
||||
$ajaxlib = isset($ajaxlib) ? $ajaxlib : false;
|
||||
$bootstrap = isset($bootstrap) ? $bootstrap : false;
|
||||
$filterwidget = isset($filterwidget) ? $filterwidget : false;
|
||||
@@ -73,6 +74,9 @@
|
||||
// --------------------------------------------------------------------------------------------------------
|
||||
// From public folder
|
||||
|
||||
// DialogLib CSS
|
||||
if ($dialoglib === true) generateCSSsInclude('public/css/DialogLib.css');
|
||||
|
||||
// AjaxLib CSS
|
||||
if ($ajaxlib === true) generateCSSsInclude('public/css/AjaxLib.css');
|
||||
|
||||
@@ -139,6 +143,9 @@
|
||||
// --------------------------------------------------------------------------------------------------------
|
||||
// From public folder
|
||||
|
||||
// DialogLib JS
|
||||
if ($dialoglib === true) generateJSsInclude('public/js/DialogLib.js');
|
||||
|
||||
// AjaxLib JS
|
||||
// NOTE: must be called before including others JS libraries that use it
|
||||
if ($ajaxlib === true) generateJSsInclude('public/js/AjaxLib.js');
|
||||
|
||||
Reference in New Issue
Block a user