From 93832361149277a4a3deae681ccbdc0aa935a147 Mon Sep 17 00:00:00 2001 From: Werner Pieterson Date: Sun, 23 Jun 2013 19:49:17 +0200 Subject: [PATCH] Formatted code Formatted code to conform to style guide --- lib/Cake/View/Scaffolds/view.ctp | 398 +++++++++++++++---------------- 1 file changed, 199 insertions(+), 199 deletions(-) diff --git a/lib/Cake/View/Scaffolds/view.ctp b/lib/Cake/View/Scaffolds/view.ctp index 22d83a8c4..74b9726f0 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); +?> + +