diff --git a/htdocs/holiday/define_holiday.php b/htdocs/holiday/define_holiday.php index 217cb16bad15f4d93cd41efd9beec69a4e52cda4..fa3f745de81f744bcc5750381847273597936a73 100644 --- a/htdocs/holiday/define_holiday.php +++ b/htdocs/holiday/define_holiday.php @@ -144,17 +144,14 @@ if($cp_events == 1) print '</form><br>'; } -dol_fiche_head(); - print '<form method="POST" action="'.$_SERVER["PHP_SELF"].'">'."\n"; print '<input type="hidden" name="action" value="update" />'; print '<table class="noborder" width="100%;">'; print "<tr class=\"liste_titre\">"; -print '<td width="5%">'.$langs->trans('ID').'</td>'; -print '<td width="50%">'.$langs->trans('Employee').'</td>'; +print '<td width="55%">'.$langs->trans('Employee').'</td>'; print '<td width="20%" style="text-align:center">'.$langs->trans('Available').'</td>'; print '<td width="20%" style="text-align:center">'.$langs->trans('Note').'</td>'; -print '<td style="text-align:center">'.$langs->trans('UpdateButtonCP').'</td>'; +print '<td></td>'; print '</tr>'; foreach($listUsers as $users) @@ -163,7 +160,6 @@ foreach($listUsers as $users) $var=!$var; print '<tr '.$bc[$var].' style="height: 20px;">'; - print '<td>'.$users['rowid'].'</td>'; print '<td>'; $userstatic->id=$users['rowid']; $userstatic->lastname=$users['name']; @@ -183,9 +179,6 @@ foreach($listUsers as $users) print '</table>'; print '</form>'; -dol_fiche_end(); - - llxFooter(); $db->close(); diff --git a/htdocs/langs/en_US/holiday.lang b/htdocs/langs/en_US/holiday.lang index 698d34eb539493458fc8e10cc2e213d6984be5bd..f5b87fefb0878c40cc75768a1d1c4bcf4cb80c72 100644 --- a/htdocs/langs/en_US/holiday.lang +++ b/htdocs/langs/en_US/holiday.lang @@ -48,7 +48,6 @@ ConfirmDeleteCP=Confirm the deletion of this leave request? ErrorCantDeleteCP=Error you don't have the right to delete this leave request. CantCreateCP=You don't have the right to make leave requests. InvalidValidatorCP=You must choose an approbator to your leave request. -UpdateButtonCP=Update CantUpdate=You cannot update this leave request. NoDateDebut=You must select a start date. NoDateFin=You must select an end date.