Current Directory: /home/astoriaah/www/old15/administrator/components/com_admintools/views/masterpw
Viewing File: /home/astoriaah/www/old15/administrator/components/com_admintools/views/masterpw/view.html.php
<?php
/**
* @package AdminTools
* @copyright Copyright (c)2010-2015 Nicholas K. Dionysopoulos
* @license GNU General Public License version 3, or later
* @version $Id$
*/
// Protect from unauthorized access
defined('_JEXEC') or die;
class AdmintoolsViewMasterpw extends F0FViewHtml
{
protected function onBrowse($tpl = null)
{
if (interface_exists('JModel'))
{
$model = JModelLegacy::getInstance('Masterpw', 'AdmintoolsModel');
}
else
{
$model = JModel::getInstance('Masterpw', 'AdmintoolsModel');
}
$masterpw = $model->getMasterPassword();
$this->masterpw = $masterpw;
return parent::onBrowse($tpl);
}
}