From 2855f07148e437e7efe83d7a61455ef90f61f8ac 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 | 20 ++++ Theme/Backend/Lang/api.en.lang.php | 17 +++ Theme/Backend/Lang/en.lang.php | 29 ++++++ Theme/Backend/editor-create.tpl.php | 120 ++++++++++++++++++++++ Theme/Backend/editor-list.tpl.php | 44 ++++++++ 5 files changed, 230 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/editor-create.tpl.php create mode 100644 Theme/Backend/editor-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..60a137a --- /dev/null +++ b/Theme/Backend/Lang/Navigation.en.lang.php @@ -0,0 +1,20 @@ + + * @author Dennis Eichhorn + * @copyright 2013 Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +$MODLANG['Navigation'] = [ + 'Create' => 'Create', + 'Editor' => 'Editor', + 'List' => 'List', +]; diff --git a/Theme/Backend/Lang/api.en.lang.php b/Theme/Backend/Lang/api.en.lang.php new file mode 100644 index 0000000..a2fa112 --- /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['Navigation'] = [ +]; diff --git a/Theme/Backend/Lang/en.lang.php b/Theme/Backend/Lang/en.lang.php new file mode 100644 index 0000000..4c949ee --- /dev/null +++ b/Theme/Backend/Lang/en.lang.php @@ -0,0 +1,29 @@ + + * @author Dennis Eichhorn + * @copyright 2013 Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +$MODLANG['Editor'] = [ + 'Created' => 'Created', + 'Creator' => 'Creator', + 'Documents' => 'Documents', + 'Editor' => 'Editor', + 'GroupUser' => 'Group/User', + 'Insert' => 'Insert', + 'Layout' => 'Layout', + 'Name' => 'Name', + 'Permission' => 'Permission', + 'Preview' => 'Preview', + 'Start' => 'Start', + 'Text' => 'Text', +]; diff --git a/Theme/Backend/editor-create.tpl.php b/Theme/Backend/editor-create.tpl.php new file mode 100644 index 0000000..acfaa5a --- /dev/null +++ b/Theme/Backend/editor-create.tpl.php @@ -0,0 +1,120 @@ + + * @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(); ?> + +
+
+
+ +
+
+
+ +
+
+ +
+ +
+
    +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
+
+ +
+
    +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
+
+ +
+
+
+
+
+ +
+
+ +
+ +
+ +
+ +
+
+
+
+
+ +
+
+
+ +
+
+
+
+
+
+
+
diff --git a/Theme/Backend/editor-list.tpl.php b/Theme/Backend/editor-list.tpl.php new file mode 100644 index 0000000..dcfa89b --- /dev/null +++ b/Theme/Backend/editor-list.tpl.php @@ -0,0 +1,44 @@ + + * @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(20); +$footerView->setPage(1); + +echo $this->getData('nav')->render(); ?> +
+ + + + + + + + $value) : $count++; ?> + + +
l11n->lang['Editor']['Documents']; ?>
l11n->lang['Editor']['Name']; ?> + l11n->lang['Editor']['Creator']; ?> + l11n->lang['Editor']['Created']; ?> +
render(); ?> +
l11n->lang[0]['Empty']; ?> + +
+