本文整理汇总了PHP中gen_get_all_get_params函数的典型用法代码示例。如果您正苦于以下问题:PHP gen_get_all_get_params函数的具体用法?PHP gen_get_all_get_params怎么用?PHP gen_get_all_get_params使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了gen_get_all_get_params函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: build_div
function build_div($title, $contents, $controls)
{
$output = '<!--// start: ' . $this->module_id . ' //-->' . chr(10);
$output .= '<div id="' . $this->module_id . '" class="modbox" style="position:relative;">' . chr(10);
$output .= '<table width="100%" class="mhdr" cellspacing="0" cellpadding="0">' . chr(10);
$output .= '<tr>' . chr(10);
// heading text
$output .= '<td width="90%" class="mttl">' . $title . ' </td>' . chr(10);
// edit/cancel image (text)
$output .= '<td class="medit">' . chr(10);
$output .= ' <a href="javascript:void(0)" class="el" onclick ="return box_edit(\'' . $this->module_id . '\');">';
$output .= html_icon('categories/preferences-system.png', TEXT_PROPERTIES, $size = 'small', '', '16', '16', $this->module_id . '_add');
// $output .= TEXT_EDIT;
$output .= ' </a>' . chr(10);
$output .= ' <a href="javascript:void(0)" class="csl" onclick ="return box_cancel(\'' . $this->module_id . '\');">';
// $output .= TEXT_CANCEL;
$output .= html_icon('status/dialog-error.png', TEXT_CANCEL, $size = 'small', '', '16', '16', $this->module_id . '_can');
$output .= ' </a>' . chr(10);
$output .= '</td>' . chr(10);
// minimize/maximize image
$output .= '<td class="mttlz">' . chr(10);
$output .= '<a href="javascript:void(0)" class="box minbox" id="' . $this->module_id . '_min" onclick="this.blur(); return min_box(\'' . $this->module_id . '\')">' . chr(10);
$output .= html_icon('actions/list-remove.png', TEXT_COLLAPSE, $size = 'small', '', '16', '16', $this->module_id . '_exp');
$output .= '</a></td>' . chr(10);
// delete image
$output .= '<td class="mttld">' . chr(10);
$output .= '<a href="javascript:void(0)" class="box delbox" id="' . $this->module_id . '_del" onclick="return del_box(\'' . $this->module_id . '\')">';
$output .= html_icon('emblems/emblem-unreadable.png', TEXT_REMOVE, $size = 'small');
$output .= '</a>' . chr(10);
$output .= '</td></tr></table>' . chr(10);
// box properties section
$output .= '<table class="mehdr" cellspacing="0" cellpadding="0">' . chr(10);
$output .= '<tr class="es">' . chr(10);
$output .= '<td class="meditbox">' . chr(10);
$output .= html_form($this->module_id . '_frm', FILENAME_DEFAULT, gen_get_all_get_params(array('action'))) . chr(10);
$output .= $this->build_move_buttons($this->column_id, $this->row_id);
$output .= $controls . chr(10);
$output .= '<input type="hidden" name="module_id" value="' . $this->module_id . '" />' . chr(10);
$output .= '<input type="hidden" name="column_id" value="' . $this->column_id . '" />' . chr(10);
$output .= '<input type="hidden" name="row_id" value="' . $this->row_id . '" />' . chr(10);
$output .= '<input type="hidden" name="action" id="' . $this->module_id . '_action" value="save" />' . chr(10);
$output .= '</form></td></tr></table>' . chr(10);
// box Contents
$output .= '<div class="row" id="' . $this->module_id . '_body" style="overflow:hidden;">' . chr(10);
$output .= $contents;
$output .= '</div>';
// finish it up
$output .= '</div>' . chr(10);
$output .= '<!--// end: ' . $this->module_id . ' //--><br />' . chr(10) . chr(10);
return $output;
}
开发者ID:jigsmaheta,项目名称:puerto-argentino,代码行数:51,代码来源:ctl_panel.php
示例2: unserialize
$result = $db->Execute("select admin_prefs from " . TABLE_USERS . " where admin_id = " . $_SESSION['admin_id']);
$prefs = unserialize($result->fields['admin_prefs']);
/*************** hook for custom actions ***************************/
$custom_path = DIR_FS_WORKING . 'custom/pages/profile/extra_actions.php';
if (file_exists($custom_path)) {
include $custom_path;
}
/*************** Act on the action request *************************/
switch ($_REQUEST['action']) {
case 'save':
validate_security($security_level, 4);
$prefs['theme'] = db_prepare_input($_POST['theme']);
$prefs['menu'] = db_prepare_input($_POST['menu']);
$prefs['colors'] = db_prepare_input($_POST['colors']);
if (!$prefs['colors']) {
$error = $messageStack->add(GEN_ERROR_NO_THEME_COLORS, 'error');
break;
}
db_perform(TABLE_USERS, array('admin_prefs' => serialize($prefs)), 'update', 'admin_id = ' . $_SESSION['admin_id']);
$_SESSION['admin_prefs']['theme'] = $prefs['theme'];
$_SESSION['admin_prefs']['menu'] = $prefs['menu'];
$_SESSION['admin_prefs']['colors'] = $prefs['colors'];
gen_redirect(html_href_link(FILENAME_DEFAULT, gen_get_all_get_params(), 'SSL'));
break;
default:
}
/***************** prepare to display templates *************************/
$include_header = true;
$include_footer = true;
$include_template = 'template_main.php';
define('PAGE_TITLE', BOX_HEADING_PROFILE);
开发者ID:siwiwit,项目名称:PhreeBooksERP,代码行数:31,代码来源:pre_process.php
示例3: gen_build_pull_down
// | published by the Free Software Foundation, either version 3 of |
// | the License, or any later version. |
// | |
// | This program is distributed in the hope that it will be useful, |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
// | GNU General Public License for more details. |
// | |
// | The license that is bundled with this package is located in the |
// | file: /doc/manual/ch01-Introduction/license.html. |
// | If not, see http://www.gnu.org/licenses/ |
// +-----------------------------------------------------------------+
// Path: /modules/reportwriter/pages/builder/template_TplFrmImg.php
//
$kFontColors = gen_build_pull_down($FontColors);
echo html_form('FrmImage', FILENAME_DEFAULT, gen_get_all_get_params(array('action')) . 'action=step6a', 'post', 'enctype="multipart/form-data"');
echo html_hidden_field('DisplayName', $DisplayName);
echo html_hidden_field('index', $Params['index']);
echo html_hidden_field('ID', $FormParams['id']);
echo html_hidden_field('SeqNum', $SeqNum);
echo html_hidden_field('ReportID', $ReportID);
echo html_hidden_field('ReportName', $description);
echo html_hidden_field('todo', '');
// echo html_hidden_field('rowSeq', '');
// customize the toolbar actions
$toolbar->icon_list['cancel']['params'] = 'onclick="submitToDo(\'cancel\')"';
$toolbar->icon_list['open']['show'] = false;
$toolbar->icon_list['save']['params'] = 'onclick="submitToDo(\'update\');"';
$toolbar->icon_list['print']['show'] = false;
$toolbar->icon_list['delete']['show'] = false;
$toolbar->add_icon('finish', 'onclick="submitToDo(\'finish\')"', $order = 10);
开发者ID:jigsmaheta,项目名称:puerto-argentino,代码行数:31,代码来源:template_TplFrmImg.php
示例4: html_form
// | |
// | This program is distributed in the hope that it will be useful, |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
// | GNU General Public License for more details. |
// | |
// | The license that is bundled with this package is located in the |
// | file: /doc/manual/ch01-Introduction/license.html. |
// | If not, see http://www.gnu.org/licenses/ |
// +-----------------------------------------------------------------+
// Path: /modules/inventory/pages/cat_inv/template_id.php
//
echo html_form('inventory', FILENAME_DEFAULT, gen_get_all_get_params(array('action')));
echo html_hidden_field('todo', '') . chr(10);
// customize the toolbar actions
$toolbar->icon_list['cancel']['params'] = 'onclick="location.href = \'' . html_href_link(FILENAME_DEFAULT, gen_get_all_get_params(array('action', 'module')) . '&module=main', 'SSL') . '\'"';
$toolbar->icon_list['open']['show'] = false;
$toolbar->icon_list['delete']['show'] = false;
$toolbar->icon_list['save']['show'] = false;
$toolbar->icon_list['print']['show'] = false;
$toolbar->add_icon('continue', 'onclick="submitToDo(\'create\')"', $order = 10);
$toolbar->add_help('07.04.01.01');
echo $toolbar->build_toolbar();
?>
<div class="pageHeading"><?php
echo INV_HEADING_NEW_ITEM;
?>
</div>
<table width="500" align="center" cellspacing="0" cellpadding="1">
<tr>
<th nowrap="nowrap" colspan="2"><?php
开发者ID:jigsmaheta,项目名称:puerto-argentino,代码行数:31,代码来源:template_id.php
示例5: html_form
// | published by the Free Software Foundation, either version 3 of |
// | the License, or any later version. |
// | |
// | This program is distributed in the hope that it will be useful, |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
// | GNU General Public License for more details. |
// | |
// | The license that is bundled with this package is located in the |
// | file: /doc/manual/ch01-Introduction/license.html. |
// | If not, see http://www.gnu.org/licenses/ |
// +-----------------------------------------------------------------+
// Path: /modules/translator/pages/admin/template_main.php
//
// start the form
echo html_form('admin', FILENAME_DEFAULT, gen_get_all_get_params(array('action')), 'post', '', true) . chr(10);
// include hidden fields
echo html_hidden_field('todo', '') . chr(10);
// customize the toolbar actions
$toolbar->icon_list['cancel']['params'] = 'onclick="location.href = \'' . html_href_link(FILENAME_DEFAULT, '', 'SSL') . '\'"';
$toolbar->icon_list['open']['show'] = false;
$toolbar->icon_list['save']['show'] = false;
$toolbar->icon_list['delete']['show'] = false;
$toolbar->icon_list['print']['show'] = false;
echo $toolbar->build_toolbar();
// Build the page
?>
<div class="pageHeading"><?php
echo PAGE_TITLE;
?>
</div>
开发者ID:jigsmaheta,项目名称:puerto-argentino,代码行数:31,代码来源:template_main.php
示例6: html_form
// +-----------------------------------------------------------------+
// | Copyright(c) 2008-2014 PhreeSoft (www.PhreeSoft.com) |
// +-----------------------------------------------------------------+
// | This program is free software: you can redistribute it and/or |
// | modify it under the terms of the GNU General Public License as |
// | published by the Free Software Foundation, either version 3 of |
// | the License, or any later version. |
// | |
// | This program is distributed in the hope that it will be useful, |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
// | GNU General Public License for more details. |
// +-----------------------------------------------------------------+
// Path: /modules/phreebooks/pages/popup_orders/template_main.php
//
echo html_form('popup_orders', FILENAME_DEFAULT, gen_get_all_get_params(array('action', 'list'))) . chr(10);
// include hidden fields
echo html_hidden_field('action', '') . chr(10);
echo html_hidden_field('rowSeq', '') . chr(10);
// customize the toolbar actions
$toolbar->icon_list['cancel']['params'] = 'onclick="self.close()"';
$toolbar->icon_list['open']['show'] = false;
$toolbar->icon_list['save']['show'] = false;
$toolbar->icon_list['delete']['show'] = false;
$toolbar->icon_list['print']['show'] = false;
if (count($extra_toolbar_buttons) > 0) {
foreach ($extra_toolbar_buttons as $key => $value) {
$toolbar->icon_list[$key] = $value;
}
}
switch (JOURNAL_ID) {
开发者ID:siwiwit,项目名称:PhreeBooksERP,代码行数:31,代码来源:template_main.php
示例7: html_form
// | Copyright(c) 2008-2014 PhreeSoft, LLC (www.PhreeSoft.com) |
// +-----------------------------------------------------------------+
// | This program is free software: you can redistribute it and/or |
// | modify it under the terms of the GNU General Public License as |
// | published by the Free Software Foundation, either version 3 of |
// | the License, or any later version. |
// | |
// | This program is distributed in the hope that it will be useful, |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
// | GNU General Public License for more details. |
// +-----------------------------------------------------------------+
// Path: /modules/import_order/pages/main/template_main.php
//
// start the form
echo html_form('import_order', FILENAME_DEFAULT, gen_get_all_get_params(array('action')), 'post', 'enctype="multipart/form-data"', true) . chr(10);
// include hidden fields
echo html_hidden_field('action', '') . chr(10);
// customize the toolbar actions
$toolbar->icon_list['cancel']['params'] = 'onclick="location.href = \'' . html_href_link(FILENAME_DEFAULT, '', 'SSL') . '\'"';
$toolbar->icon_list['open']['show'] = false;
$toolbar->icon_list['save']['params'] = 'onclick="submitToDo(\'save\')"';
$toolbar->icon_list['delete']['show'] = false;
$toolbar->icon_list['print']['show'] = false;
echo $toolbar->build_toolbar();
// Build the page
?>
<h1><?php
echo PAGE_TITLE;
?>
</h1>
开发者ID:TrinityComputers,项目名称:PhreeBooksERP,代码行数:31,代码来源:template_main.php
示例8: html_form
// | published by the Free Software Foundation, either version 3 of |
// | the License, or any later version. |
// | |
// | This program is distributed in the hope that it will be useful, |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
// | GNU General Public License for more details. |
// | |
// | The license that is bundled with this package is located in the |
// | file: /doc/manual/ch01-Introduction/license.html. |
// | If not, see http://www.gnu.org/licenses/ |
// +-----------------------------------------------------------------+
// Path: /modules/assets/pages/assets_fields/template_main.php
//
// start the form
echo html_form('assets_fields', FILENAME_DEFAULT, gen_get_all_get_params(array('action')));
// include hidden fields
echo html_hidden_field('todo', '') . chr(10);
echo html_hidden_field('rowSeq', '') . chr(10);
// customize the toolbar actions
$toolbar->icon_list['cancel']['params'] = 'onclick="location.href = \'' . html_href_link(FILENAME_DEFAULT, '', 'SSL') . '\'"';
$toolbar->icon_list['open']['show'] = false;
$toolbar->icon_list['delete']['show'] = false;
$toolbar->icon_list['save']['show'] = false;
$toolbar->icon_list['print']['show'] = false;
if ($security_level > 1) {
$toolbar->add_icon('new', 'onclick="submitToDo(\'new\')"', $order = 10);
}
// pull in extra toolbar overrides and additions
if (count($extra_toolbar_buttons) > 0) {
foreach ($extra_toolbar_buttons as $key => $value) {
开发者ID:jigsmaheta,项目名称:puerto-argentino,代码行数:31,代码来源:template_main.php
示例9: html_form
// Path: /modules/services/pages/popup_label_image/template_main.php
//
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title><?php
echo TITLE . ' - ' . COMPANY_NAME;
?>
</title>
</head>
<body>
<div id="image">
<?php
if ($image) {
echo '<h2>' . $image . '</h2>';
} else {
echo html_form('download', FILENAME_DEFAULT, gen_get_all_get_params(array('todo')) . 'todo=download') . chr(10);
echo html_submit_field('action', SHIPPING_TEXT_DOWNLOAD, '') . chr(10);
echo SHIPPING_THERMAL_INST;
echo '</form>';
}
?>
</form>
</div>
</body>
</html>
开发者ID:jigsmaheta,项目名称:puerto-argentino,代码行数:31,代码来源:template_main.php
示例10: session_id
$translator->extractRelease($_POST['id']);
$temproot = $translator->getTempRoot();
} else {
$temproot = $translator->getTempRoot(true);
}
$translator->searchModules($temproot, $_POST['source_lang']);
break;
case 'p_install':
$translator->addRelease($_POST);
if ($_POST['id'] != 'current_installation') {
$translator->delete_directory(INSTALL_TEMP_DIR . session_id());
}
header('Location:index.php?cat=translator&module=main');
exit;
case 'mod':
$toolbar->icon_list['cancel']['params'] = 'onclick="location.href = \'' . html_href_link(FILENAME_DEFAULT, gen_get_all_get_params(array('action')) . 'action=releases', 'SSL') . '\'"';
$toolbar->icon_list['save']['show'] = true;
$toolbar->icon_list['save']['params'] = 'onclick="javascript:document.translator.submit()"';
$toolbar->icon_list['delete']['params'] = 'onclick="document.translator.action.value=\'p_delete\'; document.translator.submit()"';
$toolbar->icon_list['delete']['show'] = true;
$include_template = 'template_mod.php';
$release = $translator->getReleaseData($_GET['id']);
break;
case 'p_mod':
$translator->updateRelease($_POST);
header('Location:index.php?cat=translator&module=main');
exit;
case 'p_delete':
if (strstr($_POST['remove'], 'm_') !== false) {
$id = str_replace('m_', '', $_POST['remove']);
//exit;
开发者ID:jigsmaheta,项目名称:puerto-argentino,代码行数:31,代码来源:pre_process.php
示例11: explode
// Path: /modules/reportwriter/pages/form_gen/template_filter.php
//
$DateArray = explode(':', $Prefs['datedefault']);
if (!isset($DateArray[1])) {
$DateArray[1] = '';
}
if (!isset($DateArray[2])) {
$DateArray[2] = '';
}
$ValidDateChoices = array();
foreach ($DateChoices as $key => $value) {
if (strpos($Prefs['dateselect'], $key) !== false) {
$ValidDateChoices[$key] = $value;
}
}
echo html_form('formfilter', FILENAME_DEFAULT, gen_get_all_get_params(array('action')));
echo html_hidden_field('ReportID', $ReportID);
echo html_hidden_field('FormFilter', '1');
echo html_hidden_field('todo', '');
// customize the toolbar actions
$toolbar->icon_list['cancel']['params'] = 'onclick="self.close()"';
$toolbar->icon_list['open']['show'] = false;
$toolbar->icon_list['save']['show'] = false;
$toolbar->icon_list['print']['params'] = 'onclick="submitToDo(\'exp_pdf\')"';
$toolbar->icon_list['delete']['show'] = false;
$toolbar->add_help('11.02');
echo $toolbar->build_toolbar();
?>
<h2 align="center"><?php
echo $Prefs['description'] . ' - ' . TEXT_CRITERIA;
?>
开发者ID:jigsmaheta,项目名称:puerto-argentino,代码行数:31,代码来源:template_filter.php
示例12: gen_build_pull_down
// | published by the Free Software Foundation, either version 3 of |
// | the License, or any later version. |
// | |
// | This program is distributed in the hope that it will be useful, |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
// | GNU General Public License for more details. |
// | |
// | The license that is bundled with this package is located in the |
// | file: /doc/manual/ch01-Introduction/license.html. |
// | If not, see http://www.gnu.org/licenses/ |
// +-----------------------------------------------------------------+
// Path: /modules/reportwriter/pages/builder/template_TplFrmPgNum.php
//
$kFontColors = gen_build_pull_down($FontColors);
echo html_form('FrmPgNum', FILENAME_DEFAULT, gen_get_all_get_params(array('action')) . 'action=step6a');
echo html_hidden_field('DisplayName', $DisplayName);
echo html_hidden_field('index', $Params['index']);
echo html_hidden_field('ID', $FormParams['id']);
echo html_hidden_field('SeqNum', $SeqNum);
echo html_hidden_field('ReportID', $ReportID);
echo html_hidden_field('ReportName', $description);
echo html_hidden_field('todo', '');
// customize the toolbar actions
$toolbar->icon_list['cancel']['params'] = 'onclick="submitToDo(\'cancel\')"';
$toolbar->icon_list['open']['show'] = false;
$toolbar->icon_list['save']['params'] = 'onclick="submitToDo(\'update\');"';
$toolbar->icon_list['print']['show'] = false;
$toolbar->icon_list['delete']['show'] = false;
$toolbar->add_icon('finish', 'onclick="submitToDo(\'finish\')"', $order = 10);
$toolbar->add_help('11.01.01');
开发者ID:jigsmaheta,项目名称:puerto-argentino,代码行数:31,代码来源:template_TplFrmPgNum.php
示例13: gen_add_audit_log
gen_add_audit_log(PRICE_SHEETS_LOG . ($_REQUEST['action'] == 'save') ? TEXT_SAVE : TEXT_UPDATE, $sheet_name);
gen_redirect(html_href_link(FILENAME_DEFAULT, gen_get_all_get_params(array('psID', 'action')), 'SSL'));
break;
case 'delete':
validate_security($security_level, 4);
$id = (int) db_prepare_input($_GET['psID']);
$result = $db->Execute("select sheet_name, type, default_sheet from " . TABLE_PRICE_SHEETS . " where id = " . $id);
$sheet_name = $result->fields['sheet_name'];
$type = $result->fields['type'];
if ($result->fields['default_sheet'] == '1') {
$messageStack->add(PRICE_SHEET_DEFAULT_DELETED, 'caution');
}
$db->Execute("delete from " . TABLE_PRICE_SHEETS . " where id = '{$id}'");
$db->Execute("delete from " . TABLE_INVENTORY_SPECIAL_PRICES . " where price_sheet_id = '{$id}'");
gen_add_audit_log(PRICE_SHEETS_LOG . TEXT_DELETE, $sheet_name);
gen_redirect(html_href_link(FILENAME_DEFAULT, gen_get_all_get_params(array('psID', 'action')) . '&type=' . $type, 'SSL'));
break;
case 'revise':
validate_security($security_level, 2);
$old_id = db_prepare_input($_GET['psID']);
$result = $db->Execute("select * from " . TABLE_PRICE_SHEETS . " where id = {$old_id}");
$old_rev = $result->fields['revision'];
$output_array = array('sheet_name' => $result->fields['sheet_name'], 'type' => $type, 'revision' => $result->fields['revision'] + 1, 'effective_date' => gen_specific_date($result->fields['effective_date'], 1), 'default_sheet' => $result->fields['default_sheet'], 'default_levels' => $result->fields['default_levels']);
db_perform(TABLE_PRICE_SHEETS, $output_array, 'insert');
$id = db_insert_id();
// this is used by the edit function later on.
// expire the old sheet
$db->Execute("UPDATE " . TABLE_PRICE_SHEETS . " SET expiration_date='" . gen_specific_date($result->fields['effective_date'], 1) . "' WHERE id={$old_id}");
// Copy special pricing information to new sheet
$levels = $db->Execute("select inventory_id, price_levels from " . TABLE_INVENTORY_SPECIAL_PRICES . " where price_sheet_id = {$old_id}");
while (!$levels->EOF) {
开发者ID:siwiwit,项目名称:PhreeBooksERP,代码行数:31,代码来源:pre_process.php
示例14: gen_build_pull_down
// | published by the Free Software Foundation, either version 3 of |
// | the License, or any later version. |
// | |
// | This program is distributed in the hope that it will be useful, |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
// | GNU General Public License for more details. |
// | |
// | The license that is bundled with this package is located in the |
// | file: /doc/manual/ch01-Introduction/license.html. |
// | If not, see http://www.gnu.org/licenses/ |
// +-----------------------------------------------------------------+
// Path: /modules/reportwriter/pages/builder/template_TplFrmBarCode.php
//
$kFontColors = gen_build_pull_down($FontColors);
echo html_form('DataFrmBarCode', FILENAME_DEFAULT, gen_get_all_get_params(array('action')) . 'action=step6a');
echo html_hidden_field('DisplayName', $DisplayName);
echo html_hidden_field('index', $Params['index']);
echo html_hidden_field('ID', $FormParams['id']);
echo html_hidden_field('SeqNum', $SeqNum);
echo html_hidden_field('ReportID', $ReportID);
echo html_hidden_field('ReportName', $description);
echo html_hidden_field('todo', '');
// echo html_hidden_field('rowSeq', '');
// customize the toolbar actions
$toolbar->icon_list['cancel']['params'] = 'onclick="submitToDo(\'cancel\')"';
$toolbar->icon_list['open']['show'] = false;
$toolbar->icon_list['save']['params'] = 'onclick="submitToDo(\'update\');"';
$toolbar->icon_list['print']['show'] = false;
$toolbar->icon_list['delete']['show'] = false;
$toolbar->add_icon('finish', 'onclick="submitToDo(\'finish\')"', $order = 10);
开发者ID:jigsmaheta,项目名称:puerto-argentino,代码行数:31,代码来源:template_TplFrmBarCode.php
示例15: html_form
// | modify it under the terms of the GNU General Public License as |
// | published by the Free Software Foundation, either version 3 of |
// | the License, or any later version. |
// | |
// | This program is distributed in the hope that it will be useful, |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
// | GNU General Public License for more details. |
// | |
// | The license that is bundled with this package is located in the |
// | file: /doc/manual/ch01-Introduction/license.html. |
// | If not, see http://www.gnu.org/licenses/ |
// +-----------------------------------------------------------------+
// Path: /modules/reportwriter/pages/builder/template_field_setup.php
//
echo html_form('RptFieldForm', FILENAME_DEFAULT, gen_get_all_get_params(array('action')) . 'action=step6');
echo html_hidden_field('ReportID', $ReportID);
echo html_hidden_field('Type', $Type);
echo html_hidden_field('ReportName', $description);
echo html_hidden_field('todo', '');
echo html_hidden_field('rowSeq', '');
// customize the toolbar actions
$toolbar->icon_list['cancel']['show'] = false;
$toolbar->icon_list['open']['show'] = false;
$toolbar->icon_list['save']['params'] = 'onclick="submitToDo(\'update\');"';
$toolbar->icon_list['print']['show'] = false;
$toolbar->icon_list['delete']['show'] = false;
$toolbar->add_icon('back', 'onclick="submitToDo(\'back\')"', $order = 9);
$toolbar->add_icon('continue', 'onclick="submitToDo(\'continue\')"', $order = 10);
$toolbar->add_help('11.01.01');
echo $toolbar->build_toolbar();
开发者ID:jigsmaheta,项目名称:puerto-argentino,代码行数:31,代码来源:template_field_setup.php
示例16: html_form
// +-----------------------------------------------------------------+
// | Copyright(c) 2008-2014 PhreeSoft (www.PhreeSoft.com) |
// +-----------------------------------------------------------------+
// | This program is free software: you can redistribute it and/or |
// | modify it under the terms of the GNU General Public License as |
// | published by the Free Software Foundation, either version 3 of |
// | the License, or any later version. |
// | |
// | This program is distributed in the hope that it will be useful, |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
// | GNU General Public License for more details. |
// +-----------------------------------------------------------------+
// Path: /modules/work_orders/pages/popup_tasks/template_main.php
//
echo html_form('search_form', FILENAME_DEFAULT, gen_get_all_get_params(array('action', 'list'))) . chr(10);
// include hidden fields
echo html_hidden_field('action', '') . chr(10);
echo html_hidden_field('rowSeq', '') . chr(10);
// customize the toolbar actions
$toolbar->icon_list['cancel']['params'] = 'onclick="self.close()"';
$toolbar->icon_list['open']['show'] = false;
$toolbar->icon_list['save']['show'] = false;
$toolbar->icon_list['delete']['show'] = false;
$toolbar->icon_list['print']['show'] = false;
if (count($extra_toolbar_buttons) > 0) {
foreach ($extra_toolbar_buttons as $key => $value) {
$toolbar->icon_list[$key] = $value;
}
}
$toolbar->add_help('07.04.WO.02');
开发者ID:siwiwit,项目名称:PhreeBooksERP,代码行数:31,代码来源:template_main.php
示例17: html_form
// +-----------------------------------------------------------------+
// | Copyright(c) 2008-2014 PhreeSoft (www.PhreeSoft.com) |
// +-----------------------------------------------------------------+
// | This program is free software: you can redistribute it and/or |
// | modify it under the terms of the GNU General Public License as |
// | published by the Free Software Foundation, either version 3 of |
// | the License, or any later version. |
// | |
// | This program is distributed in the hope that it will be useful, |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
// | GNU General Public License for more details. |
// +-----------------------------------------------------------------+
// Path: /modules/phreedom/pages/import_export/template_main.php
//
echo html_form('import_export', FILENAME_DEFAULT, gen_get_all_get_params(array('action'))) . chr(10);
// include hidden fields
echo html_hidden_field('action', '') . chr(10);
// customize the toolbar actions
$toolbar->icon_list['cancel']['params'] = 'onclick="location.href = \'' . html_href_link(FILENAME_DEFAULT, '', 'SSL') . '\'"';
$toolbar->icon_list['open']['show'] = false;
$toolbar->icon_list['save']['show'] = false;
$toolbar->icon_list['delete']['show'] = false;
$toolbar->icon_list['print']['show'] = false;
if (count($extra_toolbar_buttons) > 0) {
foreach ($extra_toolbar_buttons as $key => $value) {
$toolbar->icon_list[$key] = $value;
}
}
$toolbar->add_help('10');
echo $toolbar->build_toolbar();
开发者ID:siwiwit,项目名称:PhreeBooksERP,代码行数:31,代码来源:template_main.php
示例18: add_period
function add_period()
{
$output = '<div id="tb_period_' . $this->id . '" class="toolbar_right">' . "\n";
$output .= TEXT_INFO_SEARCH_PERIOD_FILTER . '<br />' . "\n";
$output .= html_pull_down_menu('search_period', gen_get_period_pull_down($this->period_strict), $this->search_period, 'onchange="periodPage(\'' . gen_get_all_get_params(array('page', 'action')) . '\')"');
$output .= '</div>' . "\n";
return $output;
}
开发者ID:jigsmaheta,项目名称:puerto-argentino,代码行数:8,代码来源:toolbar.php
示例19: html_form
// +-----------------------------------------------------------------+
// | Copyright(c) 2008-2014 PhreeSoft (www.PhreeSoft.com) |
// +-----------------------------------------------------------------+
// | This program is free software: you can redistribute it and/or |
// | modify it under the terms of the GNU General Public License as |
// | published by the Free Software Foundation, either version 3 of |
// | the License, or any later version. |
// | |
// | This program is distributed in the hope that it will be useful, |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
// | GNU General Public License for more details. |
// +-----------------------------------------------------------------+
// Path: /modules/phreeform/pages/popup_build/template_import.php
//
echo html_form('popup_build', FILENAME_DEFAULT, gen_get_all_get_params(array('action')), 'post', 'enctype="multipart/form-data"') . chr(10);
// include hidden fields
echo html_hidden_field('action', '') . chr(10);
echo html_hidden_field('id', $id) . chr(10);
echo html_hidden_field('parent_id', $parent_id) . chr(10);
echo html_hidden_field('doc_title', '') . chr(10);
// placeholder
echo html_hidden_field('folder_path', '/');
// customize the toolbar actions
$toolbar->icon_list['cancel']['params'] = 'onclick="self.close();"';
$toolbar->icon_list['open']['show'] = false;
$toolbar->icon_list['save']['show'] = false;
$toolbar->icon_list['print']['show'] = false;
$toolbar->icon_list['delete']['show'] = false;
$toolbar->add_help('11.01.01');
echo $toolbar->build_toolbar();
开发者ID:siwiwit,项目名称:PhreeBooksERP,代码行数:31,代码来源:template_import.php
示例20: html_form
// | modify it under the terms of the GNU General Public License as |
// | published by the Free Software Foundation, either version 3 of |
// | the License, or any later version. |
// | |
// | This program is distributed in the hope that it will be useful, |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
// | GNU General Public License for more details. |
// | |
// | The license that is bundled with this package is located in the |
// | file: /doc/manual/ch01-Introduction/license.html. |
// | If not, see http://www.gnu.org/licenses/ |
// +-----------------------------------------------------------------+
// Path: /modules/reportwriter/pages/rpt_gen/template_save.php
//
echo html_form('reportSaveAs', FILENAME_DEFAULT, gen_get_all_get_params(array('action')));
echo html_hidden_field('ReportID', $ReportID);
echo html_hidden_field('todo', '');
// customize the toolbar actions
$toolbar->icon_list['cancel']['params'] = 'onclick="self.close()"';
$toolbar->icon_list['open']['show'] = false;
$toolbar->icon_list['save']['params'] = 'onclick="submitToDo(\'save\');"';
$toolbar->icon_list['print']['show'] = false;
$toolbar->icon_list['delete']['show'] = false;
if ($ShowReplace) {
$toolbar->add_icon('rename', 'onclick="submitToDo(\'rename\')"', $order = 10);
}
$toolbar->add_help('11.02');
echo $toolbar->build_toolbar();
?>
<h2 align="center"><?php
开发者ID:jigsmaheta,项目名称:puerto-argentino,代码行数:31,代码来源:template_save.php
注:本文中的gen_get_all_get_params函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论