mirror of
https://github.com/moodle/moodle.git
synced 2025-02-19 07:41:02 +01:00
MDL-30158 Questions Cleaning up blackboard/format.php
This commit is contained in:
parent
735de1c276
commit
9e07e9a782
@ -125,7 +125,6 @@ class qformat_blackboard extends qformat_default {
|
|||||||
if ($ishtml) {
|
if ($ishtml) {
|
||||||
$question->questiontext = html_entity_decode(trim($thisquestion["#"]["BODY"][0]["#"]["TEXT"][0]["#"]),ENT_QUOTES,'UTF-8');
|
$question->questiontext = html_entity_decode(trim($thisquestion["#"]["BODY"][0]["#"]["TEXT"][0]["#"]),ENT_QUOTES,'UTF-8');
|
||||||
}
|
}
|
||||||
$question->questiontext = $question->questiontext;
|
|
||||||
// put name in question object
|
// put name in question object
|
||||||
$question->name = shorten_text($question->questiontext, 254);
|
$question->name = shorten_text($question->questiontext, 254);
|
||||||
|
|
||||||
@ -178,7 +177,6 @@ class qformat_blackboard extends qformat_default {
|
|||||||
if ($ishtml) {
|
if ($ishtml) {
|
||||||
$question->questiontext = html_entity_decode(trim($thisquestion["#"]["BODY"][0]["#"]["TEXT"][0]["#"]),ENT_QUOTES,'UTF-8');
|
$question->questiontext = html_entity_decode(trim($thisquestion["#"]["BODY"][0]["#"]["TEXT"][0]["#"]),ENT_QUOTES,'UTF-8');
|
||||||
}
|
}
|
||||||
$question->questiontext = $question->questiontext;
|
|
||||||
|
|
||||||
// put name of question in question object, careful of length
|
// put name of question in question object, careful of length
|
||||||
$question->name = shorten_text($question->questiontext, 254);
|
$question->name = shorten_text($question->questiontext, 254);
|
||||||
@ -244,7 +242,6 @@ class qformat_blackboard extends qformat_default {
|
|||||||
if ($ishtml) {
|
if ($ishtml) {
|
||||||
$question->questiontext = html_entity_decode(trim($thisquestion["#"]["BODY"][0]["#"]["TEXT"][0]["#"]),ENT_QUOTES,'UTF-8');
|
$question->questiontext = html_entity_decode(trim($thisquestion["#"]["BODY"][0]["#"]["TEXT"][0]["#"]),ENT_QUOTES,'UTF-8');
|
||||||
}
|
}
|
||||||
$question->questiontext = $question->questiontext;
|
|
||||||
// put name of question in question object
|
// put name of question in question object
|
||||||
$question->name = shorten_text($question->questiontext, 254);
|
$question->name = shorten_text($question->questiontext, 254);
|
||||||
|
|
||||||
@ -308,7 +305,6 @@ class qformat_blackboard extends qformat_default {
|
|||||||
if ($ishtml) {
|
if ($ishtml) {
|
||||||
$question->questiontext = html_entity_decode(trim($thisquestion["#"]["BODY"][0]["#"]["TEXT"][0]["#"]),ENT_QUOTES,'UTF-8');
|
$question->questiontext = html_entity_decode(trim($thisquestion["#"]["BODY"][0]["#"]["TEXT"][0]["#"]),ENT_QUOTES,'UTF-8');
|
||||||
}
|
}
|
||||||
$question->questiontext = $question->questiontext;
|
|
||||||
// put name of question in question object
|
// put name of question in question object
|
||||||
$question->name = shorten_text($question->questiontext, 254);
|
$question->name = shorten_text($question->questiontext, 254);
|
||||||
|
|
||||||
@ -362,7 +358,6 @@ class qformat_blackboard extends qformat_default {
|
|||||||
if ($ishtml) {
|
if ($ishtml) {
|
||||||
$question->questiontext = html_entity_decode(trim($thisquestion["#"]["BODY"][0]["#"]["TEXT"][0]["#"]),ENT_QUOTES,'UTF-8');
|
$question->questiontext = html_entity_decode(trim($thisquestion["#"]["BODY"][0]["#"]["TEXT"][0]["#"]),ENT_QUOTES,'UTF-8');
|
||||||
}
|
}
|
||||||
$question->questiontext = $question->questiontext;
|
|
||||||
// put name of question in question object
|
// put name of question in question object
|
||||||
$question->name = shorten_text($question->questiontext, 254);
|
$question->name = shorten_text($question->questiontext, 254);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user