/**
  * form()
  *
  * @param array $instance
  * @return void
  **/
 function form($instance)
 {
     $instance = wp_parse_args($instance, author_image::defaults());
     extract($instance, EXTR_SKIP);
     echo '<p>' . '<label>' . __('Title:', 'sem-author-image') . '<input type="text" id="' . $this->get_field_name('title') . '" class="widefat"' . ' name="' . $this->get_field_name('title') . '"' . ' value="' . esc_attr($title) . '"' . ' />' . '</label>' . '</p>' . "\n";
     echo '<p>' . '<label>' . __('Width: ', 'sem-author-image') . '<input type="text" size="4" name="' . $this->get_field_name('width') . '"' . ' value="' . intval($width) . '"' . ' />' . '</label>' . "\n";
     echo '<label>' . __('Height: ', 'sem-author-image') . '<input type="text" size="4" name="' . $this->get_field_name('height') . '"' . ' value="' . intval($height) . '"' . ' />' . '</label>' . '</p>' . "\n" . '<p><i>' . __('Leave width and height at 0 to use dimensions from the uploaded image itself.', 'sem-author-image') . '</i></p>' . "\n";
     echo '<p>' . '<label>' . '<input type="checkbox"' . ' name="' . $this->get_field_name('bio') . '" ' . checked($bio, true, false) . ' />' . '&nbsp;' . __('Display the author\'s bio', 'sem-author-image') . '</label>' . '</p>' . "\n";
     echo '<p>' . '<label>' . '<input type="checkbox"' . ' name="' . $this->get_field_name('link') . '" ' . checked($link, true, false) . ' />' . '&nbsp;' . __('Link to the author\'s posts', 'sem-author-image') . '</label>' . '</p>' . "\n";
     echo '<p>' . '<label>' . '<input type="checkbox"' . ' name="' . $this->get_field_name('always') . '" ' . checked($always, true, false) . ' />' . '&nbsp;' . __('This site has a single author', 'sem-author-image') . '</label>' . '</p>' . "\n" . '<p><i>' . __('Normally, this widget will only output something when in the loop or on singular posts or pages. Check the above checkbox if a single author has an image.', 'sem-author-image') . '</i></p>' . "\n";
 }