|
@@ 209-212 (lines=4) @@
|
| 206 |
|
$period = absences_DateTimePeriod($row['date_begin'], $row['date_end']); |
| 207 |
|
$description = bab_toHtml(sprintf("%s (%s)\n%s", $quantity, $row['types'], $period), BAB_HTML_ALL ^ BAB_HTML_P); |
| 208 |
|
|
| 209 |
|
if ($row['firstconfirm']) { |
| 210 |
|
$description .= '<br /><img src="'.$GLOBALS['babInstallPath'].'skins/ovidentia/images/Puces/edit.png" align="absmiddle" /> |
| 211 |
|
<span style="color:red">'.bab_toHtml(absences_translate('Modification of an allready confirmed request')).'</span>'; |
| 212 |
|
} |
| 213 |
|
|
| 214 |
|
if ($row['todelete']) { |
| 215 |
|
$description .= '<br /><img src="'.$GLOBALS['babInstallPath'].'skins/ovidentia/images/Puces/del.gif" align="absmiddle" /> |
|
@@ 214-217 (lines=4) @@
|
| 211 |
|
<span style="color:red">'.bab_toHtml(absences_translate('Modification of an allready confirmed request')).'</span>'; |
| 212 |
|
} |
| 213 |
|
|
| 214 |
|
if ($row['todelete']) { |
| 215 |
|
$description .= '<br /><img src="'.$GLOBALS['babInstallPath'].'skins/ovidentia/images/Puces/del.gif" align="absmiddle" /> |
| 216 |
|
<span style="color:red">'.bab_toHtml(absences_translate('Deletion request')).'</span>'; |
| 217 |
|
} |
| 218 |
|
|
| 219 |
|
if (!empty($row['comment'])) |
| 220 |
|
{ |