|
|
|
|
@ -337,8 +337,7 @@ if (!$inATest) { |
|
|
|
|
[$edit_link, $clone_link, $addImageLink, $delete_link] |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
$title = Security::remove_XSS($objQuestionTmp->selectTitle()); |
|
|
|
|
$title = strip_tags($title); |
|
|
|
|
$title = Security::remove_XSS(strip_tags($objQuestionTmp->selectTitle())); |
|
|
|
|
$move = ' '; |
|
|
|
|
if ($allowQuestionOrdering) { |
|
|
|
|
$move = Display::returnFontAwesomeIcon('arrows moved', 1, true); |
|
|
|
|
@ -346,14 +345,13 @@ if (!$inATest) { |
|
|
|
|
|
|
|
|
|
// Question name |
|
|
|
|
$questionName = |
|
|
|
|
'<a href="#" title = "'.Security::remove_XSS($title).'"> |
|
|
|
|
'<a href="#" title = "'.$title.'"> |
|
|
|
|
'.$move.' '.cut($title, 42).' |
|
|
|
|
</a>'; |
|
|
|
|
|
|
|
|
|
// Question type |
|
|
|
|
$typeImg = $objQuestionTmp->getTypePicture(); |
|
|
|
|
$typeExpl = $objQuestionTmp->getExplanation(); |
|
|
|
|
|
|
|
|
|
$questionType = Display::return_icon($typeImg, $typeExpl); |
|
|
|
|
|
|
|
|
|
// Question category |
|
|
|
|
|