Zend Framework

Zend_Layout doc mistake

Details

  • Type: Docs:  Problem Docs: Problem
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.5.0
  • Fix Version/s: 1.5.1
  • Component/s: Zend_Layout
  • Labels:
    None
  • Language:
    English

Description

In the second example in http://framework.zend.com/manual/en/zend.layout.quickstart.html#zend.layout.quickstart.layouts

There is a <title><?= $this->headTitle() ?></title> and it creates double <title>.

Here is a diff:

Index: I:/xampp/php/PEAR/Zend15/documentation/manual/en/module_specs/Zend_Layout-QuickStart.xml
===================================================================
--- I:/xampp/php/PEAR/Zend15/documentation/manual/en/module_specs/Zend_Layout-QuickStart.xml	(revision 8831)
+++ I:/xampp/php/PEAR/Zend15/documentation/manual/en/module_specs/Zend_Layout-QuickStart.xml	(working copy)
@@ -66,7 +66,7 @@
 <html>
 <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-    <title><?= $this->headTitle() ?></title>
+    <?= $this->headTitle() ?>
     <?= $this->headScript() ?>
     <?= $this->headStyle() ?>
 </head>

Activity

Hide
Thomas Weidner added a comment -

Fixed with SVN-8842

Show
Thomas Weidner added a comment - Fixed with SVN-8842
Hide
Wil Sinclair added a comment -

I'm assuming this fix is merged to the 1.5 release branch for release with 1.5.1. Please update JIRA if this is not the case.

Show
Wil Sinclair added a comment - I'm assuming this fix is merged to the 1.5 release branch for release with 1.5.1. Please update JIRA if this is not the case.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: