Файловый менеджер - Редактировать - /home/lmsyaran/public_html/j3/modules/mod_simplefileuploadv1.3/elements/donate.php
Назад
<?php /** * @version 1.5j * @copyright Copyright (C) 2010-2011 Anders Wasén * @license GNU/GPL */ // Check to ensure this file is included in Joomla! defined('_JEXEC') or die(); class JFormFieldDonate extends JFormField { /** * Element name * * @access protected * @var string */ //public $type = 'Donate'; //var $_name = 'Donate'; protected $type = 'Donate'; //the form field type //function fetchElement($name, $value, &$node, $control_name) protected function getInput() { $name = (string)$this->element['name']; if ($name === "cleanup") { ?> <script language="javascript" type="text/javascript"> window.onload = function () { document.getElementById("jformparamssettingidsudd").style.display = 'block'; document.getElementById("jformparamssettingidsudd_chzn").style.display = 'none'; } </script> <?php } else { $html = ''; $html = '<div class="clr"></div><input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_SM.gif" border="0" alt="PayPal - The safer, easier way to pay online!" onclick="javascript: window.open (\'http://wasen.net/donate.html\', \'donate\',\'\');" />'; $html .= '<br />Well, I think it\'s worth AT LEAST 5 bucks!<br />What do you think? (Donate through PayPal. Thanks!)'; return $html; } } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка