' . _("view") . ''
);
if (in_array('admin_angel_types', $privileges)) {
$actions[] = '' . _("edit") . '';
$actions[] = '' . _("delete") . '';
}
$angeltype['membership'] = "";
if ($angeltype['user_angeltype_id'] != null) {
if ($angeltype['restricted']) {
if ($angeltype['confirm_user_id'] == null)
$angeltype['membership'] = ' ' . _("Unconfirmed");
else
$angeltype['membership'] = ' ' . _("Member");
} else
$angeltype['membership'] = ' ' . _("Member");
$actions[] = '' . _("leave") . '';
} else {
$angeltype['membership'] = '';
$actions[] = '' . _("join") . '';
}
$angeltype['restricted'] = $angeltype['restricted'] ? '' : '';
$angeltype['name'] = '' . $angeltype['name'] . '';
$angeltype['actions'] = join(" ", $actions);
}
return array(
angeltypes_title(),
AngelTypes_list_view($angeltypes, in_array('admin_angel_types', $privileges))
);
}
?>