53 lines
2 KiB
Text
53 lines
2 KiB
Text
|
<div class="languages index">
|
||
|
<h2><?php __('Languages');?></h2>
|
||
|
<table cellpadding="0" cellspacing="0">
|
||
|
<tr>
|
||
|
<th><?php echo $this->Paginator->sort('id');?></th>
|
||
|
<th><?php echo $this->Paginator->sort('name');?></th>
|
||
|
<th><?php echo $this->Paginator->sort('code');?></th>
|
||
|
<th><?php echo $this->Paginator->sort('created');?></th>
|
||
|
<th><?php echo $this->Paginator->sort('modified');?></th>
|
||
|
<th class="actions"><?php __('Actions');?></th>
|
||
|
</tr>
|
||
|
<?php
|
||
|
$i = 0;
|
||
|
foreach ($languages as $language):
|
||
|
$class = null;
|
||
|
if ($i++ % 2 == 0) {
|
||
|
$class = ' class="altrow"';
|
||
|
}
|
||
|
?>
|
||
|
<tr<?php echo $class;?>>
|
||
|
<td><?php echo $language['Language']['id']; ?> </td>
|
||
|
<td><?php echo $language['Language']['name']; ?> </td>
|
||
|
<td><?php echo $language['Language']['code']; ?> </td>
|
||
|
<td><?php echo $language['Language']['created']; ?> </td>
|
||
|
<td><?php echo $language['Language']['modified']; ?> </td>
|
||
|
<td class="actions">
|
||
|
<?php echo $this->Html->link(__('View', true), array('action' => 'view', $language['Language']['id'])); ?>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<?php endforeach; ?>
|
||
|
</table>
|
||
|
<p>
|
||
|
<?php
|
||
|
echo $this->Paginator->counter(array(
|
||
|
'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true)
|
||
|
));
|
||
|
?> </p>
|
||
|
|
||
|
<div class="paging">
|
||
|
<?php echo $this->Paginator->prev('<< ' . __('previous', true), array(), null, array('class'=>'disabled'));?>
|
||
|
| <?php echo $this->Paginator->numbers();?>
|
||
|
|
|
||
|
<?php echo $this->Paginator->next(__('next', true) . ' >>', array(), null, array('class' => 'disabled'));?>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="actions">
|
||
|
<h3><?php __('Actions'); ?></h3>
|
||
|
<ul>
|
||
|
<li><?php echo $this->Html->link(__('List Identifiers', true), array('controller' => 'identifiers', 'action' => 'index')); ?> </li>
|
||
|
<li><br></li>
|
||
|
<li><?php echo $this->Html->link(__('List Translation Files', true), array('controller' => 'translation_files', 'action' => 'index')); ?> </li>
|
||
|
</ul>
|
||
|
</div>
|