From 463e78cd6b81f5bc43720f3a9863d1ad370c0763 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/Export/CockpitBasic.pdf.php | 0 Theme/Backend/Lang/Navigation.en.lang.php | 30 +++++++ Theme/Backend/Lang/en.lang.php | 82 ++++++++++++++++++ Theme/Backend/category-list.tpl.php | 16 ++++ Theme/Backend/cause-create.tpl.php | 16 ++++ Theme/Backend/cause-list.tpl.php | 16 ++++ Theme/Backend/cockpit.tpl.php | 92 +++++++++++++++++++++ Theme/Backend/department-list.tpl.php | 16 ++++ Theme/Backend/process-list.tpl.php | 16 ++++ Theme/Backend/project-list.tpl.php | 16 ++++ Theme/Backend/risk-create.tpl.php | 16 ++++ Theme/Backend/risk-list.tpl.php | 16 ++++ Theme/Backend/risk-single-cause.tpl.php | 16 ++++ Theme/Backend/risk-single-dashboard.tpl.php | 16 ++++ Theme/Backend/risk-single-solution.tpl.php | 16 ++++ Theme/Backend/settings-dashboard.tpl.php | 16 ++++ Theme/Backend/solution-create.tpl.php | 16 ++++ Theme/Backend/solution-list.tpl.php | 16 ++++ Theme/Backend/unit-list.tpl.php | 16 ++++ 19 files changed, 444 insertions(+) create mode 100644 Theme/Backend/Export/CockpitBasic.pdf.php create mode 100644 Theme/Backend/Lang/Navigation.en.lang.php create mode 100644 Theme/Backend/Lang/en.lang.php create mode 100644 Theme/Backend/category-list.tpl.php create mode 100644 Theme/Backend/cause-create.tpl.php create mode 100644 Theme/Backend/cause-list.tpl.php create mode 100644 Theme/Backend/cockpit.tpl.php create mode 100644 Theme/Backend/department-list.tpl.php create mode 100644 Theme/Backend/process-list.tpl.php create mode 100644 Theme/Backend/project-list.tpl.php create mode 100644 Theme/Backend/risk-create.tpl.php create mode 100644 Theme/Backend/risk-list.tpl.php create mode 100644 Theme/Backend/risk-single-cause.tpl.php create mode 100644 Theme/Backend/risk-single-dashboard.tpl.php create mode 100644 Theme/Backend/risk-single-solution.tpl.php create mode 100644 Theme/Backend/settings-dashboard.tpl.php create mode 100644 Theme/Backend/solution-create.tpl.php create mode 100644 Theme/Backend/solution-list.tpl.php create mode 100644 Theme/Backend/unit-list.tpl.php diff --git a/Theme/Backend/Export/CockpitBasic.pdf.php b/Theme/Backend/Export/CockpitBasic.pdf.php new file mode 100644 index 0000000..e69de29 diff --git a/Theme/Backend/Lang/Navigation.en.lang.php b/Theme/Backend/Lang/Navigation.en.lang.php new file mode 100644 index 0000000..bb21e4b --- /dev/null +++ b/Theme/Backend/Lang/Navigation.en.lang.php @@ -0,0 +1,30 @@ + + * @author Dennis Eichhorn + * @copyright 2013 Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +$MODLANG['Navigation'] = [ + 'Categories' => 'Categories', + 'Causes' => 'Causes', + 'Cockpit' => 'Cockpit', + 'Create' => 'Create', + 'Delete' => 'Delete', + 'Departments' => 'Departments', + 'Projects' => 'Projects', + 'Processes' => 'Processes', + 'Risks' => 'Risks', + 'RiskManagement' => 'Risk Management', + 'Settings' => 'Settings', + 'Solutions' => 'Solutions', + 'Units' => 'Units', +]; diff --git a/Theme/Backend/Lang/en.lang.php b/Theme/Backend/Lang/en.lang.php new file mode 100644 index 0000000..5a8ed0b --- /dev/null +++ b/Theme/Backend/Lang/en.lang.php @@ -0,0 +1,82 @@ + + * @author Dennis Eichhorn + * @copyright 2013 Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +$MODLANG['RiskManagement'] = [ + 'Active' => 'Active', + 'All' => 'All', + 'AvgRiskAmount' => 'Avg. Risk Amount', + 'Basic' => 'Basic', + 'Categories' => 'Categories', + 'Category' => 'Category', + 'Cause' => 'Cause', + 'Causes' => 'Causes', + 'Cost' => 'Cost', + 'Critical' => 'Critical', + 'Damage' => 'Damage', + 'Department' => 'Department', + 'Departments' => 'Departments', + 'Description' => 'Description', + 'Due' => 'Due', + 'Evaluation' => 'Evaluation', + 'Export' => 'Export', + 'Front' => 'Front', + 'History' => 'History', + 'Interval' => 'Interval', + 'LastReevaluation' => 'Last Reevaluation', + 'Language' => 'Language', + 'Limit' => 'Limit', + 'Level' => 'Level', + 'MainCause' => 'Main Cause', + 'MainCategory' => 'Main Category', + 'MainDepartment' => 'Main Department', + 'Manager' => 'Manager', + 'Name' => 'Name', + 'Navigation' => 'Navigation', + 'New' => 'New', + 'NextReevaluation' => 'Next Reevaluation', + 'Outdated' => 'Outdated', + 'OverallRisk' => 'Overall Risk', + 'Parent' => 'Parent', + 'Probability' => 'Probability', + 'Process' => 'Process', + 'Processes' => 'Processes', + 'Project' => 'Project', + 'Projects' => 'Projects', + 'Protection' => 'Protection', + 'Ratio' => 'Ratio', + 'Reduction' => 'Reduction', + 'RemainingRisk' => 'Remaining Risk', + 'Responsible' => 'Responsible', + 'Risk' => 'Risk', + 'RiskAcceptance' => 'Risk Acceptance', + 'RiskIndex' => 'Risk Index', + 'RiskLevels' => 'Risk Levels', + 'RiskProbabilities' => 'Risk Probabilities', + 'RiskProtection' => 'Risk Protection', + 'Risks' => 'Risks', + 'Severity' => 'Severity', + 'Solution' => 'Solution', + 'Solutions' => 'Solutions', + 'Statistics' => 'Statistics', + 'Status' => 'Status', + 'Theme' => 'Theme', + 'Title' => 'Title', + 'Total' => 'Total', + 'TopRisks' => 'Top Risks', + 'Type' => 'Type', + 'Unit' => 'Unit', + 'Units' => 'Units', + 'Watchlist' => 'Watchlist', +]; diff --git a/Theme/Backend/category-list.tpl.php b/Theme/Backend/category-list.tpl.php new file mode 100644 index 0000000..ac22ab8 --- /dev/null +++ b/Theme/Backend/category-list.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/cause-create.tpl.php b/Theme/Backend/cause-create.tpl.php new file mode 100644 index 0000000..ac22ab8 --- /dev/null +++ b/Theme/Backend/cause-create.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/cause-list.tpl.php b/Theme/Backend/cause-list.tpl.php new file mode 100644 index 0000000..ac22ab8 --- /dev/null +++ b/Theme/Backend/cause-list.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/cockpit.tpl.php b/Theme/Backend/cockpit.tpl.php new file mode 100644 index 0000000..f196b15 --- /dev/null +++ b/Theme/Backend/cockpit.tpl.php @@ -0,0 +1,92 @@ + + * @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['RiskManagement']['TopRisks']; ?>
l11n->lang['RiskManagement']['Severity']; ?> + l11n->lang['RiskManagement']['Name']; ?> + l11n->lang['RiskManagement']['Department']; ?> + l11n->lang['RiskManagement']['Category']; ?> + l11n->lang['RiskManagement']['Process']; ?> + l11n->lang['RiskManagement']['Project']; ?> +
render(); ?> +
getId(); ?> + getName(); ?> + + + + + +
l11n->lang[0]['Empty']; ?> + +
+
+
+
+
+

l11n->lang['RiskManagement']['Statistics']; ?>

+
+ + + + + + + + + + +
l11n->lang['RiskManagement']['Risks']; ?> + 0 +
l11n->lang['RiskManagement']['Causes']; ?> + 0 +
l11n->lang['RiskManagement']['Solutions']; ?> + 0 +
l11n->lang['RiskManagement']['Department']; ?> + 0 +
l11n->lang['RiskManagement']['Category']; ?> + 0 +
l11n->lang['RiskManagement']['Process']; ?> + 0 +
l11n->lang['RiskManagement']['Project']; ?> + 0 +
l11n->lang['RiskManagement']['Total']; ?> + 0 +
+
+
+
diff --git a/Theme/Backend/department-list.tpl.php b/Theme/Backend/department-list.tpl.php new file mode 100644 index 0000000..ac22ab8 --- /dev/null +++ b/Theme/Backend/department-list.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/process-list.tpl.php b/Theme/Backend/process-list.tpl.php new file mode 100644 index 0000000..ac22ab8 --- /dev/null +++ b/Theme/Backend/process-list.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/project-list.tpl.php b/Theme/Backend/project-list.tpl.php new file mode 100644 index 0000000..ac22ab8 --- /dev/null +++ b/Theme/Backend/project-list.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/risk-create.tpl.php b/Theme/Backend/risk-create.tpl.php new file mode 100644 index 0000000..ac22ab8 --- /dev/null +++ b/Theme/Backend/risk-create.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/risk-list.tpl.php b/Theme/Backend/risk-list.tpl.php new file mode 100644 index 0000000..ac22ab8 --- /dev/null +++ b/Theme/Backend/risk-list.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/risk-single-cause.tpl.php b/Theme/Backend/risk-single-cause.tpl.php new file mode 100644 index 0000000..ac22ab8 --- /dev/null +++ b/Theme/Backend/risk-single-cause.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/risk-single-dashboard.tpl.php b/Theme/Backend/risk-single-dashboard.tpl.php new file mode 100644 index 0000000..ac22ab8 --- /dev/null +++ b/Theme/Backend/risk-single-dashboard.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/risk-single-solution.tpl.php b/Theme/Backend/risk-single-solution.tpl.php new file mode 100644 index 0000000..ac22ab8 --- /dev/null +++ b/Theme/Backend/risk-single-solution.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/settings-dashboard.tpl.php b/Theme/Backend/settings-dashboard.tpl.php new file mode 100644 index 0000000..ac22ab8 --- /dev/null +++ b/Theme/Backend/settings-dashboard.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/solution-create.tpl.php b/Theme/Backend/solution-create.tpl.php new file mode 100644 index 0000000..ac22ab8 --- /dev/null +++ b/Theme/Backend/solution-create.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/solution-list.tpl.php b/Theme/Backend/solution-list.tpl.php new file mode 100644 index 0000000..ac22ab8 --- /dev/null +++ b/Theme/Backend/solution-list.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/unit-list.tpl.php b/Theme/Backend/unit-list.tpl.php new file mode 100644 index 0000000..ac22ab8 --- /dev/null +++ b/Theme/Backend/unit-list.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(); ?>