khanat-opennel-code/code/web/public_php/webtt/app/views/languages/edit.ctp

41 lines
1.4 KiB
Text
Raw Normal View History

2011-07-14 14:49:25 +00:00
<div class="grid_3">
<div class="box menubox">
2011-08-21 00:54:22 +00:00
<h2>
<a href="#" id="toggle-admin-actions">Actions</a>
</h2>
2011-07-14 14:49:25 +00:00
<div class="inbox">
<div class="block" id="admin-actions">
<h5><?php echo __('Languages', true); ?></h5>
<ul class="menu">
2011-08-21 00:54:22 +00:00
<li><?php echo $this->Html->link(sprintf(__('List all %s', true), __('Languages', true)), array('action' => 'index'));?></li> </ul>
2011-08-21 00:54:22 +00:00
<h5>Translation Files</h5>
<ul class="menu">
2011-08-21 00:54:22 +00:00
<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>
<li><?php echo $this->Html->link(sprintf(__('List all %s', true), __('Translation Files', true)), array('controller' => 'translation_files', 'action' => 'index')); ?> </li>
</ul>
</div>
2011-07-14 14:49:25 +00:00
</div>
</div>
</div>
2011-07-14 14:49:25 +00:00
<div class="grid_13">
<h2 id="page-heading"><?php printf(__('Edit %s', true), __('Language', true)); ?></h2>
<div class="languages form">
<?php echo $this->Form->create('Language');?>
<fieldset>
2011-07-14 14:49:25 +00:00
<legend><?php printf(__('Language # %s', true), $this->Form->value('Language.id')); ?></legend>
<?php
echo $this->Form->input('id');
echo $this->Form->input('name');
echo $this->Form->input('code');
?>
</fieldset>
2011-08-21 00:54:22 +00:00
<div class="box">
<?php echo $this->Form->end(__('Submit', true));?>
</div> </div>
</div>
<div class="clear"></div>