Make WordPress Core

Ticket #5890: template_layout.patch

File template_layout.patch, 1.3 KB (added by ionfish, 19 years ago)
  • wp-admin/theme-editor.php

     
    151151                 <input type="hidden" name="file" value="<?php echo $file ?>" />
    152152                 <input type="hidden" name="theme" value="<?php echo $theme ?>" />
    153153                 </div>
     154               
     155                <div>
    154156<?php if ( is_writeable($real_file) ) : ?>
    155         <p class="submit">
     157                        <p class="submit">
    156158<?php
    157159        echo "<input type='submit' name='submit' value='        " . __('Update File &raquo;') . "' tabindex='2' />";
    158160?>
    … …  
    160162<?php else : ?>
    161163<p><em><?php _e('You need to make this file writable before you can save your changes. See <a href="http://codex.wordpress.org/Changing_File_Permissions">the Codex</a> for more information.'); ?></em></p>
    162164<?php endif; ?>
     165                </div>
    163166        </form>
    164167        <?php
    165168        } else {
  • wp-admin/css/theme-editor.css

     
    11#template textarea {
    2         font: small 'Courier New', Courier, monospace;
     2        font-family: 'Courier New', Courier, monospace;
     3        font-size: 12px;
    34        width: 97%;
    45}
    56
     7#template p {
     8        width: 97%;
     9}
     10
    611#templateside {
    712        float: right;
    813        width: 200px;