Skip to content

Commit

Permalink
Added import of CSS class from settings template, closes #53
Browse files Browse the repository at this point in the history
  • Loading branch information
ausi committed Sep 19, 2018
1 parent e0219f8 commit adfdbbb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Module/Slider.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,12 @@ public function generate()
$this->arrData[$key] = $value;
}
}
$settingsCssId = \StringUtil::deserialize($settingsModule->cssID, true);
if (!empty($settingsCssId[1])) {
$this->arrData['cssID'][1] = (
empty($this->arrData['cssID'][1]) ? '' : $this->arrData['cssID'][1] . ' '
) . $settingsCssId[1];
}
}

if ($this->rsts_template) {
Expand Down

0 comments on commit adfdbbb

Please sign in to comment.