';
echo get_module_title("Users", $_REQUEST['fld_module'].': '.$mod_strings['LBL_FIELD_LEVEL_ACCESS'], true);
echo '
';
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');
$fld_module = $_REQUEST["fld_module"];
//Retreiving the fields array
$xtpl=new XTemplate ('modules/Users/DefaultFieldPermissions.html');
$fieldListResult = getDefOrgFieldList($fld_module);
$noofrows = $adb->num_rows($fieldListResult);
$standCustFld = getStdOutput($fieldListResult, $noofrows, $mod_strings,$profileid);
//Standard PickList Fields
function getStdOutput($fieldListResult, $noofrows, $mod_strings,$profileid)
{
global $image_path;
global $adb;
global $app_strings;
$standCustFld = '';
$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 .= ''.$mod_strings['LBL_FIELD_PERMISSION_VISIBLE'].' | ';
$standCustFld .= '
'.$mandatory.' '.$adb->query_result($fieldListResult,$i,"fieldlabel").' | '; if($adb->query_result($fieldListResult,$i,"visible") == 0) { $visible = ""; } else { $visible = ""; } $standCustFld .= ''.$visible.' | ';
}
$standCustFld .='