mirror of
https://github.com/Karaka-Management/oms-Marketing.git
synced 2026-02-15 17:48:40 +00:00
Case fix!
This commit is contained in:
parent
88e5821925
commit
01349bb0cf
22
Theme/Backend/Lang/Navigation.en.lang.php
Normal file
22
Theme/Backend/Lang/Navigation.en.lang.php
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
<?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
|
||||||
|
*/
|
||||||
|
$MODLANG['Navigation'] = [
|
||||||
|
'Analysis' => 'Analysis',
|
||||||
|
'Create' => 'Create',
|
||||||
|
'Events' => 'Events',
|
||||||
|
'Marketing' => 'Marketing',
|
||||||
|
'Promotions' => 'Promotions',
|
||||||
|
];
|
||||||
17
Theme/Backend/Lang/api.en.lang.php
Normal file
17
Theme/Backend/Lang/api.en.lang.php
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
<?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
|
||||||
|
*/
|
||||||
|
$MODLANG[1] = [
|
||||||
|
];
|
||||||
31
Theme/Backend/Lang/en.lang.php
Normal file
31
Theme/Backend/Lang/en.lang.php
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
<?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
|
||||||
|
*/
|
||||||
|
$MODLANG['Marketing'] = [
|
||||||
|
'Budget' => 'Budget',
|
||||||
|
'Description' => 'Description',
|
||||||
|
'Expenses' => 'Expenses',
|
||||||
|
'End' => 'End',
|
||||||
|
'Event' => 'Event',
|
||||||
|
'Events' => 'Events',
|
||||||
|
'Limit' => 'Limit',
|
||||||
|
'Location' => 'Location',
|
||||||
|
'Promotion' => 'Promotion',
|
||||||
|
'Sales' => 'Sales',
|
||||||
|
'Start' => 'Start',
|
||||||
|
'Status' => 'Status',
|
||||||
|
'Title' => 'Title',
|
||||||
|
'Type' => 'Type',
|
||||||
|
];
|
||||||
41
Theme/Backend/event-create.tpl.php
Normal file
41
Theme/Backend/event-create.tpl.php
Normal file
|
|
@ -0,0 +1,41 @@
|
||||||
|
<?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-50">
|
||||||
|
<h1><?= $this->l11n->lang['Marketing']['Event'] ?></h1>
|
||||||
|
<div class="inner">
|
||||||
|
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/reporter/template'); ?>" method="post">
|
||||||
|
<table class="layout wf-100">
|
||||||
|
<tbody>
|
||||||
|
<tr><td colspan="2"><label for="iTitle"><?= $this->l11n->lang['Marketing']['Type'] ?></label>
|
||||||
|
<tr><td colspan="2"><select></select>
|
||||||
|
<tr><td colspan="2"><label for="iBudget"><?= $this->l11n->lang['Marketing']['Title']; ?></label>
|
||||||
|
<tr><td colspan="2"><input type="text">
|
||||||
|
<tr><td colspan="2"><label for="iBudget"><?= $this->l11n->lang['Marketing']['Description']; ?></label>
|
||||||
|
<tr><td colspan="2"><textarea></textarea>
|
||||||
|
<tr><td><label for="iTitle"><?= $this->l11n->lang['Marketing']['Start'] ?></label><td><label for="iTitle"><?= $this->l11n->lang['Marketing']['End'] ?></label>
|
||||||
|
<tr><td><input type="datetime-local"><td><input type="datetime-local">
|
||||||
|
<tr><td colspan="2"><label for="iBudget"><?= $this->l11n->lang['Marketing']['Budget']; ?></label>
|
||||||
|
<tr><td colspan="2"><input type="text" id="iBudget" name="budget" placeholder="">
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
48
Theme/Backend/event-list.tpl.php
Normal file
48
Theme/Backend/event-list.tpl.php
Normal file
|
|
@ -0,0 +1,48 @@
|
||||||
|
<?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
|
||||||
|
*/
|
||||||
|
|
||||||
|
$footerView = new \Web\Views\Lists\PaginationView($this->app, $this->request, $this->response);
|
||||||
|
$footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig');
|
||||||
|
$footerView->setPages(20);
|
||||||
|
$footerView->setPage(1);
|
||||||
|
|
||||||
|
echo $this->getData('nav')->render(); ?>
|
||||||
|
|
||||||
|
<section class="box w-100">
|
||||||
|
<table class="table">
|
||||||
|
<caption><?= $this->l11n->lang['Marketing']['Events'] ?></caption>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<td><?= $this->l11n->lang['Marketing']['Status']; ?>
|
||||||
|
<td><?= $this->l11n->lang['Marketing']['Type']; ?>
|
||||||
|
<td class="wf-100"><?= $this->l11n->lang['Marketing']['Title']; ?>
|
||||||
|
<td><?= $this->l11n->lang['Marketing']['Start']; ?>
|
||||||
|
<td><?= $this->l11n->lang['Marketing']['End']; ?>
|
||||||
|
<td><?= $this->l11n->lang['Marketing']['Location']; ?>
|
||||||
|
<td><?= $this->l11n->lang['Marketing']['Expenses']; ?>
|
||||||
|
<td><?= $this->l11n->lang['Marketing']['Sales']; ?>
|
||||||
|
<td><?= $this->l11n->lang['Marketing']['Budget']; ?>
|
||||||
|
<tfoot>
|
||||||
|
<tr>
|
||||||
|
<td colspan="9"><?= $footerView->render(); ?>
|
||||||
|
<tbody>
|
||||||
|
<?php $count = 0; foreach([] as $key => $value) : $count++; ?>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
<?php if($count === 0) : ?>
|
||||||
|
<tr><td colspan="9" class="empty"><?= $this->l11n->lang[0]['Empty']; ?>
|
||||||
|
<?php endif; ?>
|
||||||
|
</table>
|
||||||
|
</section>
|
||||||
0
Theme/Backend/event-profile.tpl.php
Normal file
0
Theme/Backend/event-profile.tpl.php
Normal file
44
Theme/Backend/promotion-create.tpl.php
Normal file
44
Theme/Backend/promotion-create.tpl.php
Normal file
|
|
@ -0,0 +1,44 @@
|
||||||
|
<?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-50">
|
||||||
|
<h1><?= $this->l11n->lang['Marketing']['Promotion'] ?></h1>
|
||||||
|
<div class="inner">
|
||||||
|
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/reporter/template'); ?>" method="post">
|
||||||
|
<table class="layout wf-100">
|
||||||
|
<tbody>
|
||||||
|
<tr><td colspan="2"><label for="iTitle"><?= $this->l11n->lang['Marketing']['Type'] ?></label>
|
||||||
|
<tr><td colspan="2"><select></select>
|
||||||
|
<tr><td colspan="2"><label for="iBudget"><?= $this->l11n->lang['Marketing']['Title']; ?></label>
|
||||||
|
<tr><td colspan="2"><input type="text">
|
||||||
|
<tr><td colspan="2"><label for="iBudget"><?= $this->l11n->lang['Marketing']['Description']; ?></label>
|
||||||
|
<tr><td colspan="2"><textarea></textarea>
|
||||||
|
<tr><td><label for="iTitle"><?= $this->l11n->lang['Marketing']['Start'] ?></label><td><label for="iTitle"><?= $this->l11n->lang['Marketing']['End'] ?></label>
|
||||||
|
<tr><td><input type="datetime-local"><td><input type="datetime-local">
|
||||||
|
<tr><td colspan="2"><label for="iBudget"><?= $this->l11n->lang['Marketing']['Budget']; ?></label>
|
||||||
|
<tr><td colspan="2"><input type="text" id="iBudget" name="budget" placeholder="">
|
||||||
|
<tr><td colspan="2"><label for="iBudget"><?= $this->l11n->lang['Marketing']['Limit']; ?></label>
|
||||||
|
<tr><td colspan="2"><input type="text">
|
||||||
|
<tr><td colspan="2"><input type="submit" value="<?= $this->l11n->lang[0]['Create'] ?>">
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
46
Theme/Backend/promotion-list.tpl.php
Normal file
46
Theme/Backend/promotion-list.tpl.php
Normal file
|
|
@ -0,0 +1,46 @@
|
||||||
|
<?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
|
||||||
|
*/
|
||||||
|
|
||||||
|
$footerView = new \Web\Views\Lists\PaginationView($this->app, $this->request, $this->response);
|
||||||
|
$footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig');
|
||||||
|
$footerView->setPages(20);
|
||||||
|
$footerView->setPage(1);
|
||||||
|
|
||||||
|
echo $this->getData('nav')->render(); ?>
|
||||||
|
|
||||||
|
<section class="box w-100">
|
||||||
|
<table class="table">
|
||||||
|
<caption><?= $this->l11n->lang['Marketing']['Events'] ?></caption>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<td><?= $this->l11n->lang['Marketing']['Status']; ?>
|
||||||
|
<td class="wf-100"><?= $this->l11n->lang['Marketing']['Title']; ?>
|
||||||
|
<td><?= $this->l11n->lang['Marketing']['Start']; ?>
|
||||||
|
<td><?= $this->l11n->lang['Marketing']['End']; ?>
|
||||||
|
<td><?= $this->l11n->lang['Marketing']['Expenses']; ?>
|
||||||
|
<td><?= $this->l11n->lang['Marketing']['Sales']; ?>
|
||||||
|
<td><?= $this->l11n->lang['Marketing']['Budget']; ?>
|
||||||
|
<tfoot>
|
||||||
|
<tr>
|
||||||
|
<td colspan="7"><?= $footerView->render(); ?>
|
||||||
|
<tbody>
|
||||||
|
<?php $count = 0; foreach([] as $key => $value) : $count++; ?>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
<?php if($count === 0) : ?>
|
||||||
|
<tr><td colspan="7" class="empty"><?= $this->l11n->lang[0]['Empty']; ?>
|
||||||
|
<?php endif; ?>
|
||||||
|
</table>
|
||||||
|
</section>
|
||||||
0
Theme/Backend/promotion-profile.tpl.php
Normal file
0
Theme/Backend/promotion-profile.tpl.php
Normal file
Loading…
Reference in New Issue
Block a user