Project

General

Profile

« Previous | Next » 

Revision 1012

Added by Matthias over 15 years ago

Major fixes on backend to get XHTML valid output (Thanks to Luisehahne)

View differences:

groups.php
66 66
		$template->set_var('DISPLAY_ADVANCED', '');
67 67
		$template->set_var('DISPLAY_BASIC', 'none');
68 68
		$template->set_var('ADVANCED', 'yes');
69
		$template->set_var('ADVANCED_BUTTON', '<< '.$TEXT['HIDE_ADVANCED']);
69
		$template->set_var('ADVANCED_BUTTON', '&lt;&lt; '.$TEXT['HIDE_ADVANCED']);
70 70
	} else {
71 71
		$template->set_var('DISPLAY_ADVANCED', 'none');
72 72
		$template->set_var('DISPLAY_BASIC', '');
73 73
		$template->set_var('ADVANCED', 'no');
74
		$template->set_var('ADVANCED_BUTTON', $TEXT['SHOW_ADVANCED'].' >>');
74
		$template->set_var('ADVANCED_BUTTON', $TEXT['SHOW_ADVANCED'].'  &gt;&gt;');
75 75
	}
76
	
76

  
77 77
	// Explode system permissions
78 78
	$system_permissions = explode(',', $group['system_permissions']);
79 79
	// Check system permissions boxes
80 80
	foreach($system_permissions AS $name) {
81
			$template->set_var($name.'_checked', 'checked');
81
			$template->set_var($name.'_checked', ' checked="checked"');
82 82
	}
83 83
	// Explode module permissions
84 84
	$module_permissions = explode(',', $group['module_permissions']);
......
93 93
			$template->set_var('VALUE', $addon['directory']);
94 94
			$template->set_var('NAME', $addon['name']);
95 95
			if(!is_numeric(array_search($addon['directory'], $module_permissions))) {
96
				$template->set_var('CHECKED', 'checked');
96
				$template->set_var('CHECKED', ' checked="checked"');
97 97
			} else {
98 98
				$template->set_var('CHECKED', '');
99 99
			}
......
109 109
			$template->set_var('VALUE', $addon['directory']);
110 110
			$template->set_var('NAME', $addon['name']);
111 111
			if(!is_numeric(array_search($addon['directory'], $template_permissions))) {
112
				$template->set_var('CHECKED', 'checked');
112
				$template->set_var('CHECKED', ' checked="checked"');
113 113
			} else {
114 114
				$template->set_var('CHECKED', '');
115 115
			}

Also available in: Unified diff