@@ -32,19 +32,19 @@ discard block |
||
| 32 | 32 | ?> |
| 33 | 33 | <div class="item <?= !$i ? 'active' : ''; ?>"> |
| 34 | 34 | <?php |
| 35 | - if ($item->link) { |
|
| 36 | - echo "<a href = '{$item->link}' style = 'display:inline-block;'>"; |
|
| 37 | - } |
|
| 38 | - ?> |
|
| 35 | + if ($item->link) { |
|
| 36 | + echo "<a href = '{$item->link}' style = 'display:inline-block;'>"; |
|
| 37 | + } |
|
| 38 | + ?> |
|
| 39 | 39 | <img src="<?= Statics::file($item->image->path); ?>" alt="<?= $item->name; ?>"> |
| 40 | 40 | <div class="carousel-caption"> |
| 41 | 41 | <?= $item->description; ?> |
| 42 | 42 | </div> |
| 43 | 43 | <?php |
| 44 | - if ($item->link) { |
|
| 45 | - echo "</a>"; |
|
| 46 | - } |
|
| 47 | - ?> |
|
| 44 | + if ($item->link) { |
|
| 45 | + echo "</a>"; |
|
| 46 | + } |
|
| 47 | + ?> |
|
| 48 | 48 | </div> |
| 49 | 49 | <?php |
| 50 | 50 | $i++; |
@@ -53,8 +53,8 @@ discard block |
||
| 53 | 53 | </div> |
| 54 | 54 | |
| 55 | 55 | <?php |
| 56 | - if (!isset($arrows) || $arrows) { |
|
| 57 | - ?> |
|
| 56 | + if (!isset($arrows) || $arrows) { |
|
| 57 | + ?> |
|
| 58 | 58 | <!-- Controls --> |
| 59 | 59 | <a class="left carousel-control" href="#sliderWidget-<?= $slider->id; ?>" role="button" data-slide="prev"> |
| 60 | 60 | <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> |
@@ -65,6 +65,6 @@ discard block |
||
| 65 | 65 | <span class="sr-only">Next</span> |
| 66 | 66 | </a> |
| 67 | 67 | <?php |
| 68 | - } |
|
| 69 | - ?> |
|
| 68 | + } |
|
| 69 | + ?> |
|
| 70 | 70 | </div> |
| 71 | 71 | \ No newline at end of file |