oms-Organization/Theme/Backend/unit-create.tpl.php
Dennis Eichhorn d2015ea93c Language display optimized
Language is now no longer direct array access but provided through a
function. This can be later used to hot load language files instead of
pre-loading them.
2016-07-02 14:14:31 +02:00

43 lines
1.8 KiB
PHP

<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
/**
* @var \phpOMS\Views\View $this
*/
echo $this->getData('nav')->render(); ?>
<section class="box w-33">
<header><h1><?= $this->l11n->getText('Organization', 'Unit'); ?></h1></header>
<div class="inner">
<form>
<table class="layout wf-100">
<tr><td><label for="iName"><?= $this->l11n->getText('Organization', 'Name'); ?></label>
<tr><td><input type="text" name="name" id="iName" placeholder="&#xf040; Orange Management" required>
<tr><td><label for="iParent"><?= $this->l11n->getText('Organization', 'Parent'); ?></label>
<tr><td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i></button><input type="text" name="parent" id="iParent"></span>
<tr><td><label for="iStatus"><?= $this->l11n->getText('Organization', 'Status'); ?></label>
<tr><td><select name="status" id="iStatus">
<option><?= $this->l11n->getText('Organization', 'Active'); ?>
<option><?= $this->l11n->getText('Organization', 'Inactive'); ?>
</select>
<tr><td><label for="iDescription"><?= $this->l11n->getText('Organization', 'Description'); ?></label>
<tr><td><textarea name="description" id="iDescription" placeholder="&#xf040;"></textarea>
<tr><td><input type="submit" value="<?= $this->l11n->getText(0, 'Create') ?>">
</table>
</form>
</div>
</section>