Changeset 9157
- Timestamp:
- 10/14/2008 06:07:49 AM (16 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r9153 r9157 1260 1260 $attributes = 'class="post-title column-title"' . $style; 1261 1261 ?> 1262 <td <?php echo $attributes ?>><strong><?php if ( current_user_can( 'edit_post', $post->ID ) ) { ?><a class="row-title" href="<?php echo $edit_link; ?>" title="<?php echo attribute_escape(sprintf(__('Edit "%s"'), $title)); ?>"><?php echo $title ?></a><?php } else { echo $title; } ?></strong>1262 <td <?php echo $attributes ?>><strong><?php if ( current_user_can( 'edit_post', $post->ID ) ) { ?><a class="row-title" href="<?php echo $edit_link; ?>" title="<?php echo attribute_escape(sprintf(__('Edit "%s"'), $title)); ?>"><?php echo $title ?></a><?php } else { echo $title; }; _post_states($post); ?></strong> 1263 1263 <?php 1264 _post_states($post);1265 1266 1264 if ( 'excerpt' == $mode ) 1267 1265 the_excerpt(); … … 1446 1444 $edit_link = get_edit_post_link( $page->ID ); 1447 1445 ?> 1448 <td <?php echo $attributes ?>><strong><?php if ( current_user_can( 'edit_post', $page->ID ) ) { ?><a class="row-title" href="<?php echo $edit_link; ?>" title="<?php echo attribute_escape(sprintf(__('Edit "%s"'), $title)); ?>"><?php echo $pad; echo $title ?></a><?php } else { echo $pad; echo $title; } ?></strong>1446 <td <?php echo $attributes ?>><strong><?php if ( current_user_can( 'edit_post', $page->ID ) ) { ?><a class="row-title" href="<?php echo $edit_link; ?>" title="<?php echo attribute_escape(sprintf(__('Edit "%s"'), $title)); ?>"><?php echo $pad; echo $title ?></a><?php } else { echo $pad; echo $title; }; _post_states($page); ?></strong> 1449 1447 <?php 1450 _post_states($page);1451 1452 1448 $actions = array(); 1453 1449 $actions['edit'] = '<a href="' . $edit_link . '">' . __('Edit') . '</a>'; … … 3068 3064 $state_count = count($post_states); 3069 3065 $i = 0; 3070 echo ' <div id="post-states">';3066 echo ' - '; 3071 3067 foreach ( $post_states as $state ) { 3072 3068 ++$i; … … 3074 3070 echo "<span class='post-state'>$state$sep</span>"; 3075 3071 } 3076 echo '</div>';3077 3072 } 3078 3073 } -
trunk/wp-admin/wp-admin.css
r9154 r9157 772 772 padding: 0; 773 773 list-style: none; 774 z-index: 1000;775 774 } 776 775
Note: See TracChangeset
for help on using the changeset viewer.