@@ -110,7 +110,7 @@ |
||
| 110 | 110 | ['type' => 'tab', 'text' => __('Gallery'), 'content' => $galleryTab, 'html' => true, '!secure' => true], |
| 111 | 111 | ['type' => 'tab', 'text' => __('Other'), 'content' => $otherTab, 'html' => true, '!secure' => true] |
| 112 | 112 | ] |
| 113 | -]);?> |
|
| 113 | +]); ?> |
|
| 114 | 114 | |
| 115 | 115 | <?= $form->field('galleryFreeId', 'hidden') ?> |
| 116 | 116 | <?= $form->submitButton(__('Save'), ['class' => 'btn btn-primary']) ?> |
@@ -188,13 +188,16 @@ |
||
| 188 | 188 | <?php foreach ($this->breadcrumbs as $bUrl => $bText): ?> |
| 189 | 189 | <?php if (Obj::isLikeInt($bUrl)): // only text ?> |
| 190 | 190 | <li class="active"><?= \App::$Security->strip_tags($bText) ?></li> |
| 191 | - <?php else: ?> |
|
| 191 | + <?php else { |
|
| 192 | + : ?> |
|
| 192 | 193 | <li> |
| 193 | 194 | <a href="<?= \App::$Security->strip_tags($bUrl) ?>"> |
| 194 | 195 | <?= \App::$Security->strip_tags($bText) ?> |
| 195 | 196 | </a> |
| 196 | 197 | </li> |
| 197 | - <?php endif; ?> |
|
| 198 | + <?php endif; |
|
| 199 | +} |
|
| 200 | +?> |
|
| 198 | 201 | <?php endforeach; ?> |
| 199 | 202 | </ol> |
| 200 | 203 | <?php endif; ?> |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | <script> |
| 14 | 14 | window.jQ.push(function() { |
| 15 | 15 | $.fn.runscan = function (first) { |
| 16 | - $.getJSON("<?= \App::$Alias->scriptUrl . '/api/main/antivirus?lang=' . \App::$Request->getLanguage() ?> . ", function (data) { |
|
| 16 | + $.getJSON("<?= \App::$Alias->scriptUrl . '/api/main/antivirus?lang=' . \App::$Request->getLanguage() ?> . ", function (data) { |
|
| 17 | 17 | if (first) { |
| 18 | 18 | totalScan = data.left; |
| 19 | 19 | progress = 0; |
@@ -9,4 +9,4 @@ |
||
| 9 | 9 | ['type' => 'link', 'text' => __('Profile fields'), 'link' => ['profile/fieldlist']], |
| 10 | 10 | ['type' => 'link', 'text' => __('Settings'), 'link' => ['profile/settings']] |
| 11 | 11 | ] |
| 12 | -]);?> |
|
| 13 | 12 | \ No newline at end of file |
| 13 | +]); ?> |
|
| 14 | 14 | \ No newline at end of file |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | 'items' => [ |
| 36 | 36 | [['text' => $model->getLabel('name')], ['text' => $model->name[\App::$Request->getLanguage()]]], |
| 37 | 37 | [['text' => $model->getLabel('type')], ['text' => $model->type]], |
| 38 | - [['text' => $model->getLabel('reg_exp')], ['text' => ($model->reg_cond == 0 ? '!' : null) . 'preg_match("'.$model->reg_exp.'", $input)']], |
|
| 38 | + [['text' => $model->getLabel('reg_exp')], ['text' => ($model->reg_cond == 0 ? '!' : null) . 'preg_match("' . $model->reg_exp . '", $input)']], |
|
| 39 | 39 | ] |
| 40 | 40 | ] |
| 41 | 41 | ]); |
@@ -66,6 +66,9 @@ |
||
| 66 | 66 | ] |
| 67 | 67 | ]); |
| 68 | 68 | ?> |
| 69 | -<?php else: ?> |
|
| 69 | +<?php else { |
|
| 70 | + : ?> |
|
| 70 | 71 | <p>No additional fields is added!</p> |
| 71 | -<?php endif; ?> |
|
| 72 | 72 | \ No newline at end of file |
| 73 | +<?php endif; |
|
| 74 | +} |
|
| 75 | +?> |
|
| 73 | 76 | \ No newline at end of file |
@@ -9,4 +9,4 @@ |
||
| 9 | 9 | ['type' => 'link', 'text' => __('Group management'), 'link' => ['user/grouplist']], |
| 10 | 10 | ['type' => 'link', 'text' => __('Settings'), 'link' => ['user/settings']] |
| 11 | 11 | ] |
| 12 | -]);?> |
|
| 13 | 12 | \ No newline at end of file |
| 13 | +]); ?> |
|
| 14 | 14 | \ No newline at end of file |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | |
| 25 | 25 | <?php |
| 26 | 26 | $items = []; |
| 27 | -foreach($records as $role) { |
|
| 27 | +foreach ($records as $role) { |
|
| 28 | 28 | $permissions = explode(';', $role->permissions); |
| 29 | 29 | $permissionsLabel = null; |
| 30 | 30 | foreach ($permissions as $perm) { |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | |
| 16 | 16 | $catConfigs = []; |
| 17 | 17 | foreach ($model->categoryData['configs'] as $key=>$value) { |
| 18 | - $catConfigs[$key] = (int)$value === 1; |
|
| 18 | + $catConfigs[$key] = (int) $value === 1; |
|
| 19 | 19 | } |
| 20 | 20 | |
| 21 | 21 | $catMeta = [ |
@@ -78,9 +78,12 @@ |
||
| 78 | 78 | <span><i class="fa fa-eye"></i> <?= $item['views'] ?></span> |
| 79 | 79 | <?php endif; ?> |
| 80 | 80 | </div> |
| 81 | - <?php else: ?> |
|
| 81 | + <?php else { |
|
| 82 | + : ?> |
|
| 82 | 83 | <hr /> |
| 83 | - <?php endif; ?> |
|
| 84 | + <?php endif; |
|
| 85 | +} |
|
| 86 | +?> |
|
| 84 | 87 | <div class="row"> |
| 85 | 88 | <div class="col-md-12"> |
| 86 | 89 | <?php if ($catConfigs['showPoster'] === true && $item['thumb'] !== null): ?> |