From: friendica Date: Wed, 8 Feb 2012 04:35:25 +0000 (-0800) Subject: updated to addressable profile entries X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=38efe6d12194a527e35b0c52337097fbe8bd3789;p=friendica-addons.git updated to addressable profile entries --- diff --git a/membersince.tgz b/membersince.tgz index 1250e394..f1310f4a 100755 Binary files a/membersince.tgz and b/membersince.tgz differ diff --git a/membersince/membersince.php b/membersince/membersince.php index dc284125..c995c54b 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