possible separators can be added by modifying the array definition by editing that file */ if (!isset($_POST['language'])) { $_POST['language'] = $_SESSION['language']->code; } table_section_title(_("Language")); languages_list_row(_("Language:"), 'language', $_POST['language']); table_section(2); table_section_title(_("Miscellaneous")); check_row(_("Show hints for new users:"), 'show_hints', user_hints()); check_row(_("Show GL Information:"), 'show_gl', user_show_gl_info()); check_row(_("Show Item Codes:"), 'show_codes', user_show_codes()); themes_list_row(_("Theme:"), "theme", user_theme()); /* The array $themes is set up in config.php for modifications possible separators can be added by modifying the array definition by editing that file */ pagesizes_list_row(_("Page Size:"), "page_size", user_pagesize()); tab_list_row(_("Start-up Tab"), 'startup_tab', user_startup_tab()); /* The array $pagesizes is set up in config.php for modifications possible separators can be added by modifying the array definition by editing that file */ if (!isset($_POST['print_profile'])) { $_POST['print_profile'] = user_print_profile(); } print_profiles_list_row(_("Printing profile") . ':', 'print_profile', null, _('Browser printing support')); check_row(_("Use popup window to display reports:"), 'rep_popup', user_rep_popup(), false, _('Set this option to on if your browser directly supports pdf files')); check_row(_("Use icons instead of text links:"), 'graphic_links', user_graphic_links(), false, _('Set this option to on for using icons instead of text links')); text_row_ex(_("Query page size:"), 'query_size', 5, 5, '', user_query_size()); check_row(_("Remember last document date:"), 'sticky_doc_date', sticky_doc_date(), false, _('If set document date is remembered on subsequent documents, otherwise default is current date')); end_outer_table(1); submit_center('setprefs', _("Update"), true, '', 'default'); end_form(2); //------------------------------------------------------------------------------------------------- end_page();
} } } if (get_post('delete')) { if (!check_delete(get_post('name'))) { delete_printer_profile($selected_id); display_notification(_('Selected printing profile has been deleted')); clear_form(); } } if (get_post('_profile_id_update')) { $Ajax->activate('_page_body'); } start_form(); start_table(); print_profiles_list_row(_('Select printing profile') . ':', 'profile_id', null, _('New printing profile'), true); end_table(); echo '<hr>'; start_table(); if (get_post('profile_id') == '') { text_row(_("Printing Profile Name") . ':', 'name', null, 30, 30); } else { label_cells(_("Printing Profile Name") . ':', get_post('profile_id')); } end_table(1); $result = get_print_profile(get_post('profile_id')); $prints = array(); while ($myrow = db_fetch($result)) { $prints[$myrow['report']] = $myrow['printer']; } start_table(TABLESTYLE);