mirror of
https://github.com/moodle/moodle.git
synced 2025-03-21 08:00:37 +01:00
Merge branch 'MDL-68253-master' of git://github.com/lucaboesch/moodle
This commit is contained in:
commit
20a1852593
@ -725,11 +725,9 @@ function mod_book_get_fontawesome_icon_map() {
|
||||
return [
|
||||
'mod_book:chapter' => 'fa-bookmark-o',
|
||||
'mod_book:nav_prev' => 'fa-arrow-left',
|
||||
'mod_book:nav_prev_dis' => 'fa-angle-left',
|
||||
'mod_book:nav_sep' => 'fa-minus',
|
||||
'mod_book:add' => 'fa-plus',
|
||||
'mod_book:nav_next' => 'fa-arrow-right',
|
||||
'mod_book:nav_next_dis' => 'fa-angle-right',
|
||||
'mod_book:nav_exit' => 'fa-arrow-up',
|
||||
];
|
||||
}
|
||||
|
@ -152,7 +152,6 @@ foreach ($chapters as $ch) {
|
||||
if ($book->navstyle) {
|
||||
$navprevicon = right_to_left() ? 'nav_next' : 'nav_prev';
|
||||
$navnexticon = right_to_left() ? 'nav_prev' : 'nav_next';
|
||||
$navprevdisicon = right_to_left() ? 'nav_next_dis' : 'nav_prev_dis';
|
||||
|
||||
$chnavigation = '';
|
||||
if ($previd) {
|
||||
@ -167,10 +166,6 @@ if ($book->navstyle) {
|
||||
'<span class="chaptername"><span class="arrow">' . $OUTPUT->larrow() . ' </span></span>' .
|
||||
$navprev . ': <span class="chaptername">' . $prevtitle . '</span></a>';
|
||||
}
|
||||
} else {
|
||||
if ($book->navstyle == 1) {
|
||||
$chnavigation .= $OUTPUT->pix_icon($navprevdisicon, '', 'mod_book');
|
||||
}
|
||||
}
|
||||
if ($nextid) {
|
||||
$navnext = get_string('navnext', 'book');
|
||||
|
Loading…
x
Reference in New Issue
Block a user