X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fmanage.php;h=5513ebe08d70b1c48475bb4d643833d1f9d085bf;hb=660bd39efad52b1c69bd8dd0ca27141b81f84ca5;hp=84dfa6917c3529c05293fcf39d83c06d692b1dfb;hpb=9243c9fc141237453f05d215058d4b975d010437;p=friendica.git diff --git a/mod/manage.php b/mod/manage.php old mode 100755 new mode 100644 index 84dfa6917c..5513ebe08d --- 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 } @@ -87,26 +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 .= '
' . "\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;