コード例 #1
0
/**
 * 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();
}
コード例 #2
0
ファイル: layout.php プロジェクト: TheoJD/portail
<!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>
コード例 #3
0
    </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>
コード例 #4
0
ファイル: layout.php プロジェクト: reeze/rblog
<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">
コード例 #5
0
ファイル: application.php プロジェクト: reeze/mf-php
<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">