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) E:\nuevo\phpMyAdmin\js\ drwxrwxrwx |
Viewing file: config.js (23.76 KB) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * Functions used in configuration forms and on user preferences pages */ /** * Unbind all event handlers before tearing down a page */ AJAX.registerTeardown('config.js', function () { $('input[id], select[id], textarea[id]').unbind('change').unbind('keyup'); $('input[type=button][name=submit_reset]').unbind('click'); $('div.tabs_contents').undelegate(); $('#import_local_storage, #export_local_storage').unbind('click'); $('form.prefs-form').unbind('change').unbind('submit'); $('div.click-hide-message').die('click'); $('#prefs_autoload').find('a').unbind('click'); }); AJAX.registerOnload('config.js', function () { $('#topmenu2').find('li.active a').attr('rel', 'samepage'); $('#topmenu2').find('li:not(.active) a').attr('rel', 'newpage'); }); // default values for fields var defaultValues = {}; /** * Returns field type * * @param {Element} field */ function getFieldType(field) { field = $(field); var tagName = field.prop('tagName'); if (tagName == 'INPUT') { return field.attr('type'); } else if (tagName == 'SELECT') { return 'select'; } else if (tagName == 'TEXTAREA') { return 'text'; } return ''; } /** * Sets field value * * value must be of type: * o undefined (omitted) - restore default value (form default, not PMA default) * o String - if field_type is 'text' * o boolean - if field_type is 'checkbox' * o Array of values - if field_type is 'select' * * @param {Element} field * @param {String} field_type see {@link #getFieldType} * @param {String |
:: Command execute :: | |
--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0156 ]-- |