- Fixed little issue with function name
[haanga.git] / tests / tmp / assert_templates_inheritence_nested_block_duplicated.tpl.php
blobb945905b56cd116bab791fae8da8fe19ee0ce0a1
1 <?php
2 /* Generated from /home/crodas/projects/playground/haanga/tests/assert_templates/inheritence_nested_block_duplicated.tpl */
3 function haanga_41332bba378ec4202564b8a41c93af48567b2781($vars, $return=FALSE, $blocks=array())
5 extract($vars);
6 if ($return == TRUE) {
7 ob_start();
9 $buffer1 = "\n{{block.1b3231655cebb7a1f783eddf27d254ca}}\nnew stuff\n";
10 $buffer2 = "\nnew inner2\n";
11 $blocks["inner2"] = (isset($blocks["inner2"]) ? (strpos($blocks["inner2"], "{{block.1b3231655cebb7a1f783eddf27d254ca}}") === FALSE ? $blocks["inner2"] : str_replace("{{block.1b3231655cebb7a1f783eddf27d254ca}}", $buffer2, $blocks["inner2"])) : $buffer2);
12 $buffer1 .= $blocks["inner2"]."\n";
13 $blocks["outer"] = (isset($blocks["outer"]) ? (strpos($blocks["outer"], "{{block.1b3231655cebb7a1f783eddf27d254ca}}") === FALSE ? $blocks["outer"] : str_replace("{{block.1b3231655cebb7a1f783eddf27d254ca}}", $buffer1, $blocks["outer"])) : $buffer1);
14 echo Haanga::Load("assert_templates/nested_block.tpl", $vars, TRUE, $blocks);
15 if ($return == TRUE) {
16 return ob_get_clean();