From bb4191ff4d224e73e7758196fa1bf3a680b891a7 Mon Sep 17 00:00:00 2001 From: Andreas Grabs Date: Wed, 16 Oct 2013 22:10:27 +0200 Subject: [PATCH] MDL-42210 mod_feedback - convert tabs to space --- mod/feedback/item/multichoice/lib.php | 16 ++++++++-------- mod/feedback/item/numeric/lib.php | 8 ++++---- mod/feedback/item/textarea/lib.php | 12 ++++++------ mod/feedback/item/textfield/lib.php | 14 +++++++------- 4 files changed, 25 insertions(+), 25 deletions(-) diff --git a/mod/feedback/item/multichoice/lib.php b/mod/feedback/item/multichoice/lib.php index ce579f82212..0991de5a266 100644 --- a/mod/feedback/item/multichoice/lib.php +++ b/mod/feedback/item/multichoice/lib.php @@ -317,8 +317,8 @@ class feedback_item_multichoice extends feedback_item_base { //print the question and label echo '
'; if ($info->subtype == 'd') { - echo ''; + } echo '
'; //print the presentation @@ -427,12 +427,12 @@ class feedback_item_multichoice extends feedback_item_base { //print the question and label echo '
'; if ($info->subtype == 'd') { - echo ''; + } else { echo format_text($item->name.$requiredmark, true, false, false); - } + } echo '
'; //print the presentation diff --git a/mod/feedback/item/numeric/lib.php b/mod/feedback/item/numeric/lib.php index 7b88c5f5d19..e774e349d34 100644 --- a/mod/feedback/item/numeric/lib.php +++ b/mod/feedback/item/numeric/lib.php @@ -252,7 +252,7 @@ class feedback_item_numeric extends feedback_item_base { $requiredmark = ($item->required == 1) ? $str_required_mark : ''; //print the question and label - $inputname = $item->typ . '_' . $item->id; + $inputname = $item->typ . '_' . $item->id; echo '
'; echo ''; + echo ''; echo '
'; //print the presentation @@ -339,7 +339,7 @@ class feedback_item_numeric extends feedback_item_base { $requiredmark = ($item->required == 1) ? $str_required_mark : ''; //print the question and label - $inputname = $item->typ . '_' . $item->id; + $inputname = $item->typ . '_' . $item->id; echo '
'; echo ''; + echo ''; echo '
'; //print the presentation diff --git a/mod/feedback/item/textarea/lib.php b/mod/feedback/item/textarea/lib.php index 135bd139f46..5a09a6aada7 100644 --- a/mod/feedback/item/textarea/lib.php +++ b/mod/feedback/item/textarea/lib.php @@ -190,7 +190,7 @@ class feedback_item_textarea extends feedback_item_base { return $row_offset; } - /** + /** * print the item at the edit-page of feedback * * @global object @@ -206,7 +206,7 @@ class feedback_item_textarea extends feedback_item_base { $presentation = explode ("|", $item->presentation); $requiredmark = ($item->required == 1) ? $str_required_mark : ''; //print the question and label - $inputname = $item->typ . '_' . $item->id; + $inputname = $item->typ . '_' . $item->id; echo '
'; echo ''; + echo ''; echo '
'; //print the presentation @@ -233,7 +233,7 @@ class feedback_item_textarea extends feedback_item_base { echo ''; } - /** + /** * print the item at the complete-page of feedback * * @global object @@ -256,7 +256,7 @@ class feedback_item_textarea extends feedback_item_base { $requiredmark = ($item->required == 1) ? $str_required_mark :''; //print the question and label - $inputname = $item->typ . '_' . $item->id; + $inputname = $item->typ . '_' . $item->id; echo '
'; echo '
'; } - /** + /** * print the item at the complete-page of feedback * * @global object diff --git a/mod/feedback/item/textfield/lib.php b/mod/feedback/item/textfield/lib.php index d2869dfc194..505531d9b27 100644 --- a/mod/feedback/item/textfield/lib.php +++ b/mod/feedback/item/textfield/lib.php @@ -179,7 +179,7 @@ class feedback_item_textfield extends feedback_item_base { return $row_offset; } - /** + /** * print the item at the edit-page of feedback * * @global object @@ -194,7 +194,7 @@ class feedback_item_textfield extends feedback_item_base { $presentation = explode ("|", $item->presentation); $requiredmark = ($item->required == 1) ? $str_required_mark : ''; //print the question and label - $inputname = $item->typ . '_' . $item->id; + $inputname = $item->typ . '_' . $item->id; echo '
'; echo ''; + echo ''; echo '
'; //print the presentation @@ -222,7 +222,7 @@ class feedback_item_textfield extends feedback_item_base { echo ''; } - /** + /** * print the item at the complete-page of feedback * * @global object @@ -245,11 +245,11 @@ class feedback_item_textfield extends feedback_item_base { $requiredmark = ($item->required == 1) ? $str_required_mark : ''; //print the question and label - $inputname = $item->typ . '_' . $item->id; + $inputname = $item->typ . '_' . $item->id; echo '
'; echo ''; + echo ''; echo '
'; //print the presentation @@ -265,7 +265,7 @@ class feedback_item_textfield extends feedback_item_base { echo ''; } - /** + /** * print the item at the complete-page of feedback * * @global object