Adding ; after endifs (ticket #1195)

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3278 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
dho 2006-07-22 06:09:11 +00:00
parent 6b62ff231a
commit 67d75ba18b

View file

@ -697,7 +697,7 @@ class Bake {
$viewView .= "\t\t<dd><?php echo \$value ?></dd>\n";
$viewView .= "\t<?php endforeach; ?>\n";
$viewView .= "\t<ul><li><?php echo \$html->link('New " . $inflect->humanize($association) . "', '/" .$inflect->underscore($controller)."/add/' . \${$this->lowCtrl}['{$association}']['" . $objModel->{$model}->primaryKey . "'])?> </li></ul>\n";
$viewView .= "<?php endif ?>\n";
$viewView .= "<?php endif; ?>\n";
$viewView .= "</dl>\n";
}
@ -734,11 +734,11 @@ class Bake {
$viewView .= "\t<?php echo \$html->link('Edit', '/" . $inflect->underscore($controller) . "/edit/' . \$row[\$this->controller->{$modelName}->primaryKey])?>\n";
$viewView .= "\t<?php echo \$html->link('Delete', '/" . $inflect->underscore($controller) . "/delete/' . \$row[\$this->controller->{$modelName}->primaryKey])?>\n";
$viewView .= "</td>\n";
$viewView .= "<?php endif ?>\n";
$viewView .= "<?php endif; ?>\n";
$viewView .= "</tr>\n";
$viewView .= "<?php endforeach; ?>\n";
$viewView .= "</table>\n";
$viewView .= "<?php endif ?>\n\n";
$viewView .= "<?php endif; ?>\n\n";
$viewView .= "<ul>\n";
$viewView .= "<li><?php echo \$html->link('New " . $inflect->humanize($association) . "', '/" . $inflect->underscore($controller) . "/add/')?></li>\n";
$viewView .= "</ul>\n";