• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP js_calendar_init函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了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;
开发者ID:siwiwit,项目名称:PhreeBooksERP,代码行数:31,代码来源:js_include.php


示例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();";
开发者ID:siwiwit,项目名称:PhreeBooksERP,代码行数:31,代码来源:js_include.php


示例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();
}
开发者ID:siwiwit,项目名称:PhreeBooksERP,代码行数:30,代码来源:js_include.php


示例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>
开发者ID:siwiwit,项目名称:PhreeBooksERP,代码行数:31,代码来源:js_include.php


示例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();
开发者ID:siwiwit,项目名称:PhreeBooksERP,代码行数:31,代码来源:js_include.php


示例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;
}
开发者ID:siwiwit,项目名称:PhreeBooksERP,代码行数:30,代码来源:js_include.php


示例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>
开发者ID:TrinityComputers,项目名称:PhreeBooksERP,代码行数:31,代码来源:js_include.php


示例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;
开发者ID:siwiwit,项目名称:PhreeBooksERP,代码行数:31,代码来源:template_notes.php


示例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) {
开发者ID:siwiwit,项目名称:PhreeBooksERP,代码行数:31,代码来源:js_include.php


示例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') {
开发者ID:TrinityComputers,项目名称:PhreeBooksERP,代码行数:31,代码来源:js_include.php


示例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();
}
开发者ID:siwiwit,项目名称:PhreeBooksERP,代码行数:31,代码来源:js_include.php


示例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();
}
开发者ID:siwiwit,项目名称:PhreeBooksERP,代码行数:30,代码来源:js_include.php


示例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>
开发者ID:siwiwit,项目名称:PhreeBooksERP,代码行数:31,代码来源:template_j_general.php


示例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);
开发者ID:siwiwit,项目名称:PhreeBooksERP,代码行数:31,代码来源:js_include.php



注:本文中的js_calendar_init函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP js_checkbox_change_style函数代码示例发布时间:2022-05-15
下一篇:
PHP js_bp_plugins函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap