Plugin Directory

Changeset 897607


Ignore:
Timestamp:
04/18/2014 06:34:30 PM (12 years ago)
Author:
eroux
Message:

Updated URLs in Widget Headers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • currently-reading/trunk/CurrentlyReading.php

    r349313 r897607  
    22/*
    33    Plugin Name: Currently Reading
    4     Plugin URI: http://www.damn.org.za/blog/currentlyreading
     4    Plugin URI: http://blog.damn.org.za/widgets/
    55    Description: Display a Currently Reading widget using an image from (and linking to) the Google Books Website
    66    Author: Eugéne Roux
    7     Version: 3.3
     7    Version: 3.4
    88    Author URI: http://damn.org.za/
    99 */
     
    2626    //  @see WP_Widget::widget
    2727    //
    28     function widget($args, $instance) {     
     28    function widget($args, $instance) {
    2929        $args = wp_parse_args( $args, $this->widget_defaults );
    3030        extract( $args );
     
    7070    //  @see WP_Widget::update
    7171    //
    72     function update($new_instance, $old_instance) {             
     72    function update($new_instance, $old_instance) {
    7373        $instance = $old_instance;
    7474        $instance['title'] = strip_tags( $new_instance['title'] );
     
    9191        $boxshadow = $instance['boxshadow'] ? "checked='checked'" : "";
    9292
    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:" );
    9494        print( "\n\t\t\t<input class='widefat' id='" . $this->get_field_id('title') . "' name='" );
    9595        print( $this->get_field_name('title') . "' type='text' value='" . $title );
Note: See TracChangeset for help on using the changeset viewer.