From 4736fa5927b35ebd0b2fc337e9f4a3d1e1e0af0d Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 30 Aug 2012 22:42:51 -0700 Subject: begin channel management (was "manage") page, use term "channel" instead of the vague and hard to explain "identity" --- mod/manage.php | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) (limited to 'mod/manage.php') diff --git a/mod/manage.php b/mod/manage.php index 96d420c78..e0e99b123 100644 --- a/mod/manage.php +++ b/mod/manage.php @@ -82,32 +82,29 @@ function manage_post(&$a) { function manage_content(&$a) { - if(! local_user()) { + if(! get_account_id()) { notice( t('Permission denied.') . EOL); return; } - $o = '

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

'; + $active = null; - - $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('channels.tpl'), array( + '$header' => t('Manage Profile Channels'), + '$desc' => t('These are your Profile Channels. Select any Profile Channel to attach and make that the current channel.'), + '$active' => $active, + )); + return $o; -- cgit v1.2.3