芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/administrator.3/components/com_banners/src/Field/ClicksField.php
* @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\Component\Banners\Administrator\Field; \defined('_JEXEC') or die; use Joomla\CMS\Form\FormField; use Joomla\CMS\Language\Text; /** * Clicks field. * * @since 1.6 */ class ClicksField extends FormField { /** * The form field type. * * @var string * @since 1.6 */ protected $type = 'Clicks'; /** * Method to get the field input markup. * * @return string The field input markup. * * @since 1.6 */ protected function getInput() { $onclick = ' onclick="document.getElementById(\'' . $this->id . '\').value=\'0\';"'; return '
' . '
' . '
' . Text::_('JRESET') . '
'; } }