if (logged()) {
redirect("events");
}
-
- return PL_OK;
}
function handler_cacert(&$page)
}
$page->assign('prefs', $globals->hook->prefs());
-
- return PL_OK;
}
function handler_webredir(&$page)
WHERE user_id = {?}',
Session::getInt('uid'));
$page->assign('carva', $res->fetchOneCell());
-
- return PL_OK;
}
function handler_prefs_rss(&$page)
$this->__set_rss_state(true);
$page->trig("Ton Fil RSS est activé.");
}
-
- return PL_OK;
}
function handler_password(&$page)
$page->changeTpl('motdepasse.tpl');
$page->addJsLink('javascript/motdepasse.js');
$page->assign('xorg_title','Polytechnique.org - Mon mot de passe');
-
- return PL_OK;
}
function handler_smtppass(&$page)
FROM auth_user_md5
WHERE user_id = {?}", $uid);
$page->assign('actif', $res->fetchOneCell());
-
- return PL_OK;
}
function handler_recovery(&$page)
$page->changeTpl('recovery.tpl');
if (!Env::has('login') || !Env::has('birth')) {
- return PL_OK;
+ return;
}
if (!ereg('[0-3][0-9][0-1][0-9][1][9]([0-9]{2})', Env::get('birth'))) {
} else {
$page->trig('Pas de résultat correspondant aux champs entrés dans notre base de données.');
}
-
- return PL_OK;
}
function handler_tmpPWD(&$page, $certif = null)
$page->changeTpl('motdepasse.tpl');
$page->addJsLink('javascript/motdepasse.js');
}
-
- return PL_OK;
}
function handler_skin(&$page)
WHERE skin_tpl != '' AND ext != ''
GROUP BY id ORDER BY s.date DESC";
$page->assign_by_ref('skins', $globals->xdb->iterator($sql));
- return PL_OK;
}
function handler_exit(&$page, $level = null)
} else {
$page->changeTpl('exit.tpl');
}
- return PL_OK;
}
function handler_rss(&$page, $user = null, $hash = null)
WHERE u.user_id = {?} AND FIND_IN_SET(e.flags, "valide")
AND peremption >= NOW()', $uid);
$page->assign('rss', $rss);
-
- return PL_OK;
}
}