]> git.mxchange.org Git - friendica-addons.git/commitdiff
updated to addressable profile entries
authorfriendica <info@friendica.com>
Wed, 8 Feb 2012 04:35:25 +0000 (20:35 -0800)
committerfriendica <info@friendica.com>
Wed, 8 Feb 2012 04:35:25 +0000 (20:35 -0800)
membersince.tgz
membersince/membersince.php

index 1250e394425d2eaeda645fe2ad6c7afed27e6c60..f1310f4a3060de0d686c7c8bfa73e29556cf540d 100755 (executable)
Binary files a/membersince.tgz and b/membersince.tgz differ
index dc284125fe2359036d9325b15da3b1caebac10a9..c995c54bf9281d29014b5d9b36150816a6aeec57 100755 (executable)
@@ -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>/',"</dl>\n<dl><dt>" . t('Member since:') . '</dt><dd>' . datetime_convert('UTC',date_default_timezone_get(),$a->profile['register_date']) . '</dd></dl>' ,$b, 1); 
+$b = preg_replace('/<\/dl>/',"</dl>\n\n\n<dl id=\"aprofile-membersince\" class=\"aprofile\">\n<dt>" . t('Member since:') . "</dt>\n<dd>" . datetime_convert('UTC',date_default_timezone_get(),$a->profile['register_date']) . "</dd>\n</dl>" ,$b, 1); 
 //$b = str_replace('</div>' . "\n" . '<div id="advanced-profile-name-end"></div>',sprintf( t(' - Member since: %s') . EOL, datetime_convert('UTC',date_default_timezone_get(),$a->profile['register_date'])) . '</div>' . "\n" . '<div id="advanced-profile-name-end"></div>',$b); 
 }
\ No newline at end of file