@@ -10,8 +10,11 @@ |
||
| 10 | 10 | |
| 11 | 11 | <?php if (!$group->isNewRecord) : ?> |
| 12 | 12 | <h4><?php echo Yii::t('AdminModule.user', 'Manage group: {groupName}', ['groupName' => $group->name]); ?></h4> |
| 13 | - <?php else: ?> |
|
| 14 | - <h4><?php echo Yii::t('AdminModule.user', 'Add new group'); ?></h4> |
|
| 13 | + <?php else { |
|
| 14 | + : ?> |
|
| 15 | + <h4><?php echo Yii::t('AdminModule.user', 'Add new group'); |
|
| 16 | +} |
|
| 17 | +?></h4> |
|
| 15 | 18 | <?php endif; ?> |
| 16 | 19 | </div> |
| 17 | 20 | |
@@ -24,11 +24,23 @@ |
||
| 24 | 24 | </div> |
| 25 | 25 | <div class="tab-menu"> |
| 26 | 26 | <ul class="nav nav-tabs" id="moduleTabs"> |
| 27 | - <li <?php if ($this->context->action->id == 'list') echo 'class="active"'; ?>><?php echo Html::a(Yii::t('AdminModule.views_module_header', 'Installed'), Url::to(['list'])); ?></li> |
|
| 27 | + <li <?php if ($this->context->action->id == 'list') { |
|
| 28 | + echo 'class="active"'; |
|
| 29 | +} |
|
| 30 | +?>><?php echo Html::a(Yii::t('AdminModule.views_module_header', 'Installed'), Url::to(['list'])); ?></li> |
|
| 28 | 31 | <?php if (Yii::$app->getModule('admin')->marketplaceEnabled) : ?> |
| 29 | - <li <?php if ($this->context->action->id == 'list-online') echo 'class="active"'; ?>><?php echo Html::a(Yii::t('AdminModule.views_module_header', 'Browse online'), Url::to(['list-online'])); ?></li> |
|
| 30 | - <li <?php if ($this->context->action->id == 'list-purchases') echo 'class="active"'; ?>><?php echo Html::a(Yii::t('AdminModule.views_module_header', 'Purchases'), Url::to(['list-purchases'])); ?></li> |
|
| 31 | - <li <?php if ($this->context->action->id == 'list-updates') echo 'class="active"'; ?>><?php echo Html::a(Yii::t('AdminModule.views_module_header', 'Available updates') . $updatesBadge, Url::to(['list-updates'])); ?></li> |
|
| 32 | + <li <?php if ($this->context->action->id == 'list-online') { |
|
| 33 | + echo 'class="active"'; |
|
| 34 | +} |
|
| 35 | +?>><?php echo Html::a(Yii::t('AdminModule.views_module_header', 'Browse online'), Url::to(['list-online'])); ?></li> |
|
| 36 | + <li <?php if ($this->context->action->id == 'list-purchases') { |
|
| 37 | + echo 'class="active"'; |
|
| 38 | +} |
|
| 39 | +?>><?php echo Html::a(Yii::t('AdminModule.views_module_header', 'Purchases'), Url::to(['list-purchases'])); ?></li> |
|
| 40 | + <li <?php if ($this->context->action->id == 'list-updates') { |
|
| 41 | + echo 'class="active"'; |
|
| 42 | +} |
|
| 43 | +?>><?php echo Html::a(Yii::t('AdminModule.views_module_header', 'Available updates') . $updatesBadge, Url::to(['list-updates'])); ?></li> |
|
| 32 | 44 | <?php endif; ?> |
| 33 | 45 | </ul> |
| 34 | 46 | </div> |
@@ -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 | ), |
@@ -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) { |