Changeset 516 in t29-www for lib/template.php


Ignore:
Timestamp:
Feb 19, 2014, 12:39:35 PM (6 years ago)
Author:
sven
Message:

Bug #51 gefixt (http://labs.technikum29.de/ticket/51).
Jetzt sollten neue Pagestyles gleich beim Erstellen erkannt werden.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/template.php

    r436 r516  
    114114                $this->current_link_classes = $this->menu->get_link_classes();
    115115               
    116                 // check and load additional css
    117                 $this->conf['pagecss'] = '/shared/css-v6/pagestyles/'.$this->conf['seiten_id'].'.css';
     116                // check and load additional css.
     117                // #51: This is now checked by the site caching in technikum29.php.
     118                $this->conf['pagecss'] = $this->conf['host']->ressources_get_pagestyle($this->conf['seiten_id']);
    118119                $this->conf['has_pagecss'] = file_exists($this->conf['webroot'].$this->conf['pagecss']);
    119                 // FIXME: There is no caching check yet for this setting
    120                 //        (new pagecss file won't be detected and wont purge the tmpl cache)
    121120               
    122121                // setup html title
Note: See TracChangeset for help on using the changeset viewer.
© 2008 - 2013 technikum29 • Sven Köppel • Some rights reserved
Powered by Trac
Expect where otherwise noted, content on this site is licensed under a Creative Commons 3.0 License