echo '</select>'; echo '</td>'; echo '</tr>'; $specmanagement_print_api->printRow(); $specmanagement_print_api->printCategoryField(1, 1, 'config_fields'); $specmanagement_print_api->printRadioButton(1, 'ShowFields'); echo '</tr>'; $specmanagement_print_api->printRow(); $specmanagement_print_api->printCategoryField(1, 1, 'config_menu'); $specmanagement_print_api->printRadioButton(1, 'ShowMenu'); echo '</tr>'; $specmanagement_print_api->printRow(); $specmanagement_print_api->printCategoryField(1, 1, 'config_footer'); $specmanagement_print_api->printRadioButton(1, 'ShowInFooter'); echo '</tr>'; $specmanagement_print_api->printSpacer(2); $specmanagement_print_api->printFormTitle(2, 'config_document'); $specmanagement_print_api->printRow(); $specmanagement_print_api->printCategoryField(1, 1, 'config_typeadd'); $type = gpc_get_string('type', ''); echo '<td colspan="1">'; echo '<input type="text" id="type" name="type" size="15" maxlength="128" value="', $type, '"> '; echo '<input type="submit" name="addtype" class="button" value="' . plugin_lang_get('config_add') . '">'; echo '</td>'; echo '</tr>'; $specmanagement_print_api->printRow(); $specmanagement_print_api->printCategoryField(1, 1, 'config_types'); echo '<td colspan="1">'; $types_rows = $specmanagement_database_api->get_full_types(); foreach ($types_rows as $types_row) { $types[] = $types_row[1];