2 /************************************************************************/
\r
4 /************************************************************************/
\r
5 /* Copyright (c) 2002-2008 by Greg Gay, Joel Kronenberg & Heidi Hazelton*/
\r
6 /* Adaptive Technology Resource Centre / University of Toronto */
\r
7 /* http://atutor.ca */
\r
9 /* This program is free software. You can redistribute it and/or */
\r
10 /* modify it under the terms of the GNU General Public License */
\r
11 /* as published by the Free Software Foundation. */
\r
12 /************************************************************************/
\r
13 // $Id: edit.php 3111 2005-01-18 19:32:00Z joel $
\r
16 global $display_name_formats, $moduleFactory;
\r
19 <div class="input-form">
\r
21 <p><a href="inbox/send_message.php?id=<?php echo $this->row['member_id']; ?>"><?php echo _AT('send_message'); ?></a></p>
\r
22 <dl id="public-profile">
\r
23 <?php $mod = $moduleFactory->getModule('_standard/profile_pictures');
\r
24 if ($mod->isEnabled() === TRUE): ?>
\r
25 <dt><?php echo _AT('picture'); ?></dt>
\r
26 <dd><?php if (profile_image_exists($this->row['member_id'])): ?>
\r
27 <a href="get_profile_img.php?id=<?php echo $this->row['member_id'].SEP.'size=o'; ?>"><?php print_profile_img($this->row['member_id'], 2); ?></a>
\r
29 <?php echo _AT('none'); ?>
\r
34 <dt><?php echo _AT('email'); ?></dt>
\r
36 <?php if($this->row['private_email']): ?>
\r
37 <?php echo _AT('private'); ?>
\r
39 <a href="mailto:<?php echo $this->row['email']; ?>"><?php echo $this->row['email']; ?></a>
\r
43 <dt><?php echo _AT('web_site'); ?></dt>
\r
45 <?php if ($this->row['website']) {
\r
46 echo '<a href="'.htmlspecialchars($this->row['website'], ENT_COMPAT, "UTF-8").'">'.AT_print($this->row['website'], 'members.website').'</a>';
\r
52 <dt><?php echo _AT('phone'); ?></dt>
\r
54 <?php if ($this->row['phone']) {
\r
55 echo $this->row['phone'];
\r
62 <dt><?php echo _AT('status'); ?></dt>
\r
63 <dd><?php echo $this->status; ?></dd>
\r