@@ -24,7 +24,8 @@ discard block |
||
| 24 | 24 | Search index is no longer in sync with documents. |
| 25 | 25 | <a href="<?= $request::$subfolders ?><?= $cmsPrefix ?>/search/update-index?returnUrl=<?= urlencode($request::$subfolders . $cmsPrefix . '/documents') ?>" title="Update Index">Update Index</a> |
| 26 | 26 | </div> |
| 27 | - <?php else : ?> |
|
| 27 | + <?php else { |
|
| 28 | + : ?> |
|
| 28 | 29 | <div class="message valid"> |
| 29 | 30 | <i class="fa fa-check"></i> |
| 30 | 31 | Search index is in sync with documents. |
@@ -56,7 +57,9 @@ discard block |
||
| 56 | 57 | <?php foreach ($documents as $document) : ?> |
| 57 | 58 | <li class="grid-container"> |
| 58 | 59 | <?php if ($document->type == 'document') : ?> |
| 59 | - <?php renderDocument($document, $cmsPrefix, '', $request); ?> |
|
| 60 | + <?php renderDocument($document, $cmsPrefix, '', $request); |
|
| 61 | +} |
|
| 62 | +?> |
|
| 60 | 63 | <?php elseif ($document->type == 'folder') : ?> |
| 61 | 64 | <?php renderFolder($document, $cmsPrefix, '', true, $request); ?> |
| 62 | 65 | <?php endif ?> |
@@ -6,7 +6,7 @@ |
||
| 6 | 6 | ?> |
| 7 | 7 | <div class="rte"> |
| 8 | 8 | <div id="summernote_<?= str_replace(']', '-', str_replace('[', '-', |
| 9 | - $fieldPrefix)) . $field->slug ?>_rte_<?= $summernoteInstances ?>" class="summernote"><?= isset($value) ? $value : '' ?></div> |
|
| 9 | + $fieldPrefix)) . $field->slug ?>_rte_<?= $summernoteInstances ?>" class="summernote"><?= isset($value) ? $value : '' ?></div> |
|
| 10 | 10 | </div> |
| 11 | 11 | <textarea style="display:none;" id="summernote_<?= $field->slug ?>_container_<?= $summernoteInstances ?>" name="<?= $fieldPrefix ?>[<?= $field->slug ?>][]"></textarea> |
| 12 | 12 | <script> |
@@ -10,7 +10,7 @@ |
||
| 10 | 10 | { ?> |
| 11 | 11 | <?php if ($condition) : ?> |
| 12 | 12 | <a class="btn <?= $class ?>" title="<?= $title ?>" href="<?= $href ?>"<?php if ($onclick !== false) : ?> onclick="<?= /** @scrutinizer ignore-type */ |
| 13 | - $onclick ?>"<?php endif ?>> |
|
| 13 | + $onclick ?>"<?php endif ?>> |
|
| 14 | 14 | <i class="fa fa-<?= $icon ?>"></i> |
| 15 | 15 | </a> |
| 16 | 16 | <?php endif |