width = '98%'; $table->style = array (); $table->style[0] = 'font-weight: bold'; $table->size = array (); $table->size[0] = '20%'; $table->data = array (); $table->data[0][0] = __('Name'); $table->data[0][1] = html_print_input_text ('name', $name, '', 35, 255, true); $table->data[1][0] = __('Command'); $table->data[1][0] .= ui_print_help_icon ('alert_macros', true); $table->data[1][1] = html_print_input_text ('command', $command, '', 80, 255, true); $table->data[2][0] = __('Description'); $table->data[2][1] = html_print_textarea ('description', 10, 30, $description, '', true); echo '
'; html_print_table ($table); echo '
'; if ($id) { html_print_input_hidden ('id', $id); html_print_input_hidden ('update_command', 1); html_print_submit_button (__('Update'), 'create', false, 'class="sub upd"'); } else { html_print_input_hidden ('create_command', 1); html_print_submit_button (__('Create'), 'create', false, 'class="sub wand"'); } echo '
'; echo '
'; ?>