From: Stéphane Jacob Date: Fri, 3 Jul 2009 13:03:24 +0000 (+0200) Subject: Only site administrators can allow AX aggregation (Closes #973) X-Git-Tag: xorg/0.10.1~27 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=c2f19630e35817fa0d8d00d71c39a12353e011d8;p=platal.git Only site administrators can allow AX aggregation (Closes #973) --- diff --git a/modules/xnetgrp.php b/modules/xnetgrp.php index cc40a29..b194ceb 100644 --- a/modules/xnetgrp.php +++ b/modules/xnetgrp.php @@ -267,13 +267,12 @@ class XnetGrpModule extends PLModule XDB::execute( "UPDATE groupex.asso SET descr={?}, site={?}, mail={?}, resp={?}, - forum={?}, ax={?}, pub= {?}, sub_url={?}, + forum={?}, pub= {?}, sub_url={?}, unsub_url={?},flags={?} WHERE id={?}", Post::v('descr'), $site, Post::v('mail'), Post::v('resp'), - Post::v('forum'), Post::has('ax'), - Post::v('pub'), + Post::v('forum'), Post::v('pub'), Post::v('sub_url'), Post::v('unsub_url'), $flags, $globals->asso('id')); } diff --git a/templates/xnetgrp/edit.tpl b/templates/xnetgrp/edit.tpl index ce76dbf..2c5765f 100644 --- a/templates/xnetgrp/edit.tpl +++ b/templates/xnetgrp/edit.tpl @@ -76,9 +76,16 @@ + + + + +

{/if} + - - - -
@@ -163,13 +170,6 @@
- -
Diffusion de la liste des membres :