-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
! BC Break: {include} and {extends} now support the include path prop…
…erly, which means that if you include "foo/bar.html" from _any_ template and you have an include path set on your template object, it will look in all those paths for foo/bar.html. If you use relative paths, for example if you include "../foo/bar.html" AND have an include path set, you will now have a problem, because you can't mix both approaches, otherwise you should be fine, so to fix this you should convert your relative includes/extends * Dwoo->get() is now stricter as to what it accepts as a "template", only Dwoo_ITemplate objects or valid filenames are accepted * Foreach and other similar plugins that support "else" now only count() their input before processing when an else block follows git-svn-id: svn://dwoo.org/dwoo/trunk@163 0598d79b-80c4-4d41-97ba-ac86fbbd088b
- Loading branch information
Seldaek
authored and
Seldaek
committed
Aug 31, 2008
1 parent
2b4ad8a
commit 848d2a8
Showing
26 changed files
with
363 additions
and
292 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?php | ||
|
||
/** | ||
* interface that represents a block plugin that supports the else functionality | ||
* | ||
* the else block will enter an "hasElse" parameter inside the parameters array | ||
* of the closest parent implementing this interface, the hasElse parameter contains | ||
* the else output that should be appended to the block's content (see foreach or other | ||
* block for examples) | ||
* | ||
* This software is provided 'as-is', without any express or implied warranty. | ||
* In no event will the authors be held liable for any damages arising from the use of this software. | ||
* | ||
* This file is released under the LGPL | ||
* "GNU Lesser General Public License" | ||
* More information can be found here: | ||
* {@link http://www.gnu.org/copyleft/lesser.html} | ||
* | ||
* @author Jordi Boggiano <j.boggiano@seld.be> | ||
* @copyright Copyright (c) 2008, Jordi Boggiano | ||
* @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License | ||
* @link http://dwoo.org/ | ||
* @version 0.9.1 | ||
* @date 2008-05-30 | ||
* @package Dwoo | ||
*/ | ||
interface Dwoo_IElseable | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.