From 38efe6d12194a527e35b0c52337097fbe8bd3789 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 7 Feb 2012 20:35:25 -0800 Subject: [PATCH] updated to addressable profile entries --- membersince.tgz | Bin 605 -> 630 bytes membersince/membersince.php | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/membersince.tgz b/membersince.tgz index 1250e394425d2eaeda645fe2ad6c7afed27e6c60..f1310f4a3060de0d686c7c8bfa73e29556cf540d 100755 GIT binary patch literal 630 zcmV-+0*U<}iwFRS`!P=d1MQScZ<|06$9?8gjF4M!guR9s6S)pm)%4c1hdwTKg)qCe zSAm5ti={TockeF22|Xl-HjhK+XIa9tGdurz;DQxvCTlJ-Mh1_>R1<~aAP8qs5X=VC za30KOerxX-_{Hkp@_fJkvocMif^N;SFe=zlf+xZ_ydj9hunhs$4U<&TxKcD~dwVt$Pk)tCEj^IOD zumzmAd+^EZfia%3I+MIoyc7#K<8_s%KcU-|9j}0 zc+oDbGkRrNn?__tD)hEF;X+S2&)v}_NVes*Vlvs4<%R2X$&!@rQ|(C|&q*mQ1-a+N z&_4ak>2*tVcDTADe?hn z*-P`V66Uj{IdFQqveQoNxOer+hAdC(x_7*?V-uue8z!J!=X#}}bze9mZ8W#5)`_-G zhe0M;DfUe2m@l8-I-W5nlx@-`SBW|QRSK4DnQ}+oFdfHTzHiP=PfdjL{g8s16s8Uv zyy4mdUw6nNq%FKw^0sd6#P_jd!dAiva+ca)inb4P86RpF`ZXCdLG8GU^6E-*p*F6m z6~^#Kx$vTHD}ML!z4zc{j#{Pvq+RcV?#b12{}Ukyf*=TjAP9mW2!bF8f*=TjAP9mW Q2=cf526xnAQUE9b0B0~d4FCWD literal 605 zcmV-j0;2sNiwFRl_c2cZ1MQSeZ`wc*hB^CJj1bKlWLRu4jwo?eHN7?Mp&yr~vJAVx zD)!o4uaVj)|Gm48Nol3z(u5p3j|8%3XLjECfSl(`t|}o{oOYgwu^|e>P7qF`AeeT> z;VhU<{l?zX@%_l3PNGRTG3Wjym<1gOpGwdnb){1U(8<%)MyQ>T_xP2YaOR($o*qNf z5y=ncfABmix8b*;CB zGB=AW4j21Q!(yv-Ij8il_oG#j)Ak;k8|TD-{m5IT6xKIm_JsH7LFjmF6nh7R8lI+GI(}cB%1X#3LzVg`^MsFpSUP z5%62;A-Z7f|}QkKP(c-@74 zxReX?yLUlye59}0pX2!bF8f*=TjAP9mW2!bF8f*=TjAV=pHDpE&p04M+eBcd%& diff --git a/membersince/membersince.php b/membersince/membersince.php index dc284125f..c995c54bf 100755 --- a/membersince/membersince.php +++ b/membersince/membersince.php @@ -15,6 +15,6 @@ function membersince_install(){ register_hook('profile_advanced','addon/membersi function membersince_uninstall(){ unregister_hook('profile_advanced','addon/membersince/membersince.php','membersince_display'); } function membersince_display(&$a,&$b) { -$b = preg_replace('/<\/dl>/',"\n
" . t('Member since:') . '
' . datetime_convert('UTC',date_default_timezone_get(),$a->profile['register_date']) . '
' ,$b, 1); +$b = preg_replace('/<\/dl>/',"\n\n\n
\n
" . t('Member since:') . "
\n
" . datetime_convert('UTC',date_default_timezone_get(),$a->profile['register_date']) . "
\n
" ,$b, 1); //$b = str_replace('' . "\n" . '
',sprintf( t(' - Member since: %s') . EOL, datetime_convert('UTC',date_default_timezone_get(),$a->profile['register_date'])) . '' . "\n" . '
',$b); } \ No newline at end of file