correction lors de l'utilisation du site sans JS

This commit is contained in:
Lucas Mascaro 2016-01-04 14:05:30 +01:00
parent 30402889cd
commit 6a32e55793
1 changed files with 5 additions and 5 deletions

View File

@ -96,10 +96,10 @@ $medecinsSearch = ( isset($_GET['medecins']) ) ? json_decode( customCompression(
echo '<tr>'; echo '<tr>';
// début modification // début modification
echo "<td colspan=4><form class='updMedecin' action='managers/' method='POST'>"; echo "<td colspan=4><form class='updMedecin' action='managers/' method='POST'>";
echo "<input type='hidden' name='Id' value='". $PAT['Id'] ."'>"; echo "<input type='hidden' name='Id' value='". $MED['Id'] ."'>";
echo "<input type='text' name='Civilite' value='". (($PAT['Civilite']=='M')?'Monsieur':'Madame') ."' readonly>"; echo "<input type='text' name='Civilite' value='". (($MED['Civilite']=='M')?'Monsieur':'Madame') ."' readonly>";
echo "<input type='text' name='Prenom' value='". $PAT['Prenom'] ."'>"; echo "<input type='text' name='Prenom' value='". $MED['Prenom'] ."'>";
echo "<input type='text' name='Nom' value='". strtoupper($PAT['Nom']) ."'>"; echo "<input type='text' name='Nom' value='". strtoupper($MED['Nom']) ."'>";
echo "<input type='hidden' name='command' value='Medecin:update'>"; echo "<input type='hidden' name='command' value='Medecin:update'>";
echo "<input type='submit' value=''>"; echo "<input type='submit' value=''>";
echo '</form></td>'; echo '</form></td>';
@ -107,7 +107,7 @@ $medecinsSearch = ( isset($_GET['medecins']) ) ? json_decode( customCompression(
// début suppression // début suppression
echo "<td><form class='delMedecin' action='managers/' method='POST'>"; echo "<td><form class='delMedecin' action='managers/' method='POST'>";
echo "<input type='hidden' name='id_medecin' value='". $PAT['Id'] ."'>"; echo "<input type='hidden' name='id_medecin' value='". $MED['Id'] ."'>";
echo "<input type='hidden' name='command' value='Medecin:delete'>"; echo "<input type='hidden' name='command' value='Medecin:delete'>";
echo "<input type='submit' value=''>"; echo "<input type='submit' value=''>";
echo '</form></td>'; echo '</form></td>';