WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/11/2009 02:37:24 PM (11 years ago)
Author:
azaozz
Message:

Widgets page, first run, see #9511

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/default-widgets.php

    r10896 r10912  
    141141        <p>
    142142        <label for="<?php echo $this->get_field_id('category'); ?>">
    143         <select id="<?php echo $this->get_field_id('category'); ?>" name="<?php echo $this->get_field_name('category'); ?>" style="width: 97%;" />
     143        <select class="widefat" id="<?php echo $this->get_field_id('category'); ?>" name="<?php echo $this->get_field_name('category'); ?>">
    144144        <option value=""><?php _e('All Links'); ?></option>
    145145        <?php
     
    150150        }
    151151        ?>
    152         </select></label><br />
     152        </select></label></p>
     153        <p>
    153154        <label for="<?php echo $this->get_field_id('images'); ?>">
    154155        <input class="checkbox" type="checkbox" <?php checked($instance['images'], true) ?> id="<?php echo $this->get_field_id('images'); ?>" name="<?php echo $this->get_field_name('images'); ?>" /> <?php _e('Show Link Image'); ?></label><br />
     
    185186        echo $after_widget;
    186187    }
     188
     189    function form( $instance ) { ?>
     190        <input name="<?php echo $this->get_field_name('title'); ?>" type="hidden" value="" />
     191<?php
     192    }
     193
    187194}
    188195
     
    883890        $items = 10;
    884891        $error = false;
    885         $number = '%i%';
     892        $number = '__i__';
    886893        $show_summary = 0;
    887894        $show_author = 0;
Note: See TracChangeset for help on using the changeset viewer.