diff --git a/choix_autre.php b/choix_autre.php index 8c0b268..0ec091a 100644 --- a/choix_autre.php +++ b/choix_autre.php @@ -175,9 +175,11 @@ if (Utils::issetAndNoEmpty('titre', $_SESSION) === false || Utils::issetAndNoEmp echo '
'. _("To make a generic poll you need to propose at least two choices between differents subjects.") .'
-'. _("You can add or remove additional choices with the buttons") .' '. _("Remove") .' '. _("Add") .'
-'. _("It's possible to propose links or images by using "). ''. _("the Markdown syntax") .'.
-'. _("You can add or remove additional choices with the buttons") .' '. _("Remove") .' '. _("Add") .'
'; + if(config_get('user_can_add_link_or_url')){ + echo ''. _("It's possible to propose links or images by using "). ''. _("the Markdown syntax") .'.
'; + } + echo ' '."\n"; // Fields choices : 5 by default $nb_choices = (isset($_SESSION['choices'])) ? max(count($_SESSION['choices']), 5) : 5; @@ -187,9 +189,12 @@ if (Utils::issetAndNoEmpty('titre', $_SESSION) === false || Utils::issetAndNoEmp