2 <div class="box menubox">
4 <a href="#" id="toggle-admin-actions">Actions</a>
7 <div class="block" id="admin-actions">
8 <h5><?php echo __('Languages', true); ?></h5>
10 <li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Languages', true)), array('action' => 'index')); ?> </li>
13 <h5>Translation Files</h5>
15 <li><?php echo $this->Html->link(sprintf(__('List related %s', true), __('Translation Files', true)), array('controller' => 'translation_files', 'action' => 'index', 'language_id' => $language['Language']['id'])); ?> </li>
16 <li><?php echo $this->Html->link(sprintf(__('List all %s', true), __('Translation Files', true)), array('controller' => 'translation_files', 'action' => 'index')); ?> </li>
26 <div class="languages view">
27 <h2><?php __('Language');?></h2>
30 <?php $i = 1; $class = ' altrow';?>
31 <div class="dt<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>"><?php __('Id'); ?></div>
32 <div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
33 <?php echo $language['Language']['id']; ?>
36 <div style="clear: both"></div>
38 <div class="dt<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>"><?php __('Name'); ?></div>
39 <div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
40 <?php echo $language['Language']['name']; ?>
43 <div style="clear: both"></div>
45 <div class="dt<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>"><?php __('Code'); ?></div>
46 <div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
47 <?php echo $language['Language']['code']; ?>
50 <div style="clear: both"></div>
52 <div class="dt<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>"><?php __('Created'); ?></div>
53 <div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
54 <?php echo $language['Language']['created']; ?>
57 <div style="clear: both"></div>
59 <div class="dt<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>"><?php __('Modified'); ?></div>
60 <div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
61 <?php echo $language['Language']['modified']; ?>
64 <div style="clear: both"></div>
73 <a href="#" id="toggle-related-records"><?php echo (__('Related', true)); ?></a>
75 <div class="block" id="related-records">
77 <!-- TranslationFile -->
79 <h3><?php printf(__('Related %s', true), __('Translation Files', true));?></h3>
80 <?php if (!empty($language['TranslationFile'])):?>
81 <table cellpadding = "0" cellspacing = "0">
84 <th><?php __('Id'); ?></th>
85 <th><?php __('Language Id'); ?></th>
86 <th><?php __('Filename Template'); ?></th>
87 <th><?php __('Created'); ?></th>
88 <th><?php __('Modified'); ?></th>
89 <th class="actions"><?php __('Actions');?></th>
94 foreach ($language['TranslationFile'] as $translationFile):
97 $class = ' class="altrow"';
100 <tr<?php echo $class;?>>
101 <td><?php echo $translationFile['id'];?></td>
102 <td><?php echo $translationFile['language_id'];?></td>
103 <td><?php echo $translationFile['filename_template'];?></td>
104 <td><?php echo $translationFile['created'];?></td>
105 <td><?php echo $translationFile['modified'];?></td>
107 <?php echo $this->Html->link(__('View', true), array('controller' => 'translation_files', 'action' => 'view', $translationFile['id'])); ?>
114 <div class="actions">
116 <li><?php echo $this->Html->link(sprintf(__('List related %s', true), __('Translation Files', true)), array('controller' => 'translation_files', 'action' => 'index', 'language_id' => $language['Language']['id']));?></li>
125 <div class="clear"></div>