per module code file for themes
This commit is contained in:
parent
136380fede
commit
a9dabd8eb9
@ -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');
|
||||
|
@ -3,7 +3,6 @@
|
||||
require_once('include/account.php');
|
||||
|
||||
function zregister_init(&$a) {
|
||||
$a->page['template'] = 'full';
|
||||
|
||||
$result = null;
|
||||
$cmd = ((argc() > 1) ? argv(1) : '');
|
||||
|
3
view/php/mod_zregister.php
Normal file
3
view/php/mod_zregister.php
Normal file
@ -0,0 +1,3 @@
|
||||
<?php
|
||||
|
||||
$a->page['template'] = 'full';
|
Reference in New Issue
Block a user