Revision 1529
Added by Dietmar almost 13 years ago
admin.php | ||
---|---|---|
4 | 4 |
* @category backend |
5 | 5 |
* @package modules |
6 | 6 |
* @author WebsiteBaker Project |
7 |
* @copyright 2004-2009, Ryan Djurovich |
|
8 | 7 |
* @copyright 2009-2010, Website Baker Org. e.V. |
9 | 8 |
* @link http://www.websitebaker2.org/ |
10 | 9 |
* @license http://www.gnu.org/licenses/gpl.html |
... | ... | |
96 | 95 |
$modified_ts = 'Unknown'; |
97 | 96 |
} |
98 | 97 |
|
99 |
// Include page info script |
|
100 |
$template = new Template(THEME_PATH.'/templates'); |
|
98 |
// Setup template object, parse vars to it, then parse it |
|
99 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('pages_modify.htt')); |
|
100 |
// Create new template object |
|
101 |
$template = new Template($ThemePath); |
|
102 |
// $template->debug = true; |
|
101 | 103 |
$template->set_file('page', 'pages_modify.htt'); |
102 | 104 |
$template->set_block('page', 'main_block', 'main'); |
103 | 105 |
$template->set_block('main_block', 'section_block', 'section_list'); |
Also available in: Unified diff
add new backend theme handling (Tks to Stefek)