Software: Apache. PHP/8.1.30 uname -a: Linux server1.tuhinhossain.com 5.15.0-163-generic #173-Ubuntu SMP Tue Oct 14 17:51:00 UTC uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root) Safe-mode: OFF (not secure) /home/picotech/domains/ecom1.picotech.app/public_html_ecom1/Modules/Blog/Resources/assets/js/ drwxr-xr-x | |
| Viewing file: Select action/file-type: "use strict";$(".main-body .page-wrapper").find("#page-container").length&&($(document).ready(function(){$("#summernote").summernote({tabsize:2,height:120,blockquoteBreakingLevel:2,styleTags:["p",{title:"Blockquote",tag:"blockquote",className:"blockquote",value:"blockquote"},"pre","h1","h2","h3","h4","h5","h6"],toolbar:[["style",["style"]],["font",["bold","underline","clear"]],["color",["color"]],["para",["ul","ol","paragraph"]],["table",["table"]],["insert",["link"]],["view",["codeview","help"]]],codeviewFilter:!0,codeviewFilterRegex:summernote_regex,callbacks:{onInit:function(){$("<div class=\"note-file btn-group note-btn-group\"><button id=\"makeSnote\" type=\"button\" class=\"note-btn editor-img-btn btn btn-default btn-sm has-media-manager\" data-val=\"single\" tabindex=\"-1\" title=\"\" aria-label=\"Picture\" data-original-title=\"Picture\" aria-describedby=\"tooltip682862\"><i class=\"note-icon-picture\"></i></button></div>").appendTo($(".note-toolbar"))},onChange:function(){}}})}),$(document).on("file-attached",".has-thumbnail",function(a,b){$("#blog-image").html(b.html)}),$(document).on("file-attached",".editor-img-btn",function(a,b){b.data.forEach(a=>{$("#summernote").summernote("pasteHTML"," <span><img src=\""+a.url+"\" style=\"width: 200px;\"/><br></span>")})}),$(document).on("keyup","#title",function(){var a=this.value.replace(/[&\/\\#@,+()$~%.'":*?<>{}]/g,"");$("#slug").val(a.trim().toLowerCase().replace(/\s/g,"-")),$(this).siblings(".error").remove(),$("#slug").siblings(".error").remove()}),$(document).on("keyup","#slug",function(){var a=this.value.replace(/[&\/\\#@,+()$~%.'":*?<>{}]/g,"");$("#slug").val(a.trim().toLowerCase().replace(/\s/g,"-"))}),$(document).on("keyup",".note-editable",function(){$(this.closest(".form-group")).find(".error").remove()}),$(document).on("keyup","#summary",function(){$(this).siblings(".error").remove()}),$(document).on("submit","#blogForm",function(){$("#summernote").summernote("codeview.isActivated")&&$("#summernote").summernote("codeview.deactivate")}));function formValidation(){let a=!0,b=["#category_id","#title","#slug","#summernote","#summary"];for(const c in b)""==$(b[c]).val().length&&0==$(b[c]).siblings(".error").length?($(b[c]).parent().append(`
<label class="error">${jsLang("This field is required.")}</label>
`),a=!1):""==$(b[c]).val().length&&(a=!1);return!1!=a&&($("#btnSubmit").text(jsLang("Creating")).append(`<div class="spinner-border spinner-border-sm ml-2" role="status"></div>`).addClass("disabled-btn"),!0)}
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0046 ]-- |