mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-02-07 12:36:25 +00:00
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:
parent
53f889f6c6
commit
5df0a571dc
1 changed files with 2 additions and 2 deletions
|
@ -89,7 +89,7 @@ if(!empty($associations['hasOne'])) :
|
||||||
$class = ' class="altrow"';
|
$class = ' class="altrow"';
|
||||||
}
|
}
|
||||||
echo "\t\t<dt{$class}><?php __('".Inflector::humanize($field)."');?></dt>\n";
|
echo "\t\t<dt{$class}><?php __('".Inflector::humanize($field)."');?></dt>\n";
|
||||||
echo "\t\t<dd{$class}>\n\t<?php echo \${$singularVar}['{$alias}']['{$field}']; ?>\n </dd>\n";
|
echo "\t\t<dd{$class}>\n\t<?php echo \${$singularVar}['{$alias}']['{$field}'];?>\n </dd>\n";
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</dl>
|
</dl>
|
||||||
|
@ -122,7 +122,7 @@ foreach ($relations as $alias => $details):
|
||||||
<tr>
|
<tr>
|
||||||
<?php
|
<?php
|
||||||
foreach ($details['fields'] as $field) {
|
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>
|
<th class="actions"><?php echo "<?php __('Actions');?>";?></th>
|
||||||
|
|
Loading…
Add table
Reference in a new issue