* @license GNU General Public License version 2 or later; see LICENSE.txt */ // Prevent direct access defined('_JEXEC') or die; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; use Joomla\CMS\Router\Route; use Joomla\Component\Users\Site\View\Method\HtmlView; use Joomla\Utilities\ArrayHelper; /** @var HtmlView $this */ $cancelURL = Route::_('index.php?option=com_users&task=methods.display&user_id=' . $this->user->id); if (!empty($this->returnURL)) { $cancelURL = $this->escape(base64_decode($this->returnURL)); } $recordId = (int) $this->record->id ?? 0; $method = $this->record->method ?? $this->getModel()->getState('method'); $userId = (int) $this->user->id ?? 0; $headingLevel = 2; $hideSubmit = !$this->renderOptions['show_submit'] && !$this->isEditExisting ?>