From 4bf9c7e5be550c8adade6db016ea50554c5e7965 Mon Sep 17 00:00:00 2001 From: Daniel Schmitzer Date: Wed, 4 Sep 2019 13:42:10 +0000 Subject: - Statistik / Task #684 git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7555 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/mods/mod_statistics/statistics.phtml | 90 +++++++++++++++--------------- 1 file changed, 46 insertions(+), 44 deletions(-) (limited to 'views/mods/mod_statistics/statistics.phtml') diff --git a/views/mods/mod_statistics/statistics.phtml b/views/mods/mod_statistics/statistics.phtml index a5b7580..5883dfe 100644 --- a/views/mods/mod_statistics/statistics.phtml +++ b/views/mods/mod_statistics/statistics.phtml @@ -88,54 +88,56 @@ - - -
-
- -
- - - view['charts'] as $index => $chart) { ?> + +

+
- +
- -
- -
+
-
-
- -
+
+ + + view['charts'] as $index => $chart) { ?> - view['chart']['data']['template'])) - { - $templateFile = $this->view['chart']['data']['template'].'.phtml'; - } - else - { - $templateFile = str_replace('get', '', strtolower($this->view['standardFilter'][$this->view['filter']['standard']]['func']).'.phtml'); - } + - $templatePath = WPSG_PATH_VIEW.'/mods/mod_statistics/'.strtolower($this->view['charts'][$_REQUEST['id']]['func']).'/'.$templateFile; - - if (is_file($templatePath)) - { - $this->render($templatePath); - } - else - { + +
+ +
+ +
+ + view['chart']['data']['template'])) + { + $templateFile = $this->view['chart']['data']['template'].'.phtml'; + } + else + { + $templateFile = str_replace('get', '', strtolower($this->view['standardFilter'][$this->view['filter']['standard']]['func']).'.phtml'); + } + + $templatePath = WPSG_PATH_VIEW.'/mods/mod_statistics/'.strtolower($this->view['charts'][$_REQUEST['id']]['func']).'/'.$templateFile; + + if (is_file($templatePath)) + { + $this->render($templatePath); + } + else + { + + wpsg_debug($templatePath); + echo ''.__('Ungültige Anfrage', 'wpsg').''; + + } + ?> - wpsg_debug($templatePath); - echo ''.__('Ungültige Anfrage', 'wpsg').''; - - } - ?> +
+ +
-
- -
\ No newline at end of file + \ No newline at end of file -- cgit v1.2.3