diff --git a/src/QUI/Interview/Controls/IntervieweeData.php b/src/QUI/Interview/Controls/IntervieweeData.php index 2516905345167041ad6c9c1cb2b7dc541e02b0bc..4cd7d995f165bdcdcee57a6e5492d4ed90234a83 100644 --- a/src/QUI/Interview/Controls/IntervieweeData.php +++ b/src/QUI/Interview/Controls/IntervieweeData.php @@ -31,7 +31,7 @@ public function __construct($attributes = []) 'template' => 'largeImageTop' // template ]); - $this->addCSSFile(dirname(__FILE__).'/IntervieweeData.css'); + $this->addCSSFile(dirname(__FILE__) . '/IntervieweeData.css'); parent::__construct($attributes); @@ -48,8 +48,10 @@ public function getBody() $Engine = QUI::getTemplateManager()->getEngine(); $Site = $this->getSite(); - if ($Site->getAttribute("type") !== 'quiqqer/blog:blog/entry' && - $Site->getAttribute("type") !== 'quiqqer/news:news/entry') { + if ( + $Site->getAttribute("type") !== 'quiqqer/blog:blog/entry' && + $Site->getAttribute("type") !== 'quiqqer/news:news/entry' + ) { return ''; } @@ -82,9 +84,9 @@ public function getBody() 'description' => $intervieweeData['description'] ]); - $Engine->assign('controlTemplate', $Engine->fetch(dirname(__FILE__).$html)); + $Engine->assign('controlTemplate', $Engine->fetch(dirname(__FILE__) . $html)); - return $Engine->fetch(dirname(__FILE__).'/IntervieweeData.html'); + return $Engine->fetch(dirname(__FILE__) . '/IntervieweeData.html'); } /**