@@ -8,7 +8,7 @@ discard block |
||
8 | 8 | <br /> |
9 | 9 | <?= $form->field($model, 'desktopNotifications')->checkbox(); ?> |
10 | 10 | |
11 | -<?php if($showSpaces) : ?> |
|
11 | +<?php if ($showSpaces) : ?> |
|
12 | 12 | <?= humhub\modules\space\widgets\SpacePickerField::widget([ |
13 | 13 | 'form' => $form, |
14 | 14 | 'model' => $model, |
@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | 'defaultResults' => $defaultSpaces, |
17 | 17 | 'maxSelection' => 10 |
18 | 18 | ])?> |
19 | -<?php endif;?> |
|
19 | +<?php endif; ?> |
|
20 | 20 | |
21 | 21 | <div class="grid-view table-responsive permission-grid-editor" style="padding-top:0px;"> |
22 | 22 | <table class="table table-middle table-hover"> |
@@ -1,4 +1,4 @@ |
||
1 | -<?php if(!empty($headline)) :?> |
|
1 | +<?php if (!empty($headline)) :?> |
|
2 | 2 | <tr> |
3 | 3 | <td align="center" valign="top" class="fix-box"> |
4 | 4 | <!-- start container width 600px --> |
@@ -17,7 +17,7 @@ |
||
17 | 17 | 'showSpaces' => true |
18 | 18 | ]) ?> |
19 | 19 | <br /> |
20 | - <button type="submit" class="btn btn-primary" data-ui-loader><?= Yii::t('base', 'Save');?></button> |
|
20 | + <button type="submit" class="btn btn-primary" data-ui-loader><?= Yii::t('base', 'Save'); ?></button> |
|
21 | 21 | <?php ActiveForm::end(); ?> |
22 | 22 | </div> |
23 | 23 |
@@ -16,11 +16,11 @@ discard block |
||
16 | 16 | <a data-ui-gallery="<?= "gallery-" . $object->getUniqueId(); ?>" href="<?= $file->getUrl(); ?>#.jpeg" title="<?= Html::encode($file->file_name) ?>"> |
17 | 17 | <?= $previewImage->render(); ?> |
18 | 18 | </a> |
19 | - <?php elseif(FileHelper::getExtension($file->file_name) == 'mp4'): ?> |
|
19 | + <?php elseif (FileHelper::getExtension($file->file_name) == 'mp4'): ?> |
|
20 | 20 | <a data-ui-gallery="<?= "gallery-" . $object->getUniqueId(); ?>" type="video/mp4" href="<?= $file->getUrl(); ?>#.mp4" title="<?= Html::encode($file->file_name) ?>"> |
21 | 21 | <video src="<?= $file->getUrl() ?>" height="130" /> |
22 | 22 | </a> |
23 | - <?php elseif(FileHelper::getExtension($file->file_name) == 'ogv'): ?> |
|
23 | + <?php elseif (FileHelper::getExtension($file->file_name) == 'ogv'): ?> |
|
24 | 24 | <a data-ui-gallery="<?= "gallery-" . $object->getUniqueId(); ?>" type="video/ogg" href="<?= $file->getUrl(); ?>#.ogv" title="<?= Html::encode($file->file_name) ?>"> |
25 | 25 | <video src="<?= $file->getUrl() ?>" height="130" /> |
26 | 26 | </a> |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | <?= \humhub\modules\file\widgets\FilePreview::widget([ |
47 | 47 | 'hideImageFileInfo' => $hideImageFileInfo, |
48 | 48 | 'model' => $object, |
49 | - ]);?> |
|
49 | + ]); ?> |
|
50 | 50 | |
51 | 51 | </div> |
52 | 52 | <?php endif; ?> |