$this->output(); } /** * Output the template file */ protected function output() { $this->Template->theme = $this->getTheme(); $this->Template->base = $this->Environment->base; $this->Template->language = $GLOBALS['TL_LANGUAGE']; $this->Template->title = $GLOBALS['TL_CONFIG']['websiteTitle']; $this->Template->charset = $GLOBALS['TL_CONFIG']['characterSet']; $this->Template->href = ampersand($this->Environment->request, true) . '&download=1'; $this->Template->headline = basename(utf8_convert_encoding($this->strFile, $GLOBALS['TL_CONFIG']['characterSet'])); $this->Template->label_imagesize = $GLOBALS['TL_LANG']['MSC']['fileImageSize']; $this->Template->label_filesize = $GLOBALS['TL_LANG']['MSC']['fileSize']; $this->Template->label_ctime = $GLOBALS['TL_LANG']['MSC']['fileCreated']; $this->Template->label_mtime = $GLOBALS['TL_LANG']['MSC']['fileModified']; $this->Template->label_atime = $GLOBALS['TL_LANG']['MSC']['fileAccessed']; $this->Template->label_atime = $GLOBALS['TL_LANG']['MSC']['fileAccessed']; $this->Template->label_path = $GLOBALS['TL_LANG']['MSC']['filePath']; $this->Template->download = $GLOBALS['TL_LANG']['MSC']['fileDownload']; $this->Template->output(); } } /** * Instantiate controller */ $objPopup = new Popup(); $objPopup->run();