diff --git a/studs.php b/studs.php index deba752bf08a7b2c7ca5a227b2d5b7f2041d8675..12aa4e215b45097ceee7c6f73f8308966343293e 100644 --- a/studs.php +++ b/studs.php @@ -535,7 +535,10 @@ echo '</tbody>'."\n".'<tfoot>'."\n"; // Affichage des différentes sommes des colonnes existantes echo '<tr>'."\n"; -echo '<td align="right">'. _("Addition") .'</td>'."\n"; +echo '<td align="right">'; +// si on a plus de 8 colonnes, on affiche un second bouton "valider mes choix" +echo ($nbcolonnes>8) ?'<input type="button" name="boutonp" value="Valider mes choix" class="btn btn-success btn-mini" style="margin-right:50px">' : ""; +echo _("Addition") .'</td>'."\n"; for ($i=0; $i < $nbcolonnes; $i++) { if (isset($somme[$i]) === true) { @@ -646,7 +649,7 @@ echo _("Name") .' : '; echo '<input type="text" name="commentuser" maxlength="64" value="'.$nom.'" /><br>'."\n"; echo '<textarea name="comment" rows="2" cols="40"></textarea>'."\n"; -echo '<input type="image" name="ajoutcomment" value="Ajouter un commentaire" src="images/accept.png" alt="Valider"><br>'."\n"; +echo '<input type="button" name="ajoutcomment" value="Ajouter un commentaire" class="btn btn-success" alt="Valider"><br>'."\n"; echo '</form>'."\n"; // Focus javascript sur la case de texte du formulaire echo '<script type="text/javascript">'."\n" . 'document.formulaire.commentuser.focus();'."\n" . '</script>'."\n"; diff --git a/variables.php.template b/variables.php.template index 136d606c388869061d8c3b7a87470c2169dc5a62..c48cc47528707f60da393ec48ee0491c947bddd9 100644 --- a/variables.php.template +++ b/variables.php.template @@ -89,7 +89,7 @@ if (@file_exists('variables.local.php')) { } // Studs version -const STUDS_VERSION = 0.6.6; +const STUDS_VERSION = 0.7; // Do not edit the following $ALLOWED_LANGUAGES = array('fr_FR' => 'french',