function display($tpl = null) { // Get data from the model $items = $this->get('Items'); $pagination = $this->get('Pagination'); // Assign data to the view $this->items = $items; $this->pagination = $pagination; VideoTranslationHelper::addSubmenu('languages'); // Set the toolbar $this->addToolBar(); $this->sidebar = JHtmlSidebar::render(); // Display the template parent::display($tpl); // Set the document $this->setDocument(); }