diff --git a/Theme/Backend/Lang/Navigation.en.lang.php b/Theme/Backend/Lang/Navigation.en.lang.php new file mode 100644 index 0000000..5349da1 --- /dev/null +++ b/Theme/Backend/Lang/Navigation.en.lang.php @@ -0,0 +1,18 @@ + + * @author Dennis Eichhorn + * @copyright 2013 Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +$MODLANG['Navigation'] = [ + 'Surveys' => 'Surveys', +]; 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..0c753e1 --- /dev/null +++ b/Theme/Backend/Lang/en.lang.php @@ -0,0 +1,50 @@ + + * @author Dennis Eichhorn + * @copyright 2013 Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +$MODLANG['Surveys'] = [ + 'Additional' => 'Additional', + 'Answer' => 'Answer', + 'Checkbox' => 'Checkbox', + 'CoreData' => 'Core Data', + 'Created' => 'Created', + 'Creator' => 'Creator', + 'Date' => 'Date', + 'Description' => 'Description', + 'Dropdown' => 'Dropdown', + 'End' => 'End', + 'Group' => 'Group', + 'Question' => 'Question', + 'Questions' => 'Questions', + 'Manager' => 'Manager', + 'Name' => 'Name', + 'Number' => 'Number', + 'Questionee' => 'Questionee', + 'Radio' => 'Radio', + 'Receiver' => 'Receiver', + 'Reference' => 'Reference', + 'Responsibility' => 'Responsibility', + 'Result' => 'Result', + 'ResultPublic' => 'Result public?', + 'Section' => 'Section', + 'Start' => 'Start', + 'Status' => 'Status', + 'Survey' => 'Survey', + 'Surveys' => 'Surveys', + 'Text' => 'Text', + 'Title' => 'Title', + 'Type' => 'Type', + 'User' => 'User', + 'UserGroup' => 'User/Group', +]; diff --git a/Theme/Backend/surveys-create.tpl.php b/Theme/Backend/surveys-create.tpl.php new file mode 100644 index 0000000..63bfc23 --- /dev/null +++ b/Theme/Backend/surveys-create.tpl.php @@ -0,0 +1,78 @@ + + * @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['Surveys']['Survey'] ?>

+
+
+ +
+
+
+
+
+
+
+
+
+
+
+ +
+

l11n->lang['Surveys']['Section'] ?>

+
+
+ +
+
+
+
+
+
+
+
+ + +
+

l11n->lang['Surveys']['Question'] ?>

+
+
+ +
+
+
+
+
+
+
+
diff --git a/Theme/Backend/surveys-list.tpl.php b/Theme/Backend/surveys-list.tpl.php new file mode 100644 index 0000000..843945c --- /dev/null +++ b/Theme/Backend/surveys-list.tpl.php @@ -0,0 +1,43 @@ + + * @author Dennis Eichhorn + * @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(); ?> + +
+ + + + + + + + $value) : $count++; ?> + + +
l11n->lang['Surveys']['Surveys'] ?>
l11n->lang['Surveys']['Status']; ?> + l11n->lang['Surveys']['Title']; ?> + l11n->lang['Surveys']['Created']; ?> + l11n->lang['Surveys']['Creator']; ?> +
render(); ?> +
l11n->lang[0]['Empty']; ?> + +
+
diff --git a/Theme/Backend/surveys-profile.tpl.php b/Theme/Backend/surveys-profile.tpl.php new file mode 100644 index 0000000..8e3880e --- /dev/null +++ b/Theme/Backend/surveys-profile.tpl.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 + */ +echo $this->getData('nav')->render(); ?> +