Software: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16. PHP/5.4.16 uname -a: Linux roko-bkp 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17 15:42:21 UTC 2023 x86_64 uid=48(apache) gid=48(apache) groups=48(apache),1003(webmaster) Safe-mode: OFF (not secure) /var/www/html/lib/tinymce/plugins/advhr/js/ drwxr-xr-x |
Viewing file: Select action/file-type: var AdvHRDialog = { init : function(ed) { var dom = ed.dom, f = document.forms[0], n = ed.selection.getNode(), w; w = dom.getAttrib(n, 'width'); f.width.value = w ? parseInt(w) : (dom.getStyle('width') || ''); f.size.value = dom.getAttrib(n, 'size') || parseInt(dom.getStyle('height')) || ''; f.noshade.checked = !!dom.getAttrib(n, 'noshade') || !!dom.getStyle('border-width'); selectByValue(f, 'width2', w.indexOf('%') != -1 ? '%' : 'px'); }, update : function() { var ed = tinyMCEPopup.editor, h, f = document.forms[0], st = ''; h = '<hr'; if (f.size.value) { h += ' size="' + f.size.value + '"'; st += ' height:' + f.size.value + 'px;'; } if (f.width.value) { h += ' width="' + f.width.value + (f.width2.value == '%' ? '%' : '') + '"'; st += ' width:' + f.width.value + (f.width2.value == '%' ? '%' : 'px') + ';'; } if (f.noshade.checked) { h += ' noshade="noshade"'; st += ' border-width: 1px; border-style: solid; border-color: #CCCCCC; color: #ffffff;'; } if (ed.settings.inline_styles) h += ' style="' + tinymce.trim(st) + '"'; h += ' />'; ed.execCommand("mceInsertContent", false, h); tinyMCEPopup.close(); } }; tinyMCEPopup.requireLangPack(); tinyMCEPopup.onInit.add(AdvHRDialog.init, AdvHRDialog); |
:: Command execute :: | |
--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.004 ]-- |