Changeset 897607
- Timestamp:
- 04/18/2014 06:34:30 PM (12 years ago)
- File:
-
- 1 edited
-
currently-reading/trunk/CurrentlyReading.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
currently-reading/trunk/CurrentlyReading.php
r349313 r897607 2 2 /* 3 3 Plugin Name: Currently Reading 4 Plugin URI: http:// www.damn.org.za/blog/currentlyreading4 Plugin URI: http://blog.damn.org.za/widgets/ 5 5 Description: Display a Currently Reading widget using an image from (and linking to) the Google Books Website 6 6 Author: Eugéne Roux 7 Version: 3. 37 Version: 3.4 8 8 Author URI: http://damn.org.za/ 9 9 */ … … 26 26 // @see WP_Widget::widget 27 27 // 28 function widget($args, $instance) { 28 function widget($args, $instance) { 29 29 $args = wp_parse_args( $args, $this->widget_defaults ); 30 30 extract( $args ); … … 70 70 // @see WP_Widget::update 71 71 // 72 function update($new_instance, $old_instance) { 72 function update($new_instance, $old_instance) { 73 73 $instance = $old_instance; 74 74 $instance['title'] = strip_tags( $new_instance['title'] ); … … 91 91 $boxshadow = $instance['boxshadow'] ? "checked='checked'" : ""; 92 92 93 print( "\t<p>\n\t\t<label for='" . $this->get_field_id("title") . "'>" ); _e( "Title:" ); 93 print( "\t<p>\n\t\t<label for='" . $this->get_field_id("title") . "'>" ); _e( "Title:" ); 94 94 print( "\n\t\t\t<input class='widefat' id='" . $this->get_field_id('title') . "' name='" ); 95 95 print( $this->get_field_name('title') . "' type='text' value='" . $title );
Note: See TracChangeset
for help on using the changeset viewer.