mirror of
https://github.com/moodle/moodle.git
synced 2025-04-15 05:25:08 +02:00
MDL-19756 Removed explicit aligning CSS class from $OUTPUT->heading() calls
This commit is contained in:
parent
193a7a85fe
commit
04a7ba52e9
@ -67,7 +67,7 @@ class enrolment_plugin_authorize
|
||||
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
|
||||
|
@ -38,7 +38,7 @@ function print_entry($course) {
|
||||
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");
|
||||
|
@ -149,7 +149,7 @@ if (ajaxenabled()) {
|
||||
$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";
|
||||
|
@ -119,7 +119,7 @@ $currenttab = 'overview';
|
||||
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;
|
||||
|
||||
|
@ -154,10 +154,10 @@
|
||||
$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;
|
||||
|
@ -835,7 +835,7 @@
|
||||
//$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");
|
||||
|
@ -241,7 +241,7 @@ class default_questiontype {
|
||||
}
|
||||
}
|
||||
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>';
|
||||
|
@ -615,7 +615,7 @@
|
||||
$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.'">';
|
||||
|
Loading…
x
Reference in New Issue
Block a user