Skip to content
This repository
Browse code

formatting changes..

  • Loading branch information...
commit f5be83d452da95c78210b811ffee49c1ec11468c 1 parent 9ed901b
Andras Kende authored
10  lib/Cake/Console/Templates/default/views/index.ctp
@@ -20,14 +20,13 @@
20 20
 	<h2><?php echo "<?php echo __('{$pluralHumanName}'); ?>"; ?></h2>
21 21
 	<table cellpadding="0" cellspacing="0">
22 22
 	<tr>
23  
-	<?php  foreach ($fields as $field): ?>
  23
+	<?php foreach ($fields as $field): ?>
24 24
 		<th><?php echo "<?php echo \$this->Paginator->sort('{$field}'); ?>"; ?></th>
25 25
 	<?php endforeach; ?>
26 26
 		<th class="actions"><?php echo "<?php echo __('Actions'); ?>"; ?></th>
27 27
 	</tr>
28 28
 	<?php
29  
-	echo "<?php
30  
-	foreach (\${$pluralVar} as \${$singularVar}): ?>\n";
  29
+	echo "<?php foreach (\${$pluralVar} as \${$singularVar}): ?>\n";
31 30
 	echo "\t<tr>\n";
32 31
 		foreach ($fields as $field) {
33 32
 			$isKey = false;
@@ -47,14 +46,15 @@
47 46
 
48 47
 		echo "\t\t<td class=\"actions\">\n";
49 48
 		echo "\t\t\t<?php echo \$this->Html->link(__('View'), array('action' => 'view', \${$singularVar}['{$modelClass}']['{$primaryKey}'])); ?>\n";
50  
-	 	echo "\t\t\t<?php echo \$this->Html->link(__('Edit'), array('action' => 'edit', \${$singularVar}['{$modelClass}']['{$primaryKey}'])); ?>\n";
51  
-	 	echo "\t\t\t<?php echo \$this->Form->postLink(__('Delete'), array('action' => 'delete', \${$singularVar}['{$modelClass}']['{$primaryKey}']), null, __('Are you sure you want to delete # %s?', \${$singularVar}['{$modelClass}']['{$primaryKey}'])); ?>\n";
  49
+		echo "\t\t\t<?php echo \$this->Html->link(__('Edit'), array('action' => 'edit', \${$singularVar}['{$modelClass}']['{$primaryKey}'])); ?>\n";
  50
+		echo "\t\t\t<?php echo \$this->Form->postLink(__('Delete'), array('action' => 'delete', \${$singularVar}['{$modelClass}']['{$primaryKey}']), null, __('Are you sure you want to delete # %s?', \${$singularVar}['{$modelClass}']['{$primaryKey}'])); ?>\n";
52 51
 		echo "\t\t</td>\n";
53 52
 	echo "\t</tr>\n";
54 53
 
55 54
 	echo "<?php endforeach; ?>\n";
56 55
 	?>
57 56
 	</table>
  57
+
58 58
 	<p>
59 59
 	<?php echo "<?php
60 60
 	echo \$this->Paginator->counter(array(

0 notes on commit f5be83d

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