getDocument()->getWebAssetManager(); $option = 'com_phocamaps'; $wa->registerAndUseStyle($option . '.options', 'media/' .$option . '/css/administrator/phocamapsoptions.css', array('version' => 'auto')); $wa->registerAndUseStyle($option . '.theme', 'media/' .$option . '/css/administrator/theme-dark.css', array('version' => 'auto'), [], ['template.active']); //echo '
'; $phocaImage = ( (string)$this->element['phocaimage'] ? $this->element['phocaimage'] : '' ); $image = ''; if ($phocaImage != ''){ $image = HTMLHelper::_('image', 'media/com_phocagallery/images/administrator/'. $phocaImage, '' ); } if ($this->element['default']) { if ($image != '') { return '
' .'
'. $image.' '. Text::_($this->element['default']) . '
' .'
'; } else { return '
' .''. Text::_($this->element['default']) . '' .'
'; } } else { return parent::getLabel(); } //echo '
'; } } ?>