pictcode / lib / Cake / Test / bake_compare / View / index.ctp @ 001918d1
履歴 | 表示 | アノテート | ダウンロード (2.846 KB)
| 1 |
<div class="viewTaskComments index"> |
|---|---|
| 2 |
<h2><?php echo __('View Task Comments'); ?></h2>
|
| 3 |
<table cellpadding="0" cellspacing="0"> |
| 4 |
<thead> |
| 5 |
<tr> |
| 6 |
<th><?php echo $this->Paginator->sort('id'); ?></th>
|
| 7 |
<th><?php echo $this->Paginator->sort('article_id'); ?></th>
|
| 8 |
<th><?php echo $this->Paginator->sort('user_id'); ?></th>
|
| 9 |
<th><?php echo $this->Paginator->sort('comment'); ?></th>
|
| 10 |
<th><?php echo $this->Paginator->sort('published'); ?></th>
|
| 11 |
<th><?php echo $this->Paginator->sort('created'); ?></th>
|
| 12 |
<th><?php echo $this->Paginator->sort('updated'); ?></th>
|
| 13 |
<th class="actions"><?php echo __('Actions'); ?></th>
|
| 14 |
</tr> |
| 15 |
</thead> |
| 16 |
<tbody> |
| 17 |
<?php foreach ($viewTaskComments as $viewTaskComment): ?> |
| 18 |
<tr> |
| 19 |
<td><?php echo h($viewTaskComment['ViewTaskComment']['id']); ?> </td> |
| 20 |
<td> |
| 21 |
<?php echo $this->Html->link($viewTaskComment['Article']['title'], array('controller' => 'view_task_articles', 'action' => 'view', $viewTaskComment['Article']['id'])); ?>
|
| 22 |
</td> |
| 23 |
<td><?php echo h($viewTaskComment['ViewTaskComment']['user_id']); ?> </td> |
| 24 |
<td><?php echo h($viewTaskComment['ViewTaskComment']['comment']); ?> </td> |
| 25 |
<td><?php echo h($viewTaskComment['ViewTaskComment']['published']); ?> </td> |
| 26 |
<td><?php echo h($viewTaskComment['ViewTaskComment']['created']); ?> </td> |
| 27 |
<td><?php echo h($viewTaskComment['ViewTaskComment']['updated']); ?> </td> |
| 28 |
<td class="actions"> |
| 29 |
<?php echo $this->Html->link(__('View'), array('action' => 'view', $viewTaskComment['ViewTaskComment']['id'])); ?>
|
| 30 |
<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $viewTaskComment['ViewTaskComment']['id'])); ?>
|
| 31 |
<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $viewTaskComment['ViewTaskComment']['id']), array('confirm' => __('Are you sure you want to delete # %s?', $viewTaskComment['ViewTaskComment']['id']))); ?>
|
| 32 |
</td> |
| 33 |
</tr> |
| 34 |
<?php endforeach; ?> |
| 35 |
</tbody> |
| 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 View Task Comment'), array('action' => 'add')); ?></li>
|
| 55 |
<li><?php echo $this->Html->link(__('List View Task Articles'), array('controller' => 'view_task_articles', 'action' => 'index')); ?> </li>
|
| 56 |
<li><?php echo $this->Html->link(__('New Article'), array('controller' => 'view_task_articles', 'action' => 'add')); ?> </li>
|
| 57 |
</ul> |
| 58 |
</div> |