@@ -47,7 +47,7 @@ |
||
| 47 | 47 | */ |
| 48 | 48 | public function var_page() |
| 49 | 49 | { |
| 50 | - if ( is_string($this->template)) |
|
| 50 | + if (is_string($this->template)) |
|
| 51 | 51 | { |
| 52 | 52 | $class = 'View_Template_'.$this->template; |
| 53 | 53 | if ( ! class_exists($class)) |
@@ -245,7 +245,7 @@ |
||
| 245 | 245 | */ |
| 246 | 246 | public function bind($key, & $value) |
| 247 | 247 | { |
| 248 | - $this->{$key} =& $value; |
|
| 248 | + $this->{$key} = & $value; |
|
| 249 | 249 | |
| 250 | 250 | return $this; |
| 251 | 251 | } |
@@ -125,7 +125,7 @@ discard block |
||
| 125 | 125 | // If this block is not the special <?= block return |
| 126 | 126 | if ($matches[1] !== '=') |
| 127 | 127 | { |
| 128 | - return '<?php '. $code . '?>'; |
|
| 128 | + return '<?php '.$code.'?>'; |
|
| 129 | 129 | } |
| 130 | 130 | |
| 131 | 131 | // Remove trailing ; characters |
@@ -138,7 +138,7 @@ discard block |
||
| 138 | 138 | else |
| 139 | 139 | { |
| 140 | 140 | // Remove the "turn off escape" character |
| 141 | - return '<?php echo '.substr($var, strlen($this->_raw_output_char), strlen($var)-1).'; ?>'; |
|
| 141 | + return '<?php echo '.substr($var, strlen($this->_raw_output_char), strlen($var) - 1).'; ?>'; |
|
| 142 | 142 | } |
| 143 | 143 | } |
| 144 | 144 | |
@@ -10,9 +10,9 @@ |
||
| 10 | 10 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
| 11 | 11 | <html> |
| 12 | 12 | <head> |
| 13 | - <title><?=$title;?></title> |
|
| 13 | + <title><?=$title; ?></title> |
|
| 14 | 14 | </head> |
| 15 | 15 | <body> |
| 16 | - <?=$body;?> |
|
| 16 | + <?=$body; ?> |
|
| 17 | 17 | </body> |
| 18 | 18 | </html> |