function get_rel_module_array($include_none = false) { $inclusion_array = array('link' => 'link'); $field_option_list = get_column_select($this->base_module, "", "", $inclusion_array, $include_none); //return the field value array with an inclusion array to only have linking vardef elements return $field_option_list; }
$xtpl->assign("RETURN_ACTION", 'index'); } $xtpl->assign("PRINT_website", "index.php?" . $GLOBALS['request_string']); $xtpl->assign("JAVASCRIPT", get_set_focus_js()); //Set parent ID if (empty($focus->parent_id)) { $focus->parent_id = $workflow_object->id; } ////////Get Fields//////// if (!empty($workflow_object->type) && $workflow_object->type == "Normal") { $exclusion_array['datetime'] = "datetime"; $exclusion_array['link'] = "link"; } else { $exclusion_array['link'] = "link"; } $field_option_list = get_column_select($workflow_object->base_module, "", $exclusion_array); $field_select = get_select_options_with_id($field_option_list, $focus->field); $xtpl->assign('FIELD_SELECT', $field_select); $xtpl->assign("BASE_MODULE", $workflow_object->base_module); $xtpl->assign("ID", $focus->id); $xtpl->assign('NAME', $focus->name); $xtpl->assign('PARENT_ID', $focus->parent_id); //check if this is time based or not and then assign show_past accordingly if ($workflow_object->type == "Time") { $xtpl->assign("SHOW_PAST_DISABLED", "disabled"); } else { if ($focus->show_past == 1) { $xtpl->assign("SHOW_PAST", "checked"); } } $xtpl->assign('WORKFLOW_TYPE', $workflow_object->type);