2011-07-14 14:49:25 +00:00
|
|
|
<div class="grid_3">
|
|
|
|
<div class="box menubox"> <h2>
|
2011-06-09 16:23:29 +00:00
|
|
|
<a href="#" id="toggle-admin-actions">Actions</a>
|
|
|
|
</h2>
|
2011-07-14 14:49:25 +00:00
|
|
|
<div class="inbox">
|
2011-06-09 16:23:29 +00:00
|
|
|
<div class="block" id="admin-actions">
|
2011-07-14 14:49:25 +00:00
|
|
|
<h5><?php echo __('Languages', true); ?></h5>
|
|
|
|
<ul class="menu">
|
|
|
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Languages', true)), array('action' => 'index')); ?> </li>
|
|
|
|
</ul>
|
2011-06-09 16:23:29 +00:00
|
|
|
|
|
|
|
<h5>Identifiers</h5>
|
|
|
|
<ul class="menu">
|
|
|
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Identifiers', true)), array('controller' => 'identifiers', 'action' => 'index')); ?> </li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2011-07-14 14:49:25 +00:00
|
|
|
</div>
|
2011-06-09 16:23:29 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2011-07-14 14:49:25 +00:00
|
|
|
<div class="grid_13">
|
2011-06-09 16:23:29 +00:00
|
|
|
|
|
|
|
<div class="box">
|
|
|
|
<div class="languages view">
|
|
|
|
<h2><?php __('Language');?></h2>
|
|
|
|
<div class="block">
|
2011-07-14 14:49:25 +00:00
|
|
|
<div class="dl">
|
|
|
|
<?php $i = 1; $class = ' altrow';?>
|
|
|
|
<div class="dt<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>"><?php __('Id'); ?></div>
|
|
|
|
<div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
|
2011-06-09 16:23:29 +00:00
|
|
|
<?php echo $language['Language']['id']; ?>
|
2011-07-14 14:49:25 +00:00
|
|
|
|
|
|
|
</div>
|
|
|
|
<?php $i++; ?>
|
|
|
|
<div style="clear: both"></div>
|
|
|
|
<div class="dt<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>"><?php __('Name'); ?></div>
|
|
|
|
<div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
|
2011-06-09 16:23:29 +00:00
|
|
|
<?php echo $language['Language']['name']; ?>
|
2011-07-14 14:49:25 +00:00
|
|
|
|
|
|
|
</div>
|
|
|
|
<?php $i++; ?>
|
|
|
|
<div style="clear: both"></div>
|
|
|
|
<div class="dt<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>"><?php __('Code'); ?></div>
|
|
|
|
<div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
|
2011-06-09 16:23:29 +00:00
|
|
|
<?php echo $language['Language']['code']; ?>
|
2011-07-14 14:49:25 +00:00
|
|
|
|
|
|
|
</div>
|
|
|
|
<?php $i++; ?>
|
|
|
|
<div style="clear: both"></div>
|
|
|
|
<div class="dt<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>"><?php __('Created'); ?></div>
|
|
|
|
<div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
|
2011-06-09 16:23:29 +00:00
|
|
|
<?php echo $language['Language']['created']; ?>
|
2011-07-14 14:49:25 +00:00
|
|
|
|
|
|
|
</div>
|
|
|
|
<?php $i++; ?>
|
|
|
|
<div style="clear: both"></div>
|
|
|
|
<div class="dt<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>"><?php __('Modified'); ?></div>
|
|
|
|
<div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
|
2011-06-09 16:23:29 +00:00
|
|
|
<?php echo $language['Language']['modified']; ?>
|
2011-07-14 14:49:25 +00:00
|
|
|
|
|
|
|
</div>
|
|
|
|
<?php $i++; ?>
|
|
|
|
<div style="clear: both"></div>
|
|
|
|
</div>
|
2011-06-09 16:23:29 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="box">
|
|
|
|
<h2>
|
|
|
|
<a href="#" id="toggle-related-records"><?php echo (__('Related', true)); ?></a>
|
|
|
|
</h2>
|
|
|
|
<div class="block" id="related-records">
|
|
|
|
<div class="related">
|
|
|
|
<h3><?php printf(__('Related %s', true), __('Identifiers', true));?></h3>
|
|
|
|
<?php if (!empty($language['Identifier'])):?>
|
|
|
|
<table cellpadding = "0" cellspacing = "0">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th><?php __('Id'); ?></th>
|
|
|
|
<th><?php __('Language Id'); ?></th>
|
|
|
|
<th><?php __('Identifier'); ?></th>
|
2011-07-14 14:49:25 +00:00
|
|
|
<th><?php __('Arguments'); ?></th>
|
2011-06-09 16:23:29 +00:00
|
|
|
<th><?php __('Reference String'); ?></th>
|
|
|
|
<th><?php __('Translated'); ?></th>
|
|
|
|
<th><?php __('Created'); ?></th>
|
|
|
|
<th><?php __('Modified'); ?></th>
|
|
|
|
<th class="actions"><?php __('Actions');?></th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<?php
|
|
|
|
$i = 0;
|
|
|
|
foreach ($language['Identifier'] as $identifier):
|
|
|
|
$class = null;
|
|
|
|
if ($i++ % 2 == 0) {
|
|
|
|
$class = ' class="altrow"';
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
<tr<?php echo $class;?>>
|
|
|
|
<td><?php echo $identifier['id'];?></td>
|
|
|
|
<td><?php echo $identifier['language_id'];?></td>
|
|
|
|
<td><?php echo $identifier['identifier'];?></td>
|
2011-07-14 14:49:25 +00:00
|
|
|
<td><?php echo $identifier['arguments'];?></td>
|
2011-06-09 16:23:29 +00:00
|
|
|
<td><?php echo $identifier['reference_string'];?></td>
|
|
|
|
<td><?php echo $identifier['translated'];?></td>
|
|
|
|
<td><?php echo $identifier['created'];?></td>
|
|
|
|
<td><?php echo $identifier['modified'];?></td>
|
|
|
|
<td class="actions">
|
|
|
|
<?php echo $this->Html->link(__('View', true), array('controller' => 'identifiers', 'action' => 'view', $identifier['id'])); ?>
|
2011-07-14 14:49:25 +00:00
|
|
|
| <?php echo $this->Html->link(__('Add Translation', true), array('controller' => 'translations', 'action' => 'add', 'identifier' => $identifier['id'])); ?>
|
|
|
|
| <?php echo $this->Html->link(__('List Translations', true), array('controller' => 'translations', 'action' => 'index', 'identifier' => $identifier['id'])); ?>
|
2011-06-09 16:23:29 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
</table>
|
|
|
|
<?php endif; ?>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class="clear"></div>
|