| Current Path : /home/juvelize/www/plugins/content/uyguntabs/uyguntabs/includes/elements/ |
| Current File : /home/juvelize/www/plugins/content/uyguntabs/uyguntabs/includes/elements/header.php |
<?php
// Uyguntabs Copyright 2012
// Version 1.0
// GNU GPL based on Tabs and Sliders joomlaworks.net
// no direct access
defined('_JEXEC') or die('Restricted access');
jimport('joomla.html.parameter.element');
class JElementHeader {
var $_name = 'header';
function fetchElement($name, $value, &$node, $control_name){
$document = & JFactory::getDocument();
$document->addStyleDeclaration('
.jwHeaderClr { clear:both; height:0; line-height:0; border:none; float:none; background:none; padding:0; margin:0; }
.jwHeaderContainer { clear:both; font-weight:bold; font-size:12px; color:#369; margin:12px 0 4px; padding:0; background:#d5e7fa; border-bottom:2px solid #96b0cb; float:left; width:100%; }
.jwHeaderContainer15 { clear:both; font-weight:bold; font-size:12px; color:#369; margin:0; padding:0; background:#d5e7fa; border-bottom:2px solid #96b0cb; float:left; width:100%; }
.jwHeaderContent { padding:6px 8px; }
');
return '<div class="jwHeaderContainer"><div class="jwHeaderContent">'.JText::_($value).'</div><div class="jwHeaderClr"></div></div>';
}
function fetchTooltip($label, $description, &$node, $control_name, $name){
return NULL;
}
}