diff options
author | friendica <info@friendica.com> | 2014-03-02 00:24:29 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-03-02 00:24:29 -0800 |
commit | bf401a5afaca8f96606b22e219bd595646ac9dab (patch) | |
tree | 22c4493a364ec2f90d752464a0d57d2441f9f20e /boot.php | |
parent | 1920873c349f697c7c07f8073a2e72f19453474e (diff) | |
download | volse-hubzilla-bf401a5afaca8f96606b22e219bd595646ac9dab.tar.gz volse-hubzilla-bf401a5afaca8f96606b22e219bd595646ac9dab.tar.bz2 volse-hubzilla-bf401a5afaca8f96606b22e219bd595646ac9dab.zip |
allow templates to have multiple styles - this would be a bit like having a schema for a template file. At first you'll think this is insane and overly complicated, you'll just have to wait and see what I'm up to. Then it will start to make sense.
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1852,7 +1852,11 @@ function construct_page(&$a) { require_once('include/js_strings.php'); - head_add_css(((x($a->page,'template')) ? $a->page['template'] : 'default' ) . '.css'); + if(x($a->page,'template_style')) + head_add_css($a->page['template_style'] . '.css'); + else + head_add_css(((x($a->page,'template')) ? $a->page['template'] : 'default' ) . '.css'); + head_add_css('mod_' . $a->module . '.css'); head_add_css(current_theme_url($installing)); |