| Línea 287... |
Línea 287... |
| 287 |
} else {
|
287 |
} else {
|
| 288 |
$toc .= html_writer::link(new moodle_url('view.php', array('id' => $cm->id, 'chapterid' => $ch->id)), $titleout,
|
288 |
$toc .= html_writer::link(new moodle_url('view.php', array('id' => $cm->id, 'chapterid' => $ch->id)), $titleout,
|
| 289 |
array('title' => $titleunescaped, 'class' => 'text-truncate'));
|
289 |
array('title' => $titleunescaped, 'class' => 'text-truncate'));
|
| 290 |
}
|
290 |
}
|
| Línea 291... |
Línea 291... |
| 291 |
|
291 |
|
| 292 |
$toc .= html_writer::start_tag('div', array('class' => 'action-list d-flex ml-auto'));
|
292 |
$toc .= html_writer::start_tag('div', array('class' => 'action-list d-flex ms-auto'));
|
| 293 |
if ($i != 1) {
|
293 |
if ($i != 1) {
|
| 294 |
$toc .= html_writer::link(new moodle_url('move.php', array('id' => $cm->id, 'chapterid' => $ch->id, 'up' => '1', 'sesskey' => $USER->sesskey)),
|
294 |
$toc .= html_writer::link(new moodle_url('move.php', array('id' => $cm->id, 'chapterid' => $ch->id, 'up' => '1', 'sesskey' => $USER->sesskey)),
|
| 295 |
$OUTPUT->pix_icon('t/up', get_string('movechapterup', 'mod_book', $title)),
|
295 |
$OUTPUT->pix_icon('t/up', get_string('movechapterup', 'mod_book', $title)),
|
| 296 |
array('title' => get_string('movechapterup', 'mod_book', $titleunescaped)));
|
296 |
array('title' => get_string('movechapterup', 'mod_book', $titleunescaped)));
|