Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Auswöger <[email protected]>
  • Loading branch information
rabauss and ausi authored May 9, 2023
1 parent cb8856c commit 1e3e1e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/contao/dca/tl_form_field.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
'exclude' => true,
'inputType' => 'imageSize',
'options_callback' => static function () {
return System::getContainer()->get('contao.image.sizes')->getAllOptions();
return System::getContainer()->get('contao.image.sizes')->getOptionsForUser(BackendUser::getInstance());
},
'reference' => &$GLOBALS['TL_LANG']['MSC'],
'eval' => array(
Expand Down
1 change: 1 addition & 0 deletions src/Resources/contao/languages/en/tl_content.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
$GLOBALS['TL_LANG']['tl_content']['rs_columns_gutters']['s'] = 'Small';
$GLOBALS['TL_LANG']['tl_content']['rs_columns_gutters']['m'] = 'Medium';
$GLOBALS['TL_LANG']['tl_content']['rs_columns_gutters']['l'] = 'Large';
$GLOBALS['TL_LANG']['tl_content']['rs_columns_gutters']['h'] = 'Huge';
$GLOBALS['TL_LANG']['tl_content']['rs_columns_outside_gutters'][0] = 'Outside gutter';
$GLOBALS['TL_LANG']['tl_content']['rs_columns_outside_gutters'][1] = 'Inserts a space before the first and after the last column.';
$GLOBALS['TL_LANG']['tl_content']['rs_columns_equal_height'][0] = 'Equal column height';
Expand Down

0 comments on commit 1e3e1e1

Please sign in to comment.