File manager - Edit - /home/jardides/www/Jardi-design/j37/components/com_acymailing/params/customfields.php
Back
<?php /** * @package AcyMailing for Joomla! * @version 5.7.0 * @author acyba.com * @copyright (C) 2009-2017 ACYBA S.A.R.L. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?><?php JHTML::_('behavior.modal','a.modal'); if(!include_once(rtrim(JPATH_ADMINISTRATOR,DIRECTORY_SEPARATOR).DIRECTORY_SEPARATOR.'components'.DIRECTORY_SEPARATOR.'com_acymailing'.DIRECTORY_SEPARATOR.'helpers'.DIRECTORY_SEPARATOR.'helper.php')){ echo 'This module can not work without the AcyMailing Component'; } if(!ACYMAILING_J16){ class JElementCustomfields extends JElement { function fetchElement($name, $value, &$node, $control_name) { $link = 'index.php?option=com_acymailing&tmpl=component&ctrl=chooselist&task=customfields&values='.$value.'&control='.$control_name; $text = '<input class="inputbox" id="'.$control_name.'customfields" name="'.$control_name.'['.$name.']" type="text" style="width:100px" value="'.$value.'">'; $text .= '<a class="modal" id="link'.$control_name.'customfields" title="'.acymailing_translation('EXTRA_FIELDS').'" href="'.$link.'" rel="{handler: \'iframe\', size: {x: 650, y: 375}}"><button class="btn" onclick="return false">'.acymailing_translation('Select').'</button></a>'; return $text; } } }else{ class JFormFieldCustomfields extends JFormField { var $type = 'help'; function getInput() { $link = 'index.php?option=com_acymailing&tmpl=component&ctrl=chooselist&task=customfields&values='.$this->value.'&control='; $text = '<input class="inputbox" id="customfields" name="'.$this->name.'" type="text" style="width:100px" value="'.$this->value.'">'; $text .= '<a class="modal" id="linkcustomfields" title="'.acymailing_translation('EXTRA_FIELDS').'" href="'.$link.'" rel="{handler: \'iframe\', size: {x: 650, y: 375}}"><button class="btn" onclick="return false">'.acymailing_translation('Select').'</button></a>'; return $text; } } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings