From: Janusz Dobrowolski Date: Fri, 24 Oct 2008 10:55:59 +0000 (+0000) Subject: Added hotkeys to final menu options. X-Git-Tag: v2.4.2~19^2~1820 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=68372f2a08f5a862375c04862c8ccb56df830b4b;p=fa-stable.git Added hotkeys to final menu options. --- diff --git a/dimensions/dimension_entry.php b/dimensions/dimension_entry.php index bf6fe3ee..af266300 100644 --- a/dimensions/dimension_entry.php +++ b/dimensions/dimension_entry.php @@ -76,9 +76,9 @@ function safe_exit() { global $path_to_root; - hyperlink_no_params("", _("Enter a new dimension")); + hyperlink_no_params("", _("Enter a &new dimension")); echo "
"; - hyperlink_no_params($path_to_root . "/dimensions/inquiry/search_dimensions.php", _("Select an existing dimension")); + hyperlink_no_params($path_to_root . "/dimensions/inquiry/search_dimensions.php", _("&Select an existing dimension")); display_footer_exit(); } diff --git a/gl/bank_transfer.php b/gl/bank_transfer.php index 78089f5a..6699a1a5 100644 --- a/gl/bank_transfer.php +++ b/gl/bank_transfer.php @@ -30,9 +30,9 @@ if (isset($_GET['AddedID'])) display_notification_centered( _("Transfer has been entered")); - display_note(get_gl_view_str($trans_type, $trans_no, _("View the GL Journal Entries for this Transfer"))); + display_note(get_gl_view_str($trans_type, $trans_no, _("&View the GL Journal Entries for this Transfer"))); - hyperlink_no_params($_SERVER['PHP_SELF'], _("Enter Another Transfer")); + hyperlink_no_params($_SERVER['PHP_SELF'], _("Enter &Another Transfer")); safeExit(); } diff --git a/gl/gl_bank.php b/gl/gl_bank.php index ce8c40fd..522cdd86 100644 --- a/gl/gl_bank.php +++ b/gl/gl_bank.php @@ -74,11 +74,11 @@ if (isset($_GET['AddedID'])) display_notification_centered(_("Payment has been entered")); - display_note(get_gl_view_str($trans_type, $trans_no, _("View the GL Postings for this Payment"))); + display_note(get_gl_view_str($trans_type, $trans_no, _("&View the GL Postings for this Payment"))); - hyperlink_params($_SERVER['PHP_SELF'], _("Enter Another Payment"), "NewPayment=yes"); + hyperlink_params($_SERVER['PHP_SELF'], _("Enter Another &Payment"), "NewPayment=yes"); - hyperlink_params($_SERVER['PHP_SELF'], _("Enter A Deposit"), "NewDeposit=yes"); + hyperlink_params($_SERVER['PHP_SELF'], _("Enter A &Deposit"), "NewDeposit=yes"); display_footer_exit(); } diff --git a/gl/gl_journal.php b/gl/gl_journal.php index fc07ffd7..65d61c45 100644 --- a/gl/gl_journal.php +++ b/gl/gl_journal.php @@ -37,9 +37,9 @@ if (isset($_GET['AddedID'])) display_notification_centered( _("Journal entry has been entered") . " #$trans_no"); - display_note(get_gl_view_str($trans_type, $trans_no, _("View this Journal Entry"))); + display_note(get_gl_view_str($trans_type, $trans_no, _("&View this Journal Entry"))); - hyperlink_no_params($_SERVER['PHP_SELF'], _("Enter Another Journal Entry")); + hyperlink_no_params($_SERVER['PHP_SELF'], _("Enter &Another Journal Entry")); display_footer_exit(); } diff --git a/inventory/adjustments.php b/inventory/adjustments.php index 7eac496c..45bf4e92 100644 --- a/inventory/adjustments.php +++ b/inventory/adjustments.php @@ -32,11 +32,11 @@ if (isset($_GET['AddedID'])) $trans_type = systypes::inventory_adjustment(); display_notification_centered(_("Items adjustment has been processed")); - display_note(get_trans_view_str($trans_type, $trans_no, _("View this adjustment"))); + display_note(get_trans_view_str($trans_type, $trans_no, _("&View this adjustment"))); - display_note(get_gl_view_str($trans_type, $trans_no, _("View the GL Postings for this Adjustment")), 1, 0); + display_note(get_gl_view_str($trans_type, $trans_no, _("View the GL &Postings for this Adjustment")), 1, 0); - hyperlink_no_params($_SERVER['PHP_SELF'], _("Enter Another Adjustment")); + hyperlink_no_params($_SERVER['PHP_SELF'], _("Enter &Another Adjustment")); display_footer_exit(); } diff --git a/inventory/transfers.php b/inventory/transfers.php index 13f4c109..541791a8 100644 --- a/inventory/transfers.php +++ b/inventory/transfers.php @@ -32,9 +32,9 @@ if (isset($_GET['AddedID'])) $trans_type = systypes::location_transfer(); display_notification_centered(_("Inventory transfer has been processed")); - display_note(get_trans_view_str($trans_type, $trans_no, _("View this transfer"))); + display_note(get_trans_view_str($trans_type, $trans_no, _("&View this transfer"))); - hyperlink_no_params($_SERVER['PHP_SELF'], _("Enter Another Inventory Transfer")); + hyperlink_no_params($_SERVER['PHP_SELF'], _("Enter &Another Inventory Transfer")); display_footer_exit(); } diff --git a/manufacturing/work_order_add_finished.php b/manufacturing/work_order_add_finished.php index 56a80d1d..dd76e35c 100644 --- a/manufacturing/work_order_add_finished.php +++ b/manufacturing/work_order_add_finished.php @@ -30,7 +30,7 @@ if (isset($_GET['AddedID'])) display_note(_("The manufacturing process has been entered.")); - hyperlink_no_params("search_work_orders.php", _("Select another Work Order to Process")); + hyperlink_no_params("search_work_orders.php", _("Select another &Work Order to Process")); end_page(); exit; diff --git a/manufacturing/work_order_issue.php b/manufacturing/work_order_issue.php index 5d518e56..d09f1a31 100644 --- a/manufacturing/work_order_issue.php +++ b/manufacturing/work_order_issue.php @@ -25,7 +25,7 @@ if (isset($_GET['AddedID'])) { echo "
" . _("The work order issue has been entered."); echo "
"; - hyperlink_no_params("search_work_orders.php", _("Select another Work Order to Process")); + hyperlink_no_params("search_work_orders.php", _("Select another &Work Order to Process")); echo "

"; display_footer_exit(); } diff --git a/manufacturing/work_order_release.php b/manufacturing/work_order_release.php index 80e4f3ac..e6e901c3 100644 --- a/manufacturing/work_order_release.php +++ b/manufacturing/work_order_release.php @@ -58,7 +58,7 @@ if (isset($_POST['release'])) display_note(_("The work order has been released to manufacturing.")); - hyperlink_no_params("search_work_orders.php", _("Select another work order")); + hyperlink_no_params("search_work_orders.php", _("Select another &work order")); $Ajax->activate('_page_body'); end_page(); diff --git a/purchasing/po_entry_items.php b/purchasing/po_entry_items.php index 1619bb49..8c64fee5 100644 --- a/purchasing/po_entry_items.php +++ b/purchasing/po_entry_items.php @@ -59,15 +59,15 @@ if (isset($_GET['AddedID'])) display_notification_centered(_("Purchase Order has been entered")); else display_notification_centered(_("Purchase Order has been updated") . " #$order_no"); - display_note(get_trans_view_str($trans_type, $order_no, _("View this order"))); + display_note(get_trans_view_str($trans_type, $order_no, _("&View this order"))); echo '
'; - display_note(print_document_link($order_no, _("Print This Order"), true, $trans_type)); + display_note(print_document_link($order_no, _("&Print This Order"), true, $trans_type)); - hyperlink_params($path_to_root . "/purchasing/po_receive_items.php", _("Receive Items on this Purchase Order"), "PONumber=$order_no"); + hyperlink_params($path_to_root . "/purchasing/po_receive_items.php", _("&Receive Items on this Purchase Order"), "PONumber=$order_no"); - hyperlink_params($_SERVER['PHP_SELF'], _("Enter Another Purchase Order"), "NewOrder=yes"); + hyperlink_params($_SERVER['PHP_SELF'], _("Enter &Another Purchase Order"), "NewOrder=yes"); - hyperlink_no_params($path_to_root."/purchasing/inquiry/po_search.php", _("Select An Outstanding Purchase Order")); + hyperlink_no_params($path_to_root."/purchasing/inquiry/po_search.php", _("Select An &Outstanding Purchase Order")); display_footer_exit(); } diff --git a/purchasing/po_receive_items.php b/purchasing/po_receive_items.php index d79a5af7..d58e2aab 100644 --- a/purchasing/po_receive_items.php +++ b/purchasing/po_receive_items.php @@ -23,13 +23,13 @@ if (isset($_GET['AddedID'])) display_notification_centered(_("Purchase Order Delivery has been processed")); - display_note(get_trans_view_str($trans_type, $grn, _("View this Delivery"))); + display_note(get_trans_view_str($trans_type, $grn, _("&View this Delivery"))); //echo "
"; - //echo get_gl_view_str(25, $grn, _("View the GL Journal Entries for this Delivery")); + //echo get_gl_view_str(25, $grn, _("View the GL &Journal Entries for this Delivery")); // echo "
"; - hyperlink_no_params("$path_to_root/purchasing/inquiry/po_search.php", _("Select a different purchase order for receiving items against")); + hyperlink_no_params("$path_to_root/purchasing/inquiry/po_search.php", _("Select a different &purchase order for receiving items against")); display_footer_exit(); } diff --git a/purchasing/supplier_payment.php b/purchasing/supplier_payment.php index 28e16c6f..bb94fbdb 100644 --- a/purchasing/supplier_payment.php +++ b/purchasing/supplier_payment.php @@ -52,11 +52,11 @@ if (isset($_GET['AddedID'])) display_notification_centered( _("Payment has been sucessfully entered")); - display_note(get_gl_view_str(22, $payment_id, _("View the GL Journal Entries for this Payment"))); + display_note(get_gl_view_str(22, $payment_id, _("View the GL &Journal Entries for this Payment"))); - hyperlink_params($path_to_root . "/purchasing/allocations/supplier_allocate.php", _("Allocate this Payment"), "trans_no=$payment_id&trans_type=22"); + hyperlink_params($path_to_root . "/purchasing/allocations/supplier_allocate.php", _("&Allocate this Payment"), "trans_no=$payment_id&trans_type=22"); - hyperlink_params($_SERVER['PHP_SELF'], _("Enter another supplier payment"), "supplier_id=" . $_POST['supplier_id']); + hyperlink_params($_SERVER['PHP_SELF'], _("Enter another supplier &payment"), "supplier_id=" . $_POST['supplier_id']); display_footer_exit(); } diff --git a/sales/credit_note_entry.php b/sales/credit_note_entry.php index 5297328a..bfa8b788 100644 --- a/sales/credit_note_entry.php +++ b/sales/credit_note_entry.php @@ -61,6 +61,8 @@ if (isset($_GET['AddedID'])) { display_note(get_customer_trans_view_str($trans_type, $credit_no, _("&View this credit note")), 0, 1); + display_note(print_document_link($credit_no, _("&Print This Credit Invoice"), true, 11),1); + display_note(get_gl_view_str($trans_type, $credit_no, _("View the GL &Journal Entries for this Credit Note"))); hyperlink_params($_SERVER['PHP_SELF'], _("Enter Another &Credit Note"), "NewCredit=yes"); diff --git a/sales/customer_credit_invoice.php b/sales/customer_credit_invoice.php index d87653e0..e46d3528 100644 --- a/sales/customer_credit_invoice.php +++ b/sales/customer_credit_invoice.php @@ -42,11 +42,11 @@ if (isset($_GET['AddedID'])) { display_notification_centered(_("Credit Note has been processed")); - display_note(get_customer_trans_view_str($trans_type, $credit_no, _("View This Credit Note")), 0, 0); + display_note(get_customer_trans_view_str($trans_type, $credit_no, _("&View This Credit Note")), 0, 0); - display_note(print_document_link($credit_no, _("Print This Credit Note"), true, 11),1); + display_note(print_document_link($credit_no, _("&Print This Credit Note"), true, 11),1); - display_note(get_gl_view_str($trans_type, $credit_no, _("View the GL Journal Entries for this Credit Note")),1); + display_note(get_gl_view_str($trans_type, $credit_no, _("View the GL &Journal Entries for this Credit Note")),1); display_footer_exit(); @@ -56,11 +56,11 @@ if (isset($_GET['AddedID'])) { display_notification_centered(_("Credit Note has been updated")); - display_note(get_customer_trans_view_str($trans_type, $credit_no, _("View This Credit Note")), 0, 0); + display_note(get_customer_trans_view_str($trans_type, $credit_no, _("&View This Credit Note")), 0, 0); - display_note(print_document_link($credit_no, _("Print This Credit Note"), true, 11),1); + display_note(print_document_link($credit_no, _("&Print This Credit Note"), true, 11),1); - display_note(get_gl_view_str($trans_type, $credit_no, _("View the GL Journal Entries for this Credit Note")),1); + display_note(get_gl_view_str($trans_type, $credit_no, _("View the GL &Journal Entries for this Credit Note")),1); display_footer_exit(); } diff --git a/sales/customer_invoice.php b/sales/customer_invoice.php index ca3df67f..e795a30f 100644 --- a/sales/customer_invoice.php +++ b/sales/customer_invoice.php @@ -43,13 +43,13 @@ if (isset($_GET['AddedID'])) { display_notification(_("Selected deliveries has been processed"), true); - display_note(get_customer_trans_view_str($trans_type, $invoice_no, _("View This Invoice")), 0, 1); + display_note(get_customer_trans_view_str($trans_type, $invoice_no, _("&View This Invoice")), 0, 1); - display_note(print_document_link($invoice_no, _("Print This Invoice"), true, 10)); + display_note(print_document_link($invoice_no, _("&Print This Invoice"), true, 10)); - display_note(get_gl_view_str($trans_type, $invoice_no, _("View the GL Journal Entries for this Invoice")),1); + display_note(get_gl_view_str($trans_type, $invoice_no, _("View the GL &Journal Entries for this Invoice")),1); - hyperlink_params("$path_to_root/sales/inquiry/sales_deliveries_view.php", _("Select Another Delivery For Invoicing"), "OutstandingOnly=1"); + hyperlink_params("$path_to_root/sales/inquiry/sales_deliveries_view.php", _("Select Another &Delivery For Invoicing"), "OutstandingOnly=1"); display_footer_exit(); @@ -59,11 +59,11 @@ if (isset($_GET['AddedID'])) { display_notification_centered(sprintf(_('Sales Invoice # %d has been updated.'),$invoice_no)); - display_note(get_trans_view_str(10, $invoice_no, _("View This Invoice"))); + display_note(get_trans_view_str(10, $invoice_no, _("&View This Invoice"))); echo '
'; - display_note(print_document_link($invoice_no, _("Print This Invoice"), true, 10)); + display_note(print_document_link($invoice_no, _("&Print This Invoice"), true, 10)); - hyperlink_no_params($path_to_root . "/sales/inquiry/customer_inquiry.php", _("Select A Different Invoice to Modify")); + hyperlink_no_params($path_to_root . "/sales/inquiry/customer_inquiry.php", _("Select A Different &Invoice to Modify")); display_footer_exit(); diff --git a/sales/customer_payments.php b/sales/customer_payments.php index 1ab43ce5..ec98198d 100644 --- a/sales/customer_payments.php +++ b/sales/customer_payments.php @@ -44,11 +44,11 @@ if (isset($_GET['AddedID'])) { display_notification_centered(_("The customer payment has been successfully entered.")); - display_note(get_gl_view_str(12, $payment_no, _("View the GL Journal Entries for this Customer Payment"))); + display_note(get_gl_view_str(12, $payment_no, _("&View the GL Journal Entries for this Customer Payment"))); - hyperlink_params($path_to_root . "/sales/allocations/customer_allocate.php", _("Allocate this Customer Payment"), "trans_no=$payment_no&trans_type=12"); + hyperlink_params($path_to_root . "/sales/allocations/customer_allocate.php", _("&Allocate this Customer Payment"), "trans_no=$payment_no&trans_type=12"); - hyperlink_no_params($path_to_root . "/sales/customer_payments.php", _("Enter Another Customer Payment")); + hyperlink_no_params($path_to_root . "/sales/customer_payments.php", _("Enter Another &Customer Payment")); br(1); end_page(); exit; diff --git a/sales/sales_order_entry.php b/sales/sales_order_entry.php index 8805dfda..edfc3455 100644 --- a/sales/sales_order_entry.php +++ b/sales/sales_order_entry.php @@ -69,14 +69,14 @@ if (isset($_GET['AddedID'])) { display_notification_centered(sprintf( _("Order # %d has been entered."),$order_no)); - display_note(get_trans_view_str(30, $order_no, _("View This Order"))); + display_note(get_trans_view_str(30, $order_no, _("&View This Order"))); echo '
'; - display_note(print_document_link($order_no, _("Print This Order"), true, 30)); + display_note(print_document_link($order_no, _("&Print This Order"), true, 30)); hyperlink_params($path_to_root . "/sales/customer_delivery.php", - _("Make Delivery Against This Order"), "OrderNumber=$order_no"); + _("Make &Delivery Against This Order"), "OrderNumber=$order_no"); - hyperlink_params($_SERVER['PHP_SELF'], _("Enter a New Order"), "NewOrder=0"); + hyperlink_params($_SERVER['PHP_SELF'], _("Enter a &New Order"), "NewOrder=0"); display_footer_exit(); @@ -85,15 +85,15 @@ if (isset($_GET['AddedID'])) { display_notification_centered(sprintf( _("Order # %d has been updated."),$order_no)); - display_note(get_trans_view_str(30, $order_no, _("View This Order"))); + display_note(get_trans_view_str(30, $order_no, _("&View This Order"))); echo '
'; - display_note(print_document_link($order_no, _("Print This Order"), true, 30)); + display_note(print_document_link($order_no, _("&Print This Order"), true, 30)); hyperlink_params($path_to_root . "/sales/customer_delivery.php", - _("Confirm Order Quantities and Make Delivery"), "OrderNumber=$order_no"); + _("Confirm Order Quantities and Make &Delivery"), "OrderNumber=$order_no"); hyperlink_params($path_to_root . "/sales/inquiry/sales_orders_view.php", - _("Select A Different Order"), "OutstandingOnly=1"); + _("Select A Different &Order"), "OutstandingOnly=1"); display_footer_exit(); @@ -102,18 +102,18 @@ if (isset($_GET['AddedID'])) { display_notification_centered(sprintf(_("Delivery # %d has been entered."),$delivery)); - display_note(get_trans_view_str(13, $delivery, _("View This Delivery"))); + display_note(get_trans_view_str(13, $delivery, _("&View This Delivery"))); echo '
'; - display_note(print_document_link($delivery, _("Print Delivery Note"), true, 13)); + display_note(print_document_link($delivery, _("&Print Delivery Note"), true, 13)); hyperlink_params($path_to_root . "/sales/customer_invoice.php", - _("Make Invoice Against This Delivery"), "DeliveryNumber=$delivery"); + _("Make &Invoice Against This Delivery"), "DeliveryNumber=$delivery"); if ((isset($_GET['Type']) && $_GET['Type'] == 1)) hyperlink_params("inquiry/sales_orders_view.php", - _("Enter a New Template Delivery"), "DeliveryTemplates=Yes"); + _("Enter a New Template &Delivery"), "DeliveryTemplates=Yes"); else - hyperlink_params($_SERVER['PHP_SELF'], _("Enter a New Delivery"), "NewDelivery=0"); + hyperlink_params($_SERVER['PHP_SELF'], _("Enter a &New Delivery"), "NewDelivery=0"); display_footer_exit(); @@ -122,15 +122,15 @@ if (isset($_GET['AddedID'])) { display_notification_centered(sprintf(_("Invoice # %d has been entered."),$invoice)); - display_note(get_trans_view_str(10, $invoice, _("View This Invoice"))); + display_note(get_trans_view_str(10, $invoice, _("&View This Invoice"))); echo '
'; - display_note(print_document_link($invoice, _("Print Sales Invoice"), true, 10)); + display_note(print_document_link($invoice, _("&Print Sales Invoice"), true, 10)); if ((isset($_GET['Type']) && $_GET['Type'] == 1)) hyperlink_params("inquiry/sales_orders_view.php", - _("Enter a New Template Invoice"), "InvoiceTemplates=Yes"); + _("Enter a &New Template Invoice"), "InvoiceTemplates=Yes"); else - hyperlink_params($_SERVER['PHP_SELF'], _("Enter a New Direct Invoice"), "NewInvoice=0"); + hyperlink_params($_SERVER['PHP_SELF'], _("Enter a &New Direct Invoice"), "NewInvoice=0"); display_footer_exit(); }