Project

General

Profile

« Previous | Next » 

Revision 1625

Added by Dietmar over 12 years ago

! update correct_theme_source and fixed the call in all files

View differences:

groups.php
46 46
			$results = $database->query("SELECT * FROM ".TABLE_PREFIX."groups WHERE group_id = '".$group_id."'");
47 47
			$group = $results->fetchRow();
48 48
			// Setup template object, parse vars to it, then parse it
49
			$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('groups_form.htt'));
50 49
			// Create new template object
51
			$template = new Template($ThemePath);
50
			$template = new Template(dirname($admin->correct_theme_source('groups_form.htt')));
52 51
			// $template->debug = true;
53 52
			$template->set_file('page', 'groups_form.htt');
54 53
			$template->set_block('page', 'main_block', 'main');

Also available in: Unified diff