CoreFiles by mySites.guru
default_custom.php53 lines, 1,975 bytes, from Joomla_3.4.3-Stable-Full_Package.zip
Raw History Compare with 3.4.2
md5
9e54d7846177cb3dd1855edc29bed7a8
sha1
f9e37021cb56e67ffab8baa1ee56802092e86c32
sha256
cc1d84abea5077ee8bcdd704ffad58726ec28c49777259803eeaaa28e9348a26
<?php
/**
 * @package     Joomla.Site
 * @subpackage  com_users
 *
 * @copyright   Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

JLoader::register('JHtmlUsers', JPATH_COMPONENT . '/helpers/html/users.php');
JHtml::register('users.spacer', array('JHtmlUsers', 'spacer'));


$fieldsets = $this->form->getFieldsets();
if (isset($fieldsets['core']))   unset($fieldsets['core']);
if (isset($fieldsets['params'])) unset($fieldsets['params']);

foreach ($fieldsets as $group => $fieldset): // Iterate through the form fieldsets
	$fields = $this->form->getFieldset($group);
	if (count($fields)):
?>
<?php //if ($this->params->get('show_tags')) : ?>
		<?php //$this->tagLayout = new JLayoutFile('joomla.content.tags'); ?>
		<?php //echo $this->tagLayout->render($this->tags); ?>
	<?php // endif; ?>

<fieldset id="users-profile-custom" class="users-profile-custom-<?php echo $group; ?>">
	<?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 endif; ?>
	<dl class="dl-horizontal">
	<?php foreach ($fields as $field) :
		if (!$field->hidden && $field->type != 'Spacer') : ?>
		<dt><?php echo $field->title; ?></dt>
		<dd>
			<?php if (JHtml::isRegistered('users.' . $field->id)) : ?>
				<?php echo JHtml::_('users.' . $field->id, $field->value); ?>
			<?php elseif (JHtml::isRegistered('users.' . $field->fieldname)) : ?>
				<?php echo JHtml::_('users.' . $field->fieldname, $field->value); ?>
			<?php elseif (JHtml::isRegistered('users.' . $field->type)) : ?>
				<?php echo JHtml::_('users.' . $field->type, $field->value); ?>
			<?php else : ?>
				<?php echo JHtml::_('users.value', $field->value); ?>
			<?php endif; ?>
		</dd>
		<?php endif; ?>
	<?php endforeach; ?>
	</dl>
</fieldset>
	<?php endif; ?>
<?php endforeach; ?>

The same content is in 11 releases, Joomla 3.4.0-beta1 to 3.4.3. See them all, or every version of this file.