Permalink
Browse files

Fixing output of 'Actions' in bake templates. Now outputs a __() call.

  • Loading branch information...
1 parent 2de9639 commit 53f0771a48325e3e08b8d73d1270498a32052b8d @markstory markstory committed Jan 13, 2010
@@ -43,7 +43,7 @@
?>
</div>
<div class="actions">
- <h3><?php __('Actions'); ?></h3>
+ <h3><?php echo "<?php __('Actions'); ?>"; ?></h3>
<ul>
<?php if ($action != 'add'):?>
<li><?php echo "<?php echo \$this->Html->link(__('Delete', true), array('action' => 'delete', \$this->Form->value('{$modelClass}.{$primaryKey}')), null, sprintf(__('Are you sure you want to delete # %s?', true), \$this->Form->value('{$modelClass}.{$primaryKey}'))); ?>";?></li>
@@ -77,7 +77,7 @@
</div>
</div>
<div class="actions">
- <h3><?php __('Actions'); ?></h3>
+ <h3><?php echo "<?php __('Actions'); ?>"; ?></h3>
<ul>
<li><?php echo "<?php echo \$this->Html->link(sprintf(__('New %s', true), __('{$singularHumanName}', true)), array('action' => 'add')); ?>";?></li>
<?php
@@ -42,7 +42,7 @@ foreach ($fields as $field) {
</dl>
</div>
<div class="actions">
- <h3><?php __('Actions'); ?></h3>
+ <h3><?php echo "<?php __('Actions'); ?>"; ?></h3>
<ul>
<?php
echo "\t\t<li><?php echo \$this->Html->link(sprintf(__('Edit %s', true), __('{$singularHumanName}', true)), array('action' => 'edit', \${$singularVar}['{$modelClass}']['{$primaryKey}'])); ?> </li>\n";

0 comments on commit 53f0771

Please sign in to comment.