Skip to content

Commit

Permalink
Add current theme to the theme block available info
Browse files Browse the repository at this point in the history
  • Loading branch information
fiammybe committed Sep 24, 2023
1 parent 9d0f554 commit 80f6c06
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions htdocs/modules/system/blocks/system_blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,7 @@ function b_system_themes_show($options){
global $icmsConfig;

$block = array();
$block['current_theme'] = $icmsConfig['theme_set'];
foreach ($icmsConfig['theme_set_allowed'] as $theme) {
$imagefile = ICMS_THEME_URL . "/" . $theme . "/shot.gif";

Expand All @@ -605,6 +606,7 @@ function b_system_themes_show($options){
return $block;
}


/**
* Shows the form to edit the themes
*
Expand Down

0 comments on commit 80f6c06

Please sign in to comment.