Changeset 11191
- Timestamp:
- 05/05/2009 04:59:19 AM (15 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r11190 r11191 854 854 'categories' => __('Categories'), 855 855 'rel' => __('Relationship'), 856 'visible' => __('Visible') 856 'visible' => __('Visible'), 857 'rating' => __('Rating') 857 858 ); 858 859 -
trunk/wp-admin/link-manager.php
r11190 r11191 175 175 $short_url = substr($short_url, 0, 32).'...'; 176 176 $visible = ($link->link_visible == 'Y') ? __('Yes') : __('No'); 177 $rating = $link->link_rating; 177 178 $style = ($alt % 2) ? '' : ' class="alternate"'; 178 179 ++ $alt; … … 185 186 if ( in_array($column_name, $hidden) ) 186 187 $style = ' style="display:none;"'; 187 if ( 'visible' == $column_name ) 188 $style = empty($style) ? ' style="text-align: center;"' : ' style="text-align: center; display: none;"'; 188 189 189 $attributes = "$class$style"; 190 190 … … 234 234 ?><td <?php echo $attributes ?>><?php echo $visible; ?></td><?php 235 235 break; 236 case 'rating': 237 ?><td <?php echo $attributes ?>><?php echo $rating; ?></td><?php 238 break; 236 239 default: 237 240 ?> -
trunk/wp-admin/wp-admin.css
r11183 r11191 415 415 } 416 416 417 table .vers {418 text-align: center;419 }420 421 417 textarea.all-options, input.all-options { 422 418 width: 250px; … … 2135 2131 } 2136 2132 2137 td.action-links, th.action-links { 2133 td.action-links, 2134 th.action-links { 2138 2135 text-align: right; 2139 2136 } … … 3019 3016 } 3020 3017 3018 .fixed .column-rating, 3019 .fixed .column-visible { 3020 width: 8%; 3021 } 3022 3021 3023 .fixed .column-date, 3022 3024 .fixed .column-parent, 3023 .fixed .column-visible,3024 3025 .fixed .column-links { 3025 3026 width: 10%; … … 3061 3062 .widefat td { 3062 3063 overflow: hidden; 3064 } 3065 3066 table .vers, 3067 table .column-visible, 3068 table .column-rating { 3069 text-align: center; 3063 3070 } 3064 3071
Note: See TracChangeset
for help on using the changeset viewer.