File manager - Edit - /home/opticamezl/www/newok/libraries/xef/fields/spacer.php
Back
<?php /** * @package Expose * @subpackage Xpert Contents * @version 2.5 * @author ThemeXpert http://www.themexpert.com * @copyright Copyright (C) 2009 - 2011 ThemeXpert * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only * */ // no direct access defined( '_JEXEC' ) or die('Restricted access'); jimport('joomla.html.html'); jimport('joomla.form.formfield'); class JFormFieldSpacer extends JFormField{ protected $type = 'Spacer'; protected function getLabel(){ return ; } protected function getInput(){ $html = array(); $class = (string) $this->element['class']; $label = ''; // Get the label text from the XML element, defaulting to the element name. $text = $this->element['label'] ? (string) $this->element['label'] : ''; // Add the label text and closing tag. if($text != NULL){ $label .= '<div class="spacer'.(($text != '') ? ' hasText hasTip' : '').'" title="'. JText::_($this->description) .'"><span>' . JText::_($text) . '</span></div>'; } $html[] = $label; return implode('', $html); } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.23 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings