Make WordPress Core

Changeset 9157


Ignore:
Timestamp:
10/14/2008 06:07:49 AM (16 years ago)
Author:
azaozz
Message:

Put post status inline with post name

Location:
trunk/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r9153 r9157  
    12601260            $attributes = 'class="post-title column-title"' . $style;
    12611261        ?>
    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>
    12631263        <?php
    1264             _post_states($post);
    1265 
    12661264            if ( 'excerpt' == $mode )
    12671265                the_excerpt();
     
    14461444        $edit_link = get_edit_post_link( $page->ID );
    14471445        ?>
    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>
    14491447        <?php
    1450         _post_states($page);
    1451 
    14521448        $actions = array();
    14531449        $actions['edit'] = '<a href="' . $edit_link . '">' . __('Edit') . '</a>';
     
    30683064        $state_count = count($post_states);
    30693065        $i = 0;
    3070         echo '<div id="post-states">';
     3066        echo ' - ';
    30713067        foreach ( $post_states as $state ) {
    30723068            ++$i;
     
    30743070            echo "<span class='post-state'>$state$sep</span>";
    30753071        }
    3076         echo '</div>';
    30773072    }
    30783073}
  • trunk/wp-admin/wp-admin.css

    r9154 r9157  
    772772    padding: 0;
    773773    list-style: none;
    774     z-index: 1000;
    775774}
    776775
Note: See TracChangeset for help on using the changeset viewer.