Index: branches/5.2.x/admin/system_presets/simple/agents_agent.php =================================================================== diff -u -N -r14244 -r14879 --- branches/5.2.x/admin/system_presets/simple/agents_agent.php (.../agents_agent.php) (revision 14244) +++ branches/5.2.x/admin/system_presets/simple/agents_agent.php (.../agents_agent.php) (revision 14879) @@ -4,26 +4,26 @@ // section removal $remove_sections = Array ( - 'in-portal:agents', + 'in-portal:scheduled_tasks', ); // sections shown with debug on $debug_only_sections = Array ( -// 'in-portal:agents', +// 'in-portal:scheduled_tasks', ); // toolbar buttons $remove_buttons = Array ( -// list of agents -// 'agent_list' => Array ('new_item', 'edit', 'delete', 'approve', 'decline', 'process', 'cancel', 'view', 'dbl-click'), +// list of scheduled tasks +// 'scheduled_task_list' => Array ('new_item', 'edit', 'delete', 'approve', 'decline', 'process', 'cancel', 'view', 'dbl-click'), -// edit agent -// 'agent_edit' => Array ('select', 'cancel', 'reset_edit', 'prev', 'next'), +// edit scheduled task +// 'scheduled_task_edit' => Array ('select', 'cancel', 'reset_edit', 'prev', 'next'), ); // fields to hide $hidden_fields = Array ( - /* 'AgentId', 'AgentName', 'AgentType', 'Status', 'Event', 'RunInterval', 'RunMode', 'LastRunOn', + /* 'ScheduledTaskId', 'Name', 'Type', 'Status', 'Event', 'RunInterval', 'RunMode', 'LastRunOn', 'LastRunStatus', 'NextRunOn', 'RunTime', */ ); @@ -33,7 +33,7 @@ // fields to make required $required_fields = Array ( - /* 'AgentId', 'AgentName', 'AgentType', 'Status', 'Event', 'RunInterval', 'RunMode', 'LastRunOn', + /* 'ScheduledTaskId', 'Name', 'Type', 'Status', 'Event', 'RunInterval', 'RunMode', 'LastRunOn', 'LastRunStatus', 'NextRunOn', 'RunTime', */ ); @@ -47,5 +47,5 @@ // hide columns in grids $hide_columns = Array ( // currently not in user -// 'Default' => Array ( 'AgentId', 'AgentName', 'AgentType', 'Status', 'Event', 'RunInterval', 'RunMode', 'LastRunOn', 'LastRunStatus', 'NextRunOn', ), +// 'Default' => Array ( 'ScheduledTaskId', 'Name', 'Type', 'Status', 'Event', 'RunInterval', 'RunMode', 'LastRunOn', 'LastRunStatus', 'NextRunOn', ), ); \ No newline at end of file