[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 * @package Joomla.Site 5 * @subpackage mod_login 6 * 7 * @copyright (C) 2005 Open Source Matters, Inc. <https://www.joomla.org> 8 * @license GNU General Public License version 2 or later; see LICENSE.txt 9 */ 10 11 defined('_JEXEC') or die; 12 13 use Joomla\CMS\Factory; 14 use Joomla\CMS\Helper\AuthenticationHelper; 15 use Joomla\CMS\Helper\ModuleHelper; 16 use Joomla\Module\Login\Site\Helper\LoginHelper; 17 18 $params->def('greeting', 1); 19 20 // HTML IDs 21 $formId = 'login-form-' . $module->id; 22 $type = LoginHelper::getType(); 23 $return = LoginHelper::getReturnUrl($params, $type); 24 $registerLink = LoginHelper::getRegistrationUrl($params); 25 $extraButtons = AuthenticationHelper::getLoginButtons($formId); 26 $user = Factory::getUser(); 27 $layout = $params->get('layout', 'default'); 28 29 // Logged users must load the logout sublayout 30 if (!$user->guest) { 31 $layout .= '_logout'; 32 } 33 34 require ModuleHelper::getLayoutPath('mod_login', $layout);
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 |