%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 : User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,mail,shell_exec,system,proc_open,popen,ini_alter,dl,proc_close,curl_exec,curl_multi_exec,readfile,parse_ini_file,escapeshellarg,escapeshellcmd,show_source,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,mail,php_uname,phpinfo 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: textplus.php 7764 2013-02-26 00:22:16Z btowles $ * @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 JFormFieldTextPlus extends JFormField { /** * The form field type. * * @var string * * @since 11.1 */ protected $type = 'TextPlus'; /** * Method to get the field input markup. * * @return string The field input markup. * * @since 11.1 */ protected function getInput() { // Initialize some field attributes. $size = $this->element['size'] ? ' size="' . (int)$this->element['size'] . '"' : ''; $maxLength = $this->element['maxlength'] ? ' maxlength="' . (int)$this->element['maxlength'] . '"' : ''; $class = $this->element['class'] ? ' class="' . (string)$this->element['class'] . '"' : ''; $readonly = ((string)$this->element['readonly'] == 'true') ? ' readonly="readonly"' : ''; $disabled = ((string)$this->element['disabled'] == 'true') ? ' disabled="disabled"' : ''; $placeholder = $this->element['placeholder'] ? $this->element['placeholder'] : ''; $prepend = $this->element['prepend'] ? $this->element['prepend'] : false; $append = $this->element['append'] ? $this->element['append'] : false; // Initialize JavaScript field attributes. $onchange = $this->element['onchange'] ? ' onchange="' . (string)$this->element['onchange'] . '"' : ''; $html = array(); if (!$prepend && !$append) { $html[] = '<input type="text" name="' . $this->name . '" id="' . $this->id . '"' . ' value="' . htmlspecialchars($this->value, ENT_COMPAT, 'UTF-8') . '"' . $class . $size . $disabled . $readonly . $onchange . $maxLength . $placeholder . '/>'; } else if ($prepend) { $html[] = '<div class="input-prepend custom-field">'; $html[] = ' <span class="add-on">'; $html[] = ' ' . $prepend; $html[] = ' </span>'; $html[] = '<input type="text" name="' . $this->name . '" id="' . $this->id . '"' . ' value="' . htmlspecialchars($this->value, ENT_COMPAT, 'UTF-8') . '"' . $class . $size . $disabled . $readonly . $onchange . $maxLength . $placeholder . '/>'; $html[] = '</div>'; } else { $html[] = '<div class="input-append custom-field">'; $html[] = ' <input type="text" name="' . $this->name . '" id="' . $this->id . '"' . ' value="' . htmlspecialchars($this->value, ENT_COMPAT, 'UTF-8') . '"' . $class . $size . $disabled . $readonly . $onchange . $maxLength . $placeholder . '/>'; $html[] = ' <span class="add-on">'; $html[] = ' ' . $append; $html[] = ' </span>'; $html[] = '</div>'; } return implode("\n", $html); return '<input type="text" name="' . $this->name . '" id="' . $this->id . '"' . ' value="' . htmlspecialchars($this->value, ENT_COMPAT, 'UTF-8') . '"' . $class . $size . $disabled . $readonly . $onchange . $maxLength . '/>'; } }