From e8ae3516539a520338117f25d401c0fc234973a4 Mon Sep 17 00:00:00 2001 From: Janusz Dobrowolski Date: Mon, 16 Mar 2009 19:44:31 +0000 Subject: [PATCH] SID & start_form() cleanup. --- .htaccess | 2 ++ access/logout.php | 2 +- admin/attachments.php | 2 +- admin/backups.php | 2 +- admin/create_coy.php | 2 +- admin/inst_lang.php | 2 +- admin/inst_module.php | 2 +- admin/view_print_transaction.php | 2 +- admin/void_transaction.php | 2 +- dimensions/inquiry/search_dimensions.php | 2 +- gl/bank_transfer.php | 2 +- gl/gl_bank.php | 2 +- gl/inquiry/gl_trial_balance.php | 2 +- gl/manage/exchange_rates.php | 2 +- inventory/adjustments.php | 2 +- inventory/cost_update.php | 2 +- inventory/inquiry/stock_movements.php | 2 +- inventory/inquiry/stock_status.php | 2 +- inventory/manage/item_codes.php | 2 +- inventory/manage/sales_kits.php | 2 +- inventory/prices.php | 2 +- inventory/purchasing_data.php | 2 +- inventory/reorder_level.php | 2 +- inventory/transfers.php | 2 +- manufacturing/inquiry/bom_cost_inquiry.php | 2 +- manufacturing/manage/bom_edit.php | 4 +--- manufacturing/search_work_orders.php | 2 +- manufacturing/work_order_issue.php | 2 +- purchasing/allocations/supplier_allocate.php | 2 +- purchasing/inquiry/po_search.php | 8 +++----- purchasing/inquiry/po_search_completed.php | 2 +- purchasing/inquiry/supplier_allocation_inquiry.php | 2 +- purchasing/inquiry/supplier_inquiry.php | 2 +- purchasing/po_entry_items.php | 2 +- purchasing/po_receive_items.php | 2 +- purchasing/supplier_credit.php | 2 +- purchasing/supplier_invoice.php | 2 +- purchasing/supplier_payment.php | 2 +- sales/allocations/customer_allocate.php | 2 +- sales/credit_note_entry.php | 2 +- sales/customer_credit_invoice.php | 2 +- sales/customer_delivery.php | 2 +- sales/customer_invoice.php | 2 +- sales/includes/ui/sales_credit_ui.inc | 2 +- sales/inquiry/customer_allocation_inquiry.php | 2 +- sales/inquiry/sales_deliveries_view.php | 2 +- sales/inquiry/sales_orders_view.php | 10 +++++----- 47 files changed, 54 insertions(+), 56 deletions(-) diff --git a/.htaccess b/.htaccess index b923b02e..03410fbc 100644 --- a/.htaccess +++ b/.htaccess @@ -4,6 +4,8 @@ # register_globals ON php_flag magic_quotes_gpc Off php_flag register_globals Off +# do not use SID in url +php_flag session.use_trans_sid Off #Sometimes neccessary to add those # diff --git a/access/logout.php b/access/logout.php index 716bbfe1..46357a15 100644 --- a/access/logout.php +++ b/access/logout.php @@ -40,7 +40,7 @@ page(_("Logout"), true, false, "", get_js_png_fix());
" . _("Click here to Login Again.") . ""; + echo "" . _("Click here to Login Again.") . ""; ?>
diff --git a/admin/attachments.php b/admin/attachments.php index 8f517e8a..12bab651 100644 --- a/admin/attachments.php +++ b/admin/attachments.php @@ -144,7 +144,7 @@ if ($Mode == 'RESET') function viewing_controls() { - start_form(false, true); + start_form(); start_table("class='tablestyle_noborder'"); diff --git a/admin/backups.php b/admin/backups.php index f1353193..46442458 100644 --- a/admin/backups.php +++ b/admin/backups.php @@ -32,7 +32,7 @@ handle_form($db_connections[$db_name]); page(_("Backup and Restore Database"), false, false, '', '', true); //------------------------------------------------------------------------------- -start_form(true, true); +start_form(true); $cmb = get_backup_file_combo(); $compr = get_compr_combo(); diff --git a/admin/create_coy.php b/admin/create_coy.php index 8ec0fc4a..eec63648 100644 --- a/admin/create_coy.php +++ b/admin/create_coy.php @@ -264,7 +264,7 @@ function display_company_edit($selected_id) else $n = count($db_connections); - start_form(true, true); + start_form(true); echo "