update improvment dec 2023
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
Desc. : CSS Default Configuration
|
Desc. : CSS Default Configuration
|
||||||
Created By : Siau Pheng ([email protected]).
|
Created By : Siau Pheng ([email protected]).
|
||||||
Created Date : December 20th, 2007.
|
Created Date : December 20th, 2007.
|
||||||
Last Modified : May 20th, 2023.
|
Last Modified : December 16th, 2023.
|
||||||
|
|
||||||
(c) 2009 - 2023, 3FONIA Software; WWW.3FONIA.COM.
|
(c) 2009 - 2023, 3FONIA Software; WWW.3FONIA.COM.
|
||||||
|
|
||||||
@@ -368,7 +368,8 @@ table * .r { text-align: right !important; }
|
|||||||
table * .c { text-align: center !important; }
|
table * .c { text-align: center !important; }
|
||||||
table * .wr { white-space: normal !important; }
|
table * .wr { white-space: normal !important; }
|
||||||
table * .nwr { white-space: nowrap !important; }
|
table * .nwr { white-space: nowrap !important; }
|
||||||
table * .awr { white-space: nowrap !important; max-width: 300px; overflow: hidden; text-overflow: ellipsis; }
|
table * .awr, table * .awr-400 { white-space: nowrap !important; max-width: 300px; overflow: hidden; text-overflow: ellipsis; }
|
||||||
|
table * .awr-400 { max-width: 400px; }
|
||||||
table * .hid { visibility: hidden !important; display: none !important; }
|
table * .hid { visibility: hidden !important; display: none !important; }
|
||||||
table * .nb { border: 0 !important; }
|
table * .nb { border: 0 !important; }
|
||||||
|
|
||||||
|
|||||||
+6
-1
@@ -133,6 +133,10 @@ var FoniaJS = {
|
|||||||
FoniaJS.callMenu(linkid);
|
FoniaJS.callMenu(linkid);
|
||||||
if (sbar.length > 0) { sbar.modal('toggle'); }
|
if (sbar.length > 0) { sbar.modal('toggle'); }
|
||||||
});
|
});
|
||||||
|
$(".slink").click(function(e){
|
||||||
|
var ddown = $(this).closest('.dropdown-menu');
|
||||||
|
if (ddown.length > 0) { ddown.dropdown('toggle'); }
|
||||||
|
});
|
||||||
if ($("#HomeLink").length){
|
if ($("#HomeLink").length){
|
||||||
$("#HomeLink").click(function(){
|
$("#HomeLink").click(function(){
|
||||||
this.closeAllWindows();
|
this.closeAllWindows();
|
||||||
@@ -385,6 +389,7 @@ var FoniaJS = {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
$('.option-tags').each(function() {//oke
|
$('.option-tags').each(function() {//oke
|
||||||
|
if (!jQuery.isFunction(jQuery.fn.select2)) return;
|
||||||
var _opts = {tags: false, dropdownAutoWidth: true, width: 'auto', theme: 'bootstrap-5'};
|
var _opts = {tags: false, dropdownAutoWidth: true, width: 'auto', theme: 'bootstrap-5'};
|
||||||
var _dmodal = $(this).closest('div.modal');
|
var _dmodal = $(this).closest('div.modal');
|
||||||
if ($(_dmodal).hasClass('modal')) _opts.dropdownParent = _dmodal;
|
if ($(_dmodal).hasClass('modal')) _opts.dropdownParent = _dmodal;
|
||||||
@@ -946,7 +951,7 @@ Request.JSONF = function(options){//oke
|
|||||||
$(this).parent().addClass(span);
|
$(this).parent().addClass(span);
|
||||||
});
|
});
|
||||||
// create hover title for awr class td
|
// create hover title for awr class td
|
||||||
$('#'+ini.id+'Tabel tbody td.awr').each(function(){
|
$('#'+ini.id+'Tabel tbody td[class*="awr"]').each(function(){
|
||||||
$(this).attr('title', $(this).html().replace(/<br\s*[\/]?>/gi,'\n').replace(/(<([^>]+)>)/gi,''));
|
$(this).attr('title', $(this).html().replace(/<br\s*[\/]?>/gi,'\n').replace(/(<([^>]+)>)/gi,''));
|
||||||
});
|
});
|
||||||
// generate pagelength option
|
// generate pagelength option
|
||||||
|
|||||||
+5
-5
@@ -6,7 +6,7 @@
|
|||||||
Desc. : v3 - Class menu
|
Desc. : v3 - Class menu
|
||||||
Created By : Siau Pheng ([email protected]).
|
Created By : Siau Pheng ([email protected]).
|
||||||
Created Date : January 16th, 2008.
|
Created Date : January 16th, 2008.
|
||||||
Last Modified : November 1st, 2023.
|
Last Modified : December 14th, 2023.
|
||||||
|
|
||||||
(c) 2008 - 2023, 3FONIA Software; WWW.3FONIA.COM.
|
(c) 2008 - 2023, 3FONIA Software; WWW.3FONIA.COM.
|
||||||
|
|
||||||
@@ -35,7 +35,7 @@ final class Menu {
|
|||||||
|
|
||||||
public function Menu_Sidebar() {//oke
|
public function Menu_Sidebar() {//oke
|
||||||
$a_modul = array();
|
$a_modul = array();
|
||||||
$is_modul = (isset($_SESSION['__WEB_APP']['APP_MODULE']) && $_SESSION['__WEB_APP']['APP_MODULE'] <> "") ? true : false;
|
$is_modul = (($_SESSION['__WEB_APP']['APP_MODULE'] ?? "") <> "") ? true : false;
|
||||||
if ($is_modul == true) {
|
if ($is_modul == true) {
|
||||||
$a_modul[] = $_SESSION['__WEB_APP']['APP_MODULE'];
|
$a_modul[] = $_SESSION['__WEB_APP']['APP_MODULE'];
|
||||||
} else {
|
} else {
|
||||||
@@ -45,7 +45,7 @@ final class Menu {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$my_menu = explode(",", (($_SESSION['__WEB_USER']['Menu_Grup'])?$_SESSION['__WEB_USER']['Menu_Grup'].",":"").$_SESSION['__WEB_USER']['Menu']);
|
$my_menu = array_unique(array_filter(explode(",", $_SESSION['__WEB_USER']['Menu_Grup'].",".$_SESSION['__WEB_USER']['Menu'])));
|
||||||
$tsql = " AND Modul IN ('".implode("','",$a_modul)."')";
|
$tsql = " AND Modul IN ('".implode("','",$a_modul)."')";
|
||||||
$tsql .= ($is_modul == true) ? " AND Level>0" : "";
|
$tsql .= ($is_modul == true) ? " AND Level>0" : "";
|
||||||
$tsql .= " AND Kode IN ('".implode("','",$my_menu)."')";
|
$tsql .= " AND Kode IN ('".implode("','",$my_menu)."')";
|
||||||
@@ -74,7 +74,7 @@ final class Menu {
|
|||||||
|
|
||||||
public function Menu_Header() {//oke
|
public function Menu_Header() {//oke
|
||||||
$a_modul = array();
|
$a_modul = array();
|
||||||
$is_modul = (isset($_SESSION['__WEB_APP']['APP_MODULE']) && $_SESSION['__WEB_APP']['APP_MODULE'] <> "") ? true : false;
|
$is_modul = (($_SESSION['__WEB_APP']['APP_MODULE'] ?? "") <> "") ? true : false;
|
||||||
$mulai_level = 0;
|
$mulai_level = 0;
|
||||||
if ($is_modul == true) {
|
if ($is_modul == true) {
|
||||||
$a_modul[] = $_SESSION['__WEB_APP']['APP_MODULE'];
|
$a_modul[] = $_SESSION['__WEB_APP']['APP_MODULE'];
|
||||||
@@ -86,7 +86,7 @@ final class Menu {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$my_menu = explode(",", (($_SESSION['__WEB_USER']['Menu_Grup'])?$_SESSION['__WEB_USER']['Menu_Grup'].",":"").$_SESSION['__WEB_USER']['Menu']);
|
$my_menu = array_unique(array_filter(explode(",", $_SESSION['__WEB_USER']['Menu_Grup'].",".$_SESSION['__WEB_USER']['Menu'])));
|
||||||
$tsql = " AND Modul IN ('".implode("','",$a_modul)."')";
|
$tsql = " AND Modul IN ('".implode("','",$a_modul)."')";
|
||||||
$tsql .= ($is_modul == true) ? " AND Level>0" : "";
|
$tsql .= ($is_modul == true) ? " AND Level>0" : "";
|
||||||
$tsql .= " AND Kode IN ('".implode("','",$my_menu)."')";
|
$tsql .= " AND Kode IN ('".implode("','",$my_menu)."')";
|
||||||
|
|||||||
Reference in New Issue
Block a user