Skip to content

Commit

Permalink
Formatting and fixed link for backend css
Browse files Browse the repository at this point in the history
  • Loading branch information
kozi committed Jul 23, 2019
1 parent 4b6862f commit b54c5af
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 9 deletions.
5 changes: 1 addition & 4 deletions src/Resources/contao/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,5 @@
*/

array_insert($GLOBALS['BE_MOD']['accounts'], 4, [
'user2group_viewer' => [
'callback' => 'MartinKozianka\User2Group\ModuleUser2Group',
'icon' => 'system/themes/default/images/group.gif',
],
'user2group_viewer' => ['callback' => 'MartinKozianka\User2Group\ModuleUser2Group'],
]);
2 changes: 1 addition & 1 deletion src/Resources/contao/languages/de/default.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?php

$GLOBALS['TL_LANG']['MSC']['user2group_no_groups'] = "Es sind keine Guppen definiert.";
$GLOBALS['TL_LANG']['MSC']['user2group_no_groups'] = "Es sind keine Guppen definiert.";
2 changes: 1 addition & 1 deletion src/Resources/contao/languages/de/modules.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?php

$GLOBALS['TL_LANG']['MOD']['user2group_viewer'] = ['Gruppenübersicht', 'Welche Benutzer sind in den verschiedenen Gruppen'];
$GLOBALS['TL_LANG']['MOD']['user2group_viewer'] = ['Gruppenübersicht', 'Welche Benutzer sind in den verschiedenen Gruppen'];
2 changes: 1 addition & 1 deletion src/Resources/contao/languages/en/default.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?php

$GLOBALS['TL_LANG']['MSC']['user2group_no_groups'] = "No groups defined.";
$GLOBALS['TL_LANG']['MSC']['user2group_no_groups'] = "No groups defined.";
2 changes: 1 addition & 1 deletion src/Resources/contao/languages/en/modules.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?php

$GLOBALS['TL_LANG']['MOD']['user2group_viewer'] = ['Groups Overview', 'Overview for users and user groups'];
$GLOBALS['TL_LANG']['MOD']['user2group_viewer'] = ['Groups Overview', 'Overview for users and user groups'];
2 changes: 1 addition & 1 deletion src/Resources/contao/modules/ModuleUser2Group.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ protected function compile()
{
$this->loadLanguageFile('tl_user');

$GLOBALS['TL_CSS'][] = 'system/modules/user2group/assets/user2group.css';
$GLOBALS['TL_CSS'][] = 'bundles/martinkoziankauser2group/user2group.css';

$label['group'] = $GLOBALS['TL_LANG']['tl_user']['groups'][0];
$label['user'] = $GLOBALS['TL_LANG']['tl_user']['name'][0];
Expand Down

0 comments on commit b54c5af

Please sign in to comment.