Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge pull request #23 from vitorpc/2.0

2.0 Corrigido o link de exclusão e renomeada a pasta locale
  • Loading branch information...
commit 0a469770c4be802bd29eb390e81c0c2505174416 2 parents 49ada2c + e3d8077
Juan Basso authored April 23, 2012
4  Console/Templates/default/views/form.ctp
@@ -54,7 +54,7 @@ require_once dirname(dirname(__FILE__)) . DS . 'Inflexao.php';
54 54
 	<ul>
55 55
 
56 56
 <?php if (strpos($action, 'add') === false): ?>
57  
-		<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>
  57
+		<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>
58 58
 <?php endif;?>
59 59
 		<li><?php echo "<?php echo \$this->Html->link(__('Listar " . Inflexao::acentos($pluralHumanName) . "'), array('action' => 'index'));?>";?></li>
60 60
 <?php
@@ -70,4 +70,4 @@ require_once dirname(dirname(__FILE__)) . DS . 'Inflexao.php';
70 70
 		}
71 71
 ?>
72 72
 	</ul>
73  
-</div>
  73
+</div>
6  Console/Templates/default/views/index.ctp
@@ -27,10 +27,8 @@ require_once dirname(dirname(__FILE__)) . DS . 'Inflexao.php';
27 27
 		<th class="actions"><?php echo "<?php echo __('Ações');?>";?></th>
28 28
 	</tr>
29 29
 	<?php
30  
-	echo "<?php
31  
-	foreach (\${$pluralVar} as \${$singularVar}): ?>\n";
  30
+	echo "<?php foreach (\${$pluralVar} as \${$singularVar}): ?>\n";
32 31
 	echo "\t<tr>\n";
33  
-	echo "\t<tr<?php echo \$class;?>>\n";
34 32
 		foreach ($fields as $field) {
35 33
 			$isKey = false;
36 34
 			if (!empty($associations['belongsTo'])) {
@@ -92,4 +90,4 @@ require_once dirname(dirname(__FILE__)) . DS . 'Inflexao.php';
92 90
 	}
93 91
 ?>
94 92
 	</ul>
95  
-</div>
  93
+</div>
0  locale/pt_br/LC_MESSAGES/core.po → Locale/pt_br/LC_MESSAGES/core.po
File renamed without changes
0  locale/pt_br/LC_TIME → Locale/pt_br/LC_TIME
File renamed without changes

0 notes on commit 0a46977

Please sign in to comment.
Something went wrong with that request. Please try again.