retrieve($_REQUEST['record']); } if(isset($_REQUEST['isDuplicate']) && $_REQUEST['isDuplicate'] == 'true') { $focus->id = ""; } global $theme; $theme_path="themes/".$theme."/"; $image_path=$theme_path."images/"; require_once($theme_path.'layout_utils.php'); $log->info("Case detail view"); $xtpl=new XTemplate ('modules/Cases/DetailView.html'); $xtpl->assign("MOD", $mod_strings); $xtpl->assign("APP", $app_strings); $xtpl->assign("THEME", $theme); $xtpl->assign("IMAGE_PATH", $image_path);$xtpl->assign("PRINT_URL", "phprint.php?jt=".session_id().$GLOBALS['request_string']); $xtpl->assign("ID", $focus->id); $xtpl->assign("ACCOUNT_NAME", $focus->account_name); $xtpl->assign("ACCOUNT_ID", $focus->account_id); $xtpl->assign("ASSIGNED_TO", $focus->assigned_user_name); $xtpl->assign("NAME", $focus->name); $xtpl->assign("DATE_ENTERED", $focus->date_entered); $xtpl->assign("NUMBER", $focus->number); $xtpl->assign("STATUS", $app_list_strings['case_status_dom'][$focus->status]); $xtpl->assign("DESCRIPTION", nl2br($focus->description)); $xtpl->assign("DATE_MODIFIED", substr($focus->date_modified,0,16)); $xtpl->assign("DATE_ENTERED", substr($focus->date_entered,0,16)); if($entityDel) { $xtpl->assign("DELETEBUTTON","