Project

General

Profile

« Previous | Next » 

Revision 944

Added by Matthias about 15 years ago

added skinable Admin Interface

View differences:

settings.php
81 81
}
82 82

  
83 83
// Setup template object, parse vars to it, then parse it
84
$template = new Template(ADMIN_PATH.'/pages');
85
$template->set_file('page', 'settings.html');
84
$template = new Template(THEME_PATH.'/templates');
85
$template->set_file('page', 'pages_settings.htt');
86 86
$template->set_block('page', 'main_block', 'main');
87 87
$template->set_var(array(
88 88
								'PAGE_ID' => $results_array['page_id'],
......
290 290
			if($results_array['parent'] == $page['page_id']) {
291 291
				$template->set_var('SELECTED', ' selected');
292 292
			} elseif($results_array['page_id'] == $page['page_id']) {
293
				$template->set_var('SELECTED', ' disabled="disabled" style="color: #aaa;"');
293
				$template->set_var('SELECTED', ' disabled="disabled" class="disabled"');
294 294
				$list_next_level=false;
295 295
			} elseif($can_modify != true) {
296
				$template->set_var('SELECTED', ' disabled="disabled" style="color: #aaa;"');
296
				$template->set_var('SELECTED', ' disabled="disabled" class="disabled"');
297 297
			} else {
298 298
				$template->set_var('SELECTED', '');
299 299
			}

Also available in: Unified diff