示例#1
0
 function fetchTooltip($label, $description, &$xmlElement, $control_name = '', $name = '')
 {
     $params = $this->_parent;
     $showcopy = $params->get("com_copyright", 0);
     $style = ' class="jev_none" ';
     if (!$showcopy) {
         $style = ' class="jev_block" ';
     }
     return '<div ' . $style . '>' . parent::fetchTooltip($label, $description, $xmlElement, $control_name, $name) . '</div>';
 }
示例#2
0
 function fetchTooltip($label, $description, &$xmlElement, $control_name = '', $name = '')
 {
     // Must load admin language files
     $lang =& JFactory::getLanguage();
     $lang->load("com_jevents", JPATH_ADMINISTRATOR);
     $params = $this->_parent;
     $showcopy = $params->getValue("com_copyright", 0);
     $style = ' style="display:none" ';
     if (!$showcopy) {
         $style = ' style="display:block" ';
     }
     return '<div ' . $style . '>' . parent::fetchTooltip($label, $description, $xmlElement, $control_name, $name) . '</div>';
 }