@@ -5,10 +5,8 @@ |
||
| 5 | 5 | 'contentContainer' => $user, |
| 6 | 6 | 'streamAction' => '//user/profile/stream', |
| 7 | 7 | 'messageStreamEmpty' => ($user->permissionManager->can(new \humhub\modules\post\permissions\CreatePost())) ? |
| 8 | - Yii::t('UserModule.views_profile_index', '<b>Your profile stream is still empty</b><br>Get started and post something...') : |
|
| 9 | - Yii::t('UserModule.views_profile_index', '<b>This profile stream is still empty!</b>'), |
|
| 8 | + Yii::t('UserModule.views_profile_index', '<b>Your profile stream is still empty</b><br>Get started and post something...') : Yii::t('UserModule.views_profile_index', '<b>This profile stream is still empty!</b>'), |
|
| 10 | 9 | 'messageStreamEmptyCss' => ($user->permissionManager->can(new \humhub\modules\post\permissions\CreatePost())) ? |
| 11 | - 'placeholder-empty-stream' : |
|
| 12 | - '', |
|
| 10 | + 'placeholder-empty-stream' : '', |
|
| 13 | 11 | )); |
| 14 | 12 | ?> |
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | 'success' => 'function(html){ |
| 39 | 39 | jQuery("#lightbox_requestWorkspace").replaceWith(html); |
| 40 | 40 | }', |
| 41 | - ), array('class' => 'input_button', 'id' => 'requestSubmit'.uniqid())); |
|
| 41 | + ), array('class' => 'input_button', 'id' => 'requestSubmit' . uniqid())); |
|
| 42 | 42 | ?> |
| 43 | 43 | |
| 44 | 44 | <?php echo CHtml::link(Yii::t('SpaceModule.widgets_views_requestMembership', 'Cancel'), '#', array('onclick'=>'RequestWorkspacebox.close()', 'class' => 'button', 'style' => 'color: #fff;')); ?> |
@@ -18,8 +18,8 @@ |
||
| 18 | 18 | var data = {}; |
| 19 | 19 | var sortable = ui.item.closest('.<?php echo $containerClassName; ?>'); |
| 20 | 20 | var items = sortable.find('.<?php echo $sortableItemClassName; ?>'); |
| 21 | - <?php foreach($additionalAjaxParams as $name => $value) { |
|
| 22 | - if($name != null && $name != '' && $value != null && $value != '') { ?> |
|
| 21 | + <?php foreach ($additionalAjaxParams as $name => $value) { |
|
| 22 | + if ($name != null && $name != '' && $value != null && $value != '') { ?> |
|
| 23 | 23 | data.<?php echo $name ?> = '<?php echo $value ?>'; |
| 24 | 24 | <?php } } ?> |
| 25 | 25 | data.items = []; |
@@ -3,7 +3,7 @@ |
||
| 3 | 3 | use yii\helpers\Url; |
| 4 | 4 | |
| 5 | 5 | $this->registerJsConfig('notification', [ |
| 6 | - 'icon' => $this->theme->getBaseUrl().'/ico/notification-o.png', |
|
| 6 | + 'icon' => $this->theme->getBaseUrl() . '/ico/notification-o.png', |
|
| 7 | 7 | 'loadEntriesUrl' => Url::to(['/notification/list']), |
| 8 | 8 | 'sendDesktopNotifications' => boolval(Yii::$app->notification->getDesktopNoficationSettings(Yii::$app->user->getIdentity())), |
| 9 | 9 | 'text' => [ |
@@ -22,10 +22,10 @@ |
||
| 22 | 22 | 'header' => 'Actions', |
| 23 | 23 | 'class' => 'yii\grid\ActionColumn', |
| 24 | 24 | 'buttons' => [ |
| 25 | - 'update' => function () { |
|
| 25 | + 'update' => function() { |
|
| 26 | 26 | return; |
| 27 | 27 | }, |
| 28 | - 'view' => function () { |
|
| 28 | + 'view' => function() { |
|
| 29 | 29 | return; |
| 30 | 30 | }, |
| 31 | 31 | 'delete' => function($url, $model) { |
@@ -6,7 +6,7 @@ |
||
| 6 | 6 | |
| 7 | 7 | ?> |
| 8 | 8 | <li> |
| 9 | - <?php if($content->isPrivate()) :?> |
|
| 9 | + <?php if ($content->isPrivate()) :?> |
|
| 10 | 10 | <a href="#" class="makePublicLink" data-action-click="toggleVisibility" data-action-url="<?= $toggleLink ?>"> |
| 11 | 11 | <i class="fa fa-unlock makePublic"></i> <?= Yii::t('ContentModule.widgets_views_contentForm', 'Make public') ?> |
| 12 | 12 | </a> |
@@ -7,11 +7,9 @@ |
||
| 7 | 7 | echo \humhub\modules\stream\widgets\StreamViewer::widget(array( |
| 8 | 8 | 'streamAction' => '//directory/directory/stream', |
| 9 | 9 | 'messageStreamEmpty' => (!Yii::$app->user->isGuest) ? |
| 10 | - Yii::t('DirectoryModule.base', '<b>Nobody wrote something yet.</b><br>Make the beginning and post something...') : |
|
| 11 | - Yii::t('DirectoryModule.base', '<b>There are no profile posts yet!</b>'), |
|
| 10 | + Yii::t('DirectoryModule.base', '<b>Nobody wrote something yet.</b><br>Make the beginning and post something...') : Yii::t('DirectoryModule.base', '<b>There are no profile posts yet!</b>'), |
|
| 12 | 11 | 'messageStreamEmptyCss' => (!Yii::$app->user->isGuest) ? |
| 13 | - 'placeholder-empty-stream' : |
|
| 14 | - '', |
|
| 12 | + 'placeholder-empty-stream' : '', |
|
| 15 | 13 | )); |
| 16 | 14 | ?> |
| 17 | 15 | |
@@ -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 | |
@@ -12,7 +12,7 @@ discard block |
||
| 12 | 12 | |
| 13 | 13 | <?= |
| 14 | 14 | humhub\widgets\RichtextField::widget([ |
| 15 | - 'id' => 'comment_input_'.$comment->id, |
|
| 15 | + 'id' => 'comment_input_' . $comment->id, |
|
| 16 | 16 | 'placeholder' => Yii::t('CommentModule.views_edit', 'Edit your comment...'), |
| 17 | 17 | 'model' => $comment, |
| 18 | 18 | 'attribute' => 'message' |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | |
| 48 | 48 | <?= |
| 49 | 49 | \humhub\modules\file\widgets\FilePreview::widget([ |
| 50 | - 'id' => 'comment_upload_preview_'.$comment->id, |
|
| 50 | + 'id' => 'comment_upload_preview_' . $comment->id, |
|
| 51 | 51 | 'options' => ['style' => 'margin-top:10px'], |
| 52 | 52 | 'model' => $comment, |
| 53 | 53 | 'edit' => true |