%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.149 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/old/plugins/system/rokbox/fields/ |
Upload File : |
<?php /** * @version $Id: break.php 9505 2013-04-19 20:55:13Z djamil $ * @author RocketTheme http://www.rockettheme.com * @copyright Copyright (C) 2007 - 2018 RocketTheme, LLC * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only */ defined('JPATH_PLATFORM') or die; /** * */ class JFormFieldBreak extends JFormField { /** * @var string */ protected $type = 'Break'; /** * @return string */ protected function getLabel() { $doc = JFactory::getDocument(); $version = new JVersion(); $doc->addStyleDeclaration("body label.rok-break, body div.rok-break {border-bottom:1px solid #eee;font-size:16px;color:#222;margin-top:15px;margin-bottom: 10px;padding:2px 0;width:100%;min-width:inherit;max-width:inherit;} body label.rok-break.top {margin-top: 0;}"); if (isset($this->element['label']) && !empty($this->element['label'])) { $label = JText::_((string)$this->element['label']); $css = (string)$this->element['class']; $version = new JVersion(); if (version_compare($version->getShortVersion(), '3.0', '>=')) { return '<div class="rok-break ' . $css . '">' . $label . '</div>'; } else { return '<label class="rok-break ' . $css . '">' . $label . '</label>'; } } else { return; } } /** * @return mixed */ protected function getInput() { return; } }