WordPress.org

Make WordPress Core

Changeset 9538


Ignore:
Timestamp:
11/05/08 22:52:59 (6 years ago)
Author:
azaozz
Message:

Several small fixes: edit-category-form, admin-footer, plugins

Location:
trunk/wp-admin
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-footer.php

    r9393 r9538  
    88?> 
    99 
    10 <br class="clear" /></div><!-- wpbody-content --> 
     10<div class="clear" /></div></div><!-- wpbody-content --> 
    1111</div><!-- wpbody --> 
    12 <br class="clear" /></div><!-- wpcontent --> 
     12<div class="clear" /></div></div><!-- wpcontent --> 
    1313</div><!-- wpwrap --> 
    1414 
  • trunk/wp-admin/css/global.css

    r9532 r9538  
    1515    border: 0; 
    1616    outline: 0; 
    17     font-size: 100%; 
    18     vertical-align: baseline; 
     17/*  font-size: 100%; 
     18    vertical-align: baseline; */ 
    1919    background: transparent; 
    2020} 
     
    4949 
    5050/* tables still need 'cellspacing="0"' in the markup */ 
     51/* 
    5152table { 
    5253    border-collapse: collapse; 
    5354    border-spacing: 0; 
    5455} 
     56*/ 
    5557/* end reset css */ 
    5658 
     
    148150body, 
    149151td { 
    150     font: 13px/19px "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif; 
     152    font: 13px "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif; 
    151153} 
    152154 
  • trunk/wp-admin/edit-category-form.php

    r9294 r9538  
    1212if ( ! isset( $category ) ) 
    1313    $category = (object) array(); 
    14  
    15 if ( ! empty($cat_ID) ) { 
    16     /** 
    17      * @var string 
    18      */ 
    19     $heading = ''; 
    20     $submit_text = __('Edit Category'); 
    21     $form = '<form name="editcat" id="editcat" method="post" action="categories.php" class="validate">'; 
    22     $action = 'editedcat'; 
    23     $nonce_action = 'update-category_' . $cat_ID; 
    24     do_action('edit_category_form_pre', $category); 
    25 } else { 
    26     $heading = '<h2>' . __('Add Category') . '</h2>'; 
    27     $submit_text = __('Add Category'); 
    28     $form = '<form name="addcat" id="addcat" method="post" action="categories.php" class="add:the-list: validate">'; 
    29     $action = 'addcat'; 
    30     $nonce_action = 'add-category'; 
    31     do_action('add_category_form_pre', $category); 
    32 } 
    3314 
    3415/** 
     
    5334} 
    5435 
     36do_action('edit_category_form_pre', $category); 
     37 
    5538_fill_empty_category($category); 
    5639?> 
    5740 
    5841<div class="wrap"> 
    59 <?php echo $heading ?> 
     42<h2><?php _e('Edit Category'); ?></h2> 
    6043<div id="ajax-response"></div> 
    61 <?php echo $form ?> 
    62 <input type="hidden" name="action" value="<?php echo $action ?>" /> 
     44<form name="editcat" id="editcat" method="post" action="categories.php" class="validate"> 
     45<input type="hidden" name="action" value="editedcat" /> 
    6346<input type="hidden" name="cat_ID" value="<?php echo $category->term_id ?>" /> 
    64 <?php wp_original_referer_field(true, 'previous'); wp_nonce_field($nonce_action); ?> 
     47<?php wp_original_referer_field(true, 'previous'); wp_nonce_field('update-category_' . $cat_ID); ?> 
    6548    <table class="form-table"> 
    6649        <tr class="form-field form-required"> 
     
    8770        </tr> 
    8871    </table> 
    89 <p class="submit"><input type="submit" class="button" name="submit" value="<?php echo $submit_text ?>" /></p> 
     72<p class="submit"><input type="submit" class="button" name="submit" value="<?php _e('Edit Category'); ?>" /></p> 
    9073<?php do_action('edit_category_form', $category); ?> 
    9174</form> 
  • trunk/wp-admin/plugins.php

    r9362 r9538  
    168168wp_enqueue_script('admin-forms'); 
    169169wp_enqueue_script('plugin-install'); 
    170 add_thickbox(); 
    171170 
    172171$title = __('Manage Plugins'); 
  • trunk/wp-admin/wp-admin.css

    r9536 r9538  
    1515.plugins .togl { 
    1616    width: 150px; 
    17     border-right-width: 1px; 
    18     border-right-style: solid; 
    1917} 
    2018 
     
    29302928    border-radius: 6px; 
    29312929} 
     2930 
     2931#flash-upload-ui { 
     2932    padding: 20px 12px 0; 
     2933} 
Note: See TracChangeset for help on using the changeset viewer.