@ -16,7 +16,7 @@ if (api_is_allowed_to_edit(null, true)) {
echo '< a href = "index.php?'.api_get_cidreq().'&action=calendar_list&attendance_id='.$attendance_id.$param_gradebook.'" > '.Display::return_icon('calendar_up.gif',get_lang('AttendanceCalendar')).' '.get_lang('AttendanceCalendar').'< / a > ';
echo '< a href = "index.php?'.api_get_cidreq().'&action=calendar_list&attendance_id='.$attendance_id.$param_gradebook.'" > '.Display::return_icon('calendar_up.gif',get_lang('AttendanceCalendar')).' '.get_lang('AttendanceCalendar').'< / a > ';
echo '< / div > ';
echo '< / div > ';
$message_information = get_lang('information AttendanceSheet');
$message_information = get_lang('AttendanceSheetDescription ');
if (!empty($message_information)) {
if (!empty($message_information)) {
$message = '< strong > '.get_lang('Information').'< / strong > < br / > ';
$message = '< strong > '.get_lang('Information').'< / strong > < br / > ';
$message .= $message_information;
$message .= $message_information;
@ -34,11 +34,11 @@ if (api_is_allowed_to_edit(null, true)) {
< table class = "data_table" width = "100%" >
< table class = "data_table" width = "100%" >
< tr class = "row_odd" >
< tr class = "row_odd" >
< th height = "65px" width = "35px" > <?php echo get_lang ( 'Order' ) ?> </ th >
< th height = "65px" width = "35px" > <?php echo get_lang ( 'Display Order' ) ?> </ th >
< th width = "45px" > <?php echo get_lang ( 'Photo' ) ?> </ th >
< th width = "45px" > <?php echo get_lang ( 'Photo' ) ?> </ th >
< th > <?php echo get_lang ( 'LastName' ) ?> </ th >
< th > <?php echo get_lang ( 'LastName' ) ?> </ th >
< th > <?php echo get_lang ( 'FirstName' ) ?> </ th >
< th > <?php echo get_lang ( 'FirstName' ) ?> </ th >
< th width = "90px" > <?php echo get_lang ( 'f aults' ) ?> </ th >
< th width = "90px" > <?php echo get_lang ( 'AttendancesF aults' ) ?> </ th >
< / tr >
< / tr >
<?php
<?php
@ -137,7 +137,7 @@ if (api_is_allowed_to_edit(null, true)) {
< / div >
< / div >
< div class = "clear" > < / div >
< div class = "clear" > < / div >
< div style = "margin-top:20px;" >< button type = "submit" class = "save" > <?php echo get_lang ( 'SaveAttendanceSheet ' ) ?> </ button ></ div >
< div style = "margin-top:20px;" >< button type = "submit" class = "save" > <?php echo get_lang ( 'Save' ) ?> </ button ></ div >
< / form >
< / form >
<?php } else {
<?php } else {
@ -152,7 +152,7 @@ if (api_is_allowed_to_edit(null, true)) {
< div >
< div >
< table width = "200px;" >
< table width = "200px;" >
< tr >
< tr >
< td > <?php echo get_lang ( 'Faults' ) . ': ' ?> </ td >< td >< center >< div class = "attendance-faults-bar" style = "background-color: <?php echo ( ! empty ( $faults [ 'color_bar' ]) ? $faults [ 'color_bar' ] : 'none' ) ?> " > <?php echo $faults [ 'faults' ] . '/' . $faults [ 'total' ] . ' (' . $faults [ 'faults_porcent' ] . '%)' ?> </ div ></ center ></ td >
< td > <?php echo get_lang ( 'Attendances Faults' ) . ': ' ?> </ td >< td >< center >< div class = "attendance-faults-bar" style = "background-color: <?php echo ( ! empty ( $faults [ 'color_bar' ]) ? $faults [ 'color_bar' ] : 'none' ) ?> " > <?php echo $faults [ 'faults' ] . '/' . $faults [ 'total' ] . ' (' . $faults [ 'faults_porcent' ] . '%)' ?> </ div ></ center ></ td >
< / tr >
< / tr >
< / table >
< / table >
< / div >
< / div >
@ -162,7 +162,7 @@ if (api_is_allowed_to_edit(null, true)) {
< center >
< center >
< table class = "data_table" >
< table class = "data_table" >
< tr class = "row_odd" >
< tr class = "row_odd" >
< th > <?php echo get_lang ( 'Calendar' ) ?> </ th >
< th > <?php echo get_lang ( 'Attendance Calendar' ) ?> </ th >
< th > <?php echo get_lang ( 'Attendance' ) ?> </ th >
< th > <?php echo get_lang ( 'Attendance' ) ?> </ th >
< / tr >
< / tr >
<?php
<?php
@ -177,7 +177,7 @@ if (api_is_allowed_to_edit(null, true)) {
< tr class = " <?php echo $class ?> " >< td > <?php echo Display :: return_icon ( 'lp_calendar_event.png' , get_lang ( 'DateTime' )) . ' ' . $presence [ 'date_time' ] ?> </ td >< td >< center > <?php echo $presence [ 'presence' ] ? Display :: return_icon ( 'checkbox_on.gif' , get_lang ( 'Presence' )) : Display :: return_icon ( 'checkbox_off.gif' , get_lang ( 'Presence' )) ?> </ center ></ td ></ tr >
< tr class = " <?php echo $class ?> " >< td > <?php echo Display :: return_icon ( 'lp_calendar_event.png' , get_lang ( 'DateTime' )) . ' ' . $presence [ 'date_time' ] ?> </ td >< td >< center > <?php echo $presence [ 'presence' ] ? Display :: return_icon ( 'checkbox_on.gif' , get_lang ( 'Presence' )) : Display :: return_icon ( 'checkbox_off.gif' , get_lang ( 'Presence' )) ?> </ center ></ td ></ tr >
<?php }
<?php }
} else { ?>
} else { ?>
< tr >< td colspan = "2" >< center > <?php echo get_lang ( 'YouDoNotHaveDoneAttendance' ) ?> </ center ></ td ></ tr >
< tr >< td colspan = "2" >< center > <?php echo get_lang ( 'YouDoNotHaveDoneAttendances ' ) ?> </ center ></ td ></ tr >
<?php }
<?php }
?>
?>