Fixing &copy bug see BT#7780

1.9.x
Julio Montoya 11 years ago
parent 92dd4a0290
commit 07eda144f1
  1. 15
      main/exercice/question_pool.php

@ -663,7 +663,12 @@ if (is_array($main_question_list)) {
$data[] = $row;
}
}
Display :: display_sortable_table($header, $data, '', array('per_page_default'=>999,'per_page'=>999,'page_nr'=>1));
Display :: display_sortable_table(
$header,
$data,
'',
array('per_page_default' => 999, 'per_page' => 999, 'page_nr' => 1)
);
if (!$nbrQuestions) {
echo get_lang('NoQuestion');
@ -811,9 +816,11 @@ function get_action_icon_for_question(
unset($myObjEx);
break;
case "clone":
$res = "<a href='".api_get_self()."?".api_get_cidreq().$getParams."&copy_question=$in_questionid&course_id=$in_selected_course&fromExercise=$from_exercice'>";
$res .= Display::return_icon('cd.gif', get_lang('ReUseACopyInCurrentTest'));
$res .= "</a>";
$url = api_get_self()."?".api_get_cidreq().$getParams."&amp;copy_question=$in_questionid&amp;course_id=$in_selected_course&amp;fromExercise=$from_exercice";
$res = Display::url(
Display::return_icon('cd.gif', get_lang('ReUseACopyInCurrentTest')),
$url
);
break;
default :
$res = $in_action;

Loading…
Cancel
Save