www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit db33035cf582e773406f971eef1666051d2fc93c
parent fe198b6c82d501db77f48ddd7361a2aeac122ead
Author: Georges Dupéron <jahvascriptmaniac+github@free.fr>
Date:   Wed,  2 Mar 2011 09:10:01 +0100

Les id doivent être uniques, comme leur nom l'indique.

Diffstat:
Mcode/serveur/php/createGame.php | 12++++++------
Mcode/serveur/php/ressources/simple.css | 2+-
2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/code/serveur/php/createGame.php b/code/serveur/php/createGame.php @@ -62,30 +62,30 @@ if($err == false) if($state == 0) { echo '<table class="creategametbl">'; echo '<tr><td><label for="nbcloudwords"> Nombre de mots du nuage : </label></td>'; - echo '<td id="td2" ><input type="text" name="nbcloudwords" /></td></tr>'; - echo '<tr><td id="td2"></td><td><input type="submit" value="suivant" /></td></tr>'; + echo '<td class="td2"><input type="text" name="nbcloudwords" /></td></tr>'; + echo '<tr><td class="td2"></td><td><input type="submit" value="suivant" /></td></tr>'; } else { echo '<table class="creategametbl25">'; echo '<input type="hidden" name="nbcloudwords" value="'.$nbwords.'" />'; echo '<tr><td colspan="2"><label for="centralword">Mot central : </label><br /><br /></td>'; - echo '<td colspan="2" id="td2"><input type="text" name="centralword" /><br /><br /></td>'; + echo '<td colspan="2" class="td2"><input type="text" name="centralword" /><br /><br /></td>'; for($i = 0; $i < $nbwords; $i++) { if($i % 2 == 0) { echo '</tr><tr><td><label for="word'.$i.'">Mot '.($i+1).' : </label></td>'; - echo '<td id="td2"><input type="text" name="word'.$i.'" /></td>'; + echo '<td class="td2"><input type="text" name="word'.$i.'" /></td>'; } else { echo '<td><label for="word'.$i.'">Mot '.($i+1).' : </label></td>'; - echo '<td id="td2"><input type="text" name="word'.$i.'" /></td>'; + echo '<td class="td2"><input type="text" name="word'.$i.'" /></td>'; } } if($nbwords % 2 != 0) echo '<td></td>'; - echo '</tr><tr><td colspan="2"></td><td colspan="2" id="td2"><input type="submit" value="Enregistrer la partie" /></td></tr>'; + echo '</tr><tr><td colspan="2"></td><td colspan="2" class="td2"><input type="submit" value="Enregistrer la partie" /></td></tr>'; } ?> </table> diff --git a/code/serveur/php/ressources/simple.css b/code/serveur/php/ressources/simple.css @@ -71,7 +71,7 @@ padding-right : 5px; } -.logintbl #td2, .contactbl #td2, .signuptbl #td2, .creategametbl #td2, .creategametbl25 #td2 { +.logintbl .td2, .contactbl .td2, .signuptbl .td2, .creategametbl .td2, .creategametbl25 .td2 { text-align : left; }