X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fmanage.php;h=c0eedc2ba07ebcfecaa4b05cd44ab428c844ef5d;hb=41fe07e12821a25e3ad8279abc5344b8bbe011ab;hp=1b8e2f1e2c32a997ca0a704c312c55b6ca6aefd1;hpb=28b085569abe388473399555d9e3d5b9c7ce5580;p=friendica.git
diff --git a/mod/manage.php b/mod/manage.php
index 1b8e2f1e2c..c0eedc2ba0 100644
--- a/mod/manage.php
+++ b/mod/manage.php
@@ -1,5 +1,7 @@
' . t('Manage Identities and/or Pages') . '';
+ if ($_GET['identity']) {
+ $_POST['identity'] = $_GET['identity'];
+ manage_post($a);
+ return;
+ }
-
- $o .= '
' . t('Toggle between different identities or community/group pages which share your account details or which you have been granted "manage" permissions') . '
';
+ $identities = $a->identities;
- $o .= '' . t('Select an identity to manage: ') . '
';
+ //getting additinal information for each identity
+ foreach ($identities as $key=>$id) {
+ $thumb = q("SELECT `thumb` FROM `contact` WHERE `uid` = '%s' AND `self` = 1",
+ dbesc($id['uid'])
+ );
- $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;