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

PHP include_stylesheets函数代码示例

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

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



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

示例1: include_optimized_stylesheets

/**
 * Includes optimized stylesheet files
 *
 */
function include_optimized_stylesheets()
{
    $context = sfContext::getInstance();
    if ($context->has('assets_optimizer')) {
        $context->get('assets_optimizer')->replaceStylesheets($context->getResponse());
    }
    include_stylesheets();
}
开发者ID:n1k0,项目名称:npAssetsOptimizerPlugin,代码行数:12,代码来源:npOptimizerHelper.php


示例2: include_http_metas

<!DOCTYPE html>
<html lang="en">
    <head>
        <?php 
include_http_metas();
?>
        <?php 
include_metas();
?>
        <?php 
include_title();
?>
        <link rel="shortcut icon" href="/favicon.ico" />
        <?php 
include_stylesheets();
?>
        <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
        <!--[if lt IE 9]>
          <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
        <![endif]-->
        <?php 
include_javascripts();
?>
    </head>
    <body>

        <div class="navbar navbar-fixed-top">
            <div class="navbar-inner">
                <div class="container-fluid">
                    <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                        <span class="icon-bar"></span>
开发者ID:TheoJD,项目名称:portail,代码行数:31,代码来源:layout.php


示例3: include_stylesheets

    </title>
    
    <link href="/bootstrap/2.1.0/css/bootstrap.min.css" rel="stylesheet">
    <!-- link href="/css/bootstrap.custom.css" rel="stylesheet" -->
    <link href="/css/font-awesome.css" rel="stylesheet">    
    <link href="/css/bootstrap-subnav.css" rel="stylesheet">    
    <link href="/css/july.css" rel="stylesheet">    
    <style>
      body {
        padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
      }
    </style>
    <!-- link href="/css/bootstrap-responsive.css" rel="stylesheet" -->
    
    
    <?php include_stylesheets() ?>

    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

    <!-- Le fav and touch icons -->
    <link rel="shortcut icon" href="/ico/favicon.ico">
    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="/ico/apple-touch-icon-144-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/ico/apple-touch-icon-114-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/ico/apple-touch-icon-72-precomposed.png">
    <link rel="apple-touch-icon-precomposed" href="/ico/apple-touch-icon-57-precomposed.png">

    <script src="/js/jquery.min.js"></script>
开发者ID:romankallweit,项目名称:swingmachine,代码行数:30,代码来源:__bootstrap_2_10.php


示例4: isset

<html>
<head>
	<title><?php 
isset($title) ? print $title : (print "Reeze");
?>
</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	
	<?php 
include_javascripts('default', 'jquery');
?>
	<?php 
include_stylesheets('rt');
?>
</head>
<body>
	<div id="wrapper">
		<div id="main">
			<div id="header">
				<h1>Reeze | 关注于 Web PHP Erlang Mac & 一些闲言杂语</h1>
				<?php 
include_partial('layout/navor');
?>
			</div>
			<?php 
if ($rt_flash->has('notice')) {
    echo "<div id='notice'>" . $rt_flash->get('notice') . "</div>";
}
?>
	
			<div id="main-content" class="clearfix">
开发者ID:reeze,项目名称:rblog,代码行数:31,代码来源:layout.php


示例5: isset

<html>
<head>
	<title><?php 
isset($title) ? print $title : (print "Page");
?>
 - MF</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	
	<?php 
include_javascripts('default', 'jquery');
?>
	<?php 
include_stylesheets('mf');
?>
</head>
<body>
	<div id="wrapper">
		<div id="main">
			<div id="header">
				<h1>MF: My PHP Framework</h1>
				<?php 
include_partial('layout/navor');
?>
			</div>
			<?php 
if ($mf_flash->has('notice')) {
    echo "<div id='notice'>" . $mf_flash->get('notice') . "</div>";
}
?>
	
			<div id="main-content" class="clearfix">
开发者ID:reeze,项目名称:mf-php,代码行数:31,代码来源:application.php



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

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