diff --git a/lib/Cake/View/Scaffolds/view.ctp b/lib/Cake/View/Scaffolds/view.ctp index 2c68928eb..22d83a8c4 100644 --- a/lib/Cake/View/Scaffolds/view.ctp +++ b/lib/Cake/View/Scaffolds/view.ctp @@ -1,199 +1,199 @@ - -
-

-
- $_details) { - if ($_field === $_details['foreignKey']) { - $isKey = true; - echo "\t\t
" . Inflector::humanize($_alias) . "
\n"; - echo "\t\t
\n\t\t\t"; - echo $this->Html->link( - ${$singularVar}[$_alias][$_details['displayField']], - array('plugin' => $_details['plugin'], 'controller' => $_details['controller'], 'action' => 'view', ${$singularVar}[$_alias][$_details['primaryKey']]) - ); - echo "\n\t\t 
\n"; - break; - } - } - } - if ($isKey !== true) { - echo "\t\t
" . Inflector::humanize($_field) . "
\n"; - echo "\t\t
" . h(${$singularVar}[$modelClass][$_field]) . " 
\n"; - } -} -?> -
-
-
-

- -
- $_details): ?> - - $_details): -$otherSingularVar = Inflector::variable($_alias); -?> - - + +
+

+
+ $_details) { + if ($_field === $_details['foreignKey']) { + $isKey = true; + echo "\t\t
" . Inflector::humanize($_alias) . "
\n"; + echo "\t\t
\n\t\t\t"; + echo $this->Html->link( + ${$singularVar}[$_alias][$_details['displayField']], + array('plugin' => $_details['plugin'], 'controller' => $_details['controller'], 'action' => 'view', ${$singularVar}[$_alias][$_details['primaryKey']]) + ); + echo "\n\t\t 
\n"; + break; + } + } + } + if ($isKey !== true) { + echo "\t\t
" . Inflector::humanize($_field) . "
\n"; + echo "\t\t
" . h(${$singularVar}[$modelClass][$_field]) . " 
\n"; + } +} +?> +
+
+
+

+ +
+ $_details): ?> + + $_details): +$otherSingularVar = Inflector::variable($_alias); +?> + +