* @param Person $this->person */ use Application\Models\Person; use Blossom\Classes\View; $username = $this->person->getUsername(); if (!$username && Person::isAllowed('users')) { $h = $this->template->getHelper('buttonLink'); $username = $h->buttonLink( BASE_URI.'/users/update?user_id='.$this->person->getId(), $this->translate('create_account'), 'add' ); } $name = View::escape($this->person->getFullname()); echo <<

$name

Email {$this->person->getEmail()}
Username $username
EOT;