$page->addJsLink('profile.js');
$page->addJsLink('jquery.autocomplete.js');
$wiz = new PlWizard('Profil', PlPage::getCoreTpl('plwizard.tpl'), true, true);
- require_once dirname(__FILE__) . '/profile/page.inc.php';
+ $this->load('page.inc.php');
$wiz->addPage('ProfileGeneral', 'Général', 'general');
$wiz->addPage('ProfileAddresses', 'Adresses personnelles', 'adresses');
$wiz->addPage('ProfileGroups', 'Groupes X - Binets', 'poly');
$x = substr($x, 0, strlen($x) - 4);
}
- $vcard = new VCard($x);
- $vcard->do_page($page);
+ $vcard = new VCard();
+ $vcard->addUser($x);
+ $vcard->show();
}
function handler_admin_trombino(&$page, $uid = null, $action = null) {