Make WordPress Core


Ignore:
Timestamp:
01/03/2008 08:03:29 AM (17 years ago)
Author:
matt
Message:

Post screen improvementsHHH, er, changes. Will file tickets for todos.

File:
1 edited

Legend:

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

    r6538 r6544  
    923923        #postdivrich table, #postdivrich #quicktags {border-top: none;}
    924924        #quicktags {border-bottom: none; padding-bottom: 2px; margin-bottom: -1px;}
    925         #edButtons {border-bottom: 1px solid #ccc;}
    926925    </style>
    927     <div id='edButtons' style='display:none;'>
     926    <div id='editor-toolbar' style='display:none;'>
    928927        <div class='zerosize'><input accesskey='e' type='button' onclick='switchEditors("<?php echo $id; ?>")' /></div>
    929         <input id='edButtonPreview' class='edButtonFore' type='button' value='<?php _e('Visual'); ?>' />
    930         <input id='edButtonHTML' class='edButtonBack' type='button' value='<?php _e('Code'); ?>' onclick='switchEditors("<?php echo $id; ?>")' />
     928        <a id='edButtonHTML' class='' onclick='switchEditors("<?php echo $id; ?>")'><?php _e('HTML'); ?></a>
     929        <a id='edButtonPreview' class='active'><?php _e('Visual'); ?></a>
     930        <div id="media-buttons">
     931        <?php _e('Add media:'); ?>
     932        <?php do_action( 'media_buttons'); ?>
     933        </div>
    931934    </div>
    932935    <script type="text/javascript">
    933936    // <![CDATA[
    934937        if ( typeof tinyMCE != "undefined" && tinyMCE.configs.length > 0 )
    935             document.getElementById('edButtons').style.display = 'block';
     938            document.getElementById('editor-toolbar').style.display = 'block';
    936939    // ]]>
    937940    </script>
Note: See TracChangeset for help on using the changeset viewer.