浏览代码

verify Trying to fix php-symfony2's fortunes test

Mike Smith 11 年之前
父节点
当前提交
d6355a6e14

+ 0 - 1
php-symfony2/app/Resources/views/base.html.php

@@ -1,7 +1,6 @@
 <!DOCTYPE html>
 <html>
     <head>
-        <meta charset="UTF-8" />
         <title><?php $view['slots']->output('title') ?></title>
         <?php $view['slots']->output('stylesheets') ?>
     </head>

+ 0 - 1
php-symfony2/app/Resources/views/base.html.twig

@@ -1,7 +1,6 @@
 <!DOCTYPE html>
 <html>
     <head>
-        <meta charset="UTF-8" />
         <title>{% block title %}Welcome!{% endblock %}</title>
         {% block stylesheets %}{% endblock %}
     </head>

+ 0 - 2
php-symfony2/src/Skamander/BenchmarkBundle/Resources/views/Bench/raw/content.php

@@ -1,7 +1,5 @@
 <?php include 'template_header.php'; ?>
 
-<div class="block">
     <?php include 'fortunes.php'; ?>
-</div>
 
 <?php include 'template_footer.php'; ?>

+ 1 - 3
php-symfony2/src/Skamander/BenchmarkBundle/Resources/views/layout.html.php

@@ -1,9 +1,7 @@
 <?php $view->extend('::base.html.php') ?>
 
-<?php $view['slots']->set('title', 'Benchmark Bundle') ?>
+<?php $view['slots']->set('title', 'Fortunes') ?>
 
 <?php $view['slots']->start('body') ?>
-    <div class="block">
         <?php $view['slots']->output('content') ?>
-    </div>
 <?php $view['slots']->stop() ?>

+ 1 - 3
php-symfony2/src/Skamander/BenchmarkBundle/Resources/views/layout.html.twig

@@ -1,9 +1,7 @@
 {% extends '::base.html.twig' %}
 
-{% block title 'Benchmark Bundle' %}
+{% block title 'Fortunes' %}
 
 {% block body %}
-    <div class="block">
         {% block content %}{% endblock %}
-    </div>
 {% endblock %}