Completed
Pull Request — dev (#76)
by Sarah
07:34
created
views/notification/widgets/overview.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
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' =>  [
Please login to merge, or discard this patch.
views/post/post/edit.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 
10 10
     <!-- create contenteditable div for HEditorWidget to place the data -->
11 11
         <?= humhub\widgets\RichtextField::widget([
12
-            'id' => 'post_input_'. $post->id,
12
+            'id' => 'post_input_' . $post->id,
13 13
             'placeholder' => Yii::t('PostModule.views_edit', 'Edit your post...'),
14 14
             'model' => $post,
15 15
             'attribute' => 'message'
Please login to merge, or discard this patch.
views/notification/widgets/notificationSettingsForm.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
 <br>
10 10
 <?= $form->field($model, 'desktopNotifications')->checkbox(); ?>
11 11
 
12
-<?php if($showSpaces) : ?>
12
+<?php if ($showSpaces) : ?>
13 13
     <?=
14 14
      humhub\modules\space\widgets\SpacePickerField::widget([
15 15
         'form' => $form,
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
         'defaultResults' => $defaultSpaces,
19 19
         'maxSelection' => 10
20 20
     ])?>
21
-<?php endif;?>
21
+<?php endif; ?>
22 22
 
23 23
 <div class="grid-view table-responsive permission-grid-editor" style="padding-top:0px;">
24 24
     <table class="table table-middle table-hover">
Please login to merge, or discard this patch.
views/content/widgets/visibilityLink.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 /* @var $toggleLink string */
6 6
 ?>
7 7
 <li>
8
-    <?php if($content->isPrivate()) :?>
8
+    <?php if ($content->isPrivate()) :?>
9 9
         <a href="#"  class="makePublicLink" data-action-click="toggleVisibility" data-action-url="<?= $toggleLink ?>">
10 10
             <i class="fa fa-unlock makePublic"></i> <?= Yii::t('ContentModule.widgets_views_contentForm', 'Make public') ?>
11 11
         </a>
Please login to merge, or discard this patch.
views/content/widgets/editLink.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 ?>
7 7
 
8 8
 <li>
9
-    <?php if($mode === WallEntry::EDIT_MODE_INLINE) : ?>
9
+    <?php if ($mode === WallEntry::EDIT_MODE_INLINE) : ?>
10 10
             <a href="#" class="stream-entry-edit-link" data-action-click="edit" data-action-url="<?= $editUrl ?>">
11 11
                 <i class="fa fa-pencil"></i> <?= Yii::t('ContentModule.widgets_views_editLink', 'Edit') ?>
12 12
             </a>
Please login to merge, or discard this patch.
views/directory/directory/userPosts.php 1 patch
Spacing   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -5,10 +5,8 @@
 block discarded – undo
5 5
 echo \humhub\modules\stream\widgets\StreamViewer::widget(array(
6 6
     'streamAction' => '//directory/directory/stream',
7 7
     'messageStreamEmpty' => (!Yii::$app->user->isGuest) ?
8
-            Yii::t('DirectoryModule.base', '<b>Nobody wrote something yet.</b><br>Make the beginning and post something...') :
9
-            Yii::t('DirectoryModule.base', '<b>There are no profile posts yet!</b>'),
8
+            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>'),
10 9
     'messageStreamEmptyCss' => (!Yii::$app->user->isGuest) ?
11
-            'placeholder-empty-stream' :
12
-            '',
10
+            'placeholder-empty-stream' : '',
13 11
 ));
14 12
 ?>
15 13
\ No newline at end of file
Please login to merge, or discard this patch.
views/admin/group/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
                 'label' => Yii::t('AdminModule.views_group_index', 'Members'),
33 33
                 'format' => 'raw',
34 34
                 'options' => ['style' => 'text-align:center;'],
35
-                'value' => function ($data) {
35
+                'value' => function($data) {
36 36
                     return $data->getGroupUsers()->count();
37 37
                 }
38 38
             ],
Please login to merge, or discard this patch.
views/admin/group/members.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -53,11 +53,11 @@  discard block
 block discarded – undo
53 53
                         'visible' => $isManagerApprovalSetting,
54 54
                         'label' => Yii::t('AdminModule.views_user_index', 'Group Manager'),
55 55
                         'format' => 'raw',
56
-                        'value' => function ($data) use ($group, $actionUrl) {
56
+                        'value' => function($data) use ($group, $actionUrl) {
57 57
                             $isManager = $group->isManager($data);
58 58
                             $yesSelected = ($isManager) ? 'selected' : '';
59 59
                             $noSelected = ($isManager) ? '' : 'selected';
60
-                            $result = '<select class="editableCell form-control" data-action-change="admin.group.setManagerRole" data-action-url="'.$actionUrl.'" data-userid="' . $data->id . '"  data-groupid="' . $group->id . '">';
60
+                            $result = '<select class="editableCell form-control" data-action-change="admin.group.setManagerRole" data-action-url="' . $actionUrl . '" data-userid="' . $data->id . '"  data-groupid="' . $group->id . '">';
61 61
                             $result .= '<option value="0" ' . $noSelected . '>' . Yii::t('AdminModule.views_group_manageGroupUser', 'No') . '</option>';
62 62
                             $result .= '<option value="1" ' . $yesSelected . '>' . Yii::t('AdminModule.views_group_manageGroupUser', 'Yes') . '</option>';
63 63
                             return $result;
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
                     ],
86 86
                 ],
87 87
             ]
88
-        );?>
88
+        ); ?>
89 89
     </div>
90 90
 </div>
91 91
 <?php $this->endContent(); ?>
92 92
\ No newline at end of file
Please login to merge, or discard this patch.
views/admin/setting/file.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
 <div class="form-group">
29 29
     <?= $form->labelEx($model, 'maxFileSize'); ?>
30 30
     <?= $form->textField($model, 'maxFileSize', ['class' => 'form-control', 'readonly' => Setting::IsFixed('maxFileSize', 'file')]); ?>
31
-    <p class="help-block" <?= ($model->maxFileSize > $maxUploadSize) ? 'style="color:'.$this->theme->variable('danger').' !important"' : ''?>>
31
+    <p class="help-block" <?= ($model->maxFileSize > $maxUploadSize) ? 'style="color:' . $this->theme->variable('danger') . ' !important"' : ''?>>
32 32
         <?= Yii::t('AdminModule.views_setting_file', 'PHP reported a maximum of {maxUploadSize} MB', ['{maxUploadSize}' => $maxUploadSizeText]); ?>
33 33
     </p>
34 34
 </div>
Please login to merge, or discard this patch.