File manager - Edit - /home/newsbmcs.com/public_html/static/img/logo/transformations.tar
Back
xml_editor.js 0000644 00000000562 15030205115 0007243 0 ustar 00 /** * XML editor plugin * * @package PhpMyAdmin */ AJAX.registerOnload('transformations/xml_editor.js', function () { $('textarea.transform_xml_editor').each(function () { CodeMirror.fromTextArea(this, { lineNumbers: true, indentUnit: 4, mode: 'application/xml', lineWrapping: true }); }); }); json_editor.js 0000644 00000000663 15030205115 0007416 0 ustar 00 /** * JSON syntax highlighting transformation plugin * * @package PhpMyAdmin */ AJAX.registerOnload('transformations/json_editor.js', function () { $('textarea.transform_json_editor').each(function () { CodeMirror.fromTextArea(this, { lineNumbers: true, matchBrackets: true, indentUnit: 4, mode: 'application/json', lineWrapping: true }); }); }); sql_editor.js 0000644 00000000424 15030205115 0007237 0 ustar 00 /** * SQL syntax highlighting transformation plugin js * * @package PhpMyAdmin */ AJAX.registerOnload('transformations/sql_editor.js', function () { $('textarea.transform_sql_editor').each(function () { Functions.getSqlEditor($(this), {}, 'both'); }); }); json.js 0000644 00000001164 15030205115 0006045 0 ustar 00 /** * JSON syntax highlighting transformation plugin */ AJAX.registerOnload('transformations/json.js', function () { var $elm = $('#page_content').find('code.json'); $elm.each(function () { var $json = $(this); var $pre = $json.find('pre'); /* We only care about visible elements to avoid double processing */ if ($pre.is(':visible')) { var $highlight = $('<div class="json-highlight cm-s-default"></div>'); $json.append($highlight); CodeMirror.runMode($json.text(), 'application/json', $highlight[0]); $pre.hide(); } }); }); image_upload.js 0000644 00000001423 15030205115 0007520 0 ustar 00 /** * Image upload transformations plugin js * * @package PhpMyAdmin */ AJAX.registerOnload('transformations/image_upload.js', function () { // Change thumbnail when image file is selected // through file upload dialog $('input.image-upload').on('change', function () { if (this.files && this.files[0]) { var reader = new FileReader(); var $input = $(this); reader.onload = function (e) { $input.prevAll('img').attr('src', e.target.result); }; reader.readAsDataURL(this.files[0]); } }); }); /** * Unbind all event handlers before tearing down a page */ AJAX.registerTeardown('transformations/image_upload.js', function () { $('input.image-upload').off('change'); }); xml.js 0000644 00000001157 15030205115 0005676 0 ustar 00 /** * XML syntax highlighting transformation plugin */ AJAX.registerOnload('transformations/xml.js', function () { var $elm = $('#page_content').find('code.xml'); $elm.each(function () { var $json = $(this); var $pre = $json.find('pre'); /* We only care about visible elements to avoid double processing */ if ($pre.is(':visible')) { var $highlight = $('<div class="xml-highlight cm-s-default"></div>'); $json.append($highlight); CodeMirror.runMode($json.text(), 'application/xml', $highlight[0]); $pre.hide(); } }); });
| ver. 1.4 |
Github
|
.
| PHP 8.2.28 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings