Autoriser un utilisateur a pouvoir remplir le sondage pour d'autres utilisateurs
This commit is contained in:
parent
5d4e4bbc46
commit
497e72bf1f
@ -495,10 +495,11 @@ if (!isset($_SERVER['REMOTE_USER']) || !$user_mod) {
|
||||
echo '<tr>'."\n";
|
||||
echo '<td class="nom">'."\n";
|
||||
if (isset($_SESSION['nom'])) {
|
||||
echo '<input type=hidden name="nom" value="'.stripslashes($_SESSION['nom']).'">'.stripslashes($_SESSION['nom'])."\n";
|
||||
$nom = stripslashes($_SESSION['nom']);
|
||||
} else {
|
||||
echo '<input type=text name="nom" maxlength="64">'."\n";
|
||||
$nom = '';
|
||||
}
|
||||
echo '<input type=text name="nom" maxlength="64" value="'.$nom.'">'."\n";
|
||||
|
||||
echo '</td>'."\n";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user