芝麻web文件管理V1.00
编辑当前文件:/home/asmplong/www/ancien-site-2019/site/libraries/joomla/form/fields/spacer.php
element['class'] ? (string) $this->element['class'] : ''; $html[] = '
'; $html[] = '
'; $html[] = '
'; if ((string) $this->element['hr'] == 'true') { $html[] = '
'; } else { $label = ''; // Get the label text from the XML element, defaulting to the element name. $text = $this->element['label'] ? (string) $this->element['label'] : (string) $this->element['name']; $text = $this->translateLabel ? JText::_($text) : $text; // Build the class for the label. $class = !empty($this->description) ? 'hasTip' : ''; $class = $this->required == true ? $class.' required' : $class; // Add the opening label tag and main attributes attributes. $label .= '
description)) { $label .= ' title="'.htmlspecialchars(trim($text, ':').'::' . ($this->translateDescription ? JText::_($this->description) : $this->description), ENT_COMPAT, 'UTF-8').'"'; } // Add the label text and closing tag. $label .= '>'.$text.'
'; $html[] = $label; } $html[] = '
'; $html[] = '
'; $html[] = '
'; return implode('',$html); } /** * Method to get the field title. * * @return string The field title. * @since 11.1 */ protected function getTitle() { return $this->getLabel(); } }