Changeset 9109
- Timestamp:
- 10/09/2008 05:58:10 AM (17 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
-
includes/template.php (modified) (4 diffs)
-
wp-admin.css (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r9108 r9109 743 743 $posts_columns['title'] = __('Title'); 744 744 745 $post_status = isset( $_GET['post_status'] ) ? $_GET['post_status'] : ''; 746 747 switch( $post_status ) { 748 case 'draft': 749 $posts_columns['modified'] = __('Modified'); 750 break; 751 case 'pending': 752 $posts_columns['modified'] = __('Submitted'); 753 break; 754 default: 755 $posts_columns['date'] = __('Date'); 756 } 745 if ( isset($_GET['post_status']) && 'draft' === $_GET['post_status'] ) 746 $posts_columns['modified'] = __('Modified'); 747 elseif ( isset($_GET['post_status']) && 'pending' === $_GET['post_status'] ) 748 $posts_columns['modified'] = __('Submitted'); 749 else 750 $posts_columns['date'] = __('Date'); 757 751 758 752 $posts_columns['author'] = __('Author'); … … 866 860 foreach ( $columns as $column_key => $column_display_name ) { 867 861 $class = ' class="manage-column'; 868 869 if ( 'modified' == $column_key )870 $column_key = 'date';871 862 872 863 $class .= " column-$column_key"; … … 1269 1260 case 'modified': 1270 1261 case 'date': 1271 $attributes = 'class="date column-date"' . $style;1272 1262 if ( '0000-00-00 00:00:00' == $post->post_date && 'date' == $column_name ) { 1273 1263 $t_time = $h_time = __('Unpublished'); … … 1493 1483 case 'modified': 1494 1484 case 'date': 1495 $attributes = 'class="date column-date"' . $style;1496 1485 if ( '0000-00-00 00:00:00' == $page->post_date && 'date' == $column_name ) { 1497 1486 $t_time = $h_time = __('Unpublished'); -
trunk/wp-admin/wp-admin.css
r9103 r9109 2223 2223 } 2224 2224 2225 .inline-editor .date { 2225 .inline-editor .date, 2226 .inline-editor .modified { 2226 2227 width: 160px; 2227 2228 } 2228 2229 2229 .inline-editor .date input { 2230 .inline-editor .date input, 2231 .inline-editor .modified input { 2230 2232 padding: 2px 1px; 2231 2233 margin: 1px; … … 2233 2235 } 2234 2236 2235 .inline-editor .date input[name="aa"] { 2237 .inline-editor .date input[name="aa"], 2238 .inline-editor .modified input[name="aa"] { 2236 2239 width: 30px; 2237 2240 } 2238 2241 2239 #wpbody-content .inline-editor .date select { 2242 #wpbody-content .inline-editor .date select, 2243 #wpbody-content .inline-editor .modified select { 2240 2244 width: 80px; 2241 2245 }
Note: See TracChangeset
for help on using the changeset viewer.