Software: Apache. PHP/5.5.15 uname -a: Windows NT SVR-DMZ 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 SYSTEM Safe-mode: OFF (not secure) C:\Users\DMZ\Desktop\cumbreclima0909\wp-content\plugins\wcp-contact-form\assets\js\ drwxrwxrwx |
Viewing file: wcp-contactform.js (1.44 KB) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | (function() { tinymce.create('tinymce.plugins.wcpContactForm', { init : function(ed, url) { ed.addButton('wcp_contactform', { title : 'Add New WCP Contact Form', image : url+'/ico.png', onclick : function() { ed.selection.setContent('[wcp_contactform id="' + uniqueid() + '"]'); } }); }, createControl : function(n, cm) { return null; }, getInfo : function() { return { longname : "FontAwesome Constructor", author : 'Webcodin', authorurl : 'http://wpdemo.webcodin.com/', version : "1.0" }; } }); tinymce.PluginManager.add('wcp_contactform', tinymce.plugins.wcpContactForm); function uniqueid(){ // always start with a letter (for DOM friendlyness) var idstr=String.fromCharCode(Math.floor((Math.random()*25)+65)); do { // between numbers and characters (48 is 0 and 90 is Z (42-48 = 90) var ascicode=Math.floor((Math.random()*42)+48); if (ascicode<58 || ascicode>64){ // exclude all chars between : (58) and @ (64) idstr+=String.fromCharCode(ascicode); } } while (idstr.length<9); return 'wcpform_' + (idstr.toLowerCase()); } })(); |
:: Command execute :: | |
--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0156 ]-- |