summaryrefslogtreecommitdiff
path: root/modules_v3/theme_select
diff options
context:
space:
mode:
Diffstat (limited to 'modules_v3/theme_select')
-rw-r--r--modules_v3/theme_select/module.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/modules_v3/theme_select/module.php b/modules_v3/theme_select/module.php
index b83825a2d3..ae9634c11c 100644
--- a/modules_v3/theme_select/module.php
+++ b/modules_v3/theme_select/module.php
@@ -36,15 +36,15 @@ class theme_select_WT_Module extends WT_Module implements WT_Module_Block {
}
/** {@inheritdoc} */
- public function getBlock($block_id, $template=true, $cfg=null) {
+ public function getBlock($block_id, $template = true, $cfg = null) {
/** @var \WT\Theme\BaseTheme */
- $id=$this->getName().$block_id;
- $class=$this->getName().'_block';
- $title=$this->getTitle();
- $menu=Theme::theme()->menuThemes();
+ $id = $this->getName() . $block_id;
+ $class = $this->getName() . '_block';
+ $title = $this->getTitle();
+ $menu = Theme::theme()->menuThemes();
if ($menu) {
- $content='<div class="center theme_form">' . $menu . '</div><br>';
+ $content = '<div class="center theme_form">' . $menu . '</div><br>';
if ($template) {
return Theme::theme()->formatBlock($id, $title, $class, $content);