From 8f76db30cd9912ce57edb5aca6fa2f1972ca4e7e Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 26 Mar 2016 18:59:38 +0100 Subject: [PATCH] Case fix! --- Theme/Backend/Lang/Navigation.en.lang.php | 28 +++ Theme/Backend/Lang/api.en.lang.php | 17 ++ Theme/Backend/Lang/en.lang.php | 49 ++++++ Theme/Backend/entries.tpl.php | 179 ++++++++++++++++++++ Theme/Backend/gl-create.tpl.php | 33 ++++ Theme/Backend/gl-list.tpl.php | 52 ++++++ Theme/Backend/gl-profile.tpl.php | 16 ++ Theme/Backend/journal-list.tpl.php | 52 ++++++ Theme/Backend/stack-archive-list.tpl.php | 54 ++++++ Theme/Backend/stack-create.tpl.php | 38 +++++ Theme/Backend/stack-entries.tpl.php | 16 ++ Theme/Backend/stack-list.tpl.php | 54 ++++++ Theme/Backend/stack-predefined-list.tpl.php | 55 ++++++ 13 files changed, 643 insertions(+) create mode 100644 Theme/Backend/Lang/Navigation.en.lang.php create mode 100644 Theme/Backend/Lang/api.en.lang.php create mode 100644 Theme/Backend/Lang/en.lang.php create mode 100644 Theme/Backend/entries.tpl.php create mode 100644 Theme/Backend/gl-create.tpl.php create mode 100644 Theme/Backend/gl-list.tpl.php create mode 100644 Theme/Backend/gl-profile.tpl.php create mode 100644 Theme/Backend/journal-list.tpl.php create mode 100644 Theme/Backend/stack-archive-list.tpl.php create mode 100644 Theme/Backend/stack-create.tpl.php create mode 100644 Theme/Backend/stack-entries.tpl.php create mode 100644 Theme/Backend/stack-list.tpl.php create mode 100644 Theme/Backend/stack-predefined-list.tpl.php diff --git a/Theme/Backend/Lang/Navigation.en.lang.php b/Theme/Backend/Lang/Navigation.en.lang.php new file mode 100644 index 0000000..6610932 --- /dev/null +++ b/Theme/Backend/Lang/Navigation.en.lang.php @@ -0,0 +1,28 @@ + + * @author Dennis Eichhorn + * @copyright 2013 Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +$MODLANG['Navigation'] = [ + 'Accounting' => 'Accounting', + 'AccountPostings' => 'Account Postings', + 'Balance' => 'Balance', + 'BatchPostings' => 'Batch Postings', + 'CostCenters' => 'Cost Centers', + 'CostObjects' => 'Cost Objects', + 'Creditors' => 'Creditors', + 'Debitors' => 'Debitors', + 'Entries' => 'Entries', + 'Postings' => 'Postings', + 'Predefined' => 'Predefined', +]; diff --git a/Theme/Backend/Lang/api.en.lang.php b/Theme/Backend/Lang/api.en.lang.php new file mode 100644 index 0000000..eea62f6 --- /dev/null +++ b/Theme/Backend/Lang/api.en.lang.php @@ -0,0 +1,17 @@ + + * @author Dennis Eichhorn + * @copyright 2013 Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +$MODLANG[1] = [ +]; diff --git a/Theme/Backend/Lang/en.lang.php b/Theme/Backend/Lang/en.lang.php new file mode 100644 index 0000000..021d988 --- /dev/null +++ b/Theme/Backend/Lang/en.lang.php @@ -0,0 +1,49 @@ + + * @author Dennis Eichhorn + * @copyright 2013 Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +$MODLANG['Accounting'] = [ + 'Account' => 'Account', + 'Accounts' => 'Accounts', + 'BatchPostings' => 'Batch Postings', + 'Charts' => 'Charts', + 'ContraAccount' => 'Contra Account', + 'CostCenter' => 'Cost Center', + 'CostCenters' => 'Cost Centers', + 'CostObject' => 'Cost Object', + 'CostObjects' => 'Cost Objects', + 'Created' => 'Created', + 'Creator' => 'Creator', + 'Credit' => 'Credit', + 'Debit' => 'Debit', + 'Due' => 'Due', + 'Entries' => 'Entries', + 'EntryDate' => 'Entry Date', + 'Evaluation' => 'Evaluation', + 'ExternalVoucher' => 'External Voucher', + 'Incoming' => 'Incoming', + 'GL' => 'GL', + 'List' => 'List', + 'Name' => 'Name', + 'Outgoing' => 'Outgoing', + 'Parent' => 'Parent', + 'Receipt' => 'Receipt', + 'ReceiptDate' => 'Receipt Date', + 'Stack' => 'Stack', + 'TAccount' => 'T-Account', + 'Text' => 'Text', + 'To' => 'To', + 'Total' => 'Total', + 'Type' => 'Type', +]; diff --git a/Theme/Backend/entries.tpl.php b/Theme/Backend/entries.tpl.php new file mode 100644 index 0000000..98c2303 --- /dev/null +++ b/Theme/Backend/entries.tpl.php @@ -0,0 +1,179 @@ + + * @author Dennis Eichhorn + * @copyright 2013 Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +//echo $this->getData('nav')->render(); + +$footerView = new \Web\Views\Lists\PaginationView($this->app, $this->request, $this->response); +$footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig'); + +$footerView->setPages(1 / 25); +$footerView->setPage(1); +$footerView->setResults(1); +?> + +
+
+
+ + + + + + +
+
+ + + +
+
+ + + +
+
+
+
+
+ +
+
+ +
+ +
+
+ + + + + + + + $value) : $count++; ?> + + + +
l11n->lang['Accounting']['Entries'] ?>
l11n->lang['Accounting']['EntryDate']; ?> + l11n->lang['Accounting']['Receipt']; ?> + l11n->lang['Accounting']['Debit']; ?> + l11n->lang['Accounting']['Credit']; ?> + l11n->lang['Accounting']['Text']; ?> + l11n->lang['Accounting']['Account']; ?> + l11n->lang['Accounting']['ContraAccount']; ?> + l11n->lang['Accounting']['CostCenter']; ?> + l11n->lang['Accounting']['CostObject']; ?> + l11n->lang['Accounting']['ReceiptDate']; ?> + l11n->lang['Accounting']['ExternalVoucher']; ?> + l11n->lang['Accounting']['Creator']; ?> + l11n->lang['Accounting']['Created']; ?> +
render(); ?> +
l11n->lang[0]['Empty']; ?> + +
+
+
+ +
+
+ + + + + + $value) : $count++; ?> + + + +
l11n->lang['Accounting']['Accounts'] ?>
l11n->lang['Accounting']['Account']; ?> + l11n->lang['Accounting']['Name']; ?> + l11n->lang['Accounting']['Total']; ?> +
l11n->lang[0]['Empty']; ?> + +
+
+
+ + + + + + $value) : $count++; ?> + + + +
l11n->lang['Accounting']['CostCenter'] ?>
l11n->lang['Accounting']['CostCenter']; ?> + l11n->lang['Accounting']['Name']; ?> + l11n->lang['Accounting']['Total']; ?> +
l11n->lang[0]['Empty']; ?> + +
+
+
+ + + + + + $value) : $count++; ?> + + + +
l11n->lang['Accounting']['CostObject'] ?>
l11n->lang['Accounting']['Account']; ?> + l11n->lang['Accounting']['Name']; ?> + l11n->lang['Accounting']['Total']; ?> +
l11n->lang[0]['Empty']; ?> + +
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Theme/Backend/gl-create.tpl.php b/Theme/Backend/gl-create.tpl.php new file mode 100644 index 0000000..432a660 --- /dev/null +++ b/Theme/Backend/gl-create.tpl.php @@ -0,0 +1,33 @@ + + * @author Dennis Eichhorn + * @copyright 2013 Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +echo $this->getData('nav')->render(); ?> + +
+

l11n->lang['Accounting']['GL']; ?>

+
+
+ +
+
+
+
+
+
+
+
+
+
+
diff --git a/Theme/Backend/gl-list.tpl.php b/Theme/Backend/gl-list.tpl.php new file mode 100644 index 0000000..b9348e1 --- /dev/null +++ b/Theme/Backend/gl-list.tpl.php @@ -0,0 +1,52 @@ + + * @author Dennis Eichhorn + * @copyright 2013 Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +/** + * @var \phpOMS\Views\View $this + */ + +$footerView = new \Web\Views\Lists\PaginationView($this->app, $this->request, $this->response); +$footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig'); + +$footerView->setPages(1 / 25); +$footerView->setPage(1); +$footerView->setResults(1); + +echo $this->getData('nav')->render(); ?> + +
+ + + + + + + $value) : $c++; + $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/admin/group/settings?id=' . $value->getId()); ?> + +
l11n->lang['Accounting']['GL']; ?>
l11n->lang[0]['ID']; ?> + l11n->lang['Accounting']['Name']; ?> +
render(); ?> +
getId(); ?> + getName(); ?> + + + + + +
l11n->lang[0]['Empty']; ?> + +
+
diff --git a/Theme/Backend/gl-profile.tpl.php b/Theme/Backend/gl-profile.tpl.php new file mode 100644 index 0000000..ac22ab8 --- /dev/null +++ b/Theme/Backend/gl-profile.tpl.php @@ -0,0 +1,16 @@ + + * @author Dennis Eichhorn + * @copyright 2013 Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +echo $this->getData('nav')->render(); ?> diff --git a/Theme/Backend/journal-list.tpl.php b/Theme/Backend/journal-list.tpl.php new file mode 100644 index 0000000..93a892a --- /dev/null +++ b/Theme/Backend/journal-list.tpl.php @@ -0,0 +1,52 @@ + + * @author Dennis Eichhorn + * @copyright 2013 Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +/** + * @var \phpOMS\Views\View $this + */ + +$footerView = new \Web\Views\Lists\PaginationView($this->app, $this->request, $this->response); +$footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig'); + +$footerView->setPages(1 / 25); +$footerView->setPage(1); +$footerView->setResults(1); + +echo $this->getData('nav')->render(); ?> + +
+ + + + + + + $value) : $c++; + $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/admin/group/settings?id=' . $value->getId()); ?> + +
l11n->lang['Accounting']['Journal']; ?>
l11n->lang[0]['ID']; ?> + l11n->lang['Accounting']['Name']; ?> +
render(); ?> +
getId(); ?> + getName(); ?> + + + + + +
l11n->lang[0]['Empty']; ?> + +
+
diff --git a/Theme/Backend/stack-archive-list.tpl.php b/Theme/Backend/stack-archive-list.tpl.php new file mode 100644 index 0000000..c5a28a0 --- /dev/null +++ b/Theme/Backend/stack-archive-list.tpl.php @@ -0,0 +1,54 @@ + + * @author Dennis Eichhorn + * @copyright 2013 Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +/** + * @var \phpOMS\Views\View $this + */ + +$footerView = new \Web\Views\Lists\PaginationView($this->app, $this->request, $this->response); +$footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig'); + +$footerView->setPages(1 / 25); +$footerView->setPage(1); +$footerView->setResults(1); + +echo $this->getData('nav')->render(); ?> + +
+ + + + + + + $value) : $c++; + $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/admin/group/settings?id=' . $value->getId()); ?> + +
l11n->lang['Accounting']['BatchPostings']; ?>
l11n->lang[0]['ID']; ?> + l11n->lang['Accounting']['Name']; ?> + l11n->lang['Accounting']['Creator']; ?> + l11n->lang['Accounting']['Created']; ?> +
render(); ?> +
getId(); ?> + getName(); ?> + + + + + +
l11n->lang[0]['Empty']; ?> + +
+
diff --git a/Theme/Backend/stack-create.tpl.php b/Theme/Backend/stack-create.tpl.php new file mode 100644 index 0000000..8227fd7 --- /dev/null +++ b/Theme/Backend/stack-create.tpl.php @@ -0,0 +1,38 @@ + + * @author Dennis Eichhorn + * @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(); ?> + +
+

l11n->lang['Accounting']['Stack']; ?>

+
+
+ +
+
+
+
+
+
+
+
+
diff --git a/Theme/Backend/stack-entries.tpl.php b/Theme/Backend/stack-entries.tpl.php new file mode 100644 index 0000000..ac22ab8 --- /dev/null +++ b/Theme/Backend/stack-entries.tpl.php @@ -0,0 +1,16 @@ + + * @author Dennis Eichhorn + * @copyright 2013 Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +echo $this->getData('nav')->render(); ?> diff --git a/Theme/Backend/stack-list.tpl.php b/Theme/Backend/stack-list.tpl.php new file mode 100644 index 0000000..c5a28a0 --- /dev/null +++ b/Theme/Backend/stack-list.tpl.php @@ -0,0 +1,54 @@ + + * @author Dennis Eichhorn + * @copyright 2013 Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +/** + * @var \phpOMS\Views\View $this + */ + +$footerView = new \Web\Views\Lists\PaginationView($this->app, $this->request, $this->response); +$footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig'); + +$footerView->setPages(1 / 25); +$footerView->setPage(1); +$footerView->setResults(1); + +echo $this->getData('nav')->render(); ?> + +
+ + + + + + + $value) : $c++; + $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/admin/group/settings?id=' . $value->getId()); ?> + +
l11n->lang['Accounting']['BatchPostings']; ?>
l11n->lang[0]['ID']; ?> + l11n->lang['Accounting']['Name']; ?> + l11n->lang['Accounting']['Creator']; ?> + l11n->lang['Accounting']['Created']; ?> +
render(); ?> +
getId(); ?> + getName(); ?> + + + + + +
l11n->lang[0]['Empty']; ?> + +
+
diff --git a/Theme/Backend/stack-predefined-list.tpl.php b/Theme/Backend/stack-predefined-list.tpl.php new file mode 100644 index 0000000..911b0d1 --- /dev/null +++ b/Theme/Backend/stack-predefined-list.tpl.php @@ -0,0 +1,55 @@ + + * @author Dennis Eichhorn + * @copyright 2013 Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +/** + * @var \phpOMS\Views\View $this + */ + +$footerView = new \Web\Views\Lists\PaginationView($this->app, $this->request, $this->response); +$footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig'); + +$footerView->setPages(1 / 25); +$footerView->setPage(1); +$footerView->setResults(1); + +echo $this->getData('nav')->render(); ?> + +
+ + + + + + + $value) : $c++; + $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/admin/group/settings?id=' . $value->getId()); ?> + +
l11n->lang['Accounting']['BatchPostings']; ?>
l11n->lang[0]['ID']; ?> + l11n->lang['Accounting']['Due']; ?> + l11n->lang['Accounting']['Name']; ?> + l11n->lang['Accounting']['Creator']; ?> + l11n->lang['Accounting']['Created']; ?> +
render(); ?> +
getId(); ?> + getName(); ?> + + + + + +
l11n->lang[0]['Empty']; ?> + +
+