minmod
This commit is contained in:
parent
550b1bd849
commit
a066b4b7c1
|
@ -181,20 +181,20 @@
|
||||||
|
|
||||||
/* (1) Si on a un ID_CLUSTER, on affiche la composition
|
/* (1) Si on a un ID_CLUSTER, on affiche la composition
|
||||||
---------------------------------------------------------*/
|
---------------------------------------------------------*/
|
||||||
if( isset($post[1]) && preg_match('/^(u|m)(\d+)$/', $post[1], $m) ){
|
if( isset($post[1]) && preg_match('/^(u|m)(\d+)$/', $post[1], $m) ){
|
||||||
|
|
||||||
$view = View::load('group.member.choice');
|
$view = View::load('group.member.choice');
|
||||||
echo $view->render([
|
echo $view->render([
|
||||||
(int) $m[2], // id_cluster
|
(int) $m[2], // id_cluster
|
||||||
(int) ($m[1]=='u') ? 0 : 1 // class
|
(int) ($m[1]=='u') ? 0 : 1 // class
|
||||||
]);
|
]);
|
||||||
|
|
||||||
}else{
|
}else{
|
||||||
|
|
||||||
$view = View::load('group.member.group');
|
$view = View::load('group.member.group');
|
||||||
echo $view->render();
|
echo $view->render();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
echo '</section>';
|
echo '</section>';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue