packages: wpmu-plugin-listem/wpmu-plugin-listem.spec, wpmu-plugin-listem/av...
glen
glen at pld-linux.org
Wed May 26 11:20:03 CEST 2010
Author: glen Date: Wed May 26 09:20:03 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- ugly avatar display hook
---- Files affected:
packages/wpmu-plugin-listem:
wpmu-plugin-listem.spec (1.1 -> 1.2) , avatar-hook.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/wpmu-plugin-listem/wpmu-plugin-listem.spec
diff -u packages/wpmu-plugin-listem/wpmu-plugin-listem.spec:1.1 packages/wpmu-plugin-listem/wpmu-plugin-listem.spec:1.2
--- packages/wpmu-plugin-listem/wpmu-plugin-listem.spec:1.1 Wed May 12 15:25:19 2010
+++ packages/wpmu-plugin-listem/wpmu-plugin-listem.spec Wed May 26 11:19:58 2010
@@ -3,12 +3,13 @@
Summary: WordPressMU plugin to list alphabetically all public blogs in one page
Name: wpmu-plugin-%{plugin}
Version: 0.1
-Release: 0.1
+Release: 0.3
License: GPL v2+
Group: Applications/Publishing
Source0: http://wpmudev.org/download/738066546_Listem-%{version}.zip
# Source0-md5: 2cd9d80d118c60111a8359aa37e1cfc4
URL: http://wpmudev.org/project/Listem
+Patch0: avatar-hook.patch
BuildRequires: rpmbuild(macros) >= 1.553
BuildRequires: sed >= 4.0
BuildRequires: unzip
@@ -37,6 +38,7 @@
rm -f license.txt
mv {read-me,readme}.txt
%undos readme.txt
+%patch0 -p1
%install
rm -rf $RPM_BUILD_ROOT
@@ -57,5 +59,8 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2010/05/26 09:19:58 glen
+- ugly avatar display hook
+
Revision 1.1 2010/05/12 13:25:19 glen
- new
================================================================
Index: packages/wpmu-plugin-listem/avatar-hook.patch
diff -u /dev/null packages/wpmu-plugin-listem/avatar-hook.patch:1.1
--- /dev/null Wed May 26 11:20:03 2010
+++ packages/wpmu-plugin-listem/avatar-hook.patch Wed May 26 11:19:58 2010
@@ -0,0 +1,14 @@
+--- wpmu-plugin-listem-0.1/listem.php~ 2008-09-18 14:35:48.000000000 +0300
++++ wpmu-plugin-listem-0.1/listem.php 2010-05-19 14:38:38.158256745 +0300
+@@ -54,6 +54,11 @@
+ //output list
+ for($i=0;$i<$blog_count;$i++) {
+ echo $begin_wrap."<a href='".$bloginfo[$i]['url']."'>";
++ if (function_exists('dcdb_get_avatar')) {
++ echo '<img class="m_avatar" width="24" height="24" src="';
++ echo dcdb_get_avatar($bloginfo[$i]['bid']);
++ echo'">';
++ }
+ if($name_or_url == 'url') echo $bloginfo[$i]['url'];
+ else echo $bloginfo[$i]['name'];
+ echo "</a>".$end_wrap."\n";
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/wpmu-plugin-listem/wpmu-plugin-listem.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list