account/profile/contacts export
This commit is contained in:
parent
cd2a0802e4
commit
c4b292a4f1
9 changed files with 69 additions and 6 deletions
|
|
@ -5,6 +5,7 @@ function settings_init(&$a) {
|
|||
if(local_user()) {
|
||||
profile_load($a,$a->user['nickname']);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -341,9 +342,13 @@ function settings_content(&$a) {
|
|||
|
||||
$celeb = ((($a->user['page-flags'] == PAGE_SOAPBOX) || ($a->user['page-flags'] == PAGE_COMMUNITY)) ? true : false);
|
||||
|
||||
$uexport = '<div id="uexport-link"><a href="uexport" >' . t('Export Personal Data') . '</a></div>';
|
||||
|
||||
|
||||
$o .= replace_macros($stpl,array(
|
||||
'$baseurl' => $a->get_baseurl(),
|
||||
'$oidhtml' => $oidhtml,
|
||||
'$uexport' => $uexport,
|
||||
'$uid' => local_user(),
|
||||
'$username' => $username,
|
||||
'$openid' => $openid,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue