';
echo get_module_title("Users", 'Profile Information', true);
global $adb;
global $theme;
global $theme_path;
global $image_path;
$theme_path="themes/".$theme."/";
$image_path=$theme_path."images/";
require_once($theme_path.'layout_utils.php');
$profileid = $_REQUEST["profileid"];
//Retreiving the tabs permisson array
$tab_perr_array = getTabsPermission($profileid);
$act_perr_arry = getTabsActionPermission($profileid);
$act_utility_arry = getTabsUtilityActionPermission($profileid);
$xtpl=new XTemplate ('modules/Users/ProfileDetailView.html');
$standCustFld = getStdOutput($tab_perr_array, $act_perr_arry, $act_utility_arry,$profileid);
//Standard PickList Fields
function getStdOutput($tab_perr_array, $act_perr_arry, $act_utility_arry,$profileid)
{
global $adb;
$standCustFld = '';
$standCustFld .= '';
$standCustFld .= '';
$standCustFld .= '';
//Check for Current Profile
global $current_user;
$current_profile = fetchUserProfileId($current_user->id);
$standCustFld .= '
';
if($profileid != 1 && $profileid != 2 && $profileid != 3 && $profileid != 4 && $profileid != $current_profile)
{
$standCustFld .= '';
}
$standCustFld .= '
';
$standCustFld .= '
'; $standCustFld .= get_form_header("Profile Standard Access Information", "", false ); $standCustFld .= ' |
Entity | '; $standCustFld .= 'Allow | ';
$standCustFld .= 'Create/Edit | ';
$standCustFld .= 'Delete | ';
$standCustFld .= 'View | ';
$standCustFld .= '
'.$entity_name.' | '; $standCustFld .= ''.$tab_allow_per.' | ';
$standCustFld .= ''.$tab_create_per.' | ';
$standCustFld .= ''.$tab_delete_per.' | ';
$standCustFld .= ''.$tab_view_per.' | ';
$standCustFld .= '
'; $standCustFld .= get_form_header("Profile Utility Access Information", "", false ); $standCustFld .= ' |
Entity | '; $standCustFld .= 'Import | ';
$standCustFld .= 'Export | ';
$standCustFld .= '
'.$entity_name.' | '; $standCustFld .= ''.$tab_import_per.' | ';
$standCustFld .= ''.$tab_export_per.' | ';
$standCustFld .= '