| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /inetpub/wwwroot/icd/administrator/components/com_akeeba/views/log/ |
Upload File : |
<?php
/**
* @package AkeebaBackup
* @copyright Copyright (c)2006-2011 Nicholas K. Dionysopoulos
* @license GNU General Public License version 3, or later
* @version $Id: view.html.php 515 2011-03-22 13:45:19Z nikosdion $
* @since 1.3
*/
// Protect from unauthorized access
defined('_JEXEC') or die('Restricted Access');
// Load framework base classes
jimport('joomla.application.component.view');
/**
* MVC View for Log
*
*/
class AkeebaViewLog extends JView
{
public function display($tpl = null)
{
// Add toolbar buttons
JToolBarHelper::title(JText::_('AKEEBA').': <small>'.JText::_('VIEWLOG').'</small>','akeeba');
if(AKEEBA_JVERSION == '15') {
JToolBarHelper::back('Back', 'index.php?option='.JRequest::getCmd('option'));
} else {
JToolBarHelper::back('JTOOLBAR_BACK', 'index.php?option='.JRequest::getCmd('option'));
}
JToolBarHelper::spacer();
$document =& JFactory::getDocument();
$document->addStyleSheet(JURI::base().'../media/com_akeeba/theme/akeebaui.css');
// Add live help
AkeebaHelperIncludes::addHelp();
// Get a list of log names
akimport('models.log',true);
$model = new AkeebaModelLog();
$this->assign('logs', $model->getLogList());
$tag = JRequest::getCmd('tag',null);
if(empty($tag)) $tag = null;
$this->assign('tag', $tag);
// Get profile ID
$profileid = AEPlatform::get_active_profile();
$this->assign('profileid', $profileid);
// Get profile name
akimport('models.profiles',true);
$model = new AkeebaModelProfiles();
$model->setId($profileid);
$profile_data = $model->getProfile();
$this->assign('profilename', $profile_data->description);
AkeebaHelperIncludes::includeMedia(false);
parent::display($tpl);
}
}