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

PHP html_javascript_link函数代码示例

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

本文整理汇总了PHP中html_javascript_link函数的典型用法代码示例。如果您正苦于以下问题:PHP html_javascript_link函数的具体用法?PHP html_javascript_link怎么用?PHP html_javascript_link使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



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

示例1: gpc_get_int

#   0 = no checks done
#   1 = server ok, get database information
#   2 = check the database information
#   3 = install the database
#   4 = get additional config file information
#   5 = write the config file
#	6 = post install checks
#	7 = done, link to login or db updater
$t_install_state = gpc_get_int('install', 0);
html_begin();
html_head_begin();
html_css_link('admin.css');
html_content_type();
html_title('Administration - Installation');
html_javascript_link('jquery-1.9.1.min.js');
html_javascript_link('install.js');
html_head_end();
?>

<body>
<table width="100%" cellspacing="0" cellpadding="0" bgcolor="#ffffff">
	<tr class="top-bar">
		<td class="links">
			[ <a href="index.php">Back to Administration</a> ]
		</td>
		<td class="title">
		<?php 
switch ($t_install_state) {
    case 6:
        echo 'Post Installation Checks';
        break;
开发者ID:derrickweaver,项目名称:mantisbt,代码行数:31,代码来源:install.php


示例2: html_head_javascript

/**
 * (6a) Javascript...
 * @return null
 */
function html_head_javascript()
{
    if (config_get('use_javascript')) {
        global $g_scripts_included;
        echo "\t<script type=\"text/javascript\" src=\"" . helper_mantis_url('javascript_config.php') . '"></script>' . "\n";
        echo "\t<script type=\"text/javascript\" src=\"" . helper_mantis_url('javascript_translations.php') . '"></script>' . "\n";
        html_javascript_link('jquery-1.7.2.min.js');
        html_javascript_link('jquery-ui-1.8.20.custom.min.js');
        html_javascript_link('common.js');
        foreach ($g_scripts_included as $t_script_path) {
            html_javascript_link($t_script_path);
        }
    }
}
开发者ID:nextgens,项目名称:mantisbt,代码行数:18,代码来源:html_api.php


示例3: date_print_calendar

/**
 * prints calendar icon and adds required javascript and css files if they
 * haven't already been imported.
 * button_name is name of button that will display calendar icon
 * in caste there are more than one calendar on page
 * @param string $p_button_name
 * @return null
 * @todo (thraxisp) this may want a browser check  ( MS IE >= 5.0, Mozilla >= 1.0, Safari >=1.2, ...)
 * @access public
 */
function date_print_calendar($p_button_name = 'trigger')
{
    global $g_calendar_already_imported;
    if (ON == config_get('dhtml_filters') && ON == config_get('use_javascript')) {
        if (!$g_calendar_already_imported) {
            echo "<style type=\"text/css\">@import url(" . config_get('short_path') . "css/calendar-blue.css);</style>\n";
            html_javascript_link('jscalendar/calendar.js');
            html_javascript_link('jscalendar/lang/calendar-en.js');
            html_javascript_link('jscalendar/calendar-setup.js');
            $g_calendar_already_imported = true;
        }
        $t_icon_path = config_get('icon_path');
        $t_cal_icon = $t_icon_path . "calendar-img.gif";
        echo "<input type=\"image\" class=\"button\" id=\"" . $p_button_name . "\" src=\"" . $t_cal_icon . "\" />";
    }
}
开发者ID:nourchene-benslimane,项目名称:mantisV0,代码行数:26,代码来源:date_api.php


示例4: lang_get

}
/** @todo (thraxisp) this may want a browser check  ( MS IE >= 5.0, Mozilla >= 1.0, Safari >=1.2, ...) */
if (ON == config_get('dhtml_filters') && ON == config_get('use_javascript')) {
    ?>
		<script type="text/javascript" language="JavaScript">
		<!--
			var string_loading = '<?php 
    echo lang_get('loading');
    ?>
';
		// -->
		</script>
		<?php 
    html_javascript_link('xmlhttprequest.js');
    html_javascript_link('addLoadEvent.js');
    html_javascript_link('dynamic_filters.js');
}
?>
<br />
<form name="bug_action" method="get" action="bug_actiongroup_page.php">
<?php 
# CSRF protection not required here - form does not result in modifications
?>
<table id="buglist" class="width100" cellspacing="1">
<tr>
	<td class="form-title" colspan="<?php 
echo $col_count;
?>
">
		<span class="floatleft">
		<?php 
开发者ID:nourchene-benslimane,项目名称:mantisV0,代码行数:31,代码来源:view_all_inc.php


示例5: html_head_javascript

/**
 * (6a) Javascript...
 * @return null
 */
function html_head_javascript()
{
    if (ON == config_get('use_javascript')) {
        html_javascript_link('common.js');
        echo '<script type="text/javascript">var loading_lang = "' . lang_get('loading') . '";</script>';
        html_javascript_link('ajax.js');
        global $g_enable_projax;
        if ($g_enable_projax) {
            html_javascript_link('projax/prototype.js');
            html_javascript_link('projax/scriptaculous.js');
        }
    }
}
开发者ID:Tarendai,项目名称:spring-website,代码行数:17,代码来源:html_api.php


示例6: lang_get

	<td>
		<?php 
            if (config_get('time_tracking_stopwatch') && config_get('use_javascript')) {
                ?>
		<script language="javascript">
			var time_tracking_stopwatch_lang_start = "<?php 
                echo lang_get('time_tracking_stopwatch_start');
                ?>
";
			var time_tracking_stopwatch_lang_stop = "<?php 
                echo lang_get('time_tracking_stopwatch_stop');
                ?>
";
		</script>
		<?php 
                html_javascript_link('time_tracking_stopwatch.js');
                ?>
		<input type="text" name="time_tracking" size="5" value="00:00" />
		<input type="button" name="time_tracking_ssbutton" value="<?php 
                echo lang_get('time_tracking_stopwatch_start');
                ?>
" onclick="time_tracking_swstartstop()" />
		<input type="button" name="time_tracking_reset" value="<?php 
                echo lang_get('time_tracking_stopwatch_reset');
                ?>
" onclick="time_tracking_swreset()" />
		<?php 
            } else {
                ?>
		<input type="text" name="time_tracking" size="5" value="00:00" />
		<?php 
开发者ID:nourchene-benslimane,项目名称:mantisV0,代码行数:31,代码来源:bugnote_add_inc.php


示例7: html_head_javascript

/**
 * (6a) Javascript...
 * @return void
 */
function html_head_javascript()
{
    global $g_scripts_included;
    echo "\t" . '<script type="text/javascript" src="' . helper_mantis_url('javascript_config.php') . '"></script>' . "\n";
    echo "\t" . '<script type="text/javascript" src="' . helper_mantis_url('javascript_translations.php') . '"></script>' . "\n";
    html_javascript_link('jquery-1.11.3.min.js');
    html_javascript_link('jquery-ui-1.11.4.min.js');
    html_javascript_link('common.js');
    foreach ($g_scripts_included as $t_script_path) {
        html_javascript_link($t_script_path);
    }
}
开发者ID:vipjaven,项目名称:mantisbt,代码行数:16,代码来源:html_api.php


示例8: access_ensure_project_level

access_ensure_project_level(config_get('view_summary_threshold'));
$f_interval = gpc_get_int('interval', 0);
$t_today = date('Y-m-d');
$f_type = gpc_get_int('graph_type', 0);
$f_show_as_table = gpc_get_bool('show_table', FALSE);
html_page_top1(plugin_lang_get('graph_page'));
$t_path = config_get('path');
// follows the convention in html_api::html_javascript_link
if (config_get_global('minimal_jscss')) {
    echo '<link rel="stylesheet" type="text/css" href="', helper_mantis_url('javascript/min/jscalendar/calendar-blue.css'), '">' . "\n";
} else {
    echo '<link rel="stylesheet" type="text/css" href="', helper_mantis_url('javascript/dev/jscalendar/calendar-blue.css'), '">' . "\n";
}
html_javascript_link('jscalendar/calendar.js');
html_javascript_link('jscalendar/lang/calendar-en.js');
html_javascript_link('jscalendar/calendar-setup.js');
html_page_top2();
$t_period = new Period();
$t_period->set_period_from_selector('interval');
$t_types = array(0 => plugin_lang_get('select'), 2 => plugin_lang_get('select_bystatus'), 3 => plugin_lang_get('select_summbystatus'), 4 => plugin_lang_get('select_bycat'), 6 => plugin_lang_get('select_both'));
$t_show = array(0 => plugin_lang_get('show_as_graph'), 1 => plugin_lang_get('show_as_table'));
?>
	<form name="graph_form" method="post" action="<?php 
echo plugin_page('bug_graph_page.php');
?>
">
	<table class="width100" cellspacing="1">

	<tr>
		<td>
			<?php 
开发者ID:Tarendai,项目名称:spring-website,代码行数:31,代码来源:bug_graph_page.php


示例9: html_head_javascript

/**
 * (6a) Javascript...
 * @return void
 */
function html_head_javascript()
{
    global $g_scripts_included;
    echo "\t" . '<script type="text/javascript" src="' . helper_mantis_url('javascript_config.php') . '"></script>' . "\n";
    echo "\t" . '<script type="text/javascript" src="' . helper_mantis_url('javascript_translations.php') . '"></script>' . "\n";
    if (config_get_global('cdn_enabled') == ON) {
        echo "\t" . '<script src="https://ajax.googleapis.com/ajax/libs/jquery/' . JQUERY_VERSION . '/jquery.min.js"></script>' . "\n";
        echo "\t" . '<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/' . JQUERY_UI_VERSION . '/jquery-ui.min.js"></script>' . "\n";
    } else {
        html_javascript_link('jquery-' . JQUERY_VERSION . '.min.js');
        html_javascript_link('jquery-ui-' . JQUERY_UI_VERSION . '.min.js');
    }
    html_javascript_link('common.js');
    foreach ($g_scripts_included as $t_script_path) {
        html_javascript_link($t_script_path);
    }
}
开发者ID:AsBilou,项目名称:mantisbt,代码行数:21,代码来源:html_api.php


示例10: plugin_lang_get

        ToDoList.$set('lang', {
            enterNewDescription: "<?php 
echo plugin_lang_get('enter_new_description');
?>
",
            confirmDeletion: "<?php 
echo plugin_lang_get('confirm_deletion');
?>
"
        });
        </script>
        <?php 
if ($tasks) {
    ?>
        <?php 
    html_javascript_link('addLoadEvent.js');
    ?>
        <script type="text/javascript">
        addLoadEvent(function() {
            this.ToDoList.$set("tasks", <?php 
    echo json_encode($tasks);
    ?>
);
        });
        </script>
        <?php 
}
?>
    </td>
</tr>
开发者ID:andrzejkupczyk,项目名称:mantisbt-todolists,代码行数:30,代码来源:todolist.php



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
上一篇:
PHP html_link函数代码示例发布时间:2022-05-15
下一篇:
PHP html_is_blank函数代码示例发布时间: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