| 1 |
<?php |
<?php |
| 2 |
// $Id: smarty.engine,v 1.10 2005/12/31 09:24:02 tclineks Exp $ |
// $Id: smarty.engine,v 1.11 2005/12/31 09:38:51 tclineks Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 69 |
$variables = array_merge($variables, _smarty_variables($hook, $variables)); |
$variables = array_merge($variables, _smarty_variables($hook, $variables)); |
| 70 |
} |
} |
| 71 |
|
|
| 72 |
if ($variables['template_file']) { |
if (isset($variables['template_file'])) { |
| 73 |
$file = $variables['template_file']; |
$file = $variables['template_file']; |
| 74 |
} |
} |
| 75 |
|
|
| 254 |
); |
); |
| 255 |
|
|
| 256 |
// Flatten the node object's member fields. |
// Flatten the node object's member fields. |
| 257 |
$variables = array_merge(object2array($node), $variables); |
$variables = array_merge((array) $node, $variables); |
| 258 |
|
|
| 259 |
// Display info only on certain node types. |
// Display info only on certain node types. |
| 260 |
if (theme_get_setting('toggle_node_info_' . $node->type)) { |
if (theme_get_setting('toggle_node_info_' . $node->type)) { |