Skip to content

Commit

Permalink
Theme Trema release 3.5.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rmady committed Mar 8, 2019
1 parent f39c974 commit 3226cc6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,15 @@ function theme_trema_get_pre_scss($theme) {
}
$scss .= '$' . $target . ': ' . $value . ";\n";
}
//Login background image

// Login background image.
$backgroundimageurl = $theme->setting_file_url('loginbackgroundimage', 'loginbackgroundimage');
if ($theme->settings->loginpagestyle == 'image' and !empty($backgroundimageurl)) {
$scss .= "\$login-backgroundimage: '$backgroundimageurl';\n";
} else {
$scss .= "\$login-backgroundimage: '[[pix:theme|frontpage/banner]]';\n";
}

// Prepend pre-scss.
if (! empty($theme->settings->scsspre)) {
$scss .= $theme->settings->scsspre;
Expand Down
4 changes: 2 additions & 2 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@

defined('MOODLE_INTERNAL') || die();

$plugin->version = 2019022800;
$plugin->release = '3.5.0.0';
$plugin->version = 2019030800;
$plugin->release = '3.5.0.1';
$plugin->maturity = MATURITY_STABLE;
$plugin->requires = 2018050800; // Requires Moodle 3.5.
$plugin->component = 'theme_trema';
Expand Down

0 comments on commit 3226cc6

Please sign in to comment.