Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
14579 anikendra 1
<div class="notificationRules index">
2
	<h2><?php echo __('Notification Rules'); ?></h2>
3
	<table cellpadding="0" cellspacing="0">
4
	<tr>
5
			<th><?php echo $this->Paginator->sort('id'); ?></th>
6
			<th><?php echo $this->Paginator->sort('name'); ?></th>
7
			<th><?php echo $this->Paginator->sort('sql'); ?></th>
8
			<th><?php echo $this->Paginator->sort('message'); ?></th>
9
			<th><?php echo $this->Paginator->sort('url'); ?></th>
10
			<th><?php echo $this->Paginator->sort('status'); ?></th>
11
			<th><?php echo $this->Paginator->sort('starttime'); ?></th>
12
			<th><?php echo $this->Paginator->sort('endtime'); ?></th>
13
			<th><?php echo $this->Paginator->sort('created'); ?></th>
14
			<th><?php echo $this->Paginator->sort('modified'); ?></th>
15
			<th class="actions"><?php echo __('Actions'); ?></th>
16
	</tr>
17
	<?php foreach ($notificationRules as $notificationRule): ?>
18
	<tr>
19
		<td><?php echo h($notificationRule['NotificationRule']['id']); ?>&nbsp;</td>
20
		<td><?php echo h($notificationRule['NotificationRule']['name']); ?>&nbsp;</td>
21
		<td><?php echo h($notificationRule['NotificationRule']['sql']); ?>&nbsp;</td>
22
		<td><?php echo h($notificationRule['NotificationRule']['message']); ?>&nbsp;</td>
23
		<td><?php echo h($notificationRule['NotificationRule']['url']); ?>&nbsp;</td>
24
		<td><?php echo h($notificationRule['NotificationRule']['status']); ?>&nbsp;</td>
25
		<td><?php echo h($notificationRule['NotificationRule']['starttime']); ?>&nbsp;</td>
26
		<td><?php echo h($notificationRule['NotificationRule']['endtime']); ?>&nbsp;</td>
27
		<td><?php echo h($notificationRule['NotificationRule']['created']); ?>&nbsp;</td>
28
		<td><?php echo h($notificationRule['NotificationRule']['modified']); ?>&nbsp;</td>
29
		<td class="actions">
30
			<?php echo $this->Html->link(__('View'), array('action' => 'view', $notificationRule['NotificationRule']['id'])); ?>
31
			<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $notificationRule['NotificationRule']['id'])); ?>
32
			<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $notificationRule['NotificationRule']['id']), null, __('Are you sure you want to delete # %s?', $notificationRule['NotificationRule']['id'])); ?>
33
		</td>
34
	</tr>
35
<?php endforeach; ?>
36
	</table>
37
	<p>
38
	<?php
39
	echo $this->Paginator->counter(array(
40
	'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
41
	));
42
	?>	</p>
43
	<div class="paging">
44
	<?php
45
		echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
46
		echo $this->Paginator->numbers(array('separator' => ''));
47
		echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
48
	?>
49
	</div>
50
</div>
51
<div class="actions">
52
	<h3><?php echo __('Actions'); ?></h3>
53
	<ul>
54
		<li><?php echo $this->Html->link(__('New Notification Rule'), array('action' => 'add')); ?></li>
55
	</ul>
56
</div>