diff options
author | Derek Jones <derek.jones@ellislab.com> | 2008-11-12 00:14:42 +0100 |
---|---|---|
committer | Derek Jones <derek.jones@ellislab.com> | 2008-11-12 00:14:42 +0100 |
commit | 85e65f6259d4602f2d3fa81191eb052745e632a7 (patch) | |
tree | 93b9c3b0bdf768c85d900dbc068ff83e1dadd343 /system/scaffolding/views/view.php | |
parent | 6599b9a5dc699da2e7d2a69b070d203f99d80b6a (diff) |
Propset eol-style to CRLF
simplified paragraph tag cleanup regex
Diffstat (limited to 'system/scaffolding/views/view.php')
-rw-r--r-- | system/scaffolding/views/view.php | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/system/scaffolding/views/view.php b/system/scaffolding/views/view.php index a81241d39..69c1f45d8 100644 --- a/system/scaffolding/views/view.php +++ b/system/scaffolding/views/view.php @@ -1,27 +1,27 @@ -<?php $this->load->view('header'); ?> - -<table border="0" cellpadding="0" cellspacing="1" style="width:100%"> - <tr> - <th>Edit</th> - <th>Delete</th> - <?php foreach($fields as $field): ?> - <th><?php echo $field; ?></th> - <?php endforeach; ?> -</tr> - -<?php foreach($query->result() as $row): ?> - <tr> - <td> <?php echo anchor(array($base_uri, 'edit', $row->$primary), $scaff_edit); ?> </td> - <td><?php echo anchor(array($base_uri, 'delete', $row->$primary), $scaff_delete); ?></td> - <?php foreach($fields as $field): ?> - <td><?php echo form_prep($row->$field);?></td> - <?php endforeach; ?> - </tr> -<?php endforeach; ?> -</table> - -<?php echo $paginate; ?> - -<?php $this->load->view('footer'); -/* End of file view.php */ +<?php $this->load->view('header'); ?>
+
+<table border="0" cellpadding="0" cellspacing="1" style="width:100%">
+ <tr>
+ <th>Edit</th>
+ <th>Delete</th>
+ <?php foreach($fields as $field): ?>
+ <th><?php echo $field; ?></th>
+ <?php endforeach; ?>
+</tr>
+
+<?php foreach($query->result() as $row): ?>
+ <tr>
+ <td> <?php echo anchor(array($base_uri, 'edit', $row->$primary), $scaff_edit); ?> </td>
+ <td><?php echo anchor(array($base_uri, 'delete', $row->$primary), $scaff_delete); ?></td>
+ <?php foreach($fields as $field): ?>
+ <td><?php echo form_prep($row->$field);?></td>
+ <?php endforeach; ?>
+ </tr>
+<?php endforeach; ?>
+</table>
+
+<?php echo $paginate; ?>
+
+<?php $this->load->view('footer');
+/* End of file view.php */
/* Location: ./system/scaffolding/views/view.php */
\ No newline at end of file |