diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2013-11-18 07:02:19 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@gmail.com> | 2013-11-18 07:02:19 +0400 |
commit | 9060f0180cb935efd1925942d3a8ce1cf309459a (patch) | |
tree | b474d8758f3b45063e4bd430f5daa028b369c879 /plugins/Overlay/Controller.php | |
parent | 4658d92891093982d979e7ec8343ee4ccc510a38 (diff) |
getting rid of the fetch parameter
Diffstat (limited to 'plugins/Overlay/Controller.php')
-rw-r--r-- | plugins/Overlay/Controller.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/Overlay/Controller.php b/plugins/Overlay/Controller.php index ee83bd0562..69ab26ec2b 100644 --- a/plugins/Overlay/Controller.php +++ b/plugins/Overlay/Controller.php @@ -46,7 +46,7 @@ class Controller extends \Piwik\Plugin\Controller $view->ssl = ProxyHttp::isHttps(); - echo $view->render(); + return $view->render(); } /** Render the area left of the iframe */ @@ -119,7 +119,7 @@ class Controller extends \Piwik\Plugin\Controller $view->idSite = $idSite; $view->period = $period; $view->date = $date; - echo $view->render(); + return $view->render(); } /** @@ -136,7 +136,7 @@ class Controller extends \Piwik\Plugin\Controller $urls = $sitesManager->getSiteUrlsFromId($idSite); @header('Content-Type: text/html; charset=UTF-8'); - echo ' + return ' <html><head><title></title></head><body> <script type="text/javascript"> function handleProtocol(url) { @@ -219,7 +219,7 @@ class Controller extends \Piwik\Plugin\Controller $view->troubleshoot = htmlentities(Piwik::translate('Overlay_RedirectUrlErrorUser')); } - echo $view->render(); + return $view->render(); } /** @@ -233,6 +233,6 @@ class Controller extends \Piwik\Plugin\Controller public function notifyParentIframe() { $view = new View('@Overlay/notifyParentIframe'); - echo $view->render(); + return $view->render(); } } |