| | 998 | <p><label for="<?php echo $this->get_field_id('largest'); ?>"> |
| | 999 | <?php _e('Maximum Font Size:'); ?> |
| | 1000 | <input type="text" class="widefat" id="<?php echo $this->get_field_id('largest'); ?>" name="<?php echo $this->get_field_name('largest'); ?>" value="<?php echo esc_attr($instance['largest']); ?>" size="4" /> |
| | 1001 | </label></p> |
| | 1002 | <p><label for="<?php echo $this->get_field_id('number'); ?>"> |
| | 1003 | <?php _e('Number to show:'); ?> |
| | 1004 | <input type="text" class="widefat" id="<?php echo $this->get_field_id('number'); ?>" name="<?php echo $this->get_field_name('number'); ?>" value="<?php echo esc_attr($instance['number']); ?>" size="4" /> |
| | 1005 | </label></p> |
| | 1006 | <p><label for="<?php echo $this->get_field_id('format'); ?>"> |
| | 1007 | <?php _e('Display Format:'); ?> |
| | 1008 | <select class="widefat" size="1" id="<?php echo $this->get_field_id('format'); ?>" name="<?php echo $this->get_field_name('format'); ?>"> |
| | 1009 | <option value="flat" <?php selected($instance['format'], 'flat') ?>><?php _e('Flat'); ?></option> |
| | 1010 | <option value="list" <?php selected($instance['format'], 'list') ?>><?php _e('List'); ?></option> |
| | 1011 | </select></label></p> |
| | 1012 | <p><label for="<?php echo $this->get_field_id('orderby'); ?>"> |
| | 1013 | <?php _e('Order By:'); ?> |
| | 1014 | <select class="widefat" size="1" id="<?php echo $this->get_field_id('orderby'); ?>" name="<?php echo $this->get_field_name('orderby'); ?>"> |
| | 1015 | <option value="name" <?php selected($instance['orderby'], 'name') ?>><?php _e('Name'); ?></option> |
| | 1016 | <option value="count" <?php selected($instance['orderby'], 'count') ?>><?php _e('Count'); ?></option> |
| | 1017 | </select></label></p> |
| | 1018 | <p><label for="<?php echo $this->get_field_id('order'); ?>"> |
| | 1019 | <?php _e('Order:'); ?> |
| | 1020 | <select class="widefat" size="1" id="<?php echo $this->get_field_id('order'); ?>" name="<?php echo $this->get_field_name('order'); ?>"> |
| | 1021 | <option value="ASC" <?php selected($instance['order'], 'ASC' )?>><?php _e('Ascending'); ?></option> |
| | 1022 | <option value="DESC" <?php selected($instance['order'], 'DESC') ?>><?php _e('Descending'); ?></option> |
| | 1023 | </select></label></p> |
| | 1024 | |