Пример #1
0
 /**
  * Method to get the field input.
  *
  * @return	string		The field input.
  * @since	1.0.0
  */
 public function getInput()
 {
     $doc = JFactory::getDocument();
     if (version_compare(JVERSION, '3.0', '<')) {
         ZenScriptHandler::loadLocalJQuery();
         $doc->addStyleSheet(ZEN_LIBRARY_MEDIA_URI . 'css/admin/default.css');
     }
     return '';
 }
Пример #2
0
 /**
  * Method to get the field input.
  *
  * @return	string		The field input.
  * @since	1.0.0
  */
 public function fetchElement($name, $value, &$node, $control_name)
 {
     $doc = JFactory::getDocument();
     if (version_compare(JVERSION, '3.0', '<')) {
         ZenScriptHandler::loadLocalJQuery();
         $doc->addStyleSheet(ZEN_LIBRARY_MEDIA_URI . 'css/admin/default.css');
     }
     return '';
 }