Ticket #8026: 8026.2.patch
| File 8026.2.patch, 1.5 KB (added by Viper007Bond, 5 years ago) |
|---|
-
wp-admin/includes/template.php
2829 2829 <?php wp_nonce_field( 'find-posts', '_ajax_nonce', false ); ?> 2830 2830 <label class="hidden" for="find-posts-input"><?php _e( 'Search' ); ?></label> 2831 2831 <input type="text" id="find-posts-input" class="search-input" name="ps" value="" /> 2832 <input type="button" on Click="findPosts.send();" value="<?php _e( 'Search' ); ?>" class="button" /><br />2832 <input type="button" onclick="findPosts.send();" value="<?php _e( 'Search' ); ?>" class="button" /><br /> 2833 2833 2834 2834 <input type="radio" name="find-posts-what" id="find-posts-posts" checked="checked" value="posts" /> 2835 2835 <label for="find-posts-posts"><?php _e( 'Posts' ); ?></label> … … 2839 2839 <div id="find-posts-response"></div> 2840 2840 </div> 2841 2841 <div class="find-box-buttons"> 2842 <input type="button" class="button" on Click="findPosts.close();" value="<?php _e('Close'); ?>" />2842 <input type="button" class="button" onclick="findPosts.close();" value="<?php _e('Close'); ?>" /> 2843 2843 <input id="find-posts-submit" type="submit" class="button" value="<?php _e('Select'); ?>" /> 2844 2844 </div> 2845 2845 </div> 2846 2846 <script type="text/javascript"> 2847 /* <![CDATA[ */ 2847 2848 (function($){ 2848 2849 findPosts = { 2849 2850 open : function(af_name, af_val) { … … 2938 2939 }); 2939 2940 }); 2940 2941 })(jQuery); 2942 /* ]]> */ 2941 2943 </script> 2942 2944 <?php 2943 2945 }