<commit_before><h2><?php  echo h($user['User']['name']);?></h2>
<dl>
	<?php if($user['User']['show_contact_info']): ?>
	<dt><?php echo __('Email'); ?></dt>
	<dd>
		<?php echo h($user['User']['email']); ?>
		&nbsp;
	</dd>
	<dt><?php echo __('Phone Number'); ?></dt>
	<dd>
		<?php echo h($user['User']['phone_number']); ?>
		&nbsp;
	</dd>
	<?php endif; ?>
	<?php if($user['User']['graduation_year']): ?>
	<dt><?php echo __('Graduation Year'); ?></dt>
	<dd>
		<?php echo h($user['User']['graduation_year']); ?>
		&nbsp;
	</dd>
	<?php endif; ?>
	<dt><?php echo __('Company'); ?></dt>
	<dd>
		<?php echo h($user['User']['company']); ?>
		&nbsp;
	</dd>
	<dt><?php echo __('Position'); ?></dt>
	<dd>
		<?php echo h($user['User']['position']); ?>
		&nbsp;
	</dd>
	<dt><?php echo __('Bio'); ?></dt>
	<dd>
		<?php echo h($user['User']['bio']); ?>
		&nbsp;
	</dd>
	<dt><?php echo __('Joined'); ?></dt>
	<dd>
		<?php echo date("l, F j, Y", strtotime(h($user['User']['date_created']))); ?>
		&nbsp;
	</dd>
</dl><commit_msg>Added 'Edit Profile' link to the bottom of a logged in user's profile. Fixes #29.<commit_after><h2><?php  echo h($user['User']['name']);?></h2>
<dl>
	<?php if($user['User']['show_contact_info']): ?>
	<dt><?php echo __('Email'); ?></dt>
	<dd>
		<?php echo h($user['User']['email']); ?>
		&nbsp;
	</dd>
	<dt><?php echo __('Phone Number'); ?></dt>
	<dd>
		<?php echo h($user['User']['phone_number']); ?>
		&nbsp;
	</dd>
	<?php endif; ?>
	<?php if($user['User']['graduation_year']): ?>
	<dt><?php echo __('Graduation Year'); ?></dt>
	<dd>
		<?php echo h($user['User']['graduation_year']); ?>
		&nbsp;
	</dd>
	<?php endif; ?>
	<dt><?php echo __('Company'); ?></dt>
	<dd>
		<?php echo h($user['User']['company']); ?>
		&nbsp;
	</dd>
	<dt><?php echo __('Position'); ?></dt>
	<dd>
		<?php echo h($user['User']['position']); ?>
		&nbsp;
	</dd>
	<dt><?php echo __('Bio'); ?></dt>
	<dd>
		<?php echo h($user['User']['bio']); ?>
		&nbsp;
	</dd>
	<dt><?php echo __('Joined'); ?></dt>
	<dd>
		<?php echo date("l, F j, Y", strtotime(h($user['User']['date_created']))); ?>
		&nbsp;
	</dd>
</dl>
<?php

if($user['User']['id'] == AuthComponent::user('id')){
	echo $this->Html->link('Edit Profile', array('controller' => 'users', 'action' => 'edit', $user['User']['id']), array('data-role' => 'button'));
}
	
?>
{'fraction_non_alphanumeric': 0.3279756733275413, 'fraction_numerical': 0.0026064291920069507, 'mean_word_length': 5.044619422572178, 'pattern_counts': {'":': 0, '<': 106, '<?xml version=': 0, '>': 111, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1036742', 'n_tokens_mistral': 950, 'n_tokens_neox': 942, 'n_words': 204}