Make WordPress Core


Ignore:
Timestamp:
06/26/2009 11:07:10 AM (17 years ago)
Author:
azaozz
Message:

Fix overlap in plugin and theme editors, props eddieringle, fixes #10101 for trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/theme-editor.php

    r11615 r11647  
    118118<?php screen_icon(); ?>
    119119<h2><?php echo esc_html( $title ); ?></h2>
    120 <div class="bordertitle">
    121         <form id="themeselector" action="theme-editor.php" method="post">
     120
     121<div class="fileedit-sub">
     122<div class="alignleft">
     123<big><?php echo sprintf($desc_header, $file_show); ?></big>
     124</div>
     125<div class="alignright">
     126        <form action="theme-editor.php" method="post">
    122127                <strong><label for="theme"><?php _e('Select theme to edit:'); ?> </label></strong>
    123128                <select name="theme" id="theme">
     
    135140        </form>
    136141</div>
    137 <div class="tablenav">
    138 <div class="alignleft">
    139 <big><?php echo sprintf($desc_header, $file_show); ?></big>
    140 </div>
    141142<br class="clear" />
    142143</div>
    143144<br class="clear" />
    144145        <div id="templateside">
    145         <h3 id="bordertitle"><?php _e("Theme Files"); ?></h3>
     146        <h3><?php _e("Theme Files"); ?></h3>
    146147
    147148<?php
     
    194195<?php endif; ?>
    195196</div>
    196         <?php
    197         if (!$error) {
    198         ?>
     197<?php if (!$error) { ?>
    199198        <form name="template" id="template" action="theme-editor.php" method="post">
    200199        <?php wp_nonce_field('edit-theme_' . $file . $theme) ?>
     
    224223                </div>
    225224        </form>
    226         <?php
     225<?php
    227226        } else {
    228227                echo '<div class="error"><p>' . __('Oops, no such file exists! Double check the name and try again, merci.') . '</p></div>';
    229228        }
    230         ?>
    231 <div class="clear"> &nbsp; </div>
     229?>
     230<br class="clear" />
    232231</div>
    233232<?php
     
    235234}
    236235
    237 include("admin-footer.php") ?>
     236include("admin-footer.php");
Note: See TracChangeset for help on using the changeset viewer.