Make WordPress Core


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

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

File:
1 edited

Legend:

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

    r11616 r11646  
    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>
    143 <br class="clear" />
    144     <div id="templateside">
    145     <h3 id="bordertitle"><?php _e("Theme Files"); ?></h3>
     144
     145<div id="templateside">
     146    <h3><?php _e("Theme Files"); ?></h3>
    146147
    147148<?php
     
    194195<?php endif; ?>
    195196</div>
    196     <?php
    197     if (!$error) {
    198     ?>
    199     <form name="template" id="template" action="theme-editor.php" method="post">
     197
     198<?php if (!$error) { ?>
     199<form name="template" id="template" action="theme-editor.php" method="post">
    200200    <?php wp_nonce_field('edit-theme_' . $file . $theme) ?>
    201201         <div><textarea cols="70" rows="25" name="newcontent" id="newcontent" tabindex="1" class="codepress <?php echo $codepress_lang ?>"><?php echo $content ?></textarea>
     
    223223<?php endif; ?>
    224224        </div>
    225     </form>
    226     <?php
     225</form>
     226<?php
    227227    } else {
    228228        echo '<div class="error"><p>' . __('Oops, no such file exists! Double check the name and try again, merci.') . '</p></div>';
    229229    }
    230     ?>
    231 <div class="clear"> &nbsp; </div>
     230?>
     231<br class="clear" />
    232232</div>
    233233<?php
     
    235235}
    236236
    237 include("admin-footer.php") ?>
     237include("admin-footer.php");
Note: See TracChangeset for help on using the changeset viewer.