2 <div class="box menubox">
3 <h2><a href="#" id="toggle-admin-actions">Actions</a></h2>
5 <div class="block" id="admin-actions">
6 <h5><?php echo __('Languages', true); ?></h5>
8 <li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Languages', true)), array('action' => 'index')); ?> </li>
10 <h5><?php echo __('Translation Files', true); ?></h5>
12 <li><?php echo $this->Html->link(sprintf(__('List all %s', true), __('Translation Files', true)), array('controller' => 'translation_files', 'action' => 'index')); ?> </li>
20 <p class="help">Choose a language and click "List Translation Files" to see project language files you can translate.</p>
21 <h2 id="page-heading"><?php __('Languages');?></h2>
22 <table cellpadding="0" cellspacing="0"> <?php $tableHeaders = $html->tableHeaders(array($paginator->sort('id'),$paginator->sort('name'),$paginator->sort('code'),$paginator->sort('created'),$paginator->sort('modified'),__('Actions', true),));
23 echo '<thead>'.$tableHeaders.'</thead>'; ?>
27 foreach ($languages as $language):
30 $class = ' class="altrow"';
33 <tr<?php echo $class;?>>
34 <td><?php echo $language['Language']['id']; ?></td>
35 <td><?php echo $language['Language']['name']; ?></td>
36 <td><?php echo $language['Language']['code']; ?></td>
37 <td><?php echo $language['Language']['created']; ?></td>
38 <td><?php echo $language['Language']['modified']; ?></td>
40 <?php echo $this->Html->link(__('View', true), array('action' => 'view', $language['Language']['id'])); ?>
41 | <?php echo $this->Html->link(__('List Translation Files', true), array('controller' => 'translation_files', 'action' => 'index', 'language_id' => $language['Language']['id'])); ?>
45 <?php echo '<tfoot class=\'dark\'>'.$tableHeaders.'</tfoot>'; ?>
51 echo $this->Paginator->counter(array(
52 'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true)
57 <?php echo $this->Paginator->prev('<< '.__('previous', true), array(), null, array('class'=>'disabled'));?>
58 | <?php echo $this->Paginator->numbers();?> |
59 <?php echo $this->Paginator->next(__('next', true).' >>', array(), null, array('class' => 'disabled'));?>
62 <div class="clear"></div>