@@ -32,11 +32,11 @@ |
||
32 | 32 | <?php echo Yii::t('SearchModule.views_search_index', 'Search only in certain spaces:'); ?> |
33 | 33 | <?php echo Html::textInput('limitSpaceGuids', $limitSpaceGuids, array('placeholder' => 'Specify space', 'style' => 'width:200px', 'id' => 'space_filter')); ?> |
34 | 34 | <?php |
35 | - echo humhub\modules\space\widgets\Picker::widget([ |
|
36 | - 'inputId' => 'space_filter', |
|
37 | - 'value' => $limitSpaceGuids |
|
38 | - ]); |
|
39 | - ?> |
|
35 | + echo humhub\modules\space\widgets\Picker::widget([ |
|
36 | + 'inputId' => 'space_filter', |
|
37 | + 'value' => $limitSpaceGuids |
|
38 | + ]); |
|
39 | + ?> |
|
40 | 40 | </div> |
41 | 41 | <br> |
42 | 42 | <?php echo Html::endForm(); ?> |
@@ -103,16 +103,22 @@ |
||
103 | 103 | |
104 | 104 | <?php if ($result instanceof ContentActiveRecord || $result instanceof ContentContainerActiveRecord) : ?> |
105 | 105 | <?php echo $result->getWallOut(); ?> |
106 | - <?php else: ?> |
|
107 | - No Output for Class <?php echo get_class($result); ?> |
|
106 | + <?php else { |
|
107 | + : ?> |
|
108 | + No Output for Class <?php echo get_class($result); |
|
109 | +} |
|
110 | +?> |
|
108 | 111 | <?php endif; ?> |
109 | 112 | <?php endforeach; ?> |
110 | - <?php else: ?> |
|
113 | + <?php else { |
|
114 | + : ?> |
|
111 | 115 | |
112 | 116 | |
113 | 117 | <div class="panel panel-default"> |
114 | 118 | <div class="panel-body"> |
115 | - <p><strong><?php echo Yii::t('SearchModule.views_search_index', 'Your search returned no matches.'); ?></strong></p> |
|
119 | + <p><strong><?php echo Yii::t('SearchModule.views_search_index', 'Your search returned no matches.'); |
|
120 | +} |
|
121 | +?></strong></p> |
|
116 | 122 | </div> |
117 | 123 | </div> |
118 | 124 | <?php endif; ?> |
@@ -21,10 +21,10 @@ |
||
21 | 21 | 'header' => 'Actions', |
22 | 22 | 'class' => 'yii\grid\ActionColumn', |
23 | 23 | 'buttons' => [ |
24 | - 'update' => function ($url, $model) { |
|
24 | + 'update' => function($url, $model) { |
|
25 | 25 | return Html::a('Accept', ['/friendship/request/add', 'userId' => $model->id], ['class' => 'btn btn-success btn-sm', 'data-method' => 'POST']); |
26 | 26 | }, |
27 | - 'view' => function () { |
|
27 | + 'view' => function() { |
|
28 | 28 | return; |
29 | 29 | }, |
30 | 30 | 'delete' => function($url, $model) { |
@@ -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) { |
@@ -1,55 +1,55 @@ |
||
1 | 1 | <?php return array ( |
2 | - 'components' => |
|
3 | - array ( |
|
2 | + 'components' => |
|
3 | + array ( |
|
4 | 4 | 'db' => |
5 | 5 | array ( |
6 | - 'class' => 'yii\\db\\Connection', |
|
7 | - 'dsn' => 'mysql:host=127.0.0.1;dbname=installer', |
|
8 | - 'username' => 'root', |
|
9 | - 'password' => 'root', |
|
10 | - 'charset' => 'utf8', |
|
6 | + 'class' => 'yii\\db\\Connection', |
|
7 | + 'dsn' => 'mysql:host=127.0.0.1;dbname=installer', |
|
8 | + 'username' => 'root', |
|
9 | + 'password' => 'root', |
|
10 | + 'charset' => 'utf8', |
|
11 | 11 | ), |
12 | 12 | 'user' => |
13 | 13 | array ( |
14 | 14 | ), |
15 | 15 | 'mailer' => |
16 | 16 | array ( |
17 | - 'transport' => |
|
18 | - array ( |
|
17 | + 'transport' => |
|
18 | + array ( |
|
19 | 19 | 'class' => 'Swift_MailTransport', |
20 | - ), |
|
20 | + ), |
|
21 | 21 | ), |
22 | 22 | 'view' => |
23 | 23 | array ( |
24 | - 'theme' => |
|
25 | - array ( |
|
24 | + 'theme' => |
|
25 | + array ( |
|
26 | 26 | 'name' => 'HumHub', |
27 | - ), |
|
27 | + ), |
|
28 | 28 | ), |
29 | 29 | 'formatter' => |
30 | 30 | array ( |
31 | - 'defaultTimeZone' => 'Europe/Berlin', |
|
31 | + 'defaultTimeZone' => 'Europe/Berlin', |
|
32 | 32 | ), |
33 | 33 | 'formatterApp' => |
34 | 34 | array ( |
35 | - 'defaultTimeZone' => 'Europe/Berlin', |
|
36 | - 'timeZone' => 'Europe/Berlin', |
|
35 | + 'defaultTimeZone' => 'Europe/Berlin', |
|
36 | + 'timeZone' => 'Europe/Berlin', |
|
37 | + ), |
|
37 | 38 | ), |
38 | - ), |
|
39 | - 'params' => |
|
40 | - array ( |
|
39 | + 'params' => |
|
40 | + array ( |
|
41 | 41 | 'installer' => |
42 | 42 | array ( |
43 | - 'db' => |
|
44 | - array ( |
|
43 | + 'db' => |
|
44 | + array ( |
|
45 | 45 | 'installer_hostname' => '127.0.0.1', |
46 | 46 | 'installer_database' => 'installer', |
47 | - ), |
|
47 | + ), |
|
48 | 48 | ), |
49 | 49 | 'config_created_at' => 1440430541, |
50 | 50 | 'installed' => true, |
51 | - ), |
|
52 | - 'name' => 'Installer', |
|
53 | - 'language' => 'de', |
|
54 | - 'timeZone' => 'Europe/Berlin', |
|
51 | + ), |
|
52 | + 'name' => 'Installer', |
|
53 | + 'language' => 'de', |
|
54 | + 'timeZone' => 'Europe/Berlin', |
|
55 | 55 | ); ?> |
@@ -1,8 +1,8 @@ discard block |
||
1 | -<?php return array ( |
|
1 | +<?php return array( |
|
2 | 2 | 'components' => |
3 | - array ( |
|
3 | + array( |
|
4 | 4 | 'db' => |
5 | - array ( |
|
5 | + array( |
|
6 | 6 | 'class' => 'yii\\db\\Connection', |
7 | 7 | 'dsn' => 'mysql:host=127.0.0.1;dbname=installer', |
8 | 8 | 'username' => 'root', |
@@ -10,38 +10,38 @@ discard block |
||
10 | 10 | 'charset' => 'utf8', |
11 | 11 | ), |
12 | 12 | 'user' => |
13 | - array ( |
|
13 | + array( |
|
14 | 14 | ), |
15 | 15 | 'mailer' => |
16 | - array ( |
|
16 | + array( |
|
17 | 17 | 'transport' => |
18 | - array ( |
|
18 | + array( |
|
19 | 19 | 'class' => 'Swift_MailTransport', |
20 | 20 | ), |
21 | 21 | ), |
22 | 22 | 'view' => |
23 | - array ( |
|
23 | + array( |
|
24 | 24 | 'theme' => |
25 | - array ( |
|
25 | + array( |
|
26 | 26 | 'name' => 'HumHub', |
27 | 27 | ), |
28 | 28 | ), |
29 | 29 | 'formatter' => |
30 | - array ( |
|
30 | + array( |
|
31 | 31 | 'defaultTimeZone' => 'Europe/Berlin', |
32 | 32 | ), |
33 | 33 | 'formatterApp' => |
34 | - array ( |
|
34 | + array( |
|
35 | 35 | 'defaultTimeZone' => 'Europe/Berlin', |
36 | 36 | 'timeZone' => 'Europe/Berlin', |
37 | 37 | ), |
38 | 38 | ), |
39 | 39 | 'params' => |
40 | - array ( |
|
40 | + array( |
|
41 | 41 | 'installer' => |
42 | - array ( |
|
42 | + array( |
|
43 | 43 | 'db' => |
44 | - array ( |
|
44 | + array( |
|
45 | 45 | 'installer_hostname' => '127.0.0.1', |
46 | 46 | 'installer_database' => 'installer', |
47 | 47 | ), |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | - humhub\assets\TabbedFormAsset::register($this); |
|
2 | + humhub\assets\TabbedFormAsset::register($this); |
|
3 | 3 | ?> |
4 | 4 | |
5 | 5 | <div class="panel-heading"> |
@@ -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) { |