Vergleich admin/modules/user/admin_permissions.php - 1.8.11 - 1.8.17

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 339Zeile 339
			$perm_type = "default";
}
$uid = -$group['gid'];

			$perm_type = "default";
}
$uid = -$group['gid'];

 

$group['title'] = htmlspecialchars_uni($group['title']);


		$table->construct_cell("<div class=\"float_right\"><img src=\"styles/{$page->style}/images/icons/{$perm_type}.png\" title=\"{$lang->permissions_type_group}\" alt=\"{$perm_type}\" /></div><div><strong><a href=\"index.php?module=user-admin_permissions&amp;action=edit&amp;uid={$uid}\" title=\"{$lang->edit_group}\">{$group['title']}</a></strong><br /></div>");

if($group['permissions'] != "")

		$table->construct_cell("<div class=\"float_right\"><img src=\"styles/{$page->style}/images/icons/{$perm_type}.png\" title=\"{$lang->permissions_type_group}\" alt=\"{$perm_type}\" /></div><div><strong><a href=\"index.php?module=user-admin_permissions&amp;action=edit&amp;uid={$uid}\" title=\"{$lang->edit_group}\">{$group['title']}</a></strong><br /></div>");

if($group['permissions'] != "")

Zeile 382Zeile 385

$page->add_breadcrumb_item($lang->user_permissions);
$page->output_header($lang->user_permissions);


$page->add_breadcrumb_item($lang->user_permissions);
$page->output_header($lang->user_permissions);





	$page->output_nav_tabs($sub_tabs, 'user_permissions');

$table = new Table;
$table->construct_header($lang->user);
$table->construct_header($lang->last_active, array("class" => "align_center", "width" => 200));
$table->construct_header($lang->controls, array("class" => "align_center", "width" => 150));

	$page->output_nav_tabs($sub_tabs, 'user_permissions');

$table = new Table;
$table->construct_header($lang->user);
$table->construct_header($lang->last_active, array("class" => "align_center", "width" => 200));
$table->construct_header($lang->controls, array("class" => "align_center", "width" => 150));





	// Get usergroups with ACP access
$usergroups = array();
$query = $db->simple_select("usergroups", "*", "cancp = 1");

	// Get usergroups with ACP access
$usergroups = array();
$query = $db->simple_select("usergroups", "*", "cancp = 1");

Zeile 397Zeile 400
	{
$usergroups[$usergroup['gid']] = $usergroup;
}

	{
$usergroups[$usergroup['gid']] = $usergroup;
}





	if(!empty($usergroups))
{
// Get users whose primary or secondary usergroup has ACP access

	if(!empty($usergroups))
{
// Get users whose primary or secondary usergroup has ACP access

Zeile 443Zeile 446
		");
while($admin = $db->fetch_array($query))
{

		");
while($admin = $db->fetch_array($query))
{

 
			$perm_type = "default";


			if($admin['permissions'] != "")
{
$perm_type = "user";

			if($admin['permissions'] != "")
{
$perm_type = "user";

Zeile 458Zeile 463
						$perm_type = "group";
break;
}

						$perm_type = "group";
break;
}

				}

if(!$group_permissions)
{
$perm_type = "default";

 
				}
}


				}
}


Zeile 472Zeile 472
			// Primary usergroup?
if($usergroups[$admin['usergroup']]['cancp'] == 1)
{

			// Primary usergroup?
if($usergroups[$admin['usergroup']]['cancp'] == 1)
{

				$usergroup_list[] = "<i>".$usergroups[$admin['usergroup']]['title']."</i>";

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

			}

// Secondary usergroups?

			}

// Secondary usergroups?

Zeile 483Zeile 483
				{
if($usergroups[$gid]['cancp'] == 1)
{

				{
if($usergroups[$gid]['cancp'] == 1)
{

						$usergroup_list[] = $usergroups[$gid]['title'];

						$usergroup_list[] = htmlspecialchars_uni($usergroups[$gid]['title']);

					}
}
}

					}
}
}