Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -262,11 +262,9 @@ protected function renderLightbox(Component\Modal\Lightbox $modal, RendererInter
$first = false;
}
if (count($pages) > 1) {
$tpl->setCurrentBlock('controls');
$tpl->setVariable('ID_CAROUSEL3', $id_carousel);
$tpl->touchBlock('controls');
$tpl->parseCurrentBlock();
}
$tpl->setVariable('ID_CAROUSEL4', $id_carousel);
return $tpl->get();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ <h1 class="modal-title">{TITLE}</h1>
</div>

<!-- BEGIN controls -->
<button class="left carousel-control btn-link" href="#{ID_CAROUSEL3}" role="button" type="button" data-slide="prev">
<button class="left carousel-control btn-link" type="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</button>
<button class="right carousel-control btn-link" href="#{ID_CAROUSEL3}" role="button" type="button" data-slide="next">
<button class="right carousel-control btn-link" type="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</button>
Expand Down
4 changes: 2 additions & 2 deletions components/ILIAS/UI/tests/Component/Modal/LightboxTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,11 +183,11 @@ protected static function getExpectedMixedPagesHTML(): string
</div>
</div>

<button class="left carousel-control btn-link" href="#id_1_carousel" role="button" type="button" data-slide="prev">
<button class="left carousel-control btn-link" type="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</button>
<button class="right carousel-control btn-link" href="#id_1_carousel" role="button" type="button" data-slide="next">
<button class="right carousel-control btn-link" type="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</button>
Expand Down