correction lors de l'utilisation du site sans JS
This commit is contained in:
parent
30402889cd
commit
6a32e55793
10
Medecins.php
10
Medecins.php
|
@ -96,10 +96,10 @@ $medecinsSearch = ( isset($_GET['medecins']) ) ? json_decode( customCompression(
|
|||
echo '<tr>';
|
||||
// début modification
|
||||
echo "<td colspan=4><form class='updMedecin' action='managers/' method='POST'>";
|
||||
echo "<input type='hidden' name='Id' value='". $PAT['Id'] ."'>";
|
||||
echo "<input type='text' name='Civilite' value='". (($PAT['Civilite']=='M')?'Monsieur':'Madame') ."' readonly>";
|
||||
echo "<input type='text' name='Prenom' value='". $PAT['Prenom'] ."'>";
|
||||
echo "<input type='text' name='Nom' value='". strtoupper($PAT['Nom']) ."'>";
|
||||
echo "<input type='hidden' name='Id' value='". $MED['Id'] ."'>";
|
||||
echo "<input type='text' name='Civilite' value='". (($MED['Civilite']=='M')?'Monsieur':'Madame') ."' readonly>";
|
||||
echo "<input type='text' name='Prenom' value='". $MED['Prenom'] ."'>";
|
||||
echo "<input type='text' name='Nom' value='". strtoupper($MED['Nom']) ."'>";
|
||||
echo "<input type='hidden' name='command' value='Medecin:update'>";
|
||||
echo "<input type='submit' value=''>";
|
||||
echo '</form></td>';
|
||||
|
@ -107,7 +107,7 @@ $medecinsSearch = ( isset($_GET['medecins']) ) ? json_decode( customCompression(
|
|||
|
||||
// début suppression
|
||||
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='submit' value=''>";
|
||||
echo '</form></td>';
|
||||
|
|
Loading…
Reference in New Issue