print_course($course, '80%');
if ($course->password) {
- echo $OUTPUT->heading(get_string('choosemethod', 'enrol_authorize'), null, 'mdl-align');
+ echo $OUTPUT->heading(get_string('choosemethod', 'enrol_authorize'));
}
if ($USER->username == 'guest') { // only real guest user, not for users with guest role
print_course($course, "80%");
if ($course->password) { // Presenting two options
- echo $OUTPUT->heading(get_string('costorkey', 'enrol_paypal'), null, 'mdl-align');
+ echo $OUTPUT->heading(get_string('costorkey', 'enrol_paypal'));
}
print_simple_box_start("center");
$deletegroup_disabled = '';
}
-echo $OUTPUT->heading(format_string($course->shortname) .' '.$strgroups, 3, 'mdl-align');
+echo $OUTPUT->heading(format_string($course->shortname) .' '.$strgroups, 3);
echo '<form id="groupeditform" action="index.php" method="post">'."\n";
echo '<div>'."\n";
echo '<input type="hidden" name="id" value="' . $courseid . '" />'."\n";
require('tabs.php');
/// Print overview
-echo $OUTPUT->heading(format_string($course->shortname) .' '.$stroverview, 3, 'mdl-align');
+echo $OUTPUT->heading(format_string($course->shortname) .' '.$stroverview, 3);
echo $strfiltergroups;
$grades = array();
}
- echo $OUTPUT->heading(get_string("topscorestitle", "lesson", $lesson->maxhighscores), 4, 'mdl-align');
+ echo $OUTPUT->heading(get_string("topscorestitle", "lesson", $lesson->maxhighscores), 4);
if (!$highscores = $DB->get_records_select("lesson_high_scores", "lessonid = :lessonid", $params)) {
- echo $OUTPUT->heading(get_string("nohighscores", "lesson"), 3, 'mdl-align');
+ echo $OUTPUT->heading(get_string("nohighscores", "lesson"), 3);
} else {
foreach ($highscores as $highscore) {
$grade = $grades[$highscore->gradeid]->grade;
//$headingobject->firstname = $students[$userid]->firstname;
//$headingobject->attempt = $try + 1;
//print_heading(get_string("studentattemptlesson", "lesson", $headingobject));
- print_heading(get_string('attempt', 'lesson', $try+1));
+ echo $OUTPUT->heading(get_string('attempt', 'lesson', $try+1));
$table->head = array();
$table->align = array("right", "left");
}
}
if (!$question->formoptions->movecontext && count($permissionstrs)){
- echo $OUTPUT->heading(get_string('permissionto', 'question'), 3, 'mdl-align');
+ echo $OUTPUT->heading(get_string('permissionto', 'question'), 3);
$html = '<ul>';
foreach ($permissionstrs as $permissionstr){
$html .= '<li>'.$permissionstr.'</li>';
$heading .= ' <a href="'.$CFG->wwwroot.'/'.$CFG->admin.'/roles/assign.php?roleid='.$roleid.'&contextid='.$context->id.'">';
$heading .= '<img src="'.$OUTPUT->old_icon_url('i/edit') . '" class="icon" alt="" /></a>';
}
- echo $OUTPUT->heading($heading, 3, 'mdl-align');
+ echo $OUTPUT->heading($heading, 3);
} else {
if ($course->id != SITEID && has_capability('moodle/role:assign', $context)) {
$editlink = ' <a href="'.$CFG->wwwroot.'/'.$CFG->admin.'/roles/assign.php?contextid='.$context->id.'">';