Changeset 8287
- Timestamp:
- 07/08/2008 07:00:25 PM (16 years ago)
- Location:
- branches/crazyhorse/wp-admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/crazyhorse/wp-admin/edit-form-advanced.php
r8286 r8287 52 52 <p id="jaxtag"><label class="hidden" for="newtag"><?php _e('Tags'); ?></label><input type="text" name="tags_input" class="tags-input" id="tags-input" size="40" tabindex="3" value="<?php echo get_tags_to_edit( $post->ID ); ?>" /></p> 53 53 <div id="tagchecklist"></div> 54 <?php 55 } 56 add_meta_box('tagsdiv', __('Tags'), 'post_tags_meta_box', 'post', 'normal', 'core'); 54 <p><a href='#'><?php _e( 'Choose from tags' ); ?></a></p> 55 <?php 56 } 57 add_meta_box('tagsdiv', __('Tags'), 'post_tags_meta_box', 'post', 'side', 'core'); 57 58 58 59 function post_categories_meta_box($post) { 59 60 ?> 61 <ul id="category-tabs"> 62 <li class="ui-tabs-selected"><a href="#categories-all" tabindex="3"><?php _e( 'All Categories' ); ?></a></li> 63 <li class="wp-no-js-hidden"><a href="#categories-pop" tabindex="3"><?php _e( 'Most Used' ); ?></a></li> 64 </ul> 65 66 <div id="categories-pop" class="ui-tabs-panel" style="display: none;"> 67 <ul id="categorychecklist-pop" class="categorychecklist form-no-clear" > 68 <?php $popular_ids = wp_popular_terms_checklist('category'); ?> 69 </ul> 70 </div> 71 72 <div id="categories-all" class="ui-tabs-panel"> 73 <ul id="categorychecklist" class="list:category categorychecklist form-no-clear"> 74 <?php wp_category_checklist($post->ID, false, false, $popular_ids) ?> 75 </ul> 76 </div> 77 60 78 <div id="category-adder" class="wp-hidden-children"> 61 79 <h4><a id="category-add-toggle" href="#category-add" class="hide-if-no-js" tabindex="3"><?php _e( '+ Add New Category' ); ?></a></h4> … … 69 87 </div> 70 88 71 <ul id="category-tabs"> 72 <li class="ui-tabs-selected"><a href="#categories-all" tabindex="3"><?php _e( 'All Categories' ); ?></a></li> 73 <li class="wp-no-js-hidden"><a href="#categories-pop" tabindex="3"><?php _e( 'Most Used' ); ?></a></li> 74 </ul> 75 76 <div id="categories-pop" class="ui-tabs-panel" style="display: none;"> 77 <ul id="categorychecklist-pop" class="categorychecklist form-no-clear" > 78 <?php $popular_ids = wp_popular_terms_checklist('category'); ?> 79 </ul> 80 </div> 81 82 <div id="categories-all" class="ui-tabs-panel"> 83 <ul id="categorychecklist" class="list:category categorychecklist form-no-clear"> 84 <?php wp_category_checklist($post->ID, false, false, $popular_ids) ?> 85 </ul> 86 </div> 87 <?php 88 } 89 add_meta_box('categorydiv', __('Categories'), 'post_categories_meta_box', 'post', 'normal', 'core'); 89 <?php 90 } 91 add_meta_box('categorydiv', __('Categories'), 'post_categories_meta_box', 'post', 'side', 'core'); 90 92 91 93 function post_excerpt_meta_box($post) { … … 312 314 if ( '0000-00-00 00:00:00' == $post->post_date ) { // draft, 1 or more saves, no date specified 313 315 $stamp = __( 'Timestamp: <span class="timestamp">Today, %1$s%3$s</span>' ); 316 $date = mysql2date(get_option('date_format'), current_time('mysql')); 317 $time = mysql2date(get_option('time_format'), current_time('mysql')); 318 } else { 319 $date = mysql2date(get_option('date_format'), $post->post_date); 320 $time = mysql2date(get_option('time_format'), $post->post_date); 314 321 } 315 $date = mysql2date(get_option('date_format'), $post->post_date);316 $time = mysql2date(get_option('time_format'), $post->post_date);317 322 } else { // draft (no saves, and thus no date specified) 318 323 $stamp = __( 'Timestamp: <span class="timestamp">Today, %1$s%3$s</span>' ); -
branches/crazyhorse/wp-admin/includes/template.php
r8286 r8287 1190 1190 } 1191 1191 1192 // crazyhorse - this can be made simpler 1192 1193 function do_meta_boxes($page, $context, $object) { 1193 1194 global $wp_meta_boxes; -
branches/crazyhorse/wp-admin/wp-admin.css
r8284 r8287 972 972 } 973 973 974 #side-info-column input#post_password , #side-info-column #tagsdiv #newtag{974 #side-info-column input#post_password { 975 975 width: 94% 976 } 977 978 #side-info-column #tagsdiv #newtag { 979 width: 68%; 976 980 } 977 981 … … 1229 1233 } 1230 1234 1235 #side-info-column { 1236 height: 100%; 1237 } 1238 1231 1239 #side-info-column #side-sortables { 1232 min-height: 100px;1240 height: 100%; 1233 1241 } 1234 1242 … … 1272 1280 } 1273 1281 1274 #side-info-column #category-add input, #category-add select { 1275 width: 40%; 1282 #side-info-column #category-add input { 1283 width: 94%; 1284 } 1285 1286 #side-info-column #category-add select { 1287 width: 100%; 1276 1288 } 1277 1289 … … 1291 1303 #post-body ul#category-tabs li { 1292 1304 padding: 8px; 1293 }1294 1295 #side-info-column ul#category-tabs li {1296 display: inline;1297 padding: 5px 5px 2px;1298 1305 } 1299 1306 … … 1309 1316 } 1310 1317 1311 #side-info-column ul#category-tabs li.ui-tabs-selected {1312 -moz-border-radius-topleft: 3px;1313 -khtml-border-top-left-radius: 3px;1314 -webkit-border-top-left-radius: 3px;1315 border-top-left-radius: 3px;1316 -moz-border-radius-topright: 3px;1317 -khtml-border-top-right-radius: 3px;1318 -webkit-border-top-right-radius: 3px;1319 border-top-right-radius: 3px;1320 border: 1px solid;1321 border-bottom: none;1322 background-color: #fff;1323 }1324 1325 1318 #post-body ul#category-tabs li.ui-tabs-selected a { 1326 1319 color: #333; … … 1341 1334 } 1342 1335 1343 #side-info-column div.ui-tabs-panel{1344 border: 1px solid;1336 #side-info-column #category-tabs, #side-info-column #categories-pop { 1337 display: none; 1345 1338 } 1346 1339
Note: See TracChangeset
for help on using the changeset viewer.