X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fmanage.php;h=5513ebe08d70b1c48475bb4d643833d1f9d085bf;hb=aded5e4127a04c3df7ff44a811b96057412adf37;hp=4bc7a3baba9113860c1b2bf43a8e91deef8cd2ab;hpb=250c6150583389087ecfcfccd0c0f7762c27c6cf;p=friendica.git diff --git a/mod/manage.php b/mod/manage.php index 4bc7a3baba..5513ebe08d 100644 --- a/mod/manage.php +++ b/mod/manage.php @@ -1,5 +1,7 @@ get_baseurl(true) . '/profile/' . $a->user['nickname']); + $ret = array(); + call_hooks('home_init',$ret); + + goaway( $a->get_baseurl() . "/profile/" . $a->user['nickname'] ); // NOTREACHED } @@ -88,27 +97,18 @@ function manage_content(&$a) { return; } - $o = '

' . t('Manage Identities and/or Pages') . '

'; - - - $o .= '
' . t('Toggle between different identities or community/group pages which share your account details or which you have been granted "manage" permissions') . '
'; - - $o .= '
' . t('Select an identity to manage: ') . '
'; - - $o .= '
' . "\r\n"; - $o .= '
' . "\r\n"; - $o .= '' . "\r\n"; - $o .= '
' . "\r\n"; - -// $o .= ''; - $o .= '
' . "\r\n"; + $o = replace_macros(get_markup_template('manage.tpl'), array( + '$title' => t('Manage Identities and/or Pages'), + '$desc' => t('Toggle between different identities or community/group pages which share your account details or which you have been granted "manage" permissions'), + '$choose' => t('Select an identity to manage: '), + '$identities' => $identities, + '$submit' => t('Submit'), + )); return $o;