Changeset 14614 for trunk/wp-admin/includes/template.php
- Timestamp:
- 05/14/2010 12:34:04 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r14593 r14614 64 64 <p class="inline-edit-save submit"> 65 65 <a accesskey="c" href="#inline-edit" title="<?php _e('Cancel'); ?>" class="cancel button-secondary alignleft"><?php _e('Cancel'); ?></a> 66 <?php $update_text = sprintf( __('Update %s'), $tax->singular_label ); ?>66 <?php $update_text = $tax->labels->update_item; ?> 67 67 <a accesskey="s" href="#inline-edit" title="<?php echo esc_attr( $update_text ); ?>" class="save button-primary alignright"><?php echo $update_text; ?></a> 68 68 <img class="waiting" style="display:none;" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" /> … … 977 977 <?php foreach ( $hierarchical_taxonomies as $taxonomy ) : ?> 978 978 979 <span class="title inline-edit-categories-label"><?php echo esc_html($taxonomy->label ) ?>979 <span class="title inline-edit-categories-label"><?php echo esc_html($taxonomy->labels->name) ?> 980 980 <span class="catshow"><?php _e('[more]'); ?></span> 981 981 <span class="cathide" style="display:none;"><?php _e('[less]'); ?></span> … … 1041 1041 1042 1042 <label class="inline-edit-tags"> 1043 <span class="title"><?php echo esc_html($taxonomy->label ) ?></span>1043 <span class="title"><?php echo esc_html($taxonomy->labels->name) ?></span> 1044 1044 <textarea cols="22" rows="1" name="tax_input[<?php echo esc_attr($taxonomy->name)?>]" class="tax_input_<?php echo esc_attr($taxonomy->name)?>"></textarea> 1045 1045 </label> … … 1567 1567 $edit_link = get_edit_post_link( $page->ID ); 1568 1568 ?> 1569 <td <?php echo $attributes ?>><strong><?php if ( current_user_can($post_type_object->cap->edit_post, $page->ID) && $post->post_status != 'trash' ) { ?><a class="row-title" href="<?php echo $edit_link; ?>" title="<?php echo esc_attr(sprintf(__('Edit “%s”'), $title)); ?>"><?php echo $pad; echo $title ?></a><?php } else { echo $pad; echo $title; }; _post_states($page); echo isset($parent_name) ? ' | ' . $post_type_object->labels->parent . ' ' . esc_html($parent_name) : ''; ?></strong>1569 <td <?php echo $attributes ?>><strong><?php if ( current_user_can($post_type_object->cap->edit_post, $page->ID) && $post->post_status != 'trash' ) { ?><a class="row-title" href="<?php echo $edit_link; ?>" title="<?php echo esc_attr(sprintf(__('Edit “%s”'), $title)); ?>"><?php echo $pad; echo $title ?></a><?php } else { echo $pad; echo $title; }; _post_states($page); echo isset($parent_name) ? ' | ' . $post_type_object->labels->parent_item_colon . ' ' . esc_html($parent_name) : ''; ?></strong> 1570 1570 <?php 1571 1571 $actions = array(); … … 3763 3763 case 'edit-tags': 3764 3764 global $tax; 3765 $per_page_label = $tax->label ;3765 $per_page_label = $tax->labels->name; 3766 3766 break; 3767 3767 case 'plugins':
Note: See TracChangeset
for help on using the changeset viewer.