Completed
Push — master ( f0f3ac...801072 )
by Sarah
05:52 queued 03:24
created
views/space/create/modules.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
                                         'url' => $space->createUrl('/space/manage/module/enable', ['moduleId' => $moduleId]),
57 57
                                     ],
58 58
                                     'htmlOptions' => [
59
-                                        'class' => 'btn btn-sm btn-primary '. $enable,
59
+                                        'class' => 'btn btn-sm btn-primary ' . $enable,
60 60
                                         'id' => 'btn-enable-module-' . $moduleId
61 61
                                     ]
62 62
                                 ]);
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
                                         'url' => $space->createUrl('/space/manage/module/disable', ['moduleId' => $moduleId]),
77 77
                                     ],
78 78
                                     'htmlOptions' => [
79
-                                        'class' => 'btn btn-sm btn-info '. $disable,
79
+                                        'class' => 'btn btn-sm btn-info ' . $disable,
80 80
                                         'id' => 'btn-disable-module-' . $moduleId
81 81
                                     ]
82 82
                                 ]);
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
@@ -7,11 +7,9 @@
 block discarded – undo
7 7
 echo humhub\modules\content\widgets\Stream::widget(array(
8 8
     'streamAction' => '//directory/directory/stream',
9 9
     'messageStreamEmpty' => (!Yii::$app->user->isGuest) ?
10
-            Yii::t('DirectoryModule.views_directory_userPosts', '<b>Nobody wrote something yet.</b><br>Make the beginning and post something...') :
11
-            Yii::t('DirectoryModule.views_directory_userPosts', '<b>There are no profile posts yet!</b>'),
10
+            Yii::t('DirectoryModule.views_directory_userPosts', '<b>Nobody wrote something yet.</b><br>Make the beginning and post something...') : Yii::t('DirectoryModule.views_directory_userPosts', '<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
 
Please login to merge, or discard this patch.
views/content/widgets/wallCreateContentForm.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -156,11 +156,11 @@
 block discarded – undo
156 156
     function setDefaultVisibility() {
157 157
         <?php if ($defaultVisibility == humhub\modules\content\models\Content::VISIBILITY_PRIVATE) : ?>
158 158
             setPrivateVisibility();
159
-        <?php endif ;?>
159
+        <?php endif; ?>
160 160
                 
161 161
         <?php if ($defaultVisibility == humhub\modules\content\models\Content::VISIBILITY_PUBLIC) : ?>
162 162
             setPublicVisibility();
163
-        <?php endif ;?>
163
+        <?php endif; ?>
164 164
     }
165 165
     
166 166
     function setPublicVisibility() {
Please login to merge, or discard this patch.
views/widgets/dataSaved.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <!-- check if flash message exists -->
2
-<?php if(Yii::$app->getSession()->hasFlash('data-saved')): ?>
2
+<?php if (Yii::$app->getSession()->hasFlash('data-saved')): ?>
3 3
 
4 4
     <!-- <span> element to display the message -->
5 5
     <span class="data-saved"><i class="fa fa-check-circle"></i> <?php echo Yii::$app->getSession()->getFlash('data-saved'); ?></span>
Please login to merge, or discard this patch.
views/widgets/modalConfirm.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
 <?php if ($linkOutput == 'button') { ?>
31 31
 
32 32
     <!-- create button element -->
33
-    <button class="<?php echo $class; ?> <?php if ($tooltip != "") : ?>tt<?php endif;?>" style="<?php echo $style; ?>"
33
+    <button class="<?php echo $class; ?> <?php if ($tooltip != "") : ?>tt<?php endif; ?>" style="<?php echo $style; ?>"
34 34
             data-toggle="modal" data-target="#confirmModal_<?php echo $uniqueID; ?>" <?php echo $tooltip; ?>>
35 35
                 <?php echo $linkContent; ?>
36 36
     </button>
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
 <?php } else if ($linkOutput == 'a') { ?>
39 39
 
40 40
     <!-- create normal link element -->
41
-    <a id="deleteLinkPost_<?php echo $uniqueID; ?>" class="<?php echo $class; ?> <?php if ($tooltip != "") : ?>tt<?php endif;?>" style="<?php echo $style; ?>" href="#"
41
+    <a id="deleteLinkPost_<?php echo $uniqueID; ?>" class="<?php echo $class; ?> <?php if ($tooltip != "") : ?>tt<?php endif; ?>" style="<?php echo $style; ?>" href="#"
42 42
        data-toggle="modal" data-target="#confirmModal_<?php echo $uniqueID; ?>" <?php echo $tooltip; ?>>
43 43
            <?php echo $linkContent; ?>
44 44
     </a>
Please login to merge, or discard this patch.
views/widgets/reorderContent.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,8 +18,8 @@
 block discarded – undo
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 = [];
Please login to merge, or discard this patch.
views/widgets/leftNavigation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
         <div class="list-group">
21 21
             <?php foreach ($items as $item) : ?>
22 22
                 <?php $item['htmlOptions']['class'] .= " list-group-item"; ?>
23
-                <?php echo \yii\helpers\Html::a($item['icon']."<span>".$item['label']."</span>", $item['url'], $item['htmlOptions']); ?>
23
+                <?php echo \yii\helpers\Html::a($item['icon'] . "<span>" . $item['label'] . "</span>", $item['url'], $item['htmlOptions']); ?>
24 24
             <?php endforeach; ?>
25 25
         </div>
26 26
     <?php endforeach; ?>
Please login to merge, or discard this patch.
views/admin/group/members.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
                 'visible' => $isManagerApprovalSetting,
55 55
                 'label' => Yii::t('AdminModule.views_user_index', 'Group Manager'),
56 56
                 'format' => 'raw',
57
-                'value' => function ($data) use ($group) {
57
+                'value' => function($data) use ($group) {
58 58
                     $isManager = $group->isManager($data);
59 59
                     $yesSelected = ($isManager) ? 'selected' : '';
60 60
                     $noSelected = ($isManager) ? '' : 'selected';
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.