mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
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:
parent
6b62ff231a
commit
67d75ba18b
1 changed files with 3 additions and 3 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Reference in a new issue