per module code file for themes

This commit is contained in:
friendica
2012-08-22 19:51:08 -07:00
parent 136380fede
commit a9dabd8eb9
3 changed files with 7 additions and 1 deletions

View File

@@ -324,6 +324,10 @@ if($a->module != 'install') {
require_once(theme_include('theme_init.php'));
if(($p = theme_include('mod_' . $a->module . '.php')) != '')
require_once($p);
require_once('include/js_strings.php');
head_add_css(((x($a->page,'template')) ? $a->page['template'] : 'default' ) . '.css');