Project

General

Profile

« Previous | Next » 

Revision 1529

Added by Dietmar over 12 years ago

add new backend theme handling (Tks to Stefek)

View differences:

details.php
3 3
 *
4 4
 * @category        admin
5 5
 * @package         modules
6
 * @author          WebsiteBaker Project
7
 * @copyright       2004-2009, Ryan Djurovich
6
 * @author          Ryan Djurovich, WebsiteBaker Project
8 7
 * @copyright       2009-2011, Website Baker Org. e.V.
9 8
 * @link			http://www.websitebaker2.org/
10 9
 * @license         http://www.gnu.org/licenses/gpl.html
......
47 46
	exit(0);
48 47
}
49 48

  
50
// Setup module object
51
$template = new Template(THEME_PATH.'/templates');
49
// Setup template object, parse vars to it, then parse it
50
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('modules_details.htt'));
51
// Create new template object
52
$template = new Template($ThemePath);
53
// $template->debug = true;
52 54
$template->set_file('page', 'modules_details.htt');
53 55
$template->set_block('page', 'main_block', 'main');
54 56

  

Also available in: Unified diff