Loading readme.md +7 −0 Original line number Diff line number Diff line Loading @@ -21,6 +21,13 @@ Une fois installée et les privilèges accordés, on retourve un menu **Aide** d Changelog ========= 0.4.0 --- * Correction du bug hors connection de la documentation qui testait l'id du rôle sans précotion * Modification des * dans les formulaires pour utiliser l'icone et le texte habituel ... 0.0.3 (30/05/2023) ---- Loading src/UnicaenAide/Form/Documentation/Lien/LienForm.php +5 −3 Original line number Diff line number Diff line Loading @@ -32,7 +32,8 @@ class LienForm extends Form { 'type' => Text::class, 'name' => 'lien_texte', 'options' => [ 'label' => "Texte du lien * :", 'label' => "Texte du lien <span class='icon icon-obligatoire' title='Champ obligatoire'></span>:", 'label_options' => [ 'disable_html_escape' => true, ], ], 'attributes' => [ 'id' => 'lien_texte', Loading @@ -43,7 +44,8 @@ class LienForm extends Form { 'type' => Text::class, 'name' => 'lien_url', 'options' => [ 'label' => "Adresse du lien * :", 'label' => "Adresse du lien <span class='icon icon-obligatoire' title='Champ obligatoire'></span>:", 'label_options' => [ 'disable_html_escape' => true, ], ], 'attributes' => [ 'id' => 'question', Loading src/UnicaenAide/Form/Faq/Question/QuestionForm.php +4 −2 Original line number Diff line number Diff line Loading @@ -18,7 +18,8 @@ class QuestionForm extends Form { 'type' => Text::class, 'name' => 'question', 'options' => [ 'label' => "Question * :", 'label' => "Question <span class='icon icon-obligatoire' title='Champ obligatoire'></span>:", 'label_options' => [ 'disable_html_escape' => true, ], ], 'attributes' => [ 'id' => 'question', Loading @@ -29,7 +30,8 @@ class QuestionForm extends Form { 'type' => Textarea::class, 'name' => 'description', 'options' => [ 'label' => "Réponse * :", 'label' => "Réponse <span class='icon icon-obligatoire' title='Champ obligatoire'></span>:", 'label_options' => [ 'disable_html_escape' => true, ], ], 'attributes' => [ 'id' => 'description', Loading src/UnicaenAide/Form/Glossaire/Definition/DefinitionForm.php +5 −5 Original line number Diff line number Diff line Loading @@ -21,7 +21,8 @@ class DefinitionForm extends Form { 'type' => Text::class, 'name' => 'terme', 'options' => [ 'label' => "Terme * :", 'label' => "Terme <span class='icon icon-obligatoire' title='Champ obligatoire'></span>:", 'label_options' => [ 'disable_html_escape' => true, ], ], 'attributes' => [ 'id' => 'terme', Loading @@ -39,7 +40,8 @@ class DefinitionForm extends Form { 'type' => Textarea::class, 'name' => 'description', 'options' => [ 'label' => "Définition :", 'label' => "Définition <span class='icon icon-obligatoire' title='Champ obligatoire'></span>:", 'label_options' => [ 'disable_html_escape' => true, ], ], 'attributes' => [ 'id' => 'description', Loading @@ -63,9 +65,7 @@ class DefinitionForm extends Form { 'name' => 'creer', 'options' => [ 'label' => '<i class="fas fa-save"></i> Enregistrer', 'label_options' => [ 'disable_html_escape' => true, ], 'label_options' => [ 'disable_html_escape' => true, ], ], 'attributes' => [ 'type' => 'submit', Loading view/unicaen-aide/documentation/afficher.phtml +1 −1 Original line number Diff line number Diff line Loading @@ -25,7 +25,7 @@ $this->headTitle("Documentation"); <ul> <?php foreach ($liens as $lien) : ?> <?php $display = (empty($lien->getRoles()) OR in_array($role->getId(), $lien->getRoles())); $display = (empty($lien->getRoles()) OR ($role !== null AND in_array($role->getId(), $lien->getRoles()))); ?> <?php if ($display) : ?> <li> Loading Loading
readme.md +7 −0 Original line number Diff line number Diff line Loading @@ -21,6 +21,13 @@ Une fois installée et les privilèges accordés, on retourve un menu **Aide** d Changelog ========= 0.4.0 --- * Correction du bug hors connection de la documentation qui testait l'id du rôle sans précotion * Modification des * dans les formulaires pour utiliser l'icone et le texte habituel ... 0.0.3 (30/05/2023) ---- Loading
src/UnicaenAide/Form/Documentation/Lien/LienForm.php +5 −3 Original line number Diff line number Diff line Loading @@ -32,7 +32,8 @@ class LienForm extends Form { 'type' => Text::class, 'name' => 'lien_texte', 'options' => [ 'label' => "Texte du lien * :", 'label' => "Texte du lien <span class='icon icon-obligatoire' title='Champ obligatoire'></span>:", 'label_options' => [ 'disable_html_escape' => true, ], ], 'attributes' => [ 'id' => 'lien_texte', Loading @@ -43,7 +44,8 @@ class LienForm extends Form { 'type' => Text::class, 'name' => 'lien_url', 'options' => [ 'label' => "Adresse du lien * :", 'label' => "Adresse du lien <span class='icon icon-obligatoire' title='Champ obligatoire'></span>:", 'label_options' => [ 'disable_html_escape' => true, ], ], 'attributes' => [ 'id' => 'question', Loading
src/UnicaenAide/Form/Faq/Question/QuestionForm.php +4 −2 Original line number Diff line number Diff line Loading @@ -18,7 +18,8 @@ class QuestionForm extends Form { 'type' => Text::class, 'name' => 'question', 'options' => [ 'label' => "Question * :", 'label' => "Question <span class='icon icon-obligatoire' title='Champ obligatoire'></span>:", 'label_options' => [ 'disable_html_escape' => true, ], ], 'attributes' => [ 'id' => 'question', Loading @@ -29,7 +30,8 @@ class QuestionForm extends Form { 'type' => Textarea::class, 'name' => 'description', 'options' => [ 'label' => "Réponse * :", 'label' => "Réponse <span class='icon icon-obligatoire' title='Champ obligatoire'></span>:", 'label_options' => [ 'disable_html_escape' => true, ], ], 'attributes' => [ 'id' => 'description', Loading
src/UnicaenAide/Form/Glossaire/Definition/DefinitionForm.php +5 −5 Original line number Diff line number Diff line Loading @@ -21,7 +21,8 @@ class DefinitionForm extends Form { 'type' => Text::class, 'name' => 'terme', 'options' => [ 'label' => "Terme * :", 'label' => "Terme <span class='icon icon-obligatoire' title='Champ obligatoire'></span>:", 'label_options' => [ 'disable_html_escape' => true, ], ], 'attributes' => [ 'id' => 'terme', Loading @@ -39,7 +40,8 @@ class DefinitionForm extends Form { 'type' => Textarea::class, 'name' => 'description', 'options' => [ 'label' => "Définition :", 'label' => "Définition <span class='icon icon-obligatoire' title='Champ obligatoire'></span>:", 'label_options' => [ 'disable_html_escape' => true, ], ], 'attributes' => [ 'id' => 'description', Loading @@ -63,9 +65,7 @@ class DefinitionForm extends Form { 'name' => 'creer', 'options' => [ 'label' => '<i class="fas fa-save"></i> Enregistrer', 'label_options' => [ 'disable_html_escape' => true, ], 'label_options' => [ 'disable_html_escape' => true, ], ], 'attributes' => [ 'type' => 'submit', Loading
view/unicaen-aide/documentation/afficher.phtml +1 −1 Original line number Diff line number Diff line Loading @@ -25,7 +25,7 @@ $this->headTitle("Documentation"); <ul> <?php foreach ($liens as $lien) : ?> <?php $display = (empty($lien->getRoles()) OR in_array($role->getId(), $lien->getRoles())); $display = (empty($lien->getRoles()) OR ($role !== null AND in_array($role->getId(), $lien->getRoles()))); ?> <?php if ($display) : ?> <li> Loading