WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/18/2008 10:10:41 AM (12 years ago)
Author:
azaozz
Message:

crazyhorse: fixed toolbar on write post screen, sortables js improvements, no redirect after publishing post

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/crazyhorse/wp-admin/admin-header.php

    r8335 r8371  
    1616        add_filter( 'admin_body_class', 'add_minwidth' );
    1717}
     18
     19$fixed_bar_pages = array( 'post.php', 'post-new.php' );
     20$fixed_bar = in_array( $the_current_page, $fixed_bar_pages ) ? true : false;
    1821
    1922get_admin_page_title();
     
    120123}
    121124?>
    122 <div id="wpbody"><div id="wpbody-content">
     125<div id="wpbody">
     126
     127<?php if ( ! $fixed_bar ) { ?>
     128<div id="wpbody-content">
     129<?php } ?>
Note: See TracChangeset for help on using the changeset viewer.