Files
conservatorio-tomadini/administrator/components/com_attachments/views/entity/view.html.php
2024-12-17 17:34:10 +01:00

44 lines
1023 B
PHP

<?php
/**
* Attachments component
*
* @package Attachments
* @subpackage Attachments_Component
*
* @copyright Copyright (C) 2007-2018 Jonathan M. Cameron, All Rights Reserved
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU/GPL
* @link http://joomlacode.org/gf/project/attachments/frs/
* @author Jonathan M. Cameron
*/
// no direct access
defined( '_JEXEC' ) or die('Restricted access');
/** Define the legacy classes, if necessary */
require_once(JPATH_SITE.'/components/com_attachments/legacy/view.php');
/**
* HTML View class for adding new attachments
*
* @package Attachments
*/
class AttachmentsViewEntity extends JViewLegacy
{
/**
* Display the entity view
*/
public function display($tpl = null)
{
// Add the style sheets
JHtml::stylesheet('com_attachments/attachments_admin.css', Array(), true);
$lang = JFactory::getLanguage();
if ( $lang->isRTL() ) {
JHtml::stylesheet('com_attachments/attachments_admin_rtl.css', Array(), true);
}
parent::display($tpl);
}
}