Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
15194 anikendra 1
<div class="container">
2
	<div class="row">
3
		<div class="col-lg-3">
4
			<?php echo $this->Element('adminactions');?>
5
		</div>
6
		<div class="col-lg-9">
7
			<h2><?php echo __('Access Control Layer'); ?></h2>
8
			<table class="table table-striped">
9
			<tr>
10
					<!-- <th><?php //echo $this->Paginator->sort('id'); ?></th> -->
11
					<th><?php echo $this->Paginator->sort('group_id'); ?></th>
12
					<th><?php echo $this->Paginator->sort('action'); ?></th>
13
					<th><?php echo $this->Paginator->sort('access'); ?></th>
14
					<!-- <th><?php //echo $this->Paginator->sort('created'); ?></th> -->
15
					<!-- <th><?php //echo $this->Paginator->sort('modified'); ?></th> -->
16
					<th class="actions"><?php echo __('Actions'); ?></th>
17
			</tr>
18
			<?php foreach ($permissions as $acl): ?>
19
			<tr>
20
				<!-- <td><?php //echo h($acl['Acl']['id']); ?>&nbsp;</td> -->
21
				<td>
22
					<?php echo $this->Html->link($acl['Group']['name'], array('controller' => 'groups', 'action' => 'view', $acl['Group']['id'])); ?>
23
				</td>
24
				<td><?php echo h($acl['Acl']['action']); ?>&nbsp;</td>
25
				<td><?php echo h($acl['Acl']['access']); ?>&nbsp;</td>
26
				<!-- <td><?php //echo h($acl['Acl']['created']); ?>&nbsp;</td> -->
27
				<!-- <td><?php echo h($acl['Acl']['modified']); ?>&nbsp;</td> -->
28
				<td class="actions">
29
					<?php //echo $this->Html->link(__('View'), array('action' => 'view', $acl['Acl']['id'])); ?>
30
					<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $acl['Acl']['id'])); ?>
31
					<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $acl['Acl']['id']), null, __('Are you sure you want to delete # %s?', $acl['Acl']['id'])); ?>
32
				</td>
33
			</tr>
34
		<?php endforeach; ?>
35
			</table>
36
			<p>
37
			<?php
38
			echo $this->Paginator->counter(array(
39
			'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
40
			));
41
			?>	</p>
42
			<div class="paging">
43
			<?php
44
				echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
45
				echo $this->Paginator->numbers(array('separator' => ''));
46
				echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
47
			?>
48
			</div>
49
		</div>
50
	</div>
51
</div>