| Line 2... |
Line 2... |
| 2 |
<h2><?php echo __('Brands'); ?></h2>
|
2 |
<h2><?php echo __('Brands'); ?></h2>
|
| 3 |
<table cellpadding="0" cellspacing="0">
|
3 |
<table cellpadding="0" cellspacing="0">
|
| 4 |
<tr>
|
4 |
<tr>
|
| 5 |
<th><?php echo $this->Paginator->sort('id'); ?></th>
|
5 |
<th><?php echo $this->Paginator->sort('id'); ?></th>
|
| 6 |
<th><?php echo $this->Paginator->sort('name'); ?></th>
|
6 |
<th><?php echo $this->Paginator->sort('name'); ?></th>
|
| - |
|
7 |
<th><?php echo $this->Paginator->sort('category_id'); ?></th>
|
| - |
|
8 |
<th><?php echo $this->Paginator->sort('displayed_in_preference_page'); ?></th>
|
| 7 |
<th><?php echo $this->Paginator->sort('created'); ?></th>
|
9 |
<th><?php echo $this->Paginator->sort('created'); ?></th>
|
| 8 |
<th class="actions"><?php echo __('Actions'); ?></th>
|
10 |
<th class="actions"><?php echo __('Actions'); ?></th>
|
| 9 |
</tr>
|
11 |
</tr>
|
| 10 |
<?php foreach ($brands as $brand): ?>
|
12 |
<?php foreach ($brands as $brand): ?>
|
| 11 |
<tr>
|
13 |
<tr>
|
| 12 |
<td><?php echo h($brand['Brand']['id']); ?> </td>
|
14 |
<td><?php echo h($brand['Brand']['id']); ?> </td>
|
| 13 |
<td><?php echo h($brand['Brand']['name']); ?> </td>
|
15 |
<td><?php echo h($brand['Brand']['name']); ?> </td>
|
| - |
|
16 |
<td>
|
| - |
|
17 |
<?php echo $this->Html->link($brand['Category']['name'], array('controller' => 'categories', 'action' => 'view', $brand['Category']['id'])); ?>
|
| - |
|
18 |
</td>
|
| - |
|
19 |
<td><?php echo h($brand['Brand']['displayed_in_preference_page']); ?> </td>
|
| 14 |
<td><?php echo h($brand['Brand']['created']); ?> </td>
|
20 |
<td><?php echo h($brand['Brand']['created']); ?> </td>
|
| 15 |
<td class="actions">
|
21 |
<td class="actions">
|
| 16 |
<?php echo $this->Html->link(__('View'), array('action' => 'view', $brand['Brand']['id'])); ?>
|
22 |
<?php echo $this->Html->link(__('View'), array('action' => 'view', $brand['Brand']['id'])); ?>
|
| 17 |
<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $brand['Brand']['id'])); ?>
|
23 |
<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $brand['Brand']['id'])); ?>
|
| 18 |
<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $brand['Brand']['id']), null, __('Are you sure you want to delete # %s?', $brand['Brand']['id'])); ?>
|
24 |
<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $brand['Brand']['id']), null, __('Are you sure you want to delete # %s?', $brand['Brand']['id'])); ?>
|
| Line 36... |
Line 42... |
| 36 |
</div>
|
42 |
</div>
|
| 37 |
<div class="actions">
|
43 |
<div class="actions">
|
| 38 |
<h3><?php echo __('Actions'); ?></h3>
|
44 |
<h3><?php echo __('Actions'); ?></h3>
|
| 39 |
<ul>
|
45 |
<ul>
|
| 40 |
<li><?php echo $this->Html->link(__('New Brand'), array('action' => 'add')); ?></li>
|
46 |
<li><?php echo $this->Html->link(__('New Brand'), array('action' => 'add')); ?></li>
|
| - |
|
47 |
<li><?php echo $this->Html->link(__('List Categories'), array('controller' => 'categories', 'action' => 'index')); ?> </li>
|
| - |
|
48 |
<li><?php echo $this->Html->link(__('New Category'), array('controller' => 'categories', 'action' => 'add')); ?> </li>
|
| 41 |
</ul>
|
49 |
</ul>
|
| 42 |
</div>
|
50 |
</div>
|