'.__('Configuration Management').''; $source_id_group = (int) get_parameter ('source_id_group'); $source_id_agent = (int) get_parameter ('source_id_agent'); $destiny_id_group = (int) get_parameter ('destiny_id_group'); $destiny_id_agents = (array) get_parameter ('destiny_id_agent', array ()); $do_operation = (bool) get_parameter ('do_operation'); if ($do_operation) { process_manage_config ($source_id_agent, $destiny_id_agents); } $groups = get_user_groups (); $table->class = 'databox'; $table->width = '95%'; $table->data = array (); $table->style = array (); $table->style[0] = 'font-weight: bold; vertical-align:top'; $table->style[2] = 'font-weight: bold'; $table->size = array (); $table->size[0] = '15%'; $table->size[1] = '35%'; $table->size[2] = '15%'; $table->size[3] = '35%'; /* Source selection */ $table->id = 'source_table'; $table->data[0][0] = __('Group'); $table->data[0][1] = print_select ($groups, 'source_id_group', $source_id_group, false, '', '', true); $table->data[0][2] = __('Agent'); $table->data[0][2] .= ' '; $table->data[0][2] .= print_image ("images/spinner.gif", true); $table->data[0][2] .= ''; $table->data[0][3] = print_select (get_group_agents ($source_id_group, false, "none"), 'source_id_agent', $source_id_agent, false, __('Select'), 0, true); echo '
'; echo '