Project

General

Profile

« Previous | Next » 

Revision 1529

Added by Dietmar almost 13 years ago

add new backend theme handling (Tks to Stefek)

View differences:

modify.php
57 57
        ? $modified_ts = date(TIME_FORMAT.', '.DATE_FORMAT, $results_array['modified_when']+TIMEZONE)
58 58
        : 'Unknown';
59 59
// $ftan_module = $GLOBALS['ftan_module'];
60
// Include page info script
61
$template = new Template(THEME_PATH.'/templates');
60
// Setup template object, parse vars to it, then parse it
61
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('pages_modify.htt'));
62
// Create new template object
63
$template = new Template($ThemePath);
64
// $template->debug = true;
62 65
$template->set_file('page', 'pages_modify.htt');
63 66
$template->set_block('page', 'main_block', 'main');
64 67
$template->set_var('FTAN', $admin->getFTAN() );

Also available in: Unified diff