| 13532 |
anikendra |
1 |
<div class="socialProfiles index">
|
|
|
2 |
<h2><?php echo __('Social Profiles'); ?></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('user_id'); ?></th>
|
|
|
7 |
<th><?php echo $this->Paginator->sort('type'); ?></th>
|
|
|
8 |
<th><?php echo $this->Paginator->sort('social_id'); ?></th>
|
|
|
9 |
<th><?php echo $this->Paginator->sort('access_token'); ?></th>
|
|
|
10 |
<th><?php echo $this->Paginator->sort('refresh_token'); ?></th>
|
|
|
11 |
<th class="actions"><?php echo __('Actions'); ?></th>
|
|
|
12 |
</tr>
|
|
|
13 |
<?php foreach ($socialProfiles as $socialProfile): ?>
|
|
|
14 |
<tr>
|
|
|
15 |
<td><?php echo h($socialProfile['SocialProfile']['id']); ?> </td>
|
|
|
16 |
<td>
|
|
|
17 |
<?php echo $this->Html->link($socialProfile['User']['username'], array('controller' => 'users', 'action' => 'view', $socialProfile['User']['id'])); ?>
|
|
|
18 |
</td>
|
|
|
19 |
<td><?php echo h($socialProfile['SocialProfile']['type']); ?> </td>
|
|
|
20 |
<td><?php echo h($socialProfile['SocialProfile']['social_id']); ?> </td>
|
|
|
21 |
<td><?php echo h($socialProfile['SocialProfile']['access_token']); ?> </td>
|
|
|
22 |
<td><?php echo h($socialProfile['SocialProfile']['refresh_token']); ?> </td>
|
|
|
23 |
<td class="actions">
|
|
|
24 |
<?php echo $this->Html->link(__('View'), array('action' => 'view', $socialProfile['SocialProfile']['id'])); ?>
|
|
|
25 |
<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $socialProfile['SocialProfile']['id'])); ?>
|
|
|
26 |
<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $socialProfile['SocialProfile']['id']), null, __('Are you sure you want to delete # %s?', $socialProfile['SocialProfile']['id'])); ?>
|
|
|
27 |
</td>
|
|
|
28 |
</tr>
|
|
|
29 |
<?php endforeach; ?>
|
|
|
30 |
</table>
|
|
|
31 |
<p>
|
|
|
32 |
<?php
|
|
|
33 |
echo $this->Paginator->counter(array(
|
|
|
34 |
'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
|
|
|
35 |
));
|
|
|
36 |
?> </p>
|
|
|
37 |
<div class="paging">
|
|
|
38 |
<?php
|
|
|
39 |
echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
|
|
|
40 |
echo $this->Paginator->numbers(array('separator' => ''));
|
|
|
41 |
echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
|
|
|
42 |
?>
|
|
|
43 |
</div>
|
|
|
44 |
</div>
|
|
|
45 |
<div class="actions">
|
|
|
46 |
<h3><?php echo __('Actions'); ?></h3>
|
|
|
47 |
<ul>
|
|
|
48 |
<li><?php echo $this->Html->link(__('New Social Profile'), array('action' => 'add')); ?></li>
|
|
|
49 |
<li><?php echo $this->Html->link(__('List Users'), array('controller' => 'users', 'action' => 'index')); ?> </li>
|
|
|
50 |
<li><?php echo $this->Html->link(__('New User'), array('controller' => 'users', 'action' => 'add')); ?> </li>
|
|
|
51 |
</ul>
|
|
|
52 |
</div>
|