Changeset 37046
- Timestamp:
- 03/31/08 11:31:33 (4 months ago)
- Location:
- 4avatars/trunk
- Files:
-
- 2 modified
-
4avatars.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
4avatars/trunk/4avatars.php
r22875 r37046 5 5 Plugin URI: http://www.b4it.xorg.pl/4avatars/ 6 6 Description: This plugin allows you to add MyBlogLog.com or Gravatar.com or Avatars.pl avatars to Wordpress comments. 7 Version: 0. 27 Version: 0.3.1 8 8 Author: b4it 9 9 Author URI: http://www.b4it.xorg.pl/ … … 35 35 $mybloglog_IMG = get_option("avatar_default"); 36 36 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\" />"; 38 38 39 39 if($url != "" && $url != "http://") … … 42 42 case "gravatar": 43 43 //Gravatar 44 echo "<img class=\"foravatars\" src=\"http://www.gravatar.com/avatar.php?gravatar_id=".md5($mail)."&size=".$size."&default=".urlencode(get_option('avatar_default'))."\" alt=\"4Avatars \" />";44 echo "<img class=\"foravatars\" src=\"http://www.gravatar.com/avatar.php?gravatar_id=".md5($mail)."&size=".$size."&default=".urlencode(get_option('avatar_default'))."\" alt=\"4Avatars v0.3.1 v0.3.1\" />"; 45 45 break; 46 46 case "avatars": 47 47 //Avatars.pl 48 echo "<img class=\"foravatars\" src=\"http://www.avatars.pl/avatar.php?id=".md5($mail)."&size=".$size."&default=".urlencode(get_option('avatar_default'))."\" alt=\"4Avatars \" />";48 echo "<img class=\"foravatars\" src=\"http://www.avatars.pl/avatar.php?id=".md5($mail)."&size=".$size."&default=".urlencode(get_option('avatar_default'))."\" alt=\"4Avatars v0.3.1\" />"; 49 49 break; 50 50 } -
4avatars/trunk/readme.txt
r37044 r37046 5 5 Requires at least: 2.0 6 6 Tested up to: 2.5 7 Stable tag: 0.3 7 Stable tag: 0.3.1 8 8 9 9 This plugin allows you to add MyBlogLog.com or Gravatar.com or Avatars.pl avatars to Wordpress comments. … … 44 44 == Changelog == 45 45 46 v0.3.1 47 48 * Fixed small "bug" 49 46 50 v0.3: 47 51
