Permalink
Browse files

Merge pull request #23 from vitorpc/2.0

2.0 Corrigido o link de exclusão e renomeada a pasta locale
  • Loading branch information...
jrbasso committed Apr 24, 2012
2 parents 49ada2c + e3d8077 commit 0a469770c4be802bd29eb390e81c0c2505174416
@@ -54,7 +54,7 @@ require_once dirname(dirname(__FILE__)) . DS . 'Inflexao.php';
<ul>
<?php if (strpos($action, 'add') === false): ?>
- <li><?php echo "<?php echo \$this->Form->postLink(__('Excluir'), array('action' => 'delete', \$this->Form->value('{$modelClass}.{$primaryKey}')), null, __(Você tem certeza que deseja excluir o # %s?', \$this->Form->value('{$modelClass}.{$primaryKey}'))); ?>";?></li>
+ <li><?php echo "<?php echo \$this->Form->postLink(__('Excluir'), array('action' => 'delete', \$this->Form->value('{$modelClass}.{$primaryKey}')), null, __('Você tem certeza que deseja excluir o # %s?', \$this->Form->value('{$modelClass}.{$primaryKey}'))); ?>";?></li>
<?php endif;?>
<li><?php echo "<?php echo \$this->Html->link(__('Listar " . Inflexao::acentos($pluralHumanName) . "'), array('action' => 'index'));?>";?></li>
<?php
@@ -70,4 +70,4 @@ require_once dirname(dirname(__FILE__)) . DS . 'Inflexao.php';
}
?>
</ul>
-</div>
+</div>
@@ -27,10 +27,8 @@ require_once dirname(dirname(__FILE__)) . DS . 'Inflexao.php';
<th class="actions"><?php echo "<?php echo __('Ações');?>";?></th>
</tr>
<?php
- echo "<?php
- foreach (\${$pluralVar} as \${$singularVar}): ?>\n";
+ echo "<?php foreach (\${$pluralVar} as \${$singularVar}): ?>\n";
echo "\t<tr>\n";
- echo "\t<tr<?php echo \$class;?>>\n";
foreach ($fields as $field) {
$isKey = false;
if (!empty($associations['belongsTo'])) {
@@ -92,4 +90,4 @@ require_once dirname(dirname(__FILE__)) . DS . 'Inflexao.php';
}
?>
</ul>
-</div>
+</div>
File renamed without changes.
File renamed without changes.

0 comments on commit 0a46977

Please sign in to comment.