$new = Env::v('modif') == 'new';
$user = get_user_details($login, S::v('uid'), $view);
- require_once('url_catcher.inc.php');
- $user['freetext'] = url_catcher($user['freetext'], false);
+ $user['freetext'] = MiniWiki::WikiToHTML($user['freetext']);
$title = $user['prenom'] . ' ' . empty($user['nom_usage']) ? $user['nom'] : $user['nom_usage'];
$page->assign('xorg_title', $title);
$mmlist = new MMList(S::v('uid'), S::v('password'));
$mmlist->subscribe("promo".S::v('promo'));
}
+ if (Post::v('sub_ml')) {
+ $subs = array_keys(Post::v('sub_ml'));
+ $current_domain = null;
+ foreach ($subs as $list) {
+ list($sub, $domain) = explode('@', $list);
+ if ($domain != $current_domain) {
+ $current_domain = $domain;
+ $client = new MMList(S::v('uid'), S::v('password'), $domain);
+ }
+ $client->subscribe($sub);
+ }
+ }
if (is_ax_key_missing()) {
$page->assign('no_private_key', true);
$x = substr($x, 0, strlen($x) - 4);
}
- require_once('vcard.inc.php');
$vcard = new VCard($x);
$vcard->do_page($page);
}