Minor - cleaning white spaces

skala
Julio Montoya 12 years ago
parent 0f1b5c26b4
commit 55dd6ccf06
  1. 38
      main/coursecopy/classes/CourseBuilder.class.php
  2. 4
      main/exercice/exercise_submit.php

@ -31,30 +31,30 @@ require_once 'Attendance.class.php';
*/
class CourseBuilder {
/** Course */
var $course;
public $course;
/* With this array you can filter the tools you want to be parsed by default all tools are included*/
var $tools_to_build = array(
'announcements',
'attendance',
'course_descriptions',
'documents',
'events',
'forum_category',
'forums',
'forum_topics',
'glossary',
'quizzes',
'learnpaths',
'links',
'surveys',
'tool_intro',
'thematic',
'wiki'
public $tools_to_build = array(
'announcements',
'attendance',
'course_descriptions',
'documents',
'events',
'forum_category',
'forums',
'forum_topics',
'glossary',
'quizzes',
'learnpaths',
'links',
'surveys',
'tool_intro',
'thematic',
'wiki'
);
/* With this array you can filter wich elements of the tools are going to be added in the course obj (only works with LPs) */
var $specific_id_list = array();
public $specific_id_list = array();
/**
* Create a new CourseBuilder

@ -809,7 +809,7 @@ if (!empty($error)) {
function save_now(question_id, url_extra) {
//1. Normal choice inputs
var my_choice = $(\'*[name*="choice[\'+question_id+\']"]\').serialize();
//2. Reminder checkbox
var remind_list = $(\'*[name*="remind_list"]\').serialize();
@ -1024,7 +1024,7 @@ if (!empty($error)) {
//Checkbox review answers
if ($objExercise->review_answers) {
$remind_question_div = Display::tag('label', Display::input('checkbox', 'remind_list['.$questionId.']', '', $attributes).get_lang('ReviewQuestionLater'), array('class' => 'checkbox', 'for' =>'remind_list['.$questionId.']'));
$exercise_actions .= Display::div($remind_question_div, array('class'=>'exercise_save_now_button'));
$exercise_actions .= Display::div($remind_question_div, array('class'=>'exercise_save_now_button'));
}
echo Display::div($exercise_actions, array('class'=>'form-actions'));
echo '</div>';

Loading…
Cancel
Save