'profile/usage' => $this->make_hook('p_usage', AUTH_MDP),
'referent' => $this->make_hook('referent', AUTH_COOKIE),
+ 'emploi' => $this->make_hook('ref_search', AUTH_COOKIE),
'referent/search' => $this->make_hook('ref_search', AUTH_COOKIE),
'referent/ssect' => $this->make_hook('ref_sect', AUTH_COOKIE, 'user', NO_AUTH),
'referent/country' => $this->make_hook('ref_country', AUTH_COOKIE, 'user', NO_AUTH),
function handler_ref_search(&$page, $action = null, $subaction = null)
{
+ require_once 'wiki.inc.php';
+ wiki_require_page('Docs.Emploi');
$page->assign('xorg_title', 'Polytechnique.org - Conseil Pro');
//recuperation des noms de secteurs
function handler_ref_sect(&$page, $sect)
{
header('Content-Type: text/html; charset=utf-8');
- $page->changeTpl('include/select.field.tpl', NO_SKIN);
+ $page->changeTpl('include/field.select.tpl', NO_SKIN);
$page->assign('onchange', 'setSSecteurs()');
$page->assign('id', 'ssect_field');
$page->assign('name', 'ss_secteur');
function handler_ref_country(&$page, $sect, $ssect = '')
{
header('Content-Type: text/html; charset=utf-8');
- $page->changeTpl('include/select.field.tpl', NO_SKIN);
+ $page->changeTpl('include/field.select.tpl', NO_SKIN);
$page->assign('name', 'pays_sel');
$where = ($ssect ? ' AND ms.ss_secteur = {?}' : '');
$it = XDB::iterator("SELECT a2 AS id, pays AS field