| 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 : C:/inetpub/wwwroot/icd/administrator/components/com_linkr/views/css/ |
Upload File : |
<?php
defined('_JEXEC') or die;
/**
* CSS edit view for Link component
*
* @package Linkr
* @author Frank
*/
// Import librairies
jimport( 'joomla.application.component.view' );
class LinkrViewCss extends JView
{
/**
* display method of css view
* @return void
**/
function display($tpl = null)
{
// Sub menu
JSubMenuHelper::addEntry(JText::_('DOCUMENTATION'), index .'&view=docs');
JSubMenuHelper::addEntry(JText::_('BOOKMARKS'), index .'&view=bookmarks');
JSubMenuHelper::addEntry('CSS', index .'&view=css', true);
JSubMenuHelper::addEntry(JText::_('IN_EX'), index .'&view=export');
// Toolbar
JToolBarHelper::title('CSS', 'css');
JToolBarHelper::save();
$doc = & JFactory::getDocument();
$doc->addStyleDeclaration(
'.icon-48-css{'.
'background-image:url(components/com_linkr/assets/icon.pad.png);'.
'}'.
'textarea.text_area{'.
'width:100%;'.
'height:200px;'.
'}'
);
// References
$this->assignRef('css', $this->get('CSS'));
parent::display($tpl);
}
}