Changeset 13242 for trunk/wp-admin/includes/template.php
- Timestamp:
- 02/20/2010 02:01:46 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r13213 r13242 2112 2112 $actions['spam'] = "<a href='$spam_url' class='delete:the-comment-list:comment-$comment->comment_ID::spam=1 vim-s vim-destructive' title='" . esc_attr__( 'Mark this comment as spam' ) . "'>" . /* translators: mark as spam link */ _x( 'Spam', 'verb' ) . '</a>'; 2113 2113 } elseif ( 'spam' == $the_comment_status ) { 2114 $actions['unspam'] = "<a href='$un trash_url' class='delete:the-comment-list:comment-$comment->comment_ID:66cc66:unspam=1 vim-z vim-destructive'>" . __( 'Not Spam' ) . '</a>';2114 $actions['unspam'] = "<a href='$unspam_url' class='delete:the-comment-list:comment-$comment->comment_ID:66cc66:unspam=1 vim-z vim-destructive'>" . __( 'Not Spam' ) . '</a>'; 2115 2115 } elseif ( 'trash' == $the_comment_status ) { 2116 2116 $actions['untrash'] = "<a href='$untrash_url' class='delete:the-comment-list:comment-$comment->comment_ID:66cc66:untrash=1 vim-z vim-destructive'>" . __( 'Restore' ) . '</a>'; … … 2679 2679 */ 2680 2680 function wp_dropdown_roles( $selected = false ) { 2681 global $wp_roles;2682 2681 $p = ''; 2683 2682 $r = ''; … … 2685 2684 $editable_roles = get_editable_roles(); 2686 2685 2687 foreach ( $editable_roles as $role => $details ) {2686 foreach ( $editable_roles as $role => $details ) { 2688 2687 $name = translate_user_role($details['name'] ); 2689 2688 if ( $selected == $role ) // Make default first in list … … 3289 3288 <label class="screen-reader-text" for="find-posts-input"><?php _e( 'Search' ); ?></label> 3290 3289 <input type="text" id="find-posts-input" name="ps" value="" /> 3291 <input type="button" on click="findPosts.send();" value="<?php esc_attr_e( 'Search' ); ?>" class="button" /><br />3290 <input type="button" onClick="findPosts.send();" value="<?php esc_attr_e( 'Search' ); ?>" class="button" /><br /> 3292 3291 3293 3292 <input type="radio" name="find-posts-what" id="find-posts-posts" checked="checked" value="posts" /> … … 3299 3298 </div> 3300 3299 <div class="find-box-buttons"> 3301 <input type="button" class="button alignleft" on click="findPosts.close();" value="<?php esc_attr_e('Close'); ?>" />3300 <input type="button" class="button alignleft" onClick="findPosts.close();" value="<?php esc_attr_e('Close'); ?>" /> 3302 3301 <input id="find-posts-submit" type="submit" class="button-primary alignright" value="<?php esc_attr_e('Select'); ?>" /> 3303 3302 </div> … … 3545 3544 3546 3545 function screen_meta($screen) { 3547 global $wp_meta_boxes, $_wp_contextual_help, $ post_type;3546 global $wp_meta_boxes, $_wp_contextual_help, $title; 3548 3547 3549 3548 if ( is_string($screen) ) … … 3607 3606 <?php 3608 3607 endif; 3609 3610 global $title;3611 3608 3612 3609 $_wp_contextual_help = apply_filters('contextual_help_list', $_wp_contextual_help, $screen);
Note: See TracChangeset
for help on using the changeset viewer.