Project

General

Profile

« Previous | Next » 

Revision 944

Added by Matthias almost 16 years ago

added skinable Admin Interface

View differences:

groups.php
50 50
	$results = $database->query("SELECT * FROM ".TABLE_PREFIX."groups WHERE group_id = '".$_POST['group_id']."'");
51 51
	$group = $results->fetchRow();
52 52
	// Setup template object
53
	$template = new Template(ADMIN_PATH.'/groups');
54
	$template->set_file('page', 'group_form.html');
53
	$template = new Template(THEME_PATH.'/templates');
54
	$template->set_file('page', 'groups_form.htt');
55 55
	$template->set_block('page', 'main_block', 'main');
56 56
	$template->set_var(	array(
57 57
										'ACTION_URL' => ADMIN_URL.'/groups/save.php',

Also available in: Unified diff