WordPress.org

Plugin Directory

Changeset 208448


Ignore:
Timestamp:
02/20/10 21:10:46 (8 years ago)
Author:
czepol
Message:

e

File:
1 edited

Legend:

Unmodified
Added
Removed
  • buzz-this/tags/1.5/buzz-this.php

    r206822 r208448  
    55Description: This plugin displays Google Buzz button. 
    66Author: Marcin Szepczyński (czepol) 
    7 Version: 1.4 
     7Version: 1.5 
    88Author URI: http://czepol.info/ 
    99*/ 
     
    2929$title = urlencode($title); 
    3030$site_url = get_bloginfo('url'); 
     31$site_title = get_bloginfo('name'); 
    3132if($type=='normal') { 
    3233    $img_name = 'buzz-button-'.$lang.'.png'; 
     
    3536} 
    3637$img_src = WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)).'img/'.$img_name; 
    37 $buzz_url = 'http://www.google.com/reader/link?url='.$url.'&title='.$title.'&srcUrl='.$site_url; 
     38$buzz_url = 'http://www.google.com/reader/link?url='.$url.'&title='.$title.'&srcUrl='.$site_url.'&srcTitle='.$site_title; 
    3839echo '<a href='.$buzz_url.'><img id="buzz" src='.$img_src.' alt="buzz_button" /></a>'; 
    3940} 
Note: See TracChangeset for help on using the changeset viewer.