From c2f19630e35817fa0d8d00d71c39a12353e011d8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Fri, 3 Jul 2009 15:03:24 +0200 Subject: [PATCH] Only site administrators can allow AX aggregation (Closes #973) --- modules/xnetgrp.php | 5 ++--- templates/xnetgrp/edit.tpl | 14 +++++++------- 2 files changed, 9 insertions(+), 10 deletions(-) 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 :