mirror of
https://github.com/Mibew/mibew.git
synced 2025-02-01 05:44:41 +03:00
Pass style name to operator pages' templates
This commit is contained in:
parent
3ad8bfb380
commit
94d5689077
@ -87,6 +87,7 @@ class PageStyle extends AbstractStyle implements StyleInterface
|
|||||||
$data['currentLocale'] = CURRENT_LOCALE;
|
$data['currentLocale'] = CURRENT_LOCALE;
|
||||||
$data['rtl'] = (getlocal("localedirection") == 'rtl');
|
$data['rtl'] = (getlocal("localedirection") == 'rtl');
|
||||||
$data['stylePath'] = MIBEW_WEB_ROOT . '/' . $this->filesPath();
|
$data['stylePath'] = MIBEW_WEB_ROOT . '/' . $this->filesPath();
|
||||||
|
$data['styleName'] = $this->name();
|
||||||
|
|
||||||
echo($this->templateEngine->render($template_name, $data));
|
echo($this->templateEngine->render($template_name, $data));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user