updating baked view.ctp, fixes #3512

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5936 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
gwoo 2007-11-02 06:26:39 +00:00
parent 53f889f6c6
commit 5df0a571dc

View file

@ -89,7 +89,7 @@ if(!empty($associations['hasOne'])) :
$class = ' class="altrow"';
}
echo "\t\t<dt{$class}><?php __('".Inflector::humanize($field)."');?></dt>\n";
echo "\t\t<dd{$class}>\n\t<?php echo \${$singularVar}['{$alias}']['{$field}']; ?>\n&nbsp;</dd>\n";
echo "\t\t<dd{$class}>\n\t<?php echo \${$singularVar}['{$alias}']['{$field}'];?>\n&nbsp;</dd>\n";
}
?>
</dl>
@ -122,7 +122,7 @@ foreach ($relations as $alias => $details):
<tr>
<?php
foreach ($details['fields'] as $field) {
echo "\t\t<th>__('".Inflector::humanize($field)."');</th>\n";
echo "\t\t<th><?php __('".Inflector::humanize($field)."'); ?></th>\n";
}
?>
<th class="actions"><?php echo "<?php __('Actions');?>";?></th>