first commit
This commit is contained in:
@@ -0,0 +1,75 @@
|
||||
<?php
|
||||
|
||||
/*******************************************************************
|
||||
|
||||
App. Name : SISTEM INFORMASI PERENCANAAN PEMBANGUNAN DAERAH
|
||||
Module : /apps/cfg/assets.php
|
||||
Desc. : Konfigurasi Assets Aplikasi [css / js]
|
||||
Created By : Siau Pheng ([email protected]).
|
||||
Created Date : November 23rd, 2019.
|
||||
Last Modified : August 16th, 2019.
|
||||
|
||||
(c) 2019 - 2020, 3FONIA Software; WWW.3FONIA.COM.
|
||||
|
||||
*******************************************************************/
|
||||
|
||||
$A_CSS = ["bootstrap/bootstrap.icon.css", "bootstrap/bootstrap.css"];
|
||||
$A_JS = array("jquery/jquery.js", "jquery/jquery.base64.js", "coreui/coreui.js", "fonia4.js");
|
||||
|
||||
if (!user_logged()) {
|
||||
$A_JS[] = "jquery/jquery.backstretch.js";
|
||||
|
||||
} else {
|
||||
//$A_CSS[] = "coreui/coreui.select2.css";
|
||||
$A_CSS[] = "coreui/coreui.chartjs.css";
|
||||
$A_CSS[] = "datatables/dataTables.bootstrap5.css";
|
||||
$A_CSS[] = "datatables/responsive.bootstrap5.css";
|
||||
$A_CSS[] = "datatables/scroller.bootstrap5.css";
|
||||
$A_CSS[] = "select2/select2.css";
|
||||
$A_CSS[] = "select2/select2-bootstrap-5-theme.css";
|
||||
//$A_CSS[] = "bootstrap/bootstrap.datepicker3.css";
|
||||
$A_CSS[] = "simplebar.css";
|
||||
$A_CSS[] = "lightbox.css";
|
||||
//$A_CSS[] = "codemirror.css";
|
||||
//$A_CSS[] = "summernote-bs4.css";
|
||||
$A_CSS[] = "default.css";
|
||||
$A_CSS[] = "print.css";
|
||||
|
||||
$A_JS = array(
|
||||
"jquery/jquery.js",
|
||||
"jquery/jquery.base64.js",
|
||||
"jquery/jquery.autosize.js",
|
||||
"jquery/jquery.maskedinput.js",
|
||||
"jquery/jquery.validate.js",
|
||||
"datatables/jquery.dataTables.js",
|
||||
"datatables/dataTables.bootstrap5.js",
|
||||
"datatables/dataTables.responsive.js",
|
||||
"datatables/responsive.bootstrap5.js",
|
||||
"datatables/dataTables.scroller.js",
|
||||
//"bootstrap/bootstrap.datepicker.js",
|
||||
//"bootstrap/bootstrap.autocomplete.js",
|
||||
);
|
||||
//array_push($A_JS, "codemirror/codemirror.js","codemirror/xml.js");
|
||||
array_push($A_JS,
|
||||
"moment.js",
|
||||
"select2/select2.js",
|
||||
"coreui/coreui.js",
|
||||
"coreui/coreui.chartjs.js",
|
||||
"simplebar.js",
|
||||
"fonia4.js");
|
||||
|
||||
// add qz support
|
||||
if (!isset($_SESSION['__WEB_APP']['USE_QZTRAY'])) $_SESSION['__WEB_APP']['USE_QZTRAY'] = false;
|
||||
if ($_SESSION['__WEB_APP']['USE_QZTRAY']) {
|
||||
$A_JS[] = "qz/qz-tray.js";
|
||||
}
|
||||
|
||||
$A_JS[] = "lightbox.js";
|
||||
$A_JS[] = "print.js";
|
||||
$A_JS[] = "pdf.js";
|
||||
//$A_JS[] = "summernote-bs4.js";
|
||||
//$A_JS[] = "export.js";
|
||||
$A_JS[] = "simulator.js";
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user