当前位置: 首页>>代码示例>>PHP>>正文


PHP BYT_Theme_Utils::dateformat_PHP_to_jQueryUI方法代码示例

本文整理汇总了PHP中BYT_Theme_Utils::dateformat_PHP_to_jQueryUI方法的典型用法代码示例。如果您正苦于以下问题:PHP BYT_Theme_Utils::dateformat_PHP_to_jQueryUI方法的具体用法?PHP BYT_Theme_Utils::dateformat_PHP_to_jQueryUI怎么用?PHP BYT_Theme_Utils::dateformat_PHP_to_jQueryUI使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在BYT_Theme_Utils的用法示例。


在下文中一共展示了BYT_Theme_Utils::dateformat_PHP_to_jQueryUI方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: cruise_schedule_admin_styles

    function cruise_schedule_admin_styles()
    {
        if (isset($_POST['start_date'])) {
            $start_date = wp_kses($_POST['start_date'], '');
        }
        echo '<style type="text/css">';
        echo '	.wp-list-table .column-Id { width: 100px; }';
        echo '	.wp-list-table .column-CruiseName { width: 250px; }';
        echo '	.wp-list-table .column-CabinType { width: 200px; }';
        echo '	.wp-list-table .column-CruiseType { width: 150px; }';
        echo '	.wp-list-table .column-StartDate { width: 150px; }';
        echo '	.wp-list-table .column-EndDate { width: 150px; }';
        echo '	.wp-list-table .column-DurationDays { width: 100px; }';
        echo '	.wp-list-table .column-Action { width: 150px; }';
        echo '  table.calendar { width:60%; }
				table.calendar th { text-align:center; }
				table.calendar td { border:none;text-align:center;height:30px;line-height:30px;vertical-align:middle; }
				table.calendar td.sel a { color:#fff;padding:10px;background:#b1b1b1; }
				table.calendar td.cur a { color:#fff;padding:10px;background:#ededed; }';
        echo "</style>";
        echo '<script>';
        echo 'window.adminAjaxUrl = "' . admin_url('admin-ajax.php') . '";';
        echo 'window.datepickerDateFormat = "' . BYT_Theme_Utils::dateformat_PHP_to_jQueryUI(get_option('date_format')) . '";';
        echo 'window.datepickerAltFormat = "' . BOOKYOURTRAVEL_ALT_DATE_FORMAT . '";';
        echo '</script>';
    }
开发者ID:JDjimenezdelgado,项目名称:old-mmexperience,代码行数:26,代码来源:theme_cruise_schedule_admin.php

示例2: bookings_admin_styles

 function bookings_admin_styles()
 {
     echo '<style type="text/css">';
     echo '.wp-list-table .column-Id { width: 100px; }';
     echo '.wp-list-table .column-TourName { width: 250px; }';
     echo '.wp-list-table .column-TourDate { width: 150px; }';
     echo '.wp-list-table .column-People { width: 100px; }';
     echo '.wp-list-table .column-UserId { width: 50px; }';
     echo '</style>';
     echo '<script>';
     echo 'window.adminAjaxUrl = "' . admin_url('admin-ajax.php') . '";';
     echo 'window.datepickerDateFormat = "' . BYT_Theme_Utils::dateformat_PHP_to_jQueryUI(get_option('date_format')) . '";';
     echo 'window.datepickerAltFormat = "' . BOOKYOURTRAVEL_ALT_DATE_FORMAT . '";';
     echo '</script>';
 }
开发者ID:alikris,项目名称:OTA,代码行数:15,代码来源:theme_tour_schedule_booking_admin.php

示例3: wp_title

	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<title><?php 
wp_title();
?>
</title>
	<link rel="shortcut icon" href="<?php 
echo esc_url(BYT_Theme_Utils::get_file_uri('/images/favicon.ico'));
?>
" />	
	<link rel="pingback" href="<?php 
echo esc_url(get_bloginfo('pingback_url'));
?>
" />
	<script type="text/javascript">
		window.datepickerDateFormat = "<?php 
echo BYT_Theme_Utils::dateformat_PHP_to_jQueryUI(get_option('date_format'));
?>
";
		window.datepickerAltFormat = "<?php 
echo BOOKYOURTRAVEL_ALT_DATE_FORMAT;
?>
";
		window.themePath = '<?php 
echo esc_js(get_template_directory_uri());
?>
';
		window.siteUrl = '<?php 
echo esc_js($byt_theme_globals->get_site_url());
?>
';
		window.wooCartPageUri = '<?php 
开发者ID:alikris,项目名称:OTA,代码行数:31,代码来源:header.php

示例4: vacancies_admin_styles

    function vacancies_admin_styles()
    {
        echo '<style type="text/css">';
        echo '	.wp-list-table .column-Id { width: 100px; }';
        echo '	.wp-list-table .column-AccommodationName { width: 250px; }';
        echo '	.wp-list-table .column-RoomType { width: 150px; }';
        echo '	.wp-list-table .column-StartDate { width: 150px; }';
        echo '	.wp-list-table .column-EndDate { width: 150px; }';
        echo '	.wp-list-table .column-Rooms { width: 150px; }';
        echo '  table.calendar { width:60%; }
				table.calendar th { text-align:center; }
				table.calendar td { border:none;text-align:center;height:30px;line-height:30px;vertical-align:middle; }
				table.calendar td.sel a { color:#fff;padding:10px;background:#b1b1b1; }
				table.calendar td.cur a { color:#fff;padding:10px;background:#ededed; }';
        echo "</style>";
        echo '<script>';
        echo 'window.adminAjaxUrl = "' . admin_url('admin-ajax.php') . '";';
        echo 'window.datepickerDateFormat = "' . BYT_Theme_Utils::dateformat_PHP_to_jQueryUI(get_option('date_format')) . '";';
        echo 'window.datepickerAltFormat = "' . BOOKYOURTRAVEL_ALT_DATE_FORMAT . '";';
        echo '</script>';
    }
开发者ID:alikris,项目名称:OTA,代码行数:21,代码来源:theme_accommodation_vacancy_admin.php


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