<div id="jfbc_loginregister_newuser" class="<?php echo $newUserSpan;?>">
<form action="" method="post" id="adminForm" class="form-validate">
<?php foreach ($this->form->getFieldsets() as $fieldset): ?>
<?php $fields = $this->form->getFieldset($fieldset->name); ?>
<?php if (count($fields))
{
?>
<fieldset>
<?php if (isset($fieldset->label))
{ // If the fieldset has a label set, display it as the legend.
?>
<legend><?php echo JText::_($fieldset->label); ?></legend>
<?php } ?>
<dl>
<?php foreach ($fields as $field): // Iterate through the fields in the set and display them.?>
<?php if ($field->hidden)
{ // If the field is hidden, just display the input.
?>
<?php echo $field->input; ?>
<?php
}
else
{
?>
<dt>
<?php echo $field->label; ?>
<?php if (!$field->required && (!$field->type == "spacer"))
{
?>
<span class="optional"><?php echo JText::_('COM_USERS_OPTIONAL'); ?></span>
<?php } ?>
</dt>
<dd><?php echo $field->input; ?></dd>
<?php } ?>
<?php endforeach; ?>
</dl>
</fieldset>
<?php } ?>
<?php endforeach; ?>
<div class="profile-fields">
<?php
foreach ($profileFields as $profileForm)
echo $profileForm;
?>
</div>Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.
