fix user is in group + readme
This commit is contained in:
parent
a71cce877f
commit
3686e8463b
2 changed files with 2 additions and 3 deletions
|
@ -1,2 +1 @@
|
||||||
# yeswiki-custom-mutualisation.cc
|
# yeswiki-custom-adultes-relais.org
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ class InscriptionField extends BazarField
|
||||||
|
|
||||||
protected function renderStatic($entry)
|
protected function renderStatic($entry)
|
||||||
{
|
{
|
||||||
if ($this->wiki->UserIsInGroup('admins') ||$this->wiki->UserIsInGroup('Employeur') ||$this->wiki->UserIsInGroup('Coordination') ) {
|
if ($this->getWiki()->UserIsInGroup('admins') ||$this->getWiki()->UserIsInGroup('Employeur') ||$this->getWiki()->UserIsInGroup('Coordination') ) {
|
||||||
return "<a href=''>Inscrire a cette formation</a>";
|
return "<a href=''>Inscrire a cette formation</a>";
|
||||||
} else {
|
} else {
|
||||||
return "Faut etre dans le bon groupe";
|
return "Faut etre dans le bon groupe";
|
||||||
|
|
Loading…
Reference in a new issue