Source for file view.html.php
Documentation is available at view.html.php
* @package Joomla.Administrator
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* @package Joomla.Administrator
public function display($tpl =
null)
$this->groups =
$this->get('AssignedGroups');
$this->tfaform =
$this->get('Twofactorform');
$this->otpConfig =
$this->get('otpConfig');
if (count($errors =
$this->get('Errors')))
$this->form->setValue('password', null);
$this->form->setValue('password2', null);
* Add the page title and toolbar.
$isNew =
($this->item->id ==
0);
$isProfile =
$this->item->id ==
$user->id;
JToolbarHelper::title(JText::_($isNew ?
'COM_USERS_VIEW_NEW_USER_TITLE' :
($isProfile ?
'COM_USERS_VIEW_EDIT_PROFILE_TITLE' :
'COM_USERS_VIEW_EDIT_USER_TITLE')), 'user ' .
($isNew ?
'user-add' :
($isProfile ?
'user-profile' :
'user-edit')));
if ($canDo->get('core.edit')||
$canDo->get('core.create'))
if ($canDo->get('core.create')&&
$canDo->get('core.manage'))
if (empty($this->item->id))
Documentation generated on Tue, 19 Nov 2013 15:18:10 +0100 by phpDocumentor 1.4.3