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').'';
}
?>