[ 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 com_users 6 * 7 * @copyright (C) 2009 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\HTML\HTMLHelper; 14 use Joomla\CMS\Language\Text; 15 use Joomla\CMS\Router\Route; 16 17 HTMLHelper::_('behavior.keepalive'); 18 HTMLHelper::_('behavior.formvalidator'); 19 20 ?> 21 <div class="com-users-registration registration"> 22 <?php if ($this->params->get('show_page_heading')) : ?> 23 <div class="page-header"> 24 <h1><?php echo $this->escape($this->params->get('page_heading')); ?></h1> 25 </div> 26 <?php endif; ?> 27 28 <form id="member-registration" action="<?php echo Route::_('index.php?option=com_users&task=registration.register'); ?>" method="post" class="com-users-registration__form form-validate" enctype="multipart/form-data"> 29 <?php // Iterate through the form fieldsets and display each one. ?> 30 <?php foreach ($this->form->getFieldsets() as $fieldset) : ?> 31 <?php $fields = $this->form->getFieldset($fieldset->name); ?> 32 <?php if (count($fields)) : ?> 33 <fieldset> 34 <?php // If the fieldset has a label set, display it as the legend. ?> 35 <?php if (isset($fieldset->label)) : ?> 36 <legend><?php echo Text::_($fieldset->label); ?></legend> 37 <?php endif; ?> 38 <?php echo $this->form->renderFieldset($fieldset->name); ?> 39 </fieldset> 40 <?php endif; ?> 41 <?php endforeach; ?> 42 <div class="com-users-registration__submit control-group"> 43 <div class="controls"> 44 <button type="submit" class="com-users-registration__register btn btn-primary validate"> 45 <?php echo Text::_('JREGISTER'); ?> 46 </button> 47 <input type="hidden" name="option" value="com_users"> 48 <input type="hidden" name="task" value="registration.register"> 49 </div> 50 </div> 51 <?php echo HTMLHelper::_('form.token'); ?> 52 </form> 53 </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 |