<?php
/***************************************************************************
- * Copyright (C) 2003-2011 Polytechnique.org *
+ * Copyright (C) 2003-2014 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
public function __construct()
{
+ global $globals;
parent::__construct();
$this->register_function('list_all_my_groups', 'list_all_my_groups');
$this->addJsLink('overlib.js');
$this->addJsLink('core.js');
$this->addJsLink('xorg.js');
+ if ($globals->core->sentry_js_dsn) {
+ $this->addJsLink('raven.min.js');
+ }
$this->setTitle('Les associations polytechniciennes');
}
$sub['modifier l\'accueil'] = "$dim/edit";
$sub['gérer les annonces'] = "$dim/admin/announces";
if ($globals->asso('mail_domain')) {
- $sub['envoyer un mail'] = "$dim/mail";
+ if (!$globals->asso('disable_mails')) {
+ $sub['envoyer un mail'] = "$dim/mail";
+ }
$sub['créer une liste'] = "$dim/lists/create";
$sub['créer un alias'] = "$dim/alias/create";
}
// }}}
-// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8:
+// vim:set et sw=4 sts=4 sws=4 foldmethod=marker fenc=utf-8:
?>