/**
* Press It form handler.
*
- * @package WordPress
- * @subpackage Press_This
* @since 2.6.0
*
* @return int Post ID
<h3 class="tb"><label for="tb_this_photo_description"><?php _e('Description') ?></label></h3>
<div class="titlediv">
<div class="titlewrap">
- <input id="tb_this_photo_description" name="photo_description" class="tb_this_photo_description tbtitle text" onkeypress="if(event.keyCode==13) image_selector(this);" value="<?php echo esc_attr($title);?>"/>
+ <input id="tb_this_photo_description" name="photo_description" class="tb_this_photo_description tbtitle text" type="text" onkeypress="if(event.keyCode==13) image_selector(this);" value="<?php echo esc_attr($title);?>"/>
</div>
</div>
/**
* Retrieve all image URLs from given URI.
*
- * @package WordPress
- * @subpackage Press_This
* @since 2.6.0
*
* @param string $uri
wp_enqueue_style( 'colors' );
wp_enqueue_script( 'post' );
+ add_thickbox();
_wp_admin_html_begin();
?>
<title><?php _e('Press This') ?></title>
<?php
/** This action is documented in wp-admin/admin-header.php */
do_action( 'admin_enqueue_scripts', 'press-this.php' );
+
/**
- * Print styles for the Press This admin page.
+ * Fires when styles are printed for the Press This admin page.
*
* @since 3.7.0
*/
do_action( 'admin_print_styles-press-this.php' );
+
/** This action is documented in wp-admin/admin-header.php */
do_action( 'admin_print_styles' );
+
/**
- * Print scripts for the Press This admin page.
+ * Fires when scripts are printed for the Press This admin page.
*
* @since 3.7.0
*/
do_action( 'admin_print_scripts-press-this.php' );
+
/** This action is documented in wp-admin/admin-header.php */
do_action( 'admin_print_scripts' );
+
/**
* Fires in the head tag on the Press This admin page.
*
* @since 3.7.0
*/
do_action( 'admin_head-press-this.php' );
+
/** This action is documented in wp-admin/admin-header.php */
do_action( 'admin_head' );
?>
<div id="titlediv">
<div class="titlewrap">
- <input name="title" id="title" class="text" value="<?php echo esc_attr($title);?>"/>
+ <input name="title" id="title" class="text" type="text" value="<?php echo esc_attr($title);?>"/>
</div>
</div>