diff --git a/main/attendance/attendance_calendar.php b/main/attendance/attendance_calendar.php
index 22fcea4977..510610271c 100755
--- a/main/attendance/attendance_calendar.php
+++ b/main/attendance/attendance_calendar.php
@@ -54,30 +54,30 @@ if (isset($action) && $action == 'calendar_add') {
$form->addElement('datepicker', 'date_time', '', array('form_name'=>'attendance_calendar_add'), 5);
$defaults['date_time'] = date('Y-m-d H:i',api_strtotime(api_get_local_time()));
- $form->addElement('html','
');
+ $form->addElement('html','
');
- $form->addElement('html', '
'. get_lang('RepeatDate').'
');
- if ($repeat) {
- $form->addElement('html', '
');
- } else {
- $form->addElement('html', '
');
- }
- $form->addElement('html', '
');
- $a_repeat_type = array('daily'=>get_lang('RepeatDaily'), 'weekly'=>get_lang('RepeatWeekly'), 'monthlyByDate'=>get_lang('RepeatMonthlyByDate'));
- $form->addElement('html', '| '.get_lang('RepeatType').' | ');
- $form->addElement('select', 'repeat_type', '', $a_repeat_type);
- $form->addElement('html', ' |
');
+ $form->addElement('html', ' '. get_lang('RepeatDate').'
');
+ if ($repeat) {
+ $form->addElement('html', '
');
+ } else {
+ $form->addElement('html', '
');
+ }
+ $form->addElement('html', '
');
+ $a_repeat_type = array('daily'=>get_lang('RepeatDaily'), 'weekly'=>get_lang('RepeatWeekly'), 'monthlyByDate'=>get_lang('RepeatMonthlyByDate'));
+ $form->addElement('html', '| '.get_lang('RepeatType').' | ');
+ $form->addElement('select', 'repeat_type', '', $a_repeat_type);
+ $form->addElement('html', ' |
');
- $form->addElement('html', '| '.get_lang('RepeatEnd').' | ');
- $form->addElement('datepickerdate', 'end_date_time', '', array('form_name'=>'attendance_calendar_add'));
- $defaults['end_date_time'] = date('Y-m-d 12:00:00');
- $form->addElement('html', ' |
');
- $form->addElement('html', '
');
-
-
- $form->addElement('html', '
');
- $form->addElement('html', '
');
- $form->addElement('html','
');
+ $form->addElement('html', '
| '.get_lang('RepeatEnd').' | ');
+ $form->addElement('datepickerdate', 'end_date_time', '', array('form_name'=>'attendance_calendar_add'));
+ $defaults['end_date_time'] = date('Y-m-d 12:00:00');
+ $form->addElement('html', ' |
');
+ $form->addElement('html', '
');
+
+
+ $form->addElement('html', '
');
+ $form->addElement('html', '
');
+ $form->addElement('html','
');
$form->addElement('html','
');
$form->addElement('style_submit_button', null, get_lang('Save'), 'class="save"');
@@ -106,8 +106,8 @@ if (isset($action) && $action == 'calendar_add') {
echo Display::return_icon('lp_calendar_event.png',get_lang('DateTime')).' '.$calendar['date_time'].' ';
if (!$is_locked_attendance || api_is_platform_admin()) {
echo '
';
- echo ''.Display::return_icon('edit.gif', get_lang('Edit'), array('style'=>'vertical-align:middle')).' ';
- echo ''.Display::return_icon('delete.gif', get_lang('Delete'), array('style'=>'vertical-align:middle')).'';
+ echo ''.Display::return_icon('edit.png', get_lang('Edit'), array('style'=>'vertical-align:middle'), 22).' ';
+ echo ''.Display::return_icon('delete.png', get_lang('Delete'), array('style'=>'vertical-align:middle'), 22).'';
echo '';
}
}
diff --git a/main/attendance/attendance_list.php b/main/attendance/attendance_list.php
index 28c646aa49..a0d265b370 100755
--- a/main/attendance/attendance_list.php
+++ b/main/attendance/attendance_list.php
@@ -30,8 +30,4 @@ if (api_is_allowed_to_edit(null, true)) {
$table->set_header(4, get_lang('Actions'), false,array('style'=>'text-align:center'));
$table->set_form_actions(array ('attendance_delete_select' => get_lang('DeleteAllAttendances')));
}
-
-$table->display();
-
-
-?>
+$table->display();
\ No newline at end of file
diff --git a/main/attendance/attendance_sheet.php b/main/attendance/attendance_sheet.php
index 0f8291b373..f2a61fdd65 100755
--- a/main/attendance/attendance_sheet.php
+++ b/main/attendance/attendance_sheet.php
@@ -105,7 +105,7 @@ if (api_is_allowed_to_edit(null, true)) {