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\cumbreclima\wp-content\plugins\contact-form-7\admin\js\ drwxrwxrwx |
Viewing file: scripts.js (2.62 KB) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | (function($) { $(function() { try { var welcomePanel = $('#welcome-panel'); var updateWelcomePanel; updateWelcomePanel = function( visible ) { $.post( ajaxurl, { action: 'wpcf7-update-welcome-panel', visible: visible, welcomepanelnonce: $( '#welcomepanelnonce' ).val() }); }; $('a.welcome-panel-close', welcomePanel).click(function(event) { event.preventDefault(); welcomePanel.addClass('hidden'); updateWelcomePanel( 0 ); }); $('div.cf7com-links').insertAfter($('div.wrap h2:first')); $.extend($.tgPanes, _wpcf7.tagGenerators); $('#taggenerator').tagGenerator(_wpcf7.generateTag, { dropdownIconUrl: _wpcf7.pluginUrl + '/admin/images/dropdown.gif', fadebuttImageUrl: _wpcf7.pluginUrl + '/admin/images/fade-butt.png' }); $('input#wpcf7-title:disabled').css({cursor: 'default'}); $('input#wpcf7-title').mouseover(function() { $(this).not('.focus').addClass('mouseover'); }); $('input#wpcf7-title').mouseout(function() { $(this).removeClass('mouseover'); }); $('input#wpcf7-title').focus(function() { $(this).addClass('focus').removeClass('mouseover'); }); $('input#wpcf7-title').blur(function() { $(this).removeClass('focus'); }); $('input#wpcf7-title').change(function() { updateTag(); }); $('#show-all-messages').click(function() { $('#messagesdiv .hide-initially').slideDown(); $(this).closest('p').remove(); return false; }); updateTag(); $('.check-if-these-fields-are-active').each(function(index) { if (! $(this).is(':checked')) $(this).parent().siblings('.mail-fields').hide(); $(this).click(function() { if ($(this).parent().siblings('.mail-fields').is(':hidden') && $(this).is(':checked')) { $(this).parent().siblings('.mail-fields').slideDown('fast'); } else if ($(this).parent().siblings('.mail-fields').is(':visible') && $(this).not(':checked')) { $(this).parent().siblings('.mail-fields').slideUp('fast'); } }); }); postboxes.add_postbox_toggles(_wpcf7.screenId); } catch (e) { } }); function updateTag() { var title = $('input#wpcf7-title').val(); if (title) title = title.replace(/["'\[\]]/g, ''); $('input#wpcf7-title').val(title); var postId = $('input#post_ID').val(); var tag = '[contact-form-7 id="' + postId + '" title="' + title + '"]'; $('input#contact-form-anchor-text').val(tag); var oldId = $('input#wpcf7-id').val(); if (0 != oldId) { var tagOld = '[contact-form ' + oldId + ' "' + title + '"]'; $('input#contact-form-anchor-text-old').val(tagOld).parent('p.tagcode').show(); } } })(jQuery); |
:: Command execute :: | |
--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0156 ]-- |