[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 * @package Joomla.Administrator 5 * @subpackage com_users 6 * 7 * @copyright (C) 2022 Open Source Matters, Inc. <https://www.joomla.org> 8 * @license GNU General Public License version 2 or later; see LICENSE.txt 9 */ 10 11 // Prevent direct access 12 defined('_JEXEC') or die; 13 14 use Joomla\CMS\Factory; 15 use Joomla\CMS\Language\Text; 16 use Joomla\CMS\Router\Route; 17 use Joomla\Component\Users\Administrator\View\Methods\HtmlView; 18 19 /** @var HtmlView $this */ 20 21 $headingLevel = 2; 22 ?> 23 <div id="com-users-methods-list"> 24 <?php if (!$this->isAdmin) : ?> 25 <h<?php echo $headingLevel ?> id="com-users-methods-list-head"> 26 <?php echo Text::_('COM_USERS_MFA_FIRSTTIME_PAGE_HEAD'); ?> 27 </h<?php echo $headingLevel++ ?>> 28 <?php endif; ?> 29 <div id="com-users-methods-list-instructions" class="alert alert-info"> 30 <h<?php echo $headingLevel ?> class="alert-heading"> 31 <span class="fa fa-shield-alt" aria-hidden="true"></span> 32 <?php echo Text::_('COM_USERS_MFA_FIRSTTIME_INSTRUCTIONS_HEAD'); ?> 33 </h<?php echo $headingLevel ?>> 34 <p> 35 <?php echo Text::_('COM_USERS_MFA_FIRSTTIME_INSTRUCTIONS_WHATITDOES'); ?> 36 </p> 37 <a href="<?php echo Route::_( 38 'index.php?option=com_users&task=methods.doNotShowThisAgain' . 39 ($this->returnURL ? '&returnurl=' . $this->escape(urlencode($this->returnURL)) : '') . 40 '&user_id=' . $this->user->id . 41 '&' . Factory::getApplication()->getFormToken() . '=1' 42 )?>" 43 class="btn btn-danger w-100"> 44 <?php echo Text::_('COM_USERS_MFA_FIRSTTIME_NOTINTERESTED'); ?> 45 </a> 46 </div> 47 48 <?php $this->setLayout('list'); 49 echo $this->loadTemplate(); ?> 50 </div>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |