- md5
- 8343302d01099002763af59b005d49f4
- sha1
- 3c2ce0c0db3e55aac38d0fabcf83a22253db8186
- sha256
- 4f42f677b06010b76df8bc70ac265b5a2074404c04db4f835c843b1ec12d8f2f
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
<?php
/**
* @package Joomla.Administrator
* @subpackage com_joomlaupdate
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* @since 2.5.4
*/
defined('_JEXEC') or die;
/**
* Joomla! Update's Default View
*
* @package Joomla.Administrator
* @subpackage com_installer
* @since 2.5.4
*/
class JoomlaupdateViewDefault extends JViewLegacy
{
/**
* Renders the view
*
* @param string $tpl Template name
*
* @return void
*
* @since 2.5.4
*/
public function display($tpl=null)
{
// Get data from the model
$this->state = $this->get('State');
// Load useful classes
$model = $this->getModel();
$this->loadHelper('select');
// Assign view variables
$ftp = $model->getFTPOptions();
$this->assign('updateInfo', $model->getUpdateInformation());
$this->assign('methodSelect', JoomlaupdateHelperSelect::getMethods($ftp['enabled']));
// Set the toolbar information
JToolBarHelper::title(JText::_('COM_JOOMLAUPDATE_OVERVIEW'), 'install');
// Add toolbar buttons
JToolBarHelper::preferences('com_joomlaupdate');
// Load mooTools
JHtml::_('behavior.framework', true);
// Load our Javascript
$document = JFactory::getDocument();
$document->addScript('../media/com_joomlaupdate/default.js');
JHtml::_('stylesheet', 'media/mediamanager.css', array(), true);
// Render the view
parent::display($tpl);
}
}
No other release has this exact content. See every version of this file.