$domain = $globals->asso('mail_domain');
new_group_page('listes/admin.tpl');
+$page->assign('force_list_super', may_update());
require_once('lists.inc.php');
$client =& lists_xmlrpc(Session::getInt('uid'), Session::get('password'), $globals->asso('mail_domain'));
$domain = $globals->asso('mail_domain');
new_group_page('listes/archives.tpl');
+$page->assign('force_list_super', may_update());
require_once('lists.inc.php');
$client =& lists_xmlrpc(Session::getInt('uid'), Session::get('password'), $globals->asso('mail_domain'));
if (!Env::has('liste')) header('Location: index.php');
$liste = strtolower(Env::get('liste'));
-new_admin_page('listes/check.tpl');
+new_groupadmin_page('listes/check.tpl');
+$page->assign('force_list_super', may_update());
require_once('lists.inc.php');
$client =& lists_xmlrpc(Session::getInt('uid'), Session::get('password'), $globals->asso('mail_domain'));
require 'xnet.inc.php';
new_groupadmin_page('xnet/groupe/listes-create.tpl');
+$page->assign('force_list_super', may_update());
if (Post::has('submit')) {
if (!Post::has('liste')) {
$liste = strtolower(Env::get('liste'));
new_group_page('listes/delete.tpl');
+$page->assign('force_list_super', may_update());
require_once('lists.inc.php');
$client =& lists_xmlrpc(Session::getInt('uid'), Session::get('password'), $globals->asso('mail_domain'));
$liste = strtolower(Env::get('liste'));
new_group_page('listes/members.tpl');
+$page->assign('force_list_super', may_update());
require_once('lists.inc.php');
$client =& lists_xmlrpc(Session::getInt('uid'), Session::get('password'), $globals->asso('mail_domain'));
}
new_group_page('listes/moderate.tpl');
+$page->assign('force_list_super', may_update());
require_once('lists.inc.php');
$client =& lists_xmlrpc(Session::getInt('uid'), Session::get('password'), $globals->asso('mail_domain'));
$liste = strtolower(Env::get('liste'));
new_group_page('listes/options.tpl');
+$page->assign('force_list_super', may_update());
require_once('lists.inc.php');
$client =& lists_xmlrpc(Session::getInt('uid'), Session::get('password'), $globals->asso('mail_domain'));
if (!Env::has('liste')) header('Location: listes.php');
$liste = strtolower(Env::get('liste'));
-new_admin_page('listes/soptions.tpl');
+new_groupadmin_page('listes/soptions.tpl');
+$page->assign('force_list_super', may_update());
require_once('lists.inc.php');
$client =& lists_xmlrpc(Session::getInt('uid'), Session::get('password'), $globals->asso('mail_domain'));
</td>
</tr>
{/if}
- {perms level=admin}
+ {if $smarty.session.perms eq admin || $force_list_super}
<tr>
<td><strong>Administrer (avancé) :</strong></td>
<td>
{/if}
</td>
</tr>
- {/perms}
+ {/if}
</table>