本文整理汇总了PHP中js_calendar_init函数的典型用法代码示例。如果您正苦于以下问题:PHP js_calendar_init函数的具体用法?PHP js_calendar_init怎么用?PHP js_calendar_init使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了js_calendar_init函数的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: js_calendar_init
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
// | GNU General Public License for more details. |
// +-----------------------------------------------------------------+
// Path: /modules/inventory/pages/price_sheets/js_include.php
//
?>
<script type="text/javascript">
<!--
// pass any php variables generated during pre-process that are used in the javascript functions.
// Include translations here as well.
var num_price_levels = <?php
echo MAX_NUM_PRICE_LEVELS;
?>
;
<?php
echo js_calendar_init($cal_ps);
?>
function init() {
<?php
if ($_REQUEST['action'] != 'new' && $_REQUEST['action'] != 'edit') {
echo ' document.getElementById(\'search_text\').focus();';
echo ' document.getElementById(\'search_text\').select();';
}
?>
}
function check_form() {
var error = 0;
var error_message = "<?php
echo JS_ERROR;
示例2: substr
echo TEXT_DELETE;
?>
';
var image_delete_msg = '<?php
echo RMA_ROW_DELETE_ALERT;
?>
';
var delete_icon_HTML = '<?php
echo substr(html_icon("emblems/emblem-unreadable.png", TEXT_DELETE, "small", "onclick=\"if (confirm(\\'" . RMA_ROW_DELETE_ALERT . "\\')) removeInvRow("), 0, -2);
?>
';
<?php
echo js_calendar_init($cal_create);
echo js_calendar_init($cal_rcv);
echo js_calendar_init($cal_close);
echo js_calendar_init($cal_invoice);
?>
<?php
echo $js_disp_code . chr(10);
echo $js_disp_value . chr(10);
?>
// required function called with every page load
function init() {
$(function() { $('#detailtabs').tabs(); });
<?php
if ($_REQUEST['action'] != 'new' && $_REQUEST['action'] != 'edit') {
// set focus for main window
echo " \$('#search_text').focus();";
echo " \$('#search_text').select();";
示例3: js_calendar_init
?>
';
var text_decreased = '<?php
echo GL_ACCOUNT_DECREASED;
?>
';
var journalID = '<?php
echo JOURNAL_ID;
?>
';
var securityLevel = <?php
echo $security_level;
?>
;
<?php
echo js_calendar_init($cal_gl);
?>
<?php
echo $js_gl_array;
?>
function init() {
<?php
if ($_REQUEST['action'] == 'edit') {
echo ' EditJournal(' . $oID . ');' . chr(10);
}
?>
document.getElementById("purchase_invoice_id").focus();
}
示例4: js_calendar_init
// +-----------------------------------------------------------------+
// | 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/zencart/pages/main/js_include.php
//
?>
<script type="text/javascript">
<!--
// pass some php variables
<?php
echo js_calendar_init($cal_zc);
?>
// required function called with every page load
function init() {
}
function check_form() {
return true;
}
// -->
</script>
示例5: js_calendar_init
// | |
// | 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/shipping/pages/popup_tracking/js_include.php
//
?>
<script type="text/javascript">
<!--
// pass any php variables generated during pre-process that are used in the javascript functions.
// Include translations here as well.
<?php
echo js_calendar_init($cal_ship);
echo js_calendar_init($cal_del);
?>
// list the freight options
<?php
echo $js_methods;
?>
function init() {
<?php
if ($close_popup) {
echo ' window.opener.location.reload();' . chr(10);
echo ' self.close();' . chr(10);
}
?>
buildFreightDropdown();
示例6: js_calendar_init
// | |
// | 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/shipping/shipping/label_mgr/table/js_include.php
//
?>
<script type="text/javascript">
<!--
// pass any php variables generated during pre-process that are used in the javascript functions.
// Include translations here as well.
<?php
echo js_calendar_init($cal_ship);
echo js_calendar_init($cal_exp);
?>
function init() {
<?php
if (!$error && ($_REQUEST['action'] == 'save' || $_REQUEST['action'] == 'delete')) {
echo ' window.opener.location.reload();' . chr(10);
echo ' self.close();' . chr(10);
}
?>
}
function check_form() {
return true;
}
示例7: js_calendar_init
// | 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/audit/pages/main/js_include.php
//
?>
<script type="text/javascript">
<!--
// pass any php variables generated during pre-process that are used in the javascript functions.
// Include translations here as well.
<?php
echo js_calendar_init($cal_from);
echo js_calendar_init($cal_to);
?>
function init() {
}
function check_form() {
return true;
}
// -->
</script>
示例8: array
// | 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/contacts/pages/main/template_notes.php
//
$cal_c_gen = array('name' => 'dateReference', 'form' => 'contacts', 'fieldname' => 'crm_date', 'imagename' => 'btn_c_gen', 'default' => gen_locale_date($cInfo->crm_date), 'params' => array('align' => 'left'));
?>
<script type="text/javascript">
<!--
<?php
echo js_calendar_init($cal_c_gen);
?>
</script>
<div id="tab_notes">
<fieldset>
<legend><?php
echo TEXT_NOTES;
?>
</legend>
<div style="float:right;width:50%">
<table class="ui-widget" style="border-collapse:collapse;width:100%">
<thead class="ui-widget-header">
<tr>
<th><?php
echo TEXT_SALES_REP;
示例9: js_calendar_init
// | 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/admin/js_include.php
//
?>
<script type="text/javascript">
<!--
// pass any php variables generated during pre-process that are used in the javascript functions.
// Include translations here as well.
<?php
echo js_calendar_init($cal_clean);
?>
function init() {
$(function() {
$('#admintabs').tabs();
$('#currency_table').dataTable( dataTables_i18n );
});
}
function check_form() {
return true;
}
// Insert other page specific functions here.
function loadPopUp(action, id) {
示例10: js_calendar_init
// | 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/main/js_include.php
//
?>
<script type="text/javascript">
<!--
// pass some php variables
var fetchDetails = false;
<?php
echo js_calendar_init($cal_date);
?>
// required function called with every page load
function init() {
$('#inv_image').dialog({ autoOpen:false, width:800 });
<?php
if ($_REQUEST['action'] != 'new' && $_REQUEST['action'] != 'edit' && $_REQUEST['action'] != 'build') {
// set focus for main window
echo " document.getElementById('search_text').focus();";
echo " document.getElementById('search_text').select();";
}
if (!$error && $_REQUEST['action'] == 'print') {
echo ' printWOrder(' . $id . ');';
}
if (!$error && $_REQUEST['action'] == 'new') {
示例11: js_calendar_init
// | 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/contacts/pages/popup_terms/js_include.php
//
?>
<script type="text/javascript">
<!--
// pass any php variables generated during pre-process that are used in the javascript functions.
// Include translations here as well.
<?php
echo js_calendar_init($cal_terms);
?>
function init() {
SetDisabled();
}
function check_form() {
return true;
}
// Insert other page specific functions here.
function changeOptions() {
LoadDefaults();
SetDisabled();
}
示例12: js_calendar_init
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
// | GNU General Public License for more details. |
// +-----------------------------------------------------------------+
// Path: /modules/shipping/methods/endicia/label_mgr/js_include.php
//
?>
<script type="text/javascript">
<!--
// pass any php variables generated during pre-process that are used in the javascript functions.
// Include translations here as well.
var method = '<?php
echo $shipping_module;
?>
';
<?php
echo js_calendar_init($cal_ship);
?>
function init() {
<?php
if (!$error && !$auto_print && ($_REQUEST['action'] == 'label' || $_REQUEST['action'] == 'delete')) {
echo ' window.opener.location.reload();' . chr(10);
echo ' self.close();' . chr(10);
}
if (!$auto_print) {
echo ' document.getElementById("wt_1").focus();' . chr(10);
}
?>
validateAddress();
}
示例13: array
// | |
// | 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/contacts/pages/main/template_j_general.php
//
// *********************** Display contact information ******************************
$cal_j_gen1 = array('name' => 'dateFrom', 'form' => 'contacts', 'fieldname' => 'contact_first', 'imagename' => 'btn_j_gen1', 'default' => isset($cInfo->contact_first) ? $cInfo->contact_first : '');
$cal_j_gen2 = array('name' => 'dateTo', 'form' => 'contacts', 'fieldname' => 'contact_last', 'imagename' => 'btn_j_gen2', 'default' => isset($cInfo->contact_last) ? $cInfo->contact_last : '');
?>
<script type="text/javascript">
<?php
echo js_calendar_init($cal_j_gen1);
echo js_calendar_init($cal_j_gen2);
?>
</script>
<div id="tab_general">
<fieldset>
<legend><?php
echo ACT_CATEGORY_CONTACT;
?>
</legend>
<table>
<tr>
<td align="right"><?php
echo constant('ACT_' . strtoupper($type) . '_SHORT_NAME');
?>
</td>
示例14: init
//
?>
<script type="text/javascript">
<!--
// pass any php variables generated during pre-process that are used in the javascript functions.
// Include translations here as well.
function init() {
<?php
if ($_REQUEST['action'] == 'save') {
echo ' self.close();';
}
?>
}
function check_form() {
return true;
}
// Insert other page specific functions here.
// -->
</script>
<?php
$cal_gen = array();
echo '<script language="JavaScript">' . chr(10);
for ($i = 0, $j = 1; $i < $num_items; $i++, $j++) {
$cal_gen[$j] = array('name' => 'date_' . $j, 'form' => 'popup_delivery', 'fieldname' => 'eta_date_' . $j, 'imagename' => 'btn_date_' . $j, 'default' => '', 'params' => array('align' => 'left'));
echo js_calendar_init($cal_gen[$j]);
}
echo '</script>' . chr(10);