%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/jqueryeasy/fields/ |
Upload File : |
<?php /** * @copyright Copyright (C) 2011 Simplify Your Web, Inc. All rights reserved. * @license GNU General Public License version 3 or later; see LICENSE.txt */ // no direct access defined('_JEXEC') or die ; jimport('joomla.form.formfield'); class JFormFieldLink extends JFormField { public $type = 'Link'; /** * Method to get the field options. */ protected function getLabel() { $html = ''; $title = trim($this->element['title']); $image_src = $this->element['imagesrc']; // path ex: ../modules/mod_latestnews/images/icon.png $link = $this->element['link']; $html .= '<div style="clear: both;">'; $html .= '<a href="'.$link.'" target="_blank" title="'.JText::_($title).'">'; if ($image_src) { $html .= '<img src="'.$image_src.'" alt="'.JText::_($title).'">'; } else { $html .= JText::_($title); } $html .= '</a>'; $html .= '</div>'; return $html; } /** * Method to get the field input markup. */ protected function getInput() { $title = trim($this->element['title']); $text = trim($this->element['text']); $link = $this->element['link']; $titleintext = false; if ($this->element['titleintext']) { $titleintext = ($this->element['titleintext'] === 'true'); } $html = ''; $html .= '<div style="padding-top: 5px">'; if ($titleintext) { $html .= '<strong>'.JText::_($title).'</strong>: '; } if ($text) { $html .= JText::sprintf($text, $link); } $html .= '</div>'; return $html; } } ?>