/** * Includes optimized javascript files * */ function include_optimized_javascripts() { $context = sfContext::getInstance(); if ($context->has('assets_optimizer')) { $context->get('assets_optimizer')->replaceJavascripts($context->getResponse()); } include_javascripts(); }
<?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> <span class="icon-bar"></span> <span class="icon-bar"></span> </a> <span class="brand">BDE Admin</span> <div class="btn-group pull-right"> <?php
<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> <script src="/bootstrap/2.1.0/js/bootstrap.min.js"></script> <script src="/js/bootstrap-datepicker.js"></script> <?php include_javascripts() ?> </head> <body> <div class="navbar navbar-fixed-top navbar-inverse"> <?php include_component('sfAdminDash','header'); ?> </div> <!-- /navbar --> <div class="container"> <div class="hidden-desktop"> <?php include_slot('breadcrump') ?> </div>
<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">
<?php include_javascripts('test'); ?> <ul> <li><a href="#upload">Upload</a></li> <li><a href="#browse">Browse</a></li> <li><a href="#crop">Crop</a></li> </ul> <div class="tab upload"> <form method="post" enctype="multipart/form-data"> <?php echo $uploadForm; ?> <input type="submit" /> </form> </div> <div class="tab browse"> </div> <div class="tab crop"> <div class="img-container"> <img src="/frontend_dev.php/image/test.jpg" alt="Picture"> </div> <div class="docs-preview clearfix"> <div class="img-preview preview-lg"></div> <div class="img-preview preview-md"></div> <div class="img-preview preview-sm"></div>