parent
4d7293d0f5
commit
0055bd7c4e
@ -1,25 +1,46 @@
|
|||||||
|
<div class="grid_3">
|
||||||
|
<div class="box menubox">
|
||||||
|
<h2>
|
||||||
|
<a href="#" id="toggle-admin-actions">Actions</a>
|
||||||
|
</h2>
|
||||||
|
<div class="inbox">
|
||||||
|
<div class="block" id="admin-actions">
|
||||||
|
<h5><?php echo __('File Identifiers', true); ?></h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('File Identifiers', true)), array('action' => 'index'));?></li> </ul>
|
||||||
|
|
||||||
|
<h5>Imported Translation Files</h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Imported Translation Files', true)), array('controller' => 'imported_translation_files', 'action' => 'index')); ?> </li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<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>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="grid_13">
|
||||||
|
<h2 id="page-heading"><?php printf(__('Add %s', true), __('File Identifier', true)); ?></h2>
|
||||||
|
|
||||||
<div class="fileIdentifiers form">
|
<div class="fileIdentifiers form">
|
||||||
<?php echo $this->Form->create('FileIdentifier');?>
|
<?php echo $this->Form->create('FileIdentifier');?>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend><?php __('Add File Identifier'); ?></legend>
|
<legend><?php printf(__('File Identifier', true)); ?></legend>
|
||||||
<?php
|
<?php
|
||||||
echo $this->Form->input('translation_file_id');
|
echo $this->Form->input('imported_translation_file_id');
|
||||||
echo $this->Form->input('command');
|
echo $this->Form->input('command');
|
||||||
echo $this->Form->input('translation_index');
|
echo $this->Form->input('translation_index');
|
||||||
echo $this->Form->input('identifier_id');
|
echo $this->Form->input('identifier_id');
|
||||||
|
echo $this->Form->input('arguments');
|
||||||
echo $this->Form->input('reference_string');
|
echo $this->Form->input('reference_string');
|
||||||
?>
|
?>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<?php echo $this->Form->end(__('Submit', true));?>
|
<?php echo $this->Form->end(__('Submit', true));?>
|
||||||
</div>
|
</div>
|
||||||
<div class="actions">
|
|
||||||
<h3><?php __('Actions'); ?></h3>
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li><?php echo $this->Html->link(__('List File Identifiers', true), array('action' => 'index'));?></li>
|
|
||||||
<li><?php echo $this->Html->link(__('List Translation Files', true), array('controller' => 'translation_files', 'action' => 'index')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('New Translation File', true), array('controller' => 'translation_files', 'action' => 'add')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('List Identifiers', true), array('controller' => 'identifiers', 'action' => 'index')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('New Identifier', true), array('controller' => 'identifiers', 'action' => 'add')); ?> </li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="clear"></div>
|
||||||
|
@ -1,25 +1,46 @@
|
|||||||
|
<div class="grid_3">
|
||||||
|
<div class="box menubox">
|
||||||
|
<h2>
|
||||||
|
<a href="#" id="toggle-admin-actions">Actions</a>
|
||||||
|
</h2>
|
||||||
|
<div class="inbox">
|
||||||
|
<div class="block" id="admin-actions">
|
||||||
|
<h5><?php echo __('File Identifiers', true); ?></h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('File Identifiers', true)), array('action' => 'index'));?></li> </ul>
|
||||||
|
|
||||||
|
<h5>Imported Translation Files</h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Imported Translation Files', true)), array('controller' => 'imported_translation_files', 'action' => 'index')); ?> </li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<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>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="grid_13">
|
||||||
|
<h2 id="page-heading"><?php printf(__('Admin Add %s', true), __('File Identifier', true)); ?></h2>
|
||||||
|
|
||||||
<div class="fileIdentifiers form">
|
<div class="fileIdentifiers form">
|
||||||
<?php echo $this->Form->create('FileIdentifier');?>
|
<?php echo $this->Form->create('FileIdentifier');?>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend><?php __('Admin Add File Identifier'); ?></legend>
|
<legend><?php printf(__('File Identifier', true)); ?></legend>
|
||||||
<?php
|
<?php
|
||||||
echo $this->Form->input('translation_file_id');
|
echo $this->Form->input('imported_translation_file_id');
|
||||||
echo $this->Form->input('command');
|
echo $this->Form->input('command');
|
||||||
echo $this->Form->input('translation_index');
|
echo $this->Form->input('translation_index');
|
||||||
echo $this->Form->input('identifier_id');
|
echo $this->Form->input('identifier_id');
|
||||||
|
echo $this->Form->input('arguments');
|
||||||
echo $this->Form->input('reference_string');
|
echo $this->Form->input('reference_string');
|
||||||
?>
|
?>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<?php echo $this->Form->end(__('Submit', true));?>
|
<?php echo $this->Form->end(__('Submit', true));?>
|
||||||
</div>
|
</div>
|
||||||
<div class="actions">
|
|
||||||
<h3><?php __('Actions'); ?></h3>
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li><?php echo $this->Html->link(__('List File Identifiers', true), array('action' => 'index'));?></li>
|
|
||||||
<li><?php echo $this->Html->link(__('List Translation Files', true), array('controller' => 'translation_files', 'action' => 'index')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('New Translation File', true), array('controller' => 'translation_files', 'action' => 'add')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('List Identifiers', true), array('controller' => 'identifiers', 'action' => 'index')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('New Identifier', true), array('controller' => 'identifiers', 'action' => 'add')); ?> </li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="clear"></div>
|
||||||
|
@ -1,27 +1,47 @@
|
|||||||
|
<div class="grid_3">
|
||||||
|
<div class="box menubox">
|
||||||
|
<h2>
|
||||||
|
<a href="#" id="toggle-admin-actions">Actions</a>
|
||||||
|
</h2>
|
||||||
|
<div class="inbox">
|
||||||
|
<div class="block" id="admin-actions">
|
||||||
|
<h5><?php echo __('File Identifiers', true); ?></h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('File Identifiers', true)), array('action' => 'index'));?></li> </ul>
|
||||||
|
|
||||||
|
<h5>Imported Translation Files</h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Imported Translation Files', true)), array('controller' => 'imported_translation_files', 'action' => 'index')); ?> </li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<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>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="grid_13">
|
||||||
|
<h2 id="page-heading"><?php printf(__('Admin Edit %s', true), __('File Identifier', true)); ?></h2>
|
||||||
|
|
||||||
<div class="fileIdentifiers form">
|
<div class="fileIdentifiers form">
|
||||||
<?php echo $this->Form->create('FileIdentifier');?>
|
<?php echo $this->Form->create('FileIdentifier');?>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend><?php __('Admin Edit File Identifier'); ?></legend>
|
<legend><?php printf(__('File Identifier # %s', true), $this->Form->value('FileIdentifier.id')); ?></legend>
|
||||||
<?php
|
<?php
|
||||||
echo $this->Form->input('id');
|
echo $this->Form->input('id');
|
||||||
echo $this->Form->input('translation_file_id');
|
echo $this->Form->input('imported_translation_file_id');
|
||||||
echo $this->Form->input('command');
|
echo $this->Form->input('command');
|
||||||
echo $this->Form->input('translation_index');
|
echo $this->Form->input('translation_index');
|
||||||
echo $this->Form->input('identifier_id');
|
echo $this->Form->input('identifier_id');
|
||||||
|
echo $this->Form->input('arguments');
|
||||||
echo $this->Form->input('reference_string');
|
echo $this->Form->input('reference_string');
|
||||||
?>
|
?>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<?php echo $this->Form->end(__('Submit', true));?>
|
<?php echo $this->Form->end(__('Submit', true));?>
|
||||||
</div>
|
</div>
|
||||||
<div class="actions">
|
|
||||||
<h3><?php __('Actions'); ?></h3>
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li><?php echo $this->Html->link(__('Delete', true), array('action' => 'delete', $this->Form->value('FileIdentifier.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $this->Form->value('FileIdentifier.id'))); ?></li>
|
|
||||||
<li><?php echo $this->Html->link(__('List File Identifiers', true), array('action' => 'index'));?></li>
|
|
||||||
<li><?php echo $this->Html->link(__('List Translation Files', true), array('controller' => 'translation_files', 'action' => 'index')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('New Translation File', true), array('controller' => 'translation_files', 'action' => 'add')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('List Identifiers', true), array('controller' => 'identifiers', 'action' => 'index')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('New Identifier', true), array('controller' => 'identifiers', 'action' => 'add')); ?> </li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="clear"></div>
|
||||||
|
@ -1,58 +1,101 @@
|
|||||||
|
<div class="grid_3">
|
||||||
|
<div class="box menubox"> <h2>
|
||||||
|
<a href="#" id="toggle-admin-actions">Actions</a>
|
||||||
|
</h2>
|
||||||
|
<div class="inbox">
|
||||||
|
<div class="block" id="admin-actions">
|
||||||
|
<h5><?php echo __('File Identifiers', true); ?></h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('File Identifiers', true)), array('action' => 'index')); ?> </li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h5>Imported Translation Files</h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Imported Translation Files', true)), array('controller' => 'imported_translation_files', 'action' => 'index')); ?> </li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<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>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="grid_13">
|
||||||
|
|
||||||
|
<div class="box">
|
||||||
<div class="fileIdentifiers view">
|
<div class="fileIdentifiers view">
|
||||||
<h2><?php __('File Identifier');?></h2>
|
<h2><?php __('File Identifier');?></h2>
|
||||||
<dl><?php $i = 0; $class = ' class="altrow"';?>
|
<div class="block">
|
||||||
<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
|
<div class="dl">
|
||||||
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
|
<?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;?>">
|
||||||
<?php echo $fileIdentifier['FileIdentifier']['id']; ?>
|
<?php echo $fileIdentifier['FileIdentifier']['id']; ?>
|
||||||
|
|
||||||
</dd>
|
</div>
|
||||||
<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Translation File'); ?></dt>
|
<?php $i++; ?>
|
||||||
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
|
<div style="clear: both"></div>
|
||||||
<?php echo $this->Html->link($fileIdentifier['TranslationFile']['filename'], array('controller' => 'translation_files', 'action' => 'view', $fileIdentifier['TranslationFile']['id'])); ?>
|
<div class="dt<?php if ($i % 2 == 0) echo $class;?>"><?php __('Imported Translation File'); ?></div>
|
||||||
|
<div class="dd<?php if ($i % 2 == 0) echo $class;?>">
|
||||||
</dd>
|
<?php echo $this->Html->link($fileIdentifier['ImportedTranslationFile']['filename'], array('controller' => 'imported_translation_files', 'action' => 'view', $fileIdentifier['ImportedTranslationFile']['id'])); ?>
|
||||||
<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Command'); ?></dt>
|
</div>
|
||||||
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
|
<?php $i++; ?>
|
||||||
|
<div style="clear: both"></div>
|
||||||
|
<div class="dt<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>"><?php __('Command'); ?></div>
|
||||||
|
<div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
|
||||||
<?php echo $fileIdentifier['FileIdentifier']['command']; ?>
|
<?php echo $fileIdentifier['FileIdentifier']['command']; ?>
|
||||||
|
|
||||||
</dd>
|
</div>
|
||||||
<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Translation Index'); ?></dt>
|
<?php $i++; ?>
|
||||||
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
|
<div style="clear: both"></div>
|
||||||
|
<div class="dt<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>"><?php __('Translation Index'); ?></div>
|
||||||
|
<div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
|
||||||
<?php echo $fileIdentifier['FileIdentifier']['translation_index']; ?>
|
<?php echo $fileIdentifier['FileIdentifier']['translation_index']; ?>
|
||||||
|
|
||||||
</dd>
|
</div>
|
||||||
<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Identifier'); ?></dt>
|
<?php $i++; ?>
|
||||||
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
|
<div style="clear: both"></div>
|
||||||
|
<div class="dt<?php if ($i % 2 == 0) echo $class;?>"><?php __('Identifier'); ?></div>
|
||||||
|
<div class="dd<?php if ($i % 2 == 0) echo $class;?>">
|
||||||
<?php echo $this->Html->link($fileIdentifier['Identifier']['identifier'], array('controller' => 'identifiers', 'action' => 'view', $fileIdentifier['Identifier']['id'])); ?>
|
<?php echo $this->Html->link($fileIdentifier['Identifier']['identifier'], array('controller' => 'identifiers', 'action' => 'view', $fileIdentifier['Identifier']['id'])); ?>
|
||||||
|
</div>
|
||||||
</dd>
|
<?php $i++; ?>
|
||||||
<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Reference String'); ?></dt>
|
<div style="clear: both"></div>
|
||||||
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
|
<div class="dt<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>"><?php __('Arguments'); ?></div>
|
||||||
<?php echo $fileIdentifier['FileIdentifier']['reference_string']; ?>
|
<div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
|
||||||
|
<?php echo $fileIdentifier['FileIdentifier']['arguments']; ?>
|
||||||
</dd>
|
|
||||||
<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Created'); ?></dt>
|
</div>
|
||||||
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
|
<?php $i++; ?>
|
||||||
|
<div style="clear: both"></div>
|
||||||
|
<div class="dt<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>"><?php __('Reference String'); ?></div>
|
||||||
|
<div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
|
||||||
|
<textarea rows="10" style="width: 100%" readonly="true"><?php echo $fileIdentifier['FileIdentifier']['reference_string']; ?></textarea>
|
||||||
|
</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;?>">
|
||||||
<?php echo $fileIdentifier['FileIdentifier']['created']; ?>
|
<?php echo $fileIdentifier['FileIdentifier']['created']; ?>
|
||||||
|
|
||||||
</dd>
|
</div>
|
||||||
<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Modified'); ?></dt>
|
<?php $i++; ?>
|
||||||
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
|
<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;?>">
|
||||||
<?php echo $fileIdentifier['FileIdentifier']['modified']; ?>
|
<?php echo $fileIdentifier['FileIdentifier']['modified']; ?>
|
||||||
|
|
||||||
</dd>
|
</div>
|
||||||
</dl>
|
<?php $i++; ?>
|
||||||
</div>
|
<div style="clear: both"></div>
|
||||||
<div class="actions">
|
</div>
|
||||||
<h3><?php __('Actions'); ?></h3>
|
</div>
|
||||||
<ul>
|
</div>
|
||||||
<li><?php echo $this->Html->link(__('Edit File Identifier', true), array('action' => 'edit', $fileIdentifier['FileIdentifier']['id'])); ?> </li>
|
</div>
|
||||||
<li><?php echo $this->Html->link(__('Delete File Identifier', true), array('action' => 'delete', $fileIdentifier['FileIdentifier']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $fileIdentifier['FileIdentifier']['id'])); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('List File Identifiers', true), array('action' => 'index')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('New File Identifier', true), array('action' => 'add')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('List Translation Files', true), array('controller' => 'translation_files', 'action' => 'index')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('New Translation File', true), array('controller' => 'translation_files', 'action' => 'add')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('List Identifiers', true), array('controller' => 'identifiers', 'action' => 'index')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('New Identifier', true), array('controller' => 'identifiers', 'action' => 'add')); ?> </li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="clear"></div>
|
||||||
|
@ -1,27 +1,47 @@
|
|||||||
|
<div class="grid_3">
|
||||||
|
<div class="box menubox">
|
||||||
|
<h2>
|
||||||
|
<a href="#" id="toggle-admin-actions">Actions</a>
|
||||||
|
</h2>
|
||||||
|
<div class="inbox">
|
||||||
|
<div class="block" id="admin-actions">
|
||||||
|
<h5><?php echo __('File Identifiers', true); ?></h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('File Identifiers', true)), array('action' => 'index'));?></li> </ul>
|
||||||
|
|
||||||
|
<h5>Imported Translation Files</h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Imported Translation Files', true)), array('controller' => 'imported_translation_files', 'action' => 'index')); ?> </li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<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>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="grid_13">
|
||||||
|
<h2 id="page-heading"><?php printf(__('Edit %s', true), __('File Identifier', true)); ?></h2>
|
||||||
|
|
||||||
<div class="fileIdentifiers form">
|
<div class="fileIdentifiers form">
|
||||||
<?php echo $this->Form->create('FileIdentifier');?>
|
<?php echo $this->Form->create('FileIdentifier');?>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend><?php __('Edit File Identifier'); ?></legend>
|
<legend><?php printf(__('File Identifier # %s', true), $this->Form->value('FileIdentifier.id')); ?></legend>
|
||||||
<?php
|
<?php
|
||||||
echo $this->Form->input('id');
|
echo $this->Form->input('id');
|
||||||
echo $this->Form->input('translation_file_id');
|
echo $this->Form->input('imported_translation_file_id');
|
||||||
echo $this->Form->input('command');
|
echo $this->Form->input('command');
|
||||||
echo $this->Form->input('translation_index');
|
echo $this->Form->input('translation_index');
|
||||||
echo $this->Form->input('identifier_id');
|
echo $this->Form->input('identifier_id');
|
||||||
|
echo $this->Form->input('arguments');
|
||||||
echo $this->Form->input('reference_string');
|
echo $this->Form->input('reference_string');
|
||||||
?>
|
?>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<?php echo $this->Form->end(__('Submit', true));?>
|
<?php echo $this->Form->end(__('Submit', true));?>
|
||||||
</div>
|
</div>
|
||||||
<div class="actions">
|
|
||||||
<h3><?php __('Actions'); ?></h3>
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li><?php echo $this->Html->link(__('Delete', true), array('action' => 'delete', $this->Form->value('FileIdentifier.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $this->Form->value('FileIdentifier.id'))); ?></li>
|
|
||||||
<li><?php echo $this->Html->link(__('List File Identifiers', true), array('action' => 'index'));?></li>
|
|
||||||
<li><?php echo $this->Html->link(__('List Translation Files', true), array('controller' => 'translation_files', 'action' => 'index')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('New Translation File', true), array('controller' => 'translation_files', 'action' => 'add')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('List Identifiers', true), array('controller' => 'identifiers', 'action' => 'index')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('New Identifier', true), array('controller' => 'identifiers', 'action' => 'add')); ?> </li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="clear"></div>
|
||||||
|
@ -1,58 +1,101 @@
|
|||||||
|
<div class="grid_3">
|
||||||
|
<div class="box menubox"> <h2>
|
||||||
|
<a href="#" id="toggle-admin-actions">Actions</a>
|
||||||
|
</h2>
|
||||||
|
<div class="inbox">
|
||||||
|
<div class="block" id="admin-actions">
|
||||||
|
<h5><?php echo __('File Identifiers', true); ?></h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('File Identifiers', true)), array('action' => 'index')); ?> </li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h5>Imported Translation Files</h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Imported Translation Files', true)), array('controller' => 'imported_translation_files', 'action' => 'index')); ?> </li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<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>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="grid_13">
|
||||||
|
|
||||||
|
<div class="box">
|
||||||
<div class="fileIdentifiers view">
|
<div class="fileIdentifiers view">
|
||||||
<h2><?php __('File Identifier');?></h2>
|
<h2><?php __('File Identifier');?></h2>
|
||||||
<dl><?php $i = 0; $class = ' class="altrow"';?>
|
<div class="block">
|
||||||
<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
|
<div class="dl">
|
||||||
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
|
<?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;?>">
|
||||||
<?php echo $fileIdentifier['FileIdentifier']['id']; ?>
|
<?php echo $fileIdentifier['FileIdentifier']['id']; ?>
|
||||||
|
|
||||||
</dd>
|
</div>
|
||||||
<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Translation File'); ?></dt>
|
<?php $i++; ?>
|
||||||
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
|
<div style="clear: both"></div>
|
||||||
<?php echo $this->Html->link($fileIdentifier['TranslationFile']['filename'], array('controller' => 'translation_files', 'action' => 'view', $fileIdentifier['TranslationFile']['id'])); ?>
|
<div class="dt<?php if ($i % 2 == 0) echo $class;?>"><?php __('Imported Translation File'); ?></div>
|
||||||
|
<div class="dd<?php if ($i % 2 == 0) echo $class;?>">
|
||||||
</dd>
|
<?php echo $this->Html->link($fileIdentifier['ImportedTranslationFile']['filename'], array('controller' => 'imported_translation_files', 'action' => 'view', $fileIdentifier['ImportedTranslationFile']['id'])); ?>
|
||||||
<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Command'); ?></dt>
|
</div>
|
||||||
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
|
<?php $i++; ?>
|
||||||
|
<div style="clear: both"></div>
|
||||||
|
<div class="dt<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>"><?php __('Command'); ?></div>
|
||||||
|
<div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
|
||||||
<?php echo $fileIdentifier['FileIdentifier']['command']; ?>
|
<?php echo $fileIdentifier['FileIdentifier']['command']; ?>
|
||||||
|
|
||||||
</dd>
|
</div>
|
||||||
<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Translation Index'); ?></dt>
|
<?php $i++; ?>
|
||||||
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
|
<div style="clear: both"></div>
|
||||||
|
<div class="dt<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>"><?php __('Translation Index'); ?></div>
|
||||||
|
<div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
|
||||||
<?php echo $fileIdentifier['FileIdentifier']['translation_index']; ?>
|
<?php echo $fileIdentifier['FileIdentifier']['translation_index']; ?>
|
||||||
|
|
||||||
</dd>
|
</div>
|
||||||
<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Identifier'); ?></dt>
|
<?php $i++; ?>
|
||||||
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
|
<div style="clear: both"></div>
|
||||||
|
<div class="dt<?php if ($i % 2 == 0) echo $class;?>"><?php __('Identifier'); ?></div>
|
||||||
|
<div class="dd<?php if ($i % 2 == 0) echo $class;?>">
|
||||||
<?php echo $this->Html->link($fileIdentifier['Identifier']['identifier'], array('controller' => 'identifiers', 'action' => 'view', $fileIdentifier['Identifier']['id'])); ?>
|
<?php echo $this->Html->link($fileIdentifier['Identifier']['identifier'], array('controller' => 'identifiers', 'action' => 'view', $fileIdentifier['Identifier']['id'])); ?>
|
||||||
|
</div>
|
||||||
</dd>
|
<?php $i++; ?>
|
||||||
<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Reference String'); ?></dt>
|
<div style="clear: both"></div>
|
||||||
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
|
<div class="dt<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>"><?php __('Arguments'); ?></div>
|
||||||
<?php echo $fileIdentifier['FileIdentifier']['reference_string']; ?>
|
<div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
|
||||||
|
<?php echo $fileIdentifier['FileIdentifier']['arguments']; ?>
|
||||||
</dd>
|
|
||||||
<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Created'); ?></dt>
|
</div>
|
||||||
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
|
<?php $i++; ?>
|
||||||
|
<div style="clear: both"></div>
|
||||||
|
<div class="dt<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>"><?php __('Reference String'); ?></div>
|
||||||
|
<div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
|
||||||
|
<textarea rows="10" style="width: 100%" readonly="true"><?php echo $fileIdentifier['FileIdentifier']['reference_string']; ?></textarea>
|
||||||
|
</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;?>">
|
||||||
<?php echo $fileIdentifier['FileIdentifier']['created']; ?>
|
<?php echo $fileIdentifier['FileIdentifier']['created']; ?>
|
||||||
|
|
||||||
</dd>
|
</div>
|
||||||
<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Modified'); ?></dt>
|
<?php $i++; ?>
|
||||||
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
|
<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;?>">
|
||||||
<?php echo $fileIdentifier['FileIdentifier']['modified']; ?>
|
<?php echo $fileIdentifier['FileIdentifier']['modified']; ?>
|
||||||
|
|
||||||
</dd>
|
</div>
|
||||||
</dl>
|
<?php $i++; ?>
|
||||||
</div>
|
<div style="clear: both"></div>
|
||||||
<div class="actions">
|
</div>
|
||||||
<h3><?php __('Actions'); ?></h3>
|
</div>
|
||||||
<ul>
|
</div>
|
||||||
<li><?php echo $this->Html->link(__('Edit File Identifier', true), array('action' => 'edit', $fileIdentifier['FileIdentifier']['id'])); ?> </li>
|
</div>
|
||||||
<li><?php echo $this->Html->link(__('Delete File Identifier', true), array('action' => 'delete', $fileIdentifier['FileIdentifier']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $fileIdentifier['FileIdentifier']['id'])); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('List File Identifiers', true), array('action' => 'index')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('New File Identifier', true), array('action' => 'add')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('List Translation Files', true), array('controller' => 'translation_files', 'action' => 'index')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('New Translation File', true), array('controller' => 'translation_files', 'action' => 'add')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('List Identifiers', true), array('controller' => 'identifiers', 'action' => 'index')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('New Identifier', true), array('controller' => 'identifiers', 'action' => 'add')); ?> </li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="clear"></div>
|
||||||
|
@ -1,25 +1,52 @@
|
|||||||
|
<div class="grid_3">
|
||||||
|
<div class="box menubox">
|
||||||
|
<h2>
|
||||||
|
<a href="#" id="toggle-admin-actions">Actions</a>
|
||||||
|
</h2>
|
||||||
|
<div class="inbox">
|
||||||
|
<div class="block" id="admin-actions">
|
||||||
|
<h5><?php echo __('Identifiers', true); ?></h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Identifiers', true)), array('action' => 'index'));?></li> </ul>
|
||||||
|
|
||||||
|
<h5>Languages</h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Languages', true)), array('controller' => 'languages', 'action' => 'index')); ?> </li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h5>Translations</h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Translations', true)), array('controller' => 'translations', 'action' => 'index')); ?> </li>
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('New %s', true), __('Translation', true)), array('controller' => 'translations', 'action' => 'add')); ?> </li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h5>File Identifiers</h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('File Identifiers', true)), array('controller' => 'file_identifiers', 'action' => 'index')); ?> </li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="grid_13">
|
||||||
|
<h2 id="page-heading"><?php printf(__('Add %s', true), __('Identifier', true)); ?></h2>
|
||||||
|
|
||||||
<div class="identifiers form">
|
<div class="identifiers form">
|
||||||
<?php echo $this->Form->create('Identifier');?>
|
<?php echo $this->Form->create('Identifier');?>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend><?php __('Add Identifier'); ?></legend>
|
<legend><?php printf(__('Identifier', true)); ?></legend>
|
||||||
<?php
|
<?php
|
||||||
echo $this->Form->input('language_id');
|
echo $this->Form->input('language_id');
|
||||||
echo $this->Form->input('translation_index');
|
echo $this->Form->input('translation_index');
|
||||||
echo $this->Form->input('identifier');
|
echo $this->Form->input('identifier');
|
||||||
|
echo $this->Form->input('arguments');
|
||||||
echo $this->Form->input('reference_string');
|
echo $this->Form->input('reference_string');
|
||||||
echo $this->Form->input('translated');
|
echo $this->Form->input('translated');
|
||||||
?>
|
?>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<?php echo $this->Form->end(__('Submit', true));?>
|
<?php echo $this->Form->end(__('Submit', true));?>
|
||||||
</div>
|
</div>
|
||||||
<div class="actions">
|
|
||||||
<h3><?php __('Actions'); ?></h3>
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li><?php echo $this->Html->link(__('List Identifiers', true), array('action' => 'index'));?></li>
|
|
||||||
<li><?php echo $this->Html->link(__('List Languages', true), array('controller' => 'languages', 'action' => 'index')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('New Language', true), array('controller' => 'languages', 'action' => 'add')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('List Translations', true), array('controller' => 'translations', 'action' => 'index')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('New Translation', true), array('controller' => 'translations', 'action' => 'add')); ?> </li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="clear"></div>
|
||||||
|
@ -1,25 +1,69 @@
|
|||||||
|
<div class="grid_3">
|
||||||
|
<div class="box menubox">
|
||||||
|
<h2>
|
||||||
|
<a href="#" id="toggle-admin-actions">Actions</a>
|
||||||
|
</h2>
|
||||||
|
<div class="inbox">
|
||||||
|
<div class="block" id="admin-actions">
|
||||||
|
<h5><?php echo __('Identifiers', true); ?></h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Identifiers', true)), array('action' => 'index'));?></li> </ul>
|
||||||
|
|
||||||
|
<h5>Translation Files</h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Translation Files', true)), array('controller' => 'translation_files', 'action' => 'index')); ?> </li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h5>Translations</h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Translations', true)), array('controller' => 'translations', 'action' => 'index')); ?> </li>
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('New %s', true), __('Best Translation', true)), array('controller' => 'translations', 'action' => 'add')); ?> </li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h5>Translations</h5>
|
||||||
|
<ul class="menu">
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h5>Comments</h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Comments', true)), array('controller' => 'comments', 'action' => 'index')); ?> </li>
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('New %s', true), __('Comment', true)), array('controller' => 'comments', 'action' => 'add')); ?> </li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h5>File Identifiers</h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('File Identifiers', true)), array('controller' => 'file_identifiers', 'action' => 'index')); ?> </li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h5>Identifier Columns</h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Identifier Columns', true)), array('controller' => 'identifier_columns', 'action' => 'index')); ?> </li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="grid_13">
|
||||||
|
<h2 id="page-heading"><?php printf(__('Admin Add %s', true), __('Identifier', true)); ?></h2>
|
||||||
|
|
||||||
<div class="identifiers form">
|
<div class="identifiers form">
|
||||||
<?php echo $this->Form->create('Identifier');?>
|
<?php echo $this->Form->create('Identifier');?>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend><?php __('Admin Add Identifier'); ?></legend>
|
<legend><?php printf(__('Identifier', true)); ?></legend>
|
||||||
<?php
|
<?php
|
||||||
echo $this->Form->input('language_id');
|
echo $this->Form->input('language_id');
|
||||||
|
echo $this->Form->input('translation_file_id');
|
||||||
echo $this->Form->input('translation_index');
|
echo $this->Form->input('translation_index');
|
||||||
echo $this->Form->input('identifier');
|
echo $this->Form->input('identifier');
|
||||||
|
echo $this->Form->input('arguments');
|
||||||
echo $this->Form->input('reference_string');
|
echo $this->Form->input('reference_string');
|
||||||
echo $this->Form->input('translated');
|
echo $this->Form->input('translated');
|
||||||
?>
|
?>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
<div class="box">
|
||||||
<?php echo $this->Form->end(__('Submit', true));?>
|
<?php echo $this->Form->end(__('Submit', true));?>
|
||||||
|
</div> </div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="actions">
|
<div class="clear"></div>
|
||||||
<h3><?php __('Actions'); ?></h3>
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li><?php echo $this->Html->link(__('List Identifiers', true), array('action' => 'index'));?></li>
|
|
||||||
<li><?php echo $this->Html->link(__('List Languages', true), array('controller' => 'languages', 'action' => 'index')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('New Language', true), array('controller' => 'languages', 'action' => 'add')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('List Translations', true), array('controller' => 'translations', 'action' => 'index')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('New Translation', true), array('controller' => 'translations', 'action' => 'add')); ?> </li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
@ -1,27 +1,70 @@
|
|||||||
|
<div class="grid_3">
|
||||||
|
<div class="box menubox">
|
||||||
|
<h2>
|
||||||
|
<a href="#" id="toggle-admin-actions">Actions</a>
|
||||||
|
</h2>
|
||||||
|
<div class="inbox">
|
||||||
|
<div class="block" id="admin-actions">
|
||||||
|
<h5><?php echo __('Identifiers', true); ?></h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Identifiers', true)), array('action' => 'index'));?></li> </ul>
|
||||||
|
|
||||||
|
<h5>Translation Files</h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Translation Files', true)), array('controller' => 'translation_files', 'action' => 'index')); ?> </li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h5>Translations</h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Translations', true)), array('controller' => 'translations', 'action' => 'index')); ?> </li>
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('New %s', true), __('Best Translation', true)), array('controller' => 'translations', 'action' => 'add')); ?> </li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h5>Translations</h5>
|
||||||
|
<ul class="menu">
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h5>Comments</h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Comments', true)), array('controller' => 'comments', 'action' => 'index')); ?> </li>
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('New %s', true), __('Comment', true)), array('controller' => 'comments', 'action' => 'add')); ?> </li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h5>File Identifiers</h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('File Identifiers', true)), array('controller' => 'file_identifiers', 'action' => 'index')); ?> </li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h5>Identifier Columns</h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Identifier Columns', true)), array('controller' => 'identifier_columns', 'action' => 'index')); ?> </li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="grid_13">
|
||||||
|
<h2 id="page-heading"><?php printf(__('Admin Edit %s', true), __('Identifier', true)); ?></h2>
|
||||||
|
|
||||||
<div class="identifiers form">
|
<div class="identifiers form">
|
||||||
<?php echo $this->Form->create('Identifier');?>
|
<?php echo $this->Form->create('Identifier');?>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend><?php __('Admin Edit Identifier'); ?></legend>
|
<legend><?php printf(__('Identifier # %s', true), $this->Form->value('Identifier.id')); ?></legend>
|
||||||
<?php
|
<?php
|
||||||
echo $this->Form->input('id');
|
echo $this->Form->input('id');
|
||||||
echo $this->Form->input('language_id');
|
echo $this->Form->input('language_id');
|
||||||
|
echo $this->Form->input('translation_file_id');
|
||||||
echo $this->Form->input('translation_index');
|
echo $this->Form->input('translation_index');
|
||||||
echo $this->Form->input('identifier');
|
echo $this->Form->input('identifier');
|
||||||
|
echo $this->Form->input('arguments');
|
||||||
echo $this->Form->input('reference_string');
|
echo $this->Form->input('reference_string');
|
||||||
echo $this->Form->input('translated');
|
echo $this->Form->input('translated');
|
||||||
?>
|
?>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
<div class="box">
|
||||||
<?php echo $this->Form->end(__('Submit', true));?>
|
<?php echo $this->Form->end(__('Submit', true));?>
|
||||||
|
</div> </div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="actions">
|
<div class="clear"></div>
|
||||||
<h3><?php __('Actions'); ?></h3>
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li><?php echo $this->Html->link(__('Delete', true), array('action' => 'delete', $this->Form->value('Identifier.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $this->Form->value('Identifier.id'))); ?></li>
|
|
||||||
<li><?php echo $this->Html->link(__('List Identifiers', true), array('action' => 'index'));?></li>
|
|
||||||
<li><?php echo $this->Html->link(__('List Languages', true), array('controller' => 'languages', 'action' => 'index')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('New Language', true), array('controller' => 'languages', 'action' => 'add')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('List Translations', true), array('controller' => 'translations', 'action' => 'index')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('New Translation', true), array('controller' => 'translations', 'action' => 'add')); ?> </li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
@ -1,27 +1,53 @@
|
|||||||
|
<div class="grid_3">
|
||||||
|
<div class="box menubox">
|
||||||
|
<h2>
|
||||||
|
<a href="#" id="toggle-admin-actions">Actions</a>
|
||||||
|
</h2>
|
||||||
|
<div class="inbox">
|
||||||
|
<div class="block" id="admin-actions">
|
||||||
|
<h5><?php echo __('Identifiers', true); ?></h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Identifiers', true)), array('action' => 'index'));?></li> </ul>
|
||||||
|
|
||||||
|
<h5>Languages</h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Languages', true)), array('controller' => 'languages', 'action' => 'index')); ?> </li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h5>Translations</h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Translations', true)), array('controller' => 'translations', 'action' => 'index')); ?> </li>
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('New %s', true), __('Translation', true)), array('controller' => 'translations', 'action' => 'add')); ?> </li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h5>File Identifiers</h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('File Identifiers', true)), array('controller' => 'file_identifiers', 'action' => 'index')); ?> </li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="grid_13">
|
||||||
|
<h2 id="page-heading"><?php printf(__('Edit %s', true), __('Identifier', true)); ?></h2>
|
||||||
|
|
||||||
<div class="identifiers form">
|
<div class="identifiers form">
|
||||||
<?php echo $this->Form->create('Identifier');?>
|
<?php echo $this->Form->create('Identifier');?>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend><?php __('Edit Identifier'); ?></legend>
|
<legend><?php printf(__('Identifier # %s', true), $this->Form->value('Identifier.id')); ?></legend>
|
||||||
<?php
|
<?php
|
||||||
echo $this->Form->input('id');
|
echo $this->Form->input('id');
|
||||||
echo $this->Form->input('language_id');
|
echo $this->Form->input('language_id');
|
||||||
echo $this->Form->input('translation_index');
|
echo $this->Form->input('translation_index');
|
||||||
echo $this->Form->input('identifier');
|
echo $this->Form->input('identifier');
|
||||||
|
echo $this->Form->input('arguments');
|
||||||
echo $this->Form->input('reference_string');
|
echo $this->Form->input('reference_string');
|
||||||
echo $this->Form->input('translated');
|
echo $this->Form->input('translated');
|
||||||
?>
|
?>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<?php echo $this->Form->end(__('Submit', true));?>
|
<?php echo $this->Form->end(__('Submit', true));?>
|
||||||
</div>
|
</div>
|
||||||
<div class="actions">
|
|
||||||
<h3><?php __('Actions'); ?></h3>
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li><?php echo $this->Html->link(__('Delete', true), array('action' => 'delete', $this->Form->value('Identifier.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $this->Form->value('Identifier.id'))); ?></li>
|
|
||||||
<li><?php echo $this->Html->link(__('List Identifiers', true), array('action' => 'index'));?></li>
|
|
||||||
<li><?php echo $this->Html->link(__('List Languages', true), array('controller' => 'languages', 'action' => 'index')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('New Language', true), array('controller' => 'languages', 'action' => 'add')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('List Translations', true), array('controller' => 'translations', 'action' => 'index')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('New Translation', true), array('controller' => 'translations', 'action' => 'add')); ?> </li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="clear"></div>
|
||||||
|
@ -1,22 +1,50 @@
|
|||||||
<div class="translationFiles form">
|
<div class="grid_3">
|
||||||
<?php echo $this->Form->create('TranslationFile');?>
|
<div class="box menubox">
|
||||||
|
<h2>
|
||||||
|
<a href="#" id="toggle-admin-actions">Actions</a>
|
||||||
|
</h2>
|
||||||
|
<div class="inbox">
|
||||||
|
<div class="block" id="admin-actions">
|
||||||
|
<h5><?php echo __('Imported Translation Files', true); ?></h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Imported Translation Files', true)), array('action' => 'index'));?></li> </ul>
|
||||||
|
|
||||||
|
<h5>Languages</h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Languages', true)), array('controller' => 'languages', 'action' => 'index')); ?> </li>
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('New %s', true), __('Language', true)), array('controller' => 'languages', 'action' => 'add')); ?> </li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h5>Raw Files</h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Raw Files', true)), array('controller' => 'raw_files', 'action' => 'index')); ?> </li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h5>File Identifiers</h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('File Identifiers', true)), array('controller' => 'file_identifiers', 'action' => 'index')); ?> </li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="grid_13">
|
||||||
|
<h2 id="page-heading"><?php printf(__('Admin Add %s', true), __('Imported Translation File', true)); ?></h2>
|
||||||
|
|
||||||
|
<div class="importedTranslationFiles form">
|
||||||
|
<?php echo $this->Form->create('ImportedTranslationFile');?>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend><?php __('Admin Add Translation File'); ?></legend>
|
<legend><?php printf(__('Imported Translation File', true)); ?></legend>
|
||||||
<?php
|
<?php
|
||||||
echo $this->Form->input('language_id');
|
echo $this->Form->input('language_id');
|
||||||
echo $this->Form->input('filename');
|
echo $this->Form->input('filename');
|
||||||
|
echo $this->Form->input('merged');
|
||||||
|
echo $this->Form->input('file_last_modified_date');
|
||||||
?>
|
?>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<?php echo $this->Form->end(__('Submit', true));?>
|
<?php echo $this->Form->end(__('Submit', true));?>
|
||||||
</div>
|
</div>
|
||||||
<div class="actions">
|
|
||||||
<h3><?php __('Actions'); ?></h3>
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li><?php echo $this->Html->link(__('List Translation Files', true), array('action' => 'index'));?></li>
|
|
||||||
<li><?php echo $this->Html->link(__('List Languages', true), array('controller' => 'languages', 'action' => 'index')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('New Language', true), array('controller' => 'languages', 'action' => 'add')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('List File Identifiers', true), array('controller' => 'file_identifiers', 'action' => 'index')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('New File Identifier', true), array('controller' => 'file_identifiers', 'action' => 'add')); ?> </li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="clear"></div>
|
||||||
|
@ -1,24 +1,51 @@
|
|||||||
<div class="translationFiles form">
|
<div class="grid_3">
|
||||||
<?php echo $this->Form->create('TranslationFile');?>
|
<div class="box menubox">
|
||||||
|
<h2>
|
||||||
|
<a href="#" id="toggle-admin-actions">Actions</a>
|
||||||
|
</h2>
|
||||||
|
<div class="inbox">
|
||||||
|
<div class="block" id="admin-actions">
|
||||||
|
<h5><?php echo __('Imported Translation Files', true); ?></h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Imported Translation Files', true)), array('action' => 'index'));?></li> </ul>
|
||||||
|
|
||||||
|
<h5>Languages</h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Languages', true)), array('controller' => 'languages', 'action' => 'index')); ?> </li>
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('New %s', true), __('Language', true)), array('controller' => 'languages', 'action' => 'add')); ?> </li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h5>Raw Files</h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Raw Files', true)), array('controller' => 'raw_files', 'action' => 'index')); ?> </li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h5>File Identifiers</h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('File Identifiers', true)), array('controller' => 'file_identifiers', 'action' => 'index')); ?> </li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="grid_13">
|
||||||
|
<h2 id="page-heading"><?php printf(__('Admin Edit %s', true), __('Imported Translation File', true)); ?></h2>
|
||||||
|
|
||||||
|
<div class="importedTranslationFiles form">
|
||||||
|
<?php echo $this->Form->create('ImportedTranslationFile');?>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend><?php __('Admin Edit Translation File'); ?></legend>
|
<legend><?php printf(__('Imported Translation File # %s', true), $this->Form->value('ImportedTranslationFile.id')); ?></legend>
|
||||||
<?php
|
<?php
|
||||||
echo $this->Form->input('id');
|
echo $this->Form->input('id');
|
||||||
echo $this->Form->input('language_id');
|
echo $this->Form->input('language_id');
|
||||||
echo $this->Form->input('filename');
|
echo $this->Form->input('filename');
|
||||||
|
echo $this->Form->input('merged');
|
||||||
|
echo $this->Form->input('file_last_modified_date');
|
||||||
?>
|
?>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<?php echo $this->Form->end(__('Submit', true));?>
|
<?php echo $this->Form->end(__('Submit', true));?>
|
||||||
</div>
|
</div>
|
||||||
<div class="actions">
|
|
||||||
<h3><?php __('Actions'); ?></h3>
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li><?php echo $this->Html->link(__('Delete', true), array('action' => 'delete', $this->Form->value('TranslationFile.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $this->Form->value('TranslationFile.id'))); ?></li>
|
|
||||||
<li><?php echo $this->Html->link(__('List Translation Files', true), array('action' => 'index'));?></li>
|
|
||||||
<li><?php echo $this->Html->link(__('List Languages', true), array('controller' => 'languages', 'action' => 'index')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('New Language', true), array('controller' => 'languages', 'action' => 'add')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('List File Identifiers', true), array('controller' => 'file_identifiers', 'action' => 'index')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('New File Identifier', true), array('controller' => 'file_identifiers', 'action' => 'add')); ?> </li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="clear"></div>
|
||||||
|
@ -1,43 +1,48 @@
|
|||||||
<div class="grid_4">
|
<div class="grid_3">
|
||||||
<div class="box">
|
<div class="box menubox">
|
||||||
<h2>
|
<h2>
|
||||||
<a href="#" id="toggle-admin-actions">Actions</a>
|
<a href="#" id="toggle-admin-actions">Actions</a>
|
||||||
</h2>
|
</h2>
|
||||||
|
<div class="inbox">
|
||||||
<div class="block" id="admin-actions">
|
<div class="block" id="admin-actions">
|
||||||
<h5>Languages</h5>
|
<h5><?php echo __('Languages', true); ?></h5>
|
||||||
<ul class="menu">
|
<ul class="menu">
|
||||||
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Languages', true)), array('action' => 'index'));?></li>
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Languages', true)), array('action' => 'index'));?></li> </ul>
|
||||||
</ul>
|
|
||||||
|
|
||||||
<h5>Identifiers</h5>
|
<h5>Identifiers</h5>
|
||||||
<ul class="menu">
|
<ul class="menu">
|
||||||
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Identifiers', true)), array('controller' => 'identifiers', 'action' => 'index')); ?> </li>
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Identifiers', true)), array('controller' => 'identifiers', 'action' => 'index')); ?> </li>
|
||||||
<li><?php echo $this->Html->link(sprintf(__('New %s', true), __('Identifier', true)), array('controller' => 'identifiers', 'action' => 'add')); ?> </li>
|
</ul>
|
||||||
|
|
||||||
|
<h5>Imported Translation Files</h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Imported Translation Files', true)), array('controller' => 'imported_translation_files', 'action' => 'index')); ?> </li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<h5>Translation Files</h5>
|
<h5>Translation Files</h5>
|
||||||
<ul class="menu">
|
<ul class="menu">
|
||||||
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Translation Files', true)), array('controller' => 'translation_files', 'action' => 'index')); ?> </li>
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Translation Files', true)), array('controller' => 'translation_files', 'action' => 'index')); ?> </li>
|
||||||
<li><?php echo $this->Html->link(sprintf(__('New %s', true), __('Translation File', true)), array('controller' => 'translation_files', 'action' => 'add')); ?> </li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="grid_12">
|
<div class="grid_13">
|
||||||
<h2 id="page-heading"><?php printf(__('Admin Add %s', true), __('Language', true)); ?></h2>
|
<h2 id="page-heading"><?php printf(__('Admin Add %s', true), __('Language', true)); ?></h2>
|
||||||
|
|
||||||
<div class="languages form">
|
<div class="languages form">
|
||||||
<?php echo $this->Form->create('Language');?>
|
<?php echo $this->Form->create('Language');?>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend><?php printf(__('Language Record', true)); ?></legend>
|
<legend><?php printf(__('Language', true)); ?></legend>
|
||||||
<?php
|
<?php
|
||||||
echo $this->Form->input('name');
|
echo $this->Form->input('name');
|
||||||
echo $this->Form->input('code');
|
echo $this->Form->input('code');
|
||||||
?>
|
?>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
<div class="box">
|
||||||
<?php echo $this->Form->end(__('Submit', true));?>
|
<?php echo $this->Form->end(__('Submit', true));?>
|
||||||
</div>
|
</div> </div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="clear"></div>
|
<div class="clear"></div>
|
||||||
|
@ -1,45 +1,49 @@
|
|||||||
<div class="grid_4">
|
<div class="grid_3">
|
||||||
<div class="box">
|
<div class="box menubox">
|
||||||
<h2>
|
<h2>
|
||||||
<a href="#" id="toggle-admin-actions">Actions</a>
|
<a href="#" id="toggle-admin-actions">Actions</a>
|
||||||
</h2>
|
</h2>
|
||||||
|
<div class="inbox">
|
||||||
<div class="block" id="admin-actions">
|
<div class="block" id="admin-actions">
|
||||||
<h5>Languages</h5>
|
<h5><?php echo __('Languages', true); ?></h5>
|
||||||
<ul class="menu">
|
<ul class="menu">
|
||||||
<li><?php echo $this->Html->link(__('Delete', true), array('action' => 'delete', $this->Form->value('Language.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $this->Form->value('Language.id'))); ?></li>
|
<li><?php echo $this->Html->link(__('Delete', true), array('action' => 'delete', $this->Form->value('Language.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $this->Form->value('Language.id'))); ?></li> <li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Languages', true)), array('action' => 'index'));?></li> </ul>
|
||||||
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Languages', true)), array('action' => 'index'));?></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<h5>Identifiers</h5>
|
<h5>Identifiers</h5>
|
||||||
<ul class="menu">
|
<ul class="menu">
|
||||||
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Identifiers', true)), array('controller' => 'identifiers', 'action' => 'index')); ?> </li>
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Identifiers', true)), array('controller' => 'identifiers', 'action' => 'index')); ?> </li>
|
||||||
<li><?php echo $this->Html->link(sprintf(__('New %s', true), __('Identifier', true)), array('controller' => 'identifiers', 'action' => 'add')); ?> </li>
|
</ul>
|
||||||
|
|
||||||
|
<h5>Imported Translation Files</h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Imported Translation Files', true)), array('controller' => 'imported_translation_files', 'action' => 'index')); ?> </li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<h5>Translation Files</h5>
|
<h5>Translation Files</h5>
|
||||||
<ul class="menu">
|
<ul class="menu">
|
||||||
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Translation Files', true)), array('controller' => 'translation_files', 'action' => 'index')); ?> </li>
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Translation Files', true)), array('controller' => 'translation_files', 'action' => 'index')); ?> </li>
|
||||||
<li><?php echo $this->Html->link(sprintf(__('New %s', true), __('Translation File', true)), array('controller' => 'translation_files', 'action' => 'add')); ?> </li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="grid_12">
|
<div class="grid_13">
|
||||||
<h2 id="page-heading"><?php printf(__('Admin Edit %s', true), __('Language', true)); ?></h2>
|
<h2 id="page-heading"><?php printf(__('Admin Edit %s', true), __('Language', true)); ?></h2>
|
||||||
|
|
||||||
<div class="languages form">
|
<div class="languages form">
|
||||||
<?php echo $this->Form->create('Language');?>
|
<?php echo $this->Form->create('Language');?>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend><?php printf(__('Language Record', true)); ?></legend>
|
<legend><?php printf(__('Language # %s', true), $this->Form->value('Language.id')); ?></legend>
|
||||||
<?php
|
<?php
|
||||||
echo $this->Form->input('id');
|
echo $this->Form->input('id');
|
||||||
echo $this->Form->input('name');
|
echo $this->Form->input('name');
|
||||||
echo $this->Form->input('code');
|
echo $this->Form->input('code');
|
||||||
?>
|
?>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
<div class="box">
|
||||||
<?php echo $this->Form->end(__('Submit', true));?>
|
<?php echo $this->Form->end(__('Submit', true));?>
|
||||||
</div>
|
</div> </div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="clear"></div>
|
<div class="clear"></div>
|
||||||
|
@ -1,25 +1,129 @@
|
|||||||
|
<div class="grid_3">
|
||||||
|
<div class="box menubox">
|
||||||
|
<h2>
|
||||||
|
<a href="#" id="toggle-admin-actions">Actions</a>
|
||||||
|
</h2>
|
||||||
|
<div class="inbox">
|
||||||
|
<div class="block" id="admin-actions">
|
||||||
|
<h5><?php echo __('Translations', true); ?></h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Translations', true)), array('action' => 'index'));?></li> </ul>
|
||||||
|
|
||||||
|
<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>
|
||||||
|
|
||||||
|
<h5>Users</h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Users', true)), array('controller' => 'users', 'action' => 'index')); ?> </li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h5>Votes</h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Votes', true)), array('controller' => 'votes', 'action' => 'index')); ?> </li>
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('New %s', true), __('Vote', true)), array('controller' => 'votes', 'action' => 'add')); ?> </li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="grid_13">
|
||||||
|
|
||||||
|
|
||||||
|
<h2 id="page-heading"><?php printf(__('Add %s', true), __('Translation', true)); ?></h2>
|
||||||
|
|
||||||
<div class="translations form">
|
<div class="translations form">
|
||||||
<?php echo $this->Form->create('Translation');?>
|
<?php echo $this->Form->create('Translation');?>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend><?php __('Add Translation'); ?></legend>
|
<legend><?php printf(__('Translation', true)); ?></legend>
|
||||||
<?php
|
<?php
|
||||||
echo $this->Form->input('identifier_id');
|
// echo ($identifiers[$identifier['Identifier']['id']
|
||||||
|
echo $this->Form->hidden('identifier_id', array('default' => $identifier['Identifier']['id']));
|
||||||
echo $this->Form->input('translation_text');
|
echo $this->Form->input('translation_text');
|
||||||
echo $this->Form->input('user_id');
|
// TODO: change user_id for authorized user
|
||||||
|
echo $this->Form->hidden('user_id', array('default' => 1));
|
||||||
?>
|
?>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
<div class="box">
|
||||||
<?php echo $this->Form->end(__('Submit', true));?>
|
<?php echo $this->Form->end(__('Submit', true));?>
|
||||||
</div>
|
</div>
|
||||||
<div class="actions">
|
|
||||||
<h3><?php __('Actions'); ?></h3>
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li><?php echo $this->Html->link(__('List Translations', true), array('action' => 'index'));?></li>
|
|
||||||
<li><?php echo $this->Html->link(__('List Identifiers', true), array('controller' => 'identifiers', 'action' => 'index')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('New Identifier', true), array('controller' => 'identifiers', 'action' => 'add')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('List Users', true), array('controller' => 'users', 'action' => 'index')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('New User', true), array('controller' => 'users', 'action' => 'add')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('List Votes', true), array('controller' => 'votes', 'action' => 'index')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('New Vote', true), array('controller' => 'votes', 'action' => 'add')); ?> </li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="box">
|
||||||
|
<div class="identifiers view">
|
||||||
|
<h2><?php __('Identifier');?></h2>
|
||||||
|
<div class="block">
|
||||||
|
<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;?>">
|
||||||
|
<?php echo $identifier['Identifier']['id']; ?>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<?php $i++; ?>
|
||||||
|
<div style="clear: both"></div>
|
||||||
|
<div class="dt<?php if ($i % 2 == 0) echo $class;?>"><?php __('Language'); ?></div>
|
||||||
|
<div class="dd<?php if ($i % 2 == 0) echo $class;?>">
|
||||||
|
<?php echo $this->Html->link($identifier['Language']['name'], array('controller' => 'languages', 'action' => 'view', $identifier['Language']['id'])); ?>
|
||||||
|
</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 __('Translation Index'); ?></div>
|
||||||
|
<div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
|
||||||
|
<?php echo $identifier['Identifier']['translation_index']; ?>
|
||||||
|
|
||||||
|
</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 __('Identifier'); ?></div>
|
||||||
|
<div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
|
||||||
|
<?php echo $identifier['Identifier']['identifier']; ?>
|
||||||
|
|
||||||
|
</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 __('Arguments'); ?></div>
|
||||||
|
<div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
|
||||||
|
<?php echo $identifier['Identifier']['arguments']; ?>
|
||||||
|
|
||||||
|
</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 __('Reference String'); ?></div>
|
||||||
|
<div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
|
||||||
|
<?php echo $identifier['Identifier']['reference_string']; ?>
|
||||||
|
|
||||||
|
</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 __('Translated'); ?></div>
|
||||||
|
<div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
|
||||||
|
<?php echo $identifier['Identifier']['translated']; ?>
|
||||||
|
|
||||||
|
</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;?>">
|
||||||
|
<?php echo $identifier['Identifier']['created']; ?>
|
||||||
|
|
||||||
|
</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;?>">
|
||||||
|
<?php echo $identifier['Identifier']['modified']; ?>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<?php $i++; ?>
|
||||||
|
<div style="clear: both"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="clear"></div>
|
||||||
|
@ -1,28 +1,121 @@
|
|||||||
|
<div class="grid_3">
|
||||||
|
<div class="box menubox">
|
||||||
|
<h2>
|
||||||
|
<a href="#" id="toggle-admin-actions">Actions</a>
|
||||||
|
</h2>
|
||||||
|
<div class="inbox">
|
||||||
|
<div class="block" id="admin-actions">
|
||||||
|
<h5><?php echo __('Translations', true); ?></h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(__('Delete', true), array('action' => 'delete', $this->Form->value('Translation.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $this->Form->value('Translation.id'))); ?></li> <li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Translations', true)), array('action' => 'index'));?></li> </ul>
|
||||||
|
|
||||||
|
<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>
|
||||||
|
|
||||||
|
<h5>Users</h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Users', true)), array('controller' => 'users', 'action' => 'index')); ?> </li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h5>Votes</h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Votes', true)), array('controller' => 'votes', 'action' => 'index')); ?> </li>
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('New %s', true), __('Vote', true)), array('controller' => 'votes', 'action' => 'add')); ?> </li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="grid_13">
|
||||||
|
<h2 id="page-heading"><?php printf(__('Edit %s', true), __('Translation', true)); ?></h2>
|
||||||
|
|
||||||
<div class="translations form">
|
<div class="translations form">
|
||||||
<?php echo $this->Form->create('Translation');?>
|
<?php echo $this->Form->create('Translation');?>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend><?php __('Edit Translation'); ?></legend>
|
<legend><?php printf(__('Translation # %s', true), $this->Form->value('Translation.id')); ?></legend>
|
||||||
<?php
|
<?php
|
||||||
echo $this->Form->input('id');
|
echo $this->Form->input('id');
|
||||||
echo $this->Form->input('identifier_id');
|
echo $this->Form->input('identifier_id', array('type' => 'text', 'name'=>'buzu', 'value'=>$identifiers[$this->Form->value('Translation.identifier_id')], 'readonly' => 'readonly'));
|
||||||
|
echo $this->Form->hidden('identifier_id', array('default' => $this->Form->value('Translation.identifier_id')));
|
||||||
echo $this->Form->input('translation_text');
|
echo $this->Form->input('translation_text');
|
||||||
echo $this->Form->input('user_id');
|
// TODO: change user_id for authorized user
|
||||||
|
echo $this->Form->hidden('user_id', array('default' => 1));
|
||||||
?>
|
?>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
<div class="box">
|
||||||
<?php echo $this->Form->end(__('Submit', true));?>
|
<?php echo $this->Form->end(__('Submit', true));?>
|
||||||
</div>
|
</div>
|
||||||
<div class="actions">
|
|
||||||
<h3><?php __('Actions'); ?></h3>
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li><?php echo $this->Html->link(__('Delete', true), array('action' => 'delete', $this->Form->value('Translation.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $this->Form->value('Translation.id'))); ?></li>
|
|
||||||
<li><br></li>
|
|
||||||
<li><?php echo $this->Html->link(__('List Translations', true), array('action' => 'index'));?></li>
|
|
||||||
<li><br></li>
|
|
||||||
<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 Users', true), array('controller' => 'users', 'action' => 'index')); ?> </li>
|
|
||||||
<li><br></li>
|
|
||||||
<li><?php echo $this->Html->link(__('List Votes', true), array('controller' => 'votes', 'action' => 'index')); ?> </li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="box">
|
||||||
|
<div class="identifiers view">
|
||||||
|
<h2><?php __('Identifier');?></h2>
|
||||||
|
<div class="block">
|
||||||
|
<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;?>">
|
||||||
|
<?php echo $identifier['Identifier']['id']; ?>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<?php $i++; ?>
|
||||||
|
<div style="clear: both"></div>
|
||||||
|
<div class="dt<?php if ($i % 2 == 0) echo $class;?>"><?php __('Language'); ?></div>
|
||||||
|
<div class="dd<?php if ($i % 2 == 0) echo $class;?>">
|
||||||
|
<?php echo $this->Html->link($identifier['Language']['name'], array('controller' => 'languages', 'action' => 'view', $identifier['Language']['id'])); ?>
|
||||||
|
</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 __('Identifier'); ?></div>
|
||||||
|
<div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
|
||||||
|
<?php echo $identifier['Identifier']['identifier']; ?>
|
||||||
|
|
||||||
|
</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 __('Arguments'); ?></div>
|
||||||
|
<div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
|
||||||
|
<?php echo $identifier['Identifier']['arguments']; ?>
|
||||||
|
|
||||||
|
</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 __('Reference String'); ?></div>
|
||||||
|
<div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
|
||||||
|
<?php echo $identifier['Identifier']['reference_string']; ?>
|
||||||
|
|
||||||
|
</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 __('Translated'); ?></div>
|
||||||
|
<div class="dd<?php if ($i == 1) echo " dh"; else if ($i % 2 == 0) echo $class;?>">
|
||||||
|
<?php echo $identifier['Identifier']['translated']; ?>
|
||||||
|
|
||||||
|
</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;?>">
|
||||||
|
<?php echo $identifier['Identifier']['created']; ?>
|
||||||
|
|
||||||
|
</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;?>">
|
||||||
|
<?php echo $identifier['Identifier']['modified']; ?>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<?php $i++; ?>
|
||||||
|
<div style="clear: both"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="clear"></div>
|
||||||
|
@ -1,21 +1,43 @@
|
|||||||
|
<div class="grid_3">
|
||||||
|
<div class="box menubox">
|
||||||
|
<h2>
|
||||||
|
<a href="#" id="toggle-admin-actions">Actions</a>
|
||||||
|
</h2>
|
||||||
|
<div class="inbox">
|
||||||
|
<div class="block" id="admin-actions">
|
||||||
|
<h5><?php echo __('Users', true); ?></h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Users', true)), array('action' => 'index'));?></li> </ul>
|
||||||
|
|
||||||
|
<h5>Translations</h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Translations', true)), array('controller' => 'translations', 'action' => 'index')); ?> </li>
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('New %s', true), __('Translation', true)), array('controller' => 'translations', 'action' => 'add')); ?> </li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h5>Votes</h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Votes', true)), array('controller' => 'votes', 'action' => 'index')); ?> </li>
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('New %s', true), __('Vote', true)), array('controller' => 'votes', 'action' => 'add')); ?> </li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="grid_13">
|
||||||
|
<h2 id="page-heading"><?php printf(__('Add %s', true), __('User', true)); ?></h2>
|
||||||
|
|
||||||
<div class="users form">
|
<div class="users form">
|
||||||
<?php echo $this->Form->create('User');?>
|
<?php echo $this->Form->create('User');?>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend><?php __('Add User'); ?></legend>
|
<legend><?php printf(__('User', true)); ?></legend>
|
||||||
<?php
|
<?php
|
||||||
echo $this->Form->input('name');
|
echo $this->Form->input('name');
|
||||||
?>
|
?>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<?php echo $this->Form->end(__('Submit', true));?>
|
<?php echo $this->Form->end(__('Submit', true));?>
|
||||||
</div>
|
</div>
|
||||||
<div class="actions">
|
|
||||||
<h3><?php __('Actions'); ?></h3>
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li><?php echo $this->Html->link(__('List Users', true), array('action' => 'index'));?></li>
|
|
||||||
<li><?php echo $this->Html->link(__('List Translations', true), array('controller' => 'translations', 'action' => 'index')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('New Translation', true), array('controller' => 'translations', 'action' => 'add')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('List Votes', true), array('controller' => 'votes', 'action' => 'index')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('New Vote', true), array('controller' => 'votes', 'action' => 'add')); ?> </li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="clear"></div>
|
||||||
|
@ -1,21 +1,43 @@
|
|||||||
|
<div class="grid_3">
|
||||||
|
<div class="box menubox">
|
||||||
|
<h2>
|
||||||
|
<a href="#" id="toggle-admin-actions">Actions</a>
|
||||||
|
</h2>
|
||||||
|
<div class="inbox">
|
||||||
|
<div class="block" id="admin-actions">
|
||||||
|
<h5><?php echo __('Users', true); ?></h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Users', true)), array('action' => 'index'));?></li> </ul>
|
||||||
|
|
||||||
|
<h5>Translations</h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Translations', true)), array('controller' => 'translations', 'action' => 'index')); ?> </li>
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('New %s', true), __('Translation', true)), array('controller' => 'translations', 'action' => 'add')); ?> </li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h5>Votes</h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Votes', true)), array('controller' => 'votes', 'action' => 'index')); ?> </li>
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('New %s', true), __('Vote', true)), array('controller' => 'votes', 'action' => 'add')); ?> </li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="grid_13">
|
||||||
|
<h2 id="page-heading"><?php printf(__('Admin Add %s', true), __('User', true)); ?></h2>
|
||||||
|
|
||||||
<div class="users form">
|
<div class="users form">
|
||||||
<?php echo $this->Form->create('User');?>
|
<?php echo $this->Form->create('User');?>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend><?php __('Admin Add User'); ?></legend>
|
<legend><?php printf(__('User', true)); ?></legend>
|
||||||
<?php
|
<?php
|
||||||
echo $this->Form->input('name');
|
echo $this->Form->input('name');
|
||||||
?>
|
?>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<?php echo $this->Form->end(__('Submit', true));?>
|
<?php echo $this->Form->end(__('Submit', true));?>
|
||||||
</div>
|
</div>
|
||||||
<div class="actions">
|
|
||||||
<h3><?php __('Actions'); ?></h3>
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li><?php echo $this->Html->link(__('List Users', true), array('action' => 'index'));?></li>
|
|
||||||
<li><?php echo $this->Html->link(__('List Translations', true), array('controller' => 'translations', 'action' => 'index')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('New Translation', true), array('controller' => 'translations', 'action' => 'add')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('List Votes', true), array('controller' => 'votes', 'action' => 'index')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('New Vote', true), array('controller' => 'votes', 'action' => 'add')); ?> </li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="clear"></div>
|
||||||
|
@ -1,43 +1,79 @@
|
|||||||
|
<div class="grid_3">
|
||||||
|
<div class="box menubox"> <h2>
|
||||||
|
<a href="#" id="toggle-admin-actions">Actions</a>
|
||||||
|
</h2>
|
||||||
|
<div class="inbox">
|
||||||
|
<div class="block" id="admin-actions">
|
||||||
|
<h5><?php echo __('Votes', true); ?></h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('Edit %s', true), __('Vote', true)), array('action' => 'edit', $vote['Vote']['id'])); ?> </li>
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('Delete %s', true), __('Vote', true)), array('action' => 'delete', $vote['Vote']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $vote['Vote']['id'])); ?> </li>
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Votes', true)), array('action' => 'index')); ?> </li>
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('New %s', true), __('Vote', true)), array('action' => 'add')); ?> </li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h5>Translations</h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Translations', true)), array('controller' => 'translations', 'action' => 'index')); ?> </li>
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('New %s', true), __('Translation', true)), array('controller' => 'translations', 'action' => 'add')); ?> </li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h5>Users</h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Users', true)), array('controller' => 'users', 'action' => 'index')); ?> </li>
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('New %s', true), __('User', true)), array('controller' => 'users', 'action' => 'add')); ?> </li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="grid_13">
|
||||||
|
|
||||||
|
<div class="box">
|
||||||
<div class="votes view">
|
<div class="votes view">
|
||||||
<h2><?php __('Vote');?></h2>
|
<h2><?php __('Vote');?></h2>
|
||||||
<dl><?php $i = 0; $class = ' class="altrow"';?>
|
<div class="block">
|
||||||
<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
|
<div class="dl">
|
||||||
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
|
<?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;?>">
|
||||||
<?php echo $vote['Vote']['id']; ?>
|
<?php echo $vote['Vote']['id']; ?>
|
||||||
|
|
||||||
</dd>
|
</div>
|
||||||
<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Translation'); ?></dt>
|
<?php $i++; ?>
|
||||||
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
|
<div style="clear: both"></div>
|
||||||
|
<div class="dt<?php if ($i % 2 == 0) echo $class;?>"><?php __('Translation'); ?></div>
|
||||||
|
<div class="dd<?php if ($i % 2 == 0) echo $class;?>">
|
||||||
<?php echo $this->Html->link($vote['Translation']['translation_text'], array('controller' => 'translations', 'action' => 'view', $vote['Translation']['id'])); ?>
|
<?php echo $this->Html->link($vote['Translation']['translation_text'], array('controller' => 'translations', 'action' => 'view', $vote['Translation']['id'])); ?>
|
||||||
|
</div>
|
||||||
</dd>
|
<?php $i++; ?>
|
||||||
<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('User'); ?></dt>
|
<div style="clear: both"></div>
|
||||||
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
|
<div class="dt<?php if ($i % 2 == 0) echo $class;?>"><?php __('User'); ?></div>
|
||||||
|
<div class="dd<?php if ($i % 2 == 0) echo $class;?>">
|
||||||
<?php echo $this->Html->link($vote['User']['name'], array('controller' => 'users', 'action' => 'view', $vote['User']['id'])); ?>
|
<?php echo $this->Html->link($vote['User']['name'], array('controller' => 'users', 'action' => 'view', $vote['User']['id'])); ?>
|
||||||
|
</div>
|
||||||
</dd>
|
<?php $i++; ?>
|
||||||
<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Created'); ?></dt>
|
<div style="clear: both"></div>
|
||||||
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
|
<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;?>">
|
||||||
<?php echo $vote['Vote']['created']; ?>
|
<?php echo $vote['Vote']['created']; ?>
|
||||||
|
|
||||||
</dd>
|
</div>
|
||||||
<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Modified'); ?></dt>
|
<?php $i++; ?>
|
||||||
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
|
<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;?>">
|
||||||
<?php echo $vote['Vote']['modified']; ?>
|
<?php echo $vote['Vote']['modified']; ?>
|
||||||
|
|
||||||
</dd>
|
</div>
|
||||||
</dl>
|
<?php $i++; ?>
|
||||||
</div>
|
<div style="clear: both"></div>
|
||||||
<div class="actions">
|
</div>
|
||||||
<h3><?php __('Actions'); ?></h3>
|
</div>
|
||||||
<ul>
|
</div>
|
||||||
<li><?php echo $this->Html->link(__('Edit Vote', true), array('action' => 'edit', $vote['Vote']['id'])); ?> </li>
|
</div>
|
||||||
<li><?php echo $this->Html->link(__('Delete Vote', true), array('action' => 'delete', $vote['Vote']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $vote['Vote']['id'])); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('List Votes', true), array('action' => 'index')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('New Vote', true), array('action' => 'add')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('List Translations', true), array('controller' => 'translations', 'action' => 'index')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('New Translation', true), array('controller' => 'translations', 'action' => 'add')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('List Users', true), array('controller' => 'users', 'action' => 'index')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('New User', true), array('controller' => 'users', 'action' => 'add')); ?> </li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="clear"></div>
|
||||||
|
@ -1,43 +1,76 @@
|
|||||||
|
<div class="grid_3">
|
||||||
|
<div class="box menubox"> <h2>
|
||||||
|
<a href="#" id="toggle-admin-actions">Actions</a>
|
||||||
|
</h2>
|
||||||
|
<div class="inbox">
|
||||||
|
<div class="block" id="admin-actions">
|
||||||
|
<h5><?php echo __('Votes', true); ?></h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('Edit %s', true), __('Vote', true)), array('action' => 'edit', $vote['Vote']['id'])); ?> </li>
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Votes', true)), array('action' => 'index')); ?> </li>
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('New %s', true), __('Vote', true)), array('action' => 'add')); ?> </li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h5>Translations</h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Translations', true)), array('controller' => 'translations', 'action' => 'index')); ?> </li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h5>Users</h5>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Users', true)), array('controller' => 'users', 'action' => 'index')); ?> </li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="grid_13">
|
||||||
|
|
||||||
|
<div class="box">
|
||||||
<div class="votes view">
|
<div class="votes view">
|
||||||
<h2><?php __('Vote');?></h2>
|
<h2><?php __('Vote');?></h2>
|
||||||
<dl><?php $i = 0; $class = ' class="altrow"';?>
|
<div class="block">
|
||||||
<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
|
<div class="dl">
|
||||||
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
|
<?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;?>">
|
||||||
<?php echo $vote['Vote']['id']; ?>
|
<?php echo $vote['Vote']['id']; ?>
|
||||||
|
|
||||||
</dd>
|
</div>
|
||||||
<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Translation'); ?></dt>
|
<?php $i++; ?>
|
||||||
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
|
<div style="clear: both"></div>
|
||||||
|
<div class="dt<?php if ($i % 2 == 0) echo $class;?>"><?php __('Translation'); ?></div>
|
||||||
|
<div class="dd<?php if ($i % 2 == 0) echo $class;?>">
|
||||||
<?php echo $this->Html->link($vote['Translation']['translation_text'], array('controller' => 'translations', 'action' => 'view', $vote['Translation']['id'])); ?>
|
<?php echo $this->Html->link($vote['Translation']['translation_text'], array('controller' => 'translations', 'action' => 'view', $vote['Translation']['id'])); ?>
|
||||||
|
</div>
|
||||||
</dd>
|
<?php $i++; ?>
|
||||||
<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('User'); ?></dt>
|
<div style="clear: both"></div>
|
||||||
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
|
<div class="dt<?php if ($i % 2 == 0) echo $class;?>"><?php __('User'); ?></div>
|
||||||
|
<div class="dd<?php if ($i % 2 == 0) echo $class;?>">
|
||||||
<?php echo $this->Html->link($vote['User']['name'], array('controller' => 'users', 'action' => 'view', $vote['User']['id'])); ?>
|
<?php echo $this->Html->link($vote['User']['name'], array('controller' => 'users', 'action' => 'view', $vote['User']['id'])); ?>
|
||||||
|
</div>
|
||||||
</dd>
|
<?php $i++; ?>
|
||||||
<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Created'); ?></dt>
|
<div style="clear: both"></div>
|
||||||
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
|
<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;?>">
|
||||||
<?php echo $vote['Vote']['created']; ?>
|
<?php echo $vote['Vote']['created']; ?>
|
||||||
|
|
||||||
</dd>
|
</div>
|
||||||
<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Modified'); ?></dt>
|
<?php $i++; ?>
|
||||||
<dd<?php if ($i++ % 2 == 0) echo $class;?>>
|
<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;?>">
|
||||||
<?php echo $vote['Vote']['modified']; ?>
|
<?php echo $vote['Vote']['modified']; ?>
|
||||||
|
|
||||||
</dd>
|
</div>
|
||||||
</dl>
|
<?php $i++; ?>
|
||||||
</div>
|
<div style="clear: both"></div>
|
||||||
<div class="actions">
|
</div>
|
||||||
<h3><?php __('Actions'); ?></h3>
|
</div>
|
||||||
<ul>
|
</div>
|
||||||
<li><?php echo $this->Html->link(__('Edit Vote', true), array('action' => 'edit', $vote['Vote']['id'])); ?> </li>
|
</div>
|
||||||
<li><?php echo $this->Html->link(__('Delete Vote', true), array('action' => 'delete', $vote['Vote']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $vote['Vote']['id'])); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('List Votes', true), array('action' => 'index')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('New Vote', true), array('action' => 'add')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('List Translations', true), array('controller' => 'translations', 'action' => 'index')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('New Translation', true), array('controller' => 'translations', 'action' => 'add')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('List Users', true), array('controller' => 'users', 'action' => 'index')); ?> </li>
|
|
||||||
<li><?php echo $this->Html->link(__('New User', true), array('controller' => 'users', 'action' => 'add')); ?> </li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="clear"></div>
|
||||||
|
Loading…
Reference in New Issue