Skip to content

Commit 7c4ef11

Browse files
committed
Fix minors code formating issues
1 parent 60830d2 commit 7c4ef11

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lang/en/theme_trema.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,12 +142,12 @@
142142
$string['frontpagecardssubtitle'] = 'The description of the cards section goes here. Several lines of text can be placed in this space.';
143143
$string['frontpagecardstitle'] = 'Title of cards section';
144144
$string['frontpagecontent'] = 'Frontpage Content';
145+
$string['frontpagedraweropen'] = 'Open frontpage drawer by default';
146+
$string['frontpagedraweropen_desc'] = 'When enabled, the blocks drawer will be open by default, if we have blocks, on the frontpage, making content in the drawer immediately visible to users.';
145147
$string['frontpageenablecards'] = 'Enable frontpage cards';
146148
$string['frontpageenablecards_desc'] = 'Uncheck if you want to hide the area below: <img class="img-responsive" src="{$a}">';
147149
$string['frontpageenabledarkoverlay'] = 'Frontpage banner dark overlay';
148150
$string['frontpageenabledarkoverlay_desc'] = 'When enabled, this will apply a dark overlay to the banner image on the frontpage.';
149-
$string['frontpagedraweropen'] = 'Open frontpage drawer by default';
150-
$string['frontpagedraweropen_desc'] = 'When enabled, the blocks drawer will be open by default, if we have blocks, on the frontpage, making content in the drawer immediately visible to users.';
151151
$string['frontpageimage'] = 'Frontpage banner image {$a}';
152152
$string['frontpageimage_desc'] = 'Image {$a} to show in frontpage banner.';
153153
$string['frontpageimages'] = 'Frontpage banner';

lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ function theme_trema_page_init(moodle_page $page) {
397397
}
398398
}
399399

400-
// Load profilefields JS if the setting is enabled
400+
// Load profilefields JS if the setting is enabled.
401401
$enforcerequiredprofilefields = get_config('theme_trema', 'enforcerequiredprofilefields');
402402
if (!empty($enforcerequiredprofilefields)) {
403403
$pagepath = $page->url->get_path();

0 commit comments

Comments
 (0)