|
|
@ -506,8 +506,8 @@ function display_student_publications_list($id, $link_target_parameter, $dateFor |
|
|
|
list($d_year, $d_month, $d_day) = explode('-', $parts[0]); |
|
|
|
list($d_year, $d_month, $d_day) = explode('-', $parts[0]); |
|
|
|
list($d_hour, $d_minute) = explode(':', $parts[1]); |
|
|
|
list($d_hour, $d_minute) = explode(':', $parts[1]); |
|
|
|
|
|
|
|
|
|
|
|
$qualification_input[] = FormValidator :: createElement('text','qualification'); |
|
|
|
$qualification_input[] = FormValidator :: createElement('text', 'qualification'); |
|
|
|
$form_folder -> addGroup($qualification_input, 'qualification', get_lang('QualificationNumeric'), 'size="10"'); |
|
|
|
$form_folder -> addGroup($qualification_input, 'qualification', get_lang('QualificationNumeric')); |
|
|
|
|
|
|
|
|
|
|
|
if ((int)$row['weight'] == 0) { |
|
|
|
if ((int)$row['weight'] == 0) { |
|
|
|
$form_folder -> addElement('checkbox', 'make_calification', null, get_lang('MakeQualifiable'), 'onclick="javascript: if(this.checked){document.getElementById(\'option3\').style.display = \'block\';}else{document.getElementById(\'option3\').style.display = \'none\';}"'); |
|
|
|
$form_folder -> addElement('checkbox', 'make_calification', null, get_lang('MakeQualifiable'), 'onclick="javascript: if(this.checked){document.getElementById(\'option3\').style.display = \'block\';}else{document.getElementById(\'option3\').style.display = \'none\';}"'); |
|
|
@ -765,7 +765,7 @@ function display_student_publications_list($id, $link_target_parameter, $dateFor |
|
|
|
$count = $gradebook_data['weight']; |
|
|
|
$count = $gradebook_data['weight']; |
|
|
|
} |
|
|
|
} |
|
|
|
if ($count > 0) { |
|
|
|
if ($count > 0) { |
|
|
|
$add_to_name = ' / <span style="color:blue">'.get_lang('IncludedInEvaluation').'</span>'; |
|
|
|
$add_to_name = Display::label(get_lang('IncludedInEvaluation'), 'info'); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
$add_to_name = ''; |
|
|
|
$add_to_name = ''; |
|
|
|
} |
|
|
|
} |
|
|
@ -779,8 +779,7 @@ function display_student_publications_list($id, $link_target_parameter, $dateFor |
|
|
|
} |
|
|
|
} |
|
|
|
//} |
|
|
|
//} |
|
|
|
$url = $zip.'<a href="'.api_get_self().'?'.api_get_cidreq().'&origin='.$origin.'&gradebook='.Security::remove_XSS($_GET['gradebook']).'&id='.$work_data['id'].'"'.$class.'>'. |
|
|
|
$url = $zip.'<a href="'.api_get_self().'?'.api_get_cidreq().'&origin='.$origin.'&gradebook='.Security::remove_XSS($_GET['gradebook']).'&id='.$work_data['id'].'"'.$class.'>'. |
|
|
|
$work_title.'</a>'. |
|
|
|
$work_title.'</a> '.$add_to_name.'<br />'.$cant_files.' '.$text_file.$dirtext; |
|
|
|
$add_to_name.'<br />'.$cant_files.' '.$text_file.$dirtext; |
|
|
|
|
|
|
|
$row[] = $url; |
|
|
|
$row[] = $url; |
|
|
|
} |
|
|
|
} |
|
|
|
if ($count_files != 0) { |
|
|
|
if ($count_files != 0) { |
|
|
|