';
echo get_module_title("Users", $_REQUEST['fld_module'].': '.$mod_strings['LBL_FIELD_LEVEL_ACCESS'], true);
echo '
';
//echo get_form_header("Standard Fields", "", false );
global $adb;
global $theme;
$theme_path="themes/".$theme."/";
$image_path=$theme_path."images/";
require_once($theme_path.'layout_utils.php');
$fld_module = $_REQUEST["fld_module"];
//Retreiving the fields array
$xtpl=new XTemplate ('modules/Users/EditFieldLevelAccess.html');
$profileid = $_REQUEST['profileid'];
$fieldListResult = getProfile2FieldList($fld_module, $profileid);
$noofrows = $adb->num_rows($fieldListResult);
$standCustFld = getStdOutput($fieldListResult, $noofrows, $mod_strings,$profileid);
//Standard PickList Fields
function getStdOutput($fieldListResult, $noofrows, $mod_strings,$profileid)
{
	global $adb;
	$standCustFld= '';
	$standCustFld .= '';
	$standCustFld .= '';
	$standCustFld .= '';
	$standCustFld .= '';
	$standCustFld .= '
';
	$standCustFld .= '
| '; $standCustFld .= get_form_header($mod_strings['LBL_FIELD_PERMISSIOM_TABLE_HEADER'], "", false ); $standCustFld .= ' | 
| '.$mod_strings['LBL_FIELD_PERMISSION_FIELD_NAME'].''; $standCustFld .= ' | ';
	$standCustFld .=  ''.$mod_strings['LBL_FIELD_PERMISSION_VISIBLE'].' | 
| '.$mandatory.' '.$adb->query_result($fieldListResult,$i,"fieldlabel").''; if($adb->query_result($fieldListResult,$i,"visible") == 0) { $visible = "checked"; } else { $visible = ""; } $standCustFld .= ' |