mirror of
https://github.com/moodle/moodle.git
synced 2025-03-19 23:20:09 +01:00
Merge branch 'MDL-42451' of git://github.com/Chocolate-lightning/moodle
This commit is contained in:
commit
ac7505be43
@ -380,9 +380,9 @@ function install_print_footer($config, $reload=false) {
|
||||
global $CFG;
|
||||
|
||||
if ($config->stage > INSTALL_WELCOME) {
|
||||
$first = '<input type="submit" id="previousbutton" class="btn btn-secondary" name="previous" value="« '.s(get_string('previous')).'" />';
|
||||
$first = '<input type="submit" id="previousbutton" class="btn btn-secondary flex-grow-0 ml-auto" name="previous" value="« '.s(get_string('previous')).'" />';
|
||||
} else {
|
||||
$first = '<input type="submit" id="previousbutton" class="btn btn-secondary" name="next" value="'.s(get_string('reload')).'" />';
|
||||
$first = '<input type="submit" id="previousbutton" class="btn btn-secondary flex-grow-0 ml-auto" name="next" value="'.s(get_string('reload')).'" />';
|
||||
$first .= '<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
var first = document.getElementById("previousbutton");
|
||||
@ -393,12 +393,12 @@ function install_print_footer($config, $reload=false) {
|
||||
}
|
||||
|
||||
if ($reload) {
|
||||
$next = '<input type="submit" id="nextbutton" class="btn btn-primary ml-1" name="next" value="'.s(get_string('reload')).'" />';
|
||||
$next = '<input type="submit" id="nextbutton" class="btn btn-primary ml-1 flex-grow-0 mr-auto" name="next" value="'.s(get_string('reload')).'" />';
|
||||
} else {
|
||||
$next = '<input type="submit" id="nextbutton" class="btn btn-primary ml-1" name="next" value="'.s(get_string('next')).' »" />';
|
||||
$next = '<input type="submit" id="nextbutton" class="btn btn-primary ml-1 flex-grow-0 mr-auto" name="next" value="'.s(get_string('next')).' »" />';
|
||||
}
|
||||
|
||||
echo '</fieldset><fieldset id="nav_buttons" class="mb-3">'.$first.$next.'</fieldset>';
|
||||
echo '</fieldset><div id="nav_buttons" class="mb-3 btn-group w-100 flex-row-reverse">'.$next.$first.'</div>';
|
||||
|
||||
$homelink = '<div class="sitelink">'.
|
||||
'<a title="Moodle '. $CFG->target_release .'" href="http://docs.moodle.org/en/Administrator_documentation" onclick="this.target=\'_blank\'">'.
|
||||
|
Loading…
x
Reference in New Issue
Block a user