| Line 1... |
Line 1... |
| 1 |
<div class="userFilters index">
|
1 |
<div class="container">
|
| - |
|
2 |
<div class="row">
|
| - |
|
3 |
<div class="col-lg-12 table-responsive">
|
| - |
|
4 |
<div class="searchbar">
|
| - |
|
5 |
<form class="navbar-form" role="search" method="GET" name="search">
|
| - |
|
6 |
<div class="input-group col-xs-12 text-right" id="remote">
|
| - |
|
7 |
<input autocomplete="off" type="text" class="form-control" placeholder="Search for url" name="q" id="srch-term" value="<?php if(isset($q)){echo $q;}?>">
|
| - |
|
8 |
<div class="input-group-btn w25px">
|
| - |
|
9 |
<button class="btn btn-default" type="submit"><i class="glyphicon glyphicon-search"></i></button>
|
| - |
|
10 |
</div>
|
| - |
|
11 |
</div>
|
| - |
|
12 |
</form>
|
| - |
|
13 |
</div>
|
| 2 |
<h2><?php echo __('User Filters'); ?></h2>
|
14 |
<h3><?php echo __('User Filters'); ?></h3>
|
| 3 |
<table cellpadding="0" cellspacing="0">
|
15 |
<table class="table table-striped">
|
| 4 |
<tr>
|
16 |
<tr>
|
| 5 |
<th><?php echo $this->Paginator->sort('id'); ?></th>
|
17 |
<th><?php echo $this->Paginator->sort('id'); ?></th>
|
| 6 |
<th><?php echo $this->Paginator->sort('user_id'); ?></th>
|
18 |
<th><?php echo $this->Paginator->sort('user_id'); ?></th>
|
| 7 |
<th><?php echo $this->Paginator->sort('type'); ?></th>
|
19 |
<th><?php echo $this->Paginator->sort('type'); ?></th>
|
| 8 |
<th><?php echo $this->Paginator->sort('filters'); ?></th>
|
20 |
<th><?php echo $this->Paginator->sort('filters'); ?></th>
|
| 9 |
<th><?php echo $this->Paginator->sort('created'); ?></th>
|
21 |
<th><?php echo $this->Paginator->sort('created'); ?></th>
|
| 10 |
<th class="actions"><?php echo __('Actions'); ?></th>
|
- |
|
| 11 |
</tr>
|
22 |
</tr>
|
| 12 |
<?php foreach ($userFilters as $userFilter): ?>
|
23 |
<?php foreach ($userFilters as $userFilter): ?>
|
| 13 |
<tr>
|
24 |
<tr>
|
| 14 |
<td><?php echo h($userFilter['UserFilter']['id']); ?> </td>
|
25 |
<td><?php echo h($userFilter['UserFilter']['id']); ?> </td>
|
| 15 |
<td>
|
26 |
<td>
|
| 16 |
<?php echo $this->Html->link($userFilter['User']['username'], array('controller' => 'users', 'action' => 'view', $userFilter['User']['id'])); ?>
|
27 |
<?php echo $this->Html->link($userFilter['User']['username'], array('controller' => 'user_filters', 'action' => 'by', $userFilter['User']['id'])); ?>
|
| 17 |
</td>
|
28 |
</td>
|
| 18 |
<td><?php echo h($userFilter['UserFilter']['type']); ?> </td>
|
29 |
<td><?php echo h($userFilter['UserFilter']['type']); ?> </td>
|
| 19 |
<td><?php echo h($userFilter['UserFilter']['filters']); ?> </td>
|
30 |
<td><?php echo h($userFilter['UserFilter']['filters']); ?> </td>
|
| 20 |
<td><?php echo h($userFilter['UserFilter']['created']); ?> </td>
|
31 |
<td><?php echo h($userFilter['UserFilter']['created']); ?> </td>
|
| 21 |
<td class="actions">
|
- |
|
| 22 |
<?php echo $this->Html->link(__('View'), array('action' => 'view', $userFilter['UserFilter']['id'])); ?>
|
- |
|
| 23 |
<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $userFilter['UserFilter']['id'])); ?>
|
- |
|
| 24 |
<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $userFilter['UserFilter']['id']), null, __('Are you sure you want to delete # %s?', $userFilter['UserFilter']['id'])); ?>
|
- |
|
| 25 |
</td>
|
32 |
</tr>
|
| 26 |
</tr>
|
- |
|
| 27 |
<?php endforeach; ?>
|
33 |
<?php endforeach; ?>
|
| 28 |
</table>
|
34 |
</table>
|
| 29 |
<p>
|
35 |
<p>
|
| 30 |
<?php
|
36 |
<?php
|
| 31 |
echo $this->Paginator->counter(array(
|
37 |
echo $this->Paginator->counter(array(
|
| 32 |
'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
|
38 |
'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
|
| 33 |
));
|
39 |
));
|
| 34 |
?> </p>
|
40 |
?> </p>
|
| 35 |
<div class="paging">
|
41 |
<div class="paging">
|
| 36 |
<?php
|
42 |
<?php
|
| 37 |
echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
|
43 |
echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
|
| 38 |
echo $this->Paginator->numbers(array('separator' => ''));
|
44 |
echo $this->Paginator->numbers(array('separator' => ''));
|
| 39 |
echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
|
45 |
echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
|
| 40 |
?>
|
46 |
?>
|
| - |
|
47 |
</div>
|
| - |
|
48 |
</div>
|
| 41 |
</div>
|
49 |
</div>
|
| 42 |
</div>
|
50 |
</div>
|
| 43 |
<div class="actions">
|
- |
|
| 44 |
<h3><?php echo __('Actions'); ?></h3>
|
- |
|
| 45 |
<ul>
|
- |
|
| 46 |
<li><?php echo $this->Html->link(__('New User Filter'), array('action' => 'add')); ?></li>
|
- |
|
| 47 |
<li><?php echo $this->Html->link(__('List Users'), array('controller' => 'users', 'action' => 'index')); ?> </li>
|
- |
|
| 48 |
<li><?php echo $this->Html->link(__('New User'), array('controller' => 'users', 'action' => 'add')); ?> </li>
|
- |
|
| 49 |
</ul>
|
- |
|
| 50 |
</div>
|
- |
|