diff --git a/adminstuds.php b/adminstuds.php index 67759b81208150bce887afff01410e3de6cb2ce7..af2cbaffcdaaef343263908d1fec9f89c496620c 100644 --- a/adminstuds.php +++ b/adminstuds.php @@ -754,7 +754,7 @@ echo ' <label for="newdescription">'._("Description") .'</label><button class="btn btn-link btn-sm btn-edit" title="'. _('Edit the description') .'"><span class="glyphicon glyphicon-pencil"></span><span class="sr-only">' . _('Edit') . '</span></button><br /> <p class="well">'.$description.'</p> <div class="hidden js-desc text-right"> - <textarea class="form-control" id="nouveauxcommentaires" name="nouveauxcommentaires" rows="2" cols="40">'.$description.'</textarea> + <textarea class="form-control" id="newdescription" name="nouveauxcommentaires" rows="2" cols="40">'.$description.'</textarea> <button type="submit" id="btn-new-desc" name="boutonnouveauxcommentaires" value="1" class="btn btn-sm btn-success" title="'. _("Save the description") .'">'. _("Save") .'</button> <button class="btn btn-default btn-sm btn-cancel" title="'. _('Cancel the description edit') .'">'. _('Cancel') .'</button> </div> @@ -950,7 +950,7 @@ echo ' ' . _(' remove a column or a line with ') . '<span class="glyphicon glyphicon-remove text-danger"></span><span class="sr-only">' . _('Remove') . '</span> ' . _('and add a new column with '). '<span class="glyphicon glyphicon-plus text-success"></span><span class="sr-only">'. _('Add a column') . '</span></p> <p>' . _('Finally, you can change the informations of this poll like the title, the comments or your email address.') . '</p> - <p><b>' . _('Legend:'). '</b> <span class="glyphicon glyphicon-ok"></span> =' . _('Yes') . ', <b>(<span class="glyphicon glyphicon-ok"></span>)</b> = ' . _('Ifneedbe') . ', <span class="glyphicon glyphicon-ban-circle"></span> = ' . _('No') . '</span></p> + <p><b>' . _('Legend:'). '</b> <span class="glyphicon glyphicon-ok"></span> =' . _('Yes') . ', <b>(<span class="glyphicon glyphicon-ok"></span>)</b> = ' . _('Ifneedbe') . ', <span class="glyphicon glyphicon-ban-circle"></span> = ' . _('No') . '</p> </div> <div class="hidden row scroll-buttons" aria-hidden="true"> @@ -1179,8 +1179,7 @@ if ($compteursujet == 1) { echo ' </div> - <hr /> -<form name="formulaire4" action="#" method="POST">'."\n"; + <hr />'."\n"; // Commments $sql = 'SELECT * FROM comments WHERE id_sondage='.$connect->Param('numsondage').' ORDER BY id_comment'; $sql = $connect->Prepare($sql); diff --git a/studs.php b/studs.php index 7abd5a6beebf06277b7256a0dfb3d10001202936..f4aa4da0bf35cc75d46c8d2652f794c9e67206fd 100644 --- a/studs.php +++ b/studs.php @@ -236,7 +236,7 @@ echo ' <p class="form-control-static"> '.stripslashes($dsondage->nom_admin).'</p> </div> <div class="form-group"> - <label for="public-link"><a class="public-link" href="' . Utils::getUrlSondage($dsondage->id_sondage) . '">'._("Public link of the pool") .' <span class="btn-link glyphicon glyphicon-link"></a></label> + <label for="public-link"><a class="public-link" href="' . Utils::getUrlSondage($dsondage->id_sondage) . '">'._("Public link of the pool") .' <span class="btn-link glyphicon glyphicon-link"></span></a></label> <input class="form-control" id="public-link" type="text" readonly="readonly" value="' . Utils::getUrlSondage($dsondage->id_sondage) . '" /> </div> </div>'."\n"; @@ -440,13 +440,13 @@ if ($dsondage->format=="A-" || $dsondage->format=="D-") { echo ' <div class="alert alert-danger"> <p>' . _("The administrator locked this poll, votes and comments are frozen, it's not possible to participate anymore.") . '</p> - <p><b>' . _('Legend:'). '</b> <span class="glyphicon glyphicon-ok"></span> =' . _('Yes') . ', <b>(<span class="glyphicon glyphicon-ok"></span>)</b> = ' . _('Ifneedbe') . ', <span class="glyphicon glyphicon-ban-circle"></span> = ' . _('No') . '</span></p> + <p><b>' . _('Legend:'). '</b> <span class="glyphicon glyphicon-ok"></span> =' . _('Yes') . ', <b>(<span class="glyphicon glyphicon-ok"></span>)</b> = ' . _('Ifneedbe') . ', <span class="glyphicon glyphicon-ban-circle"></span> = ' . _('No') . '</p> </div>'; } else { echo ' <div class="alert alert-info"> <p>' . _("If you want to vote in this poll, you have to give your name, choose the values that fit best for you and validate with the plus button at the end of the line.") . '</p> - <p><b>' . _('Legend:'). '</b> <span class="glyphicon glyphicon-ok"></span> =' . _('Yes') . ', <b>(<span class="glyphicon glyphicon-ok"></span>)</b> = ' . _('Ifneedbe') . ', <span class="glyphicon glyphicon-ban-circle"></span> = ' . _('No') . '</span></p> + <p><b>' . _('Legend:'). '</b> <span class="glyphicon glyphicon-ok"></span> =' . _('Yes') . ', <b>(<span class="glyphicon glyphicon-ok"></span>)</b> = ' . _('Ifneedbe') . ', <span class="glyphicon glyphicon-ban-circle"></span> = ' . _('No') . '</p> </div>'; } echo' @@ -703,7 +703,6 @@ echo ' } echo ' - </div> </form>'; bandeau_pied();