本文整理汇总了PHP中hyperlink_no_params函数的典型用法代码示例。如果您正苦于以下问题:PHP hyperlink_no_params函数的具体用法?PHP hyperlink_no_params怎么用?PHP hyperlink_no_params使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了hyperlink_no_params函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: safe_exit
function safe_exit()
{
global $path_to_root;
hyperlink_no_params("", _("Enter a new work order"));
hyperlink_no_params("search_work_orders.php", _("Select an existing work order"));
display_footer_exit();
}
开发者ID:M-Shahbaz,项目名称:FA,代码行数:7,代码来源:work_order_entry.php
示例2: safe_exit
function safe_exit()
{
global $path_to_root;
hyperlink_no_params("", _("Enter a &new dimension"));
echo "<br>";
hyperlink_no_params($path_to_root . "/dimensions/inquiry/search_dimensions.php", _("&Select an existing dimension"));
display_footer_exit();
}
开发者ID:pthdnq,项目名称:ivalley-svn,代码行数:8,代码来源:dimension_entry.php
示例3: safe_exit
function safe_exit()
{
global $path_to_root;
hyperlink_no_params("", tr("Enter a new dimension"));
echo "<br>";
hyperlink_no_params($path_to_root . "/dimensions/inquiry/search_dimensions.php", tr("Select an existing dimension"));
echo "<br><br>";
end_page();
exit;
}
开发者ID:ravenii,项目名称:guardocs,代码行数:10,代码来源:dimension_entry.php
示例4: safe_exit
function safe_exit()
{
global $path_to_root;
hyperlink_no_params("", tr("Enter a new work order"));
hyperlink_no_params("search_work_orders.php", tr("Select an existing work order"));
echo "<br>";
end_form();
end_page();
exit;
}
开发者ID:ravenii,项目名称:guardocs,代码行数:10,代码来源:work_order_entry.php
示例5: display_notification_centered
//-----------------------------------------------------------------------------------------------
if (isset($_GET['AddedID'])) {
$trans_no = $_GET['AddedID'];
$trans_type = ST_JOURNAL;
display_notification_centered(_("Journal entry has been entered") . " #{$trans_no}");
display_note(get_gl_view_str($trans_type, $trans_no, _("&View this Journal Entry")));
reset_focus();
hyperlink_params($_SERVER['PHP_SELF'], _("Enter &New Journal Entry"), "NewJournal=Yes");
hyperlink_params("{$path_to_root}/admin/attachments.php", _("Add an Attachment"), "filterType={$trans_type}&trans_no={$trans_no}");
display_footer_exit();
} elseif (isset($_GET['UpdatedID'])) {
$trans_no = $_GET['UpdatedID'];
$trans_type = ST_JOURNAL;
display_notification_centered(_("Journal entry has been updated") . " #{$trans_no}");
display_note(get_gl_view_str($trans_type, $trans_no, _("&View this Journal Entry")));
hyperlink_no_params($path_to_root . "/gl/inquiry/journal_inquiry.php", _("Return to Journal &Inquiry"));
display_footer_exit();
}
//--------------------------------------------------------------------------------------------------
if (isset($_GET['NewJournal'])) {
create_cart(0, 0);
} elseif (isset($_GET['ModifyGL'])) {
if (!isset($_GET['trans_type']) || $_GET['trans_type'] != 0) {
display_error(_("You can edit directly only journal entries created via Journal Entry page."));
hyperlink_params("{$path_to_root}/gl/gl_journal.php", _("Entry &New Journal Entry"), "NewJournal=Yes");
display_footer_exit();
}
create_cart($_GET['trans_type'], $_GET['trans_no']);
}
function create_cart($type = 0, $trans_no = 0)
{
开发者ID:M-Shahbaz,项目名称:FA,代码行数:31,代码来源:gl_journal.php
示例6: while
$k = 0;
//row colour counter
while ($myrow = db_fetch($result)) {
alt_table_row_color($k);
label_cell($myrow["shipper_name"]);
label_cell($myrow["contact"]);
label_cell($myrow["phone"]);
label_cell($myrow["address"]);
label_cell($myrow["shipper_defcost"]);
edit_link_cell("selected_id=" . $myrow[0]);
delete_link_cell("selected_id=" . $myrow[0] . "&delete=1");
end_row();
}
end_table();
//----------------------------------------------------------------------------------------------
hyperlink_no_params($_SERVER['PHP_SELF'], tr("New Shipping Company"));
start_form();
start_table($table_style2);
if (isset($selected_id)) {
//editing an existing Shipper
$sql = "SELECT * FROM shippers WHERE shipper_id={$selected_id}";
$result = db_query($sql, "could not get shipper");
$myrow = db_fetch($result);
$_POST['shipper_name'] = $myrow["shipper_name"];
$_POST['contact'] = $myrow["contact"];
$_POST['phone'] = $myrow["phone"];
$_POST['address'] = $myrow["address"];
$_POST['shipper_defcost'] = $myrow["shipper_defcost"];
hidden('selected_id', $selected_id);
}
text_row_ex(tr("Name:"), 'shipper_name', 40);
开发者ID:ravenii,项目名称:guardocs,代码行数:31,代码来源:shipping_companies.php
示例7: input_num
if (input_num('this_quantity_inv') >= $_POST['qty_recd'] - $_POST['prev_quantity_inv']) {
$complete = True;
} else {
$complete = False;
}
$_SESSION['supp_trans']->add_grn_to_trans($_POST['GRNNumber'], $_POST['po_detail_item'], $_POST['item_code'], $_POST['item_description'], $_POST['qty_recd'], $_POST['prev_quantity_inv'], input_num('this_quantity_inv'), $_POST['order_price'], input_num('ChgPrice'), $complete, $_POST['std_cost_unit'], "");
}
}
//-----------------------------------------------------------------------------------------
if (isset($_GET['Delete'])) {
$_SESSION['supp_trans']->remove_grn_from_trans($_GET['Delete']);
}
//-----------------------------------------------------------------------------------------
display_grn_items($_SESSION['supp_trans'], 1);
echo "<br>";
hyperlink_no_params("{$path_to_root}/purchasing/supplier_invoice.php", tr("Back to Supplier Invoice Entry"));
echo "<hr>";
//-----------------------------------------------------------------------------------------
function display_grn_items_for_selection()
{
global $table_style;
$result = get_grn_items(0, $_SESSION['supp_trans']->supplier_id, true);
if (db_num_rows($result) == 0) {
display_note(tr("There are no outstanding items received from this supplier that have not been invoiced by them."), 0, 1);
end_page();
exit;
}
/*Set up a table to show the outstanding GRN items for selection */
start_form(false, true);
display_heading2(tr("Items Received Yet to be Invoiced"));
start_table("{$table_style} colspan=7 width=95%");
开发者ID:ravenii,项目名称:guardocs,代码行数:31,代码来源:supplier_invoice_grns.php
示例8: get_js_open_window
$js .= get_js_open_window(800, 500);
}
if ($use_date_picker) {
$js .= get_js_date_picker();
}
page(_($help_context = "Inventory Location Transfers"), false, false, "", $js);
//-----------------------------------------------------------------------------------------------
check_db_has_costable_items(_("There are no inventory items defined in the system (Purchased or manufactured items)."));
check_db_has_movement_types(_("There are no inventory movement types defined in the system. Please define at least one inventory adjustment type."));
//-----------------------------------------------------------------------------------------------
if (isset($_GET['AddedID'])) {
$trans_no = $_GET['AddedID'];
$trans_type = ST_LOCTRANSFER;
display_notification_centered(_("Inventory transfer has been processed"));
display_note(get_trans_view_str($trans_type, $trans_no, _("&View this transfer")));
hyperlink_no_params($_SERVER['PHP_SELF'], _("Enter &Another Inventory Transfer"));
display_footer_exit();
}
//--------------------------------------------------------------------------------------------------
function line_start_focus()
{
global $Ajax;
$Ajax->activate('items_table');
set_focus('_stock_id_edit');
}
//-----------------------------------------------------------------------------------------------
function handle_new_order()
{
if (isset($_SESSION['transfer_items'])) {
$_SESSION['transfer_items']->clear_items();
unset($_SESSION['transfer_items']);
开发者ID:blestab,项目名称:frontaccounting,代码行数:31,代码来源:transfers.php
示例9: alt_table_row_color
alt_table_row_color($k);
label_cell($myrow["salesman_name"]);
label_cell($myrow["salesman_phone"]);
label_cell($myrow["salesman_fax"]);
label_cell($myrow["salesman_email"]);
label_cell(percent_format($myrow["provision"]) . " %", "nowrap align=right");
amount_cell($myrow["break_pt"]);
label_cell(percent_format($myrow["provision2"]) . " %", "nowrap align=right");
edit_link_cell(SID . "selected_id=" . $myrow["salesman_code"]);
delete_link_cell(SID . "selected_id=" . $myrow["salesman_code"] . "&delete=1");
end_row();
}
//END WHILE LIST LOOP
end_table();
//------------------------------------------------------------------------------------------------
hyperlink_no_params($_SERVER['PHP_SELF'], tr("New Sales Person"));
//------------------------------------------------------------------------------------------------
start_form();
if (isset($selected_id)) {
//editing an existing Sales-person
$sql = "SELECT * FROM salesman WHERE salesman_code='{$selected_id}'";
$result = db_query($sql, "could not get sales person");
$myrow = db_fetch($result);
$_POST['salesman_name'] = $myrow["salesman_name"];
$_POST['salesman_phone'] = $myrow["salesman_phone"];
$_POST['salesman_fax'] = $myrow["salesman_fax"];
$_POST['salesman_email'] = $myrow["salesman_email"];
$_POST['provision'] = percent_format($myrow["provision"]);
$_POST['break_pt'] = price_format($myrow["break_pt"]);
$_POST['provision2'] = percent_format($myrow["provision2"]);
hidden('selected_id', $selected_id);
开发者ID:ravenii,项目名称:guardocs,代码行数:31,代码来源:sales_people.php
示例10: tr
if ($myrow["days_before_due"] == 0) {
$after_text = tr("N/A");
} else {
$after_text = $myrow["days_before_due"] . " " . tr("days");
}
alt_table_row_color($k);
label_cell($myrow["terms"]);
label_cell($full_text);
label_cell($after_text);
edit_link_cell("selected_id=" . $myrow["terms_indicator"]);
delete_link_cell("selected_id=" . $myrow["terms_indicator"] . "&delete=1");
end_row();
}
//END WHILE LIST LOOP
end_table();
hyperlink_no_params($_SERVER['PHP_SELF'], tr("New Payment Term"));
//-------------------------------------------------------------------------------------------------
start_form();
start_table($table_style2);
$day_in_following_month = $days_before_due = 0;
if (isset($selected_id)) {
//editing an existing payment terms
$sql = "SELECT * FROM payment_terms\n\t\tWHERE terms_indicator='{$selected_id}'";
$result = db_query($sql, "could not get payment term");
$myrow = db_fetch($result);
$_POST['terms'] = $myrow["terms"];
$days_before_due = $myrow["days_before_due"];
$day_in_following_month = $myrow["day_in_following_month"];
hidden('selected_id', $selected_id);
}
text_row(tr("Terms Description:"), 'terms', null, 40, 40);
开发者ID:ravenii,项目名称:guardocs,代码行数:31,代码来源:payment_terms.php
示例11: handle_delete
}
}
//---------------------------------------------------------------------------------------------
if (isset($_GET['delete'])) {
handle_delete();
}
//---------------------------------------------------------------------------------------------
echo "<center>";
start_form(false, true);
if (!isset($_POST['curr_abrev'])) {
$_POST['curr_abrev'] = get_global_curr_code();
}
echo tr("Select a currency :") . " ";
currencies_list('curr_abrev', $_POST['curr_abrev'], true);
// if currency sel has changed, clear the form
if ($_POST['curr_abrev'] != get_global_curr_code()) {
clear_data();
$selected_id = "";
}
set_global_curr_code($_POST['curr_abrev']);
if (is_company_currency($_POST['curr_abrev'])) {
display_note(tr("The selected currency is the company currency."), 2);
display_note(tr("The company currency is the base currency so exchange rates cannot be set for it."), 1);
} else {
display_rates($_POST['curr_abrev']);
hyperlink_no_params($_SERVER['PHP_SELF'], tr("Enter a New Exchange Rate"));
br(1);
display_rate_edit();
}
end_form();
end_page();
开发者ID:ravenii,项目名称:guardocs,代码行数:31,代码来源:exchange_rates.php
示例12: label_cell
label_cell($myrow["name"]);
if ($myrow["tax_shipping"]) {
label_cell(tr("Yes"));
} else {
label_cell(tr("No"));
}
/*for ($i=0; $i< 5; $i++)
if ($myrow["type" . $i] != reserved_words::get_all_numeric())
echo "<td>" . $myrow["type" . $i] . "</td>";*/
edit_link_cell("selected_id=" . $myrow["id"]);
delete_link_cell("selected_id=" . $myrow["id"] . "&delete=1");
end_row();
}
end_table();
//-----------------------------------------------------------------------------------
hyperlink_no_params($_SERVER['PHP_SELF'], tr("New Tax Group"));
start_form();
start_table($table_style2);
if ($selected_id != -1) {
//editing an existing status code
if (!isset($_POST['name'])) {
$group = get_tax_group($selected_id);
$_POST['name'] = $group["name"];
$_POST['tax_shipping'] = $group["tax_shipping"];
$items = get_tax_group_items($selected_id);
$i = 0;
while ($tax_item = db_fetch($items)) {
$_POST['tax_type_id' . $i] = $tax_item["tax_type_id"];
$_POST['rate' . $i] = percent_format($tax_item["rate"]);
$i++;
}
开发者ID:ravenii,项目名称:guardocs,代码行数:31,代码来源:tax_groups.php
示例13: hidden
$_POST['filename'] = $mod['filename'];
hidden('selected_id', $selected_id);
hidden('filename', $_POST['filename']);
}
tab_list_row(tr("Menu Tab"), 'tab', null);
text_row_ex(tr("Name"), 'name', 30);
text_row_ex(tr("Folder"), 'path', 20);
label_row(tr("Module File"), "<input name='uploadfile' type='file'>");
label_row(tr("SQL File"), "<input name='uploadfile2' type='file'>");
end_table(0);
display_note(tr("Select your module PHP file from your local harddisk."), 0, 1);
echo "<center><input onclick='javascript:updateModule()' type='button' style='width:150' value='" . tr("Save") . "'>";
end_form();
}
//---------------------------------------------------------------------------------------------
if (isset($_GET['c'])) {
if ($_GET['c'] == 'df') {
handle_delete();
}
if ($_GET['c'] == 'u') {
if (handle_submit()) {
//meta_forward($_SERVER['PHP_SELF']);
}
}
}
//---------------------------------------------------------------------------------------------
display_modules();
hyperlink_no_params($_SERVER['PHP_SELF'], tr("Create a new module"));
display_module_edit($selected_id);
//---------------------------------------------------------------------------------------------
end_page();
开发者ID:ravenii,项目名称:guardocs,代码行数:31,代码来源:inst_module.php
示例14: alt_table_row_color
alt_table_row_color($k);
if ($myrow["balance_sheet"] == 0) {
$bs_text = tr("No");
} else {
$bs_text = tr("Yes");
}
label_cell($myrow["cid"]);
label_cell($myrow['class_name']);
label_cell($bs_text);
edit_link_cell("selected_id=" . $myrow["cid"]);
delete_link_cell("selected_id=" . $myrow["cid"] . "&delete=1");
end_row();
}
end_table();
//-----------------------------------------------------------------------------------
hyperlink_no_params($_SERVER['PHP_SELF'], tr("New Account Class"));
start_form();
start_table($table_style2);
if ($selected_id != -1) {
//editing an existing status code
$myrow = get_account_class($selected_id);
$_POST['id'] = $myrow["cid"];
$_POST['name'] = $myrow["class_name"];
$_POST['Balance'] = $myrow["balance_sheet"];
hidden('selected_id', $selected_id);
label_row(tr("Class ID:"), $_POST['id']);
} else {
text_row_ex(tr("Class ID:"), 'id', 3);
}
text_row_ex(tr("Class Name:"), 'name', 50);
yesno_list_row(tr("Balance Sheet:"), 'Balance', null, "", "", false);
开发者ID:ravenii,项目名称:guardocs,代码行数:31,代码来源:gl_account_classes.php
示例15: array
$th = array(tr("Location Code"), tr("Location Name"), "", "");
table_header($th);
$k = 0;
//row colour counter
while ($myrow = db_fetch_row($result)) {
alt_table_row_color($k);
label_cell($myrow[0]);
label_cell($myrow[1]);
edit_link_cell("selected_id={$myrow['0']}");
delete_link_cell("selected_id={$myrow['0']}&delete=1");
end_row();
}
//END WHILE LIST LOOP
//end of ifs and buts!
end_table();
hyperlink_no_params($_SERVER['PHP_SELF'], tr("New Location"));
start_form();
start_table($table_style2);
if (isset($selected_id)) {
//editing an existing Location
$myrow = get_item_location($selected_id);
$_POST['loc_code'] = $myrow["loc_code"];
$_POST['location_name'] = $myrow["location_name"];
$_POST['delivery_address'] = $myrow["delivery_address"];
$_POST['contact'] = $myrow["contact"];
$_POST['phone'] = $myrow["phone"];
$_POST['fax'] = $myrow["fax"];
$_POST['email'] = $myrow["email"];
hidden("selected_id", $selected_id);
hidden("loc_code", $_POST['loc_code']);
label_row(tr("Location Code:"), $_POST['loc_code']);
开发者ID:ravenii,项目名称:guardocs,代码行数:31,代码来源:locations.php
示例16: array
$th = array(tr('Unit'), tr('Description'), tr('Decimals'), "", "");
table_header($th);
$k = 0;
//row colour counter
while ($myrow = db_fetch($result)) {
alt_table_row_color($k);
label_cell($myrow["abbr"]);
label_cell($myrow["name"]);
label_cell($myrow["decimals"]);
edit_link_cell(SID . "selected_id={$myrow['0']}");
delete_link_cell(SID . "selected_id={$myrow['0']}&delete=yes");
end_row();
}
end_table();
//----------------------------------------------------------------------------------
hyperlink_no_params($_SERVER['PHP_SELF'], tr("New Unit of Measure"));
start_form();
start_table("class='tablestyle_noborder'");
if (isset($selected_id)) {
//editing an existing item category
$myrow = get_item_unit($selected_id);
$_POST['abbr'] = $myrow["abbr"];
$_POST['description'] = $myrow["name"];
$_POST['decimals'] = $myrow["decimals"];
hidden('selected_id', $selected_id);
}
if (isset($selected_id) && item_unit_used($selected_id)) {
label_row(tr("Unit Abbreviation:"), $_POST['abbr']);
hidden('abbr', $_POST['abbr']);
} else {
text_row(tr("Unit Abbreviation:"), 'abbr', null, 20, 20);
开发者ID:ravenii,项目名称:guardocs,代码行数:31,代码来源:item_units.php
示例17: get_js_date_picker
}
if ($use_date_picker) {
$js .= get_js_date_picker();
}
page(_($help_context = "Item Adjustments Note"), false, false, "", $js);
//-----------------------------------------------------------------------------------------------
check_db_has_costable_items(_("There are no inventory items defined in the system which can be adjusted (Purchased or Manufactured)."));
check_db_has_movement_types(_("There are no inventory movement types defined in the system. Please define at least one inventory adjustment type."));
//-----------------------------------------------------------------------------------------------
if (isset($_GET['AddedID'])) {
$trans_no = $_GET['AddedID'];
$trans_type = ST_INVADJUST;
display_notification_centered(_("Items adjustment has been processed"));
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);
hyperlink_no_params($_SERVER['PHP_SELF'], _("Enter &Another Adjustment"));
hyperlink_params("{$path_to_root}/admin/attachments.php", _("Add an Attachment"), "filterType={$trans_type}&trans_no={$trans_no}");
display_footer_exit();
}
//--------------------------------------------------------------------------------------------------
function line_start_focus()
{
global $Ajax;
$Ajax->activate('items_table');
set_focus('_stock_id_edit');
}
//-----------------------------------------------------------------------------------------------
function handle_new_order()
{
if (isset($_SESSION['adj_items'])) {
$_SESSION['adj_items']->clear_items();
开发者ID:blestab,项目名称:frontaccounting,代码行数:31,代码来源:adjustments.php
示例18: set_focus
set_focus('name');
}
if (!isset($installed_extensions)) {
$installed_extensions = array();
update_extensions($installed_extensions);
}
subpage_title(_('Company Settings'));
start_table(TABLESTYLE);
text_row_ex(_("Company Name:"), 'name', 30);
text_row_ex(_("Admin Login:"), 'admin', 30);
password_row(_("Admin Password:"), 'pass', @$_POST['pass']);
password_row(_("Reenter Password:"), 'repass', @$_POST['repass']);
coa_list_row(_("Select Chart of Accounts:"), 'coa');
languages_list_row(_("Select Default Language:"), 'lang');
end_table(1);
submit_center_first('back', _('<< Back'));
submit_center_last('set_admin', _('Continue >>'));
break;
case '6':
// final screen
subpage_title(_('SerbizHub Suite ERP has been installed successsfully.'));
display_note(_('Please do not forget to remove install wizard folder.'));
session_unset();
session_destroy();
hyperlink_no_params($path_to_root . '/index.php', _('Click here to start.'));
break;
}
hidden('Tests');
hidden('Page');
end_form(1);
end_page(false, false, true);
开发者ID:knjy24,项目名称:FrontAccounting,代码行数:31,代码来源:index.php
示例19: set_focus
set_focus('released');
return false;
}
// make sure item has components
if (!has_bom($myrow['stock_id'])) {
display_error(tr("This Work Order cannot be released. The selected item to manufacture does not have a bom."));
set_focus('stock_id');
return false;
}
return true;
}
//------------------------------------------------------------------------------------
if (isset($_POST['release'])) {
release_work_order($selected_id, $_POST['released_date'], $_POST['memo_']);
display_note(tr("The work order has been released to manufacturing."));
hyperlink_no_params("search_work_orders.php", tr("Select another work order"));
end_page();
exit;
}
//------------------------------------------------------------------------------------
start_form();
$myrow = get_work_order($selected_id);
$_POST['released'] = $myrow["released"];
$_POST['memo_'] = "";
if (can_process($myrow)) {
start_table($table_style2);
label_row(tr("Work Order #:"), $selected_id);
label_row(tr("Work Order Reference:"), $myrow["wo_ref"]);
date_row(tr("Released Date") . ":", 'released_date');
textarea_row(tr("Memo:"), 'memo_', $_POST['memo_'], 40, 5);
end_table(1);
开发者ID:ravenii,项目名称:guardocs,代码行数:31,代码来源:work_order_release.php
示例20: get_all_movement_type
}
//-----------------------------------------------------------------------------------
$result = get_all_movement_type();
start_table("{$table_style} width=30%");
$th = array(tr("Description"), "", "");
table_header($th);
$k = 0;
while ($myrow = db_fetch($result)) {
alt_table_row_color($k);
label_cell($myrow["name"]);
edit_link_cell("selected_id=" . $myrow["id"]);
delete_link_cell("selected_id=" . $myrow["id"] . "&delete=1");
end_row();
}
end_table();
//-----------------------------------------------------------------------------------
hyperlink_no_params($_SERVER['PHP_SELF'], tr("New Inventory Movement Type"));
start_form();
start_table();
if (isset($selected_id)) {
//editing an existing status code
$myrow = get_movement_type($selected_id);
$_POST['name'] = $myrow["name"];
hidden('selected_id', $selected_id);
}
text_row(tr("Description:"), 'name', null, 50, 50);
end_table(1);
submit_add_or_update_center(!isset($selected_id));
end_form();
//------------------------------------------------------------------------------------
end_page();
开发者ID:ravenii,项目名称:guardocs,代码行数:31,代码来源:movement_types.php
注:本文中的hyperlink_no_params函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论