Changeset 37046

Show
Ignore:
Timestamp:
03/31/08 11:31:33 (4 months ago)
Author:
b4it
Message:

Fixed

Location:
4avatars/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • 4avatars/trunk/4avatars.php

    r22875 r37046  
    55Plugin URI: http://www.b4it.xorg.pl/4avatars/ 
    66Description: This plugin allows you to add MyBlogLog.com or Gravatar.com or Avatars.pl avatars to Wordpress comments. 
    7 Version: 0.2 
     7Version: 0.3.1 
    88Author: b4it 
    99Author URI: http://www.b4it.xorg.pl/ 
     
    3535                        $mybloglog_IMG = get_option("avatar_default");  
    3636  
    37                   echo "<img class=\"foravatars\" src=\"".$mybloglog_IMG."\" onload=\"if (this.width > ".$size.") { this.width = ".$size."; this.height = ".$size."; } if (this.width < ".$size.") { this.width = ".$size."; this.src='".get_option("avatar_default")."'; this.onload=void(null); }\" alt=\"4Avatars\" />"; 
     37                  echo "<img class=\"foravatars\" src=\"".$mybloglog_IMG."\" onload=\"if (this.width > ".$size.") { this.width = ".$size."; this.height = ".$size."; } if (this.width < ".$size.") { this.width = ".$size."; this.src='".get_option("avatar_default")."'; this.onload=void(null); }\" alt=\"4Avatars v0.3.1\" />"; 
    3838                   
    3939                  if($url != ""  &&  $url != "http://") 
     
    4242            case "gravatar": 
    4343                  //Gravatar 
    44                   echo "<img class=\"foravatars\" src=\"http://www.gravatar.com/avatar.php?gravatar_id=".md5($mail)."&amp;size=".$size."&amp;default=".urlencode(get_option('avatar_default'))."\" alt=\"4Avatars\" />"; 
     44                  echo "<img class=\"foravatars\" src=\"http://www.gravatar.com/avatar.php?gravatar_id=".md5($mail)."&amp;size=".$size."&amp;default=".urlencode(get_option('avatar_default'))."\" alt=\"4Avatars v0.3.1 v0.3.1\" />"; 
    4545                  break; 
    4646            case "avatars": 
    4747                  //Avatars.pl 
    48                   echo "<img class=\"foravatars\" src=\"http://www.avatars.pl/avatar.php?id=".md5($mail)."&amp;size=".$size."&amp;default=".urlencode(get_option('avatar_default'))."\" alt=\"4Avatars\" />"; 
     48                  echo "<img class=\"foravatars\" src=\"http://www.avatars.pl/avatar.php?id=".md5($mail)."&amp;size=".$size."&amp;default=".urlencode(get_option('avatar_default'))."\" alt=\"4Avatars v0.3.1\" />"; 
    4949                  break; 
    5050      } 
  • 4avatars/trunk/readme.txt

    r37044 r37046  
    55Requires at least: 2.0 
    66Tested up to: 2.5 
    7 Stable tag: 0.3 
     7Stable tag: 0.3.1 
    88 
    99This plugin allows you to add MyBlogLog.com or Gravatar.com or Avatars.pl avatars to Wordpress comments. 
     
    4444== Changelog == 
    4545 
     46v0.3.1 
     47 
     48* Fixed small "bug" 
     49 
    4650v0.3: 
    4751