Vergleich admin/modules/user/admin_permissions.php - 1.8.27 - 1.8.33

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 297Zeile 297
		$form_container = new FormContainer("{$module['name']}");
foreach($module['permissions'] as $action => $title)
{

		$form_container = new FormContainer("{$module['name']}");
foreach($module['permissions'] as $action => $title)
{

 
			if(!isset($permission_data[$key][$action]))
{
$permission_data[$key][$action] = 0;
}


			$form_container->output_row($title, "", $form->generate_yes_no_radio('permissions['.$key.']['.$action.']', (int)$permission_data[$key][$action], array('yes' => 1, 'no' => 0)), 'permissions['.$key.']['.$action.']');
}
$form_container->end();

			$form_container->output_row($title, "", $form->generate_yes_no_radio('permissions['.$key.']['.$action.']', (int)$permission_data[$key][$action], array('yes' => 1, 'no' => 0)), 'permissions['.$key.']['.$action.']');
}
$form_container->end();

Zeile 473Zeile 478

// Build a list of group memberships that have access to the Admin CP
// Primary usergroup?


// Build a list of group memberships that have access to the Admin CP
// Primary usergroup?

			if($usergroups[$admin['usergroup']]['cancp'] == 1)

			if(!empty($usergroups[$admin['usergroup']]) && $usergroups[$admin['usergroup']]['cancp'] == 1)

			{
$usergroup_list[] = "<i>".htmlspecialchars_uni($usergroups[$admin['usergroup']]['title'])."</i>";
}

			{
$usergroup_list[] = "<i>".htmlspecialchars_uni($usergroups[$admin['usergroup']]['title'])."</i>";
}