[svn r19612] style changes - deleted broken link in IE - (partial FS#3909)

skala
Isaac Flores 17 years ago
parent 90cfae4e2b
commit dfc6d3b6ca
  1. 10
      main/gradebook/gradebook_flatview.php

@ -60,7 +60,7 @@ if (($showlink == '0') && ($showeval == '0')) {
$cat= Category :: load($_REQUEST['selectcat']); $cat= Category :: load($_REQUEST['selectcat']);
if (isset($_GET['userid'])) { if (isset($_GET['userid'])) {
$userid=$_GET['userid']; $userid=Security::remove_XSS($_GET['userid']);
} else { } else {
$userid=''; $userid='';
} }
@ -83,7 +83,7 @@ if (isset ($export_flatview_form) && (!$file_type == 'pdf')) {
Display :: display_normal_message($export_flatview_form->toHtml(),false); Display :: display_normal_message($export_flatview_form->toHtml(),false);
} }
if (isset($_GET['selectcat'])) { if (isset($_GET['selectcat'])) {
$category_id=$_GET['selectcat']; $category_id=Security::remove_XSS($_GET['selectcat']);
} else { } else {
$category_id=''; $category_id='';
} }
@ -92,7 +92,7 @@ $simple_search_form= new UserForm(UserForm :: TYPE_SIMPLE_SEARCH, null, 'simple_
$values= $simple_search_form->exportValues(); $values= $simple_search_form->exportValues();
$keyword = ''; $keyword = '';
if (isset($_GET['search']) && !empty($_GET['search'])) { if (isset($_GET['search']) && !empty($_GET['search'])) {
$keyword = $_GET['search']; $keyword = Security::remove_XSS($_GET['search']);
} }
if ($simple_search_form->validate() && (empty($keyword))) { if ($simple_search_form->validate() && (empty($keyword))) {
$keyword = $values['keyword']; $keyword = $values['keyword'];
@ -193,7 +193,11 @@ if (isset($_GET['isStudentView']) && $_GET['isStudentView']=='false') {
//@todo load images with jquery //@todo load images with jquery
echo '<div id="contentArea" style="text-align:center;" >'; echo '<div id="contentArea" style="text-align:center;" >';
$image_file = $flatviewtable->display_graph(); $image_file = $flatviewtable->display_graph();
$my_info_path_img=array();
$my_info_path_img=explode('/',$image_file);
if (strlen($my_info_path_img[5])==32) {
echo '<img src="'.$image_file.'">'; echo '<img src="'.$image_file.'">';
}
$flatviewtable->display(); $flatviewtable->display();
$flatviewtable->display_graph_by_resource(); $flatviewtable->display_graph_by_resource();
echo '</div>'; echo '</div>';

Loading…
Cancel
Save