X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fxnet.inc.php;h=d0d1aefbdcd6f89138b9e4113d62ca17d20bc3a3;hb=2553b7686e0678b8e27858a7c377e73ecb410aec;hp=d2104e02fd7d1e7d2a79e50a26da25fd7babca98;hpb=1490093c909c086ce8eba3c0f5c24b62ef20cfb3;p=platal.git diff --git a/include/xnet.inc.php b/include/xnet.inc.php index d2104e0..d0d1aef 100644 --- a/include/xnet.inc.php +++ b/include/xnet.inc.php @@ -1,6 +1,6 @@ changeTpl($tpl_name, $type); - } - if ($refuse_access) { - $page->kill("Vous n'avez pas les droits suffisants pour accéder à cette page"); - } -} - -// }}} -// {{{ function new_annu_page() - -function new_annu_page($tpl_name) -{ - global $globals; - new_skinned_page($tpl_name, - !may_update() - && (!is_member() || $globals->asso('pub') != 'public') - && $globals->asso('cat') != 'Promotions'); -} - -// }}} +require_once dirname(dirname(__FILE__)) . '/core/include/platal.inc.php'; +require_once 'common.inc.php'; // vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8: ?>