mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 22:27:34 +02:00
Bootstrap 4 compatibility
This commit is contained in:
@@ -663,7 +663,7 @@ class e_form
|
|||||||
foreach($array as $key=>$tab)
|
foreach($array as $key=>$tab)
|
||||||
{
|
{
|
||||||
$active = ($c == $act) ? ' active' : '';
|
$active = ($c == $act) ? ' active' : '';
|
||||||
$inner .= '<div class="item'.$active.'" id="'.$key.'">';
|
$inner .= '<div class="carousel-item item'.$active.'" id="'.$key.'">';
|
||||||
$inner .= $tab['text'];
|
$inner .= $tab['text'];
|
||||||
|
|
||||||
if(!empty($tab['caption']))
|
if(!empty($tab['caption']))
|
||||||
@@ -681,10 +681,10 @@ class e_form
|
|||||||
if(count($array) > 1)
|
if(count($array) > 1)
|
||||||
{
|
{
|
||||||
$controls = '
|
$controls = '
|
||||||
<a class="left carousel-control" href="#'.$name.'" role="button" data-slide="prev">
|
<a class="left carousel-control carousel-left" href="#'.$name.'" role="button" data-slide="prev">
|
||||||
<span class="glyphicon glyphicon-chevron-left"></span>
|
<span class="glyphicon glyphicon-chevron-left"></span>
|
||||||
</a>
|
</a>
|
||||||
<a class="right carousel-control" href="#'.$name.'" role="button" data-slide="next">
|
<a class="right carousel-control carousel-right" href="#'.$name.'" role="button" data-slide="next">
|
||||||
<span class="glyphicon glyphicon-chevron-right"></span>
|
<span class="glyphicon glyphicon-chevron-right"></span>
|
||||||
</a>';
|
</a>';
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user