summaryrefslogtreecommitdiff
path: root/dash/profile.php
diff options
context:
space:
mode:
authorCarson Fleming <cflems@cflems.net>2017-02-17 00:18:29 -0500
committerCarson Fleming <cflems@cflems.net>2017-02-17 00:18:29 -0500
commitb13221d3d3c98912e130c33c725d7274cda5b27d (patch)
tree11a4555f067696cbc10ab0854ab92c583a8365c1 /dash/profile.php
parent4f12fecebcd3f2a5bc6a0e7cdf9c420af4ed435a (diff)
downloadbulletin-b13221d3d3c98912e130c33c725d7274cda5b27d.tar.gz
Restyled a lil
Diffstat (limited to 'dash/profile.php')
-rw-r--r--dash/profile.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/dash/profile.php b/dash/profile.php
index 13fc8d7..00764f7 100644
--- a/dash/profile.php
+++ b/dash/profile.php
@@ -16,7 +16,7 @@ if ($public) {
?>
<div id="profile" class="public">
<div id="proheader">
- <h3 id="protitle"><?=htmlentities($user['name']);?></h3>
+ <h3 id="protitle"><a href="<?=$_SERVER['REQUEST_URI'];?>"><?=htmlentities($user['name']);?></a></h3>
<p id="prostars"><?=rating_format($user['rating'], typestr($user['type']));?></p>
</div>
<div id="proleft">
@@ -46,6 +46,9 @@ $phonelink = '+'.preg_replace('/[^0-9]/', '', $user['phone']);
<h4>Address</h4>
<p><?=(is_null($user['address']) ? '<em>No address specified.</em>' : htmlentities($user['address']));?></p>
<p>Zipcode: <?=htmlentities($user['zipcode']);?></p>
+ <br />
+ <h4>Chat</h4>
+ <p><a href="#" onclick="bullechat.gui.create('<?=htmlentities($user['email'], ENT_HTML401 | ENT_QUOTES);?>'); return false;">Open a Chat</a></p>
</div>
</div>
</div>
@@ -84,7 +87,7 @@ $phonelink = '+'.preg_replace('/[^0-9]/', '', $user['phone']);
?>
<div id="profile" class="private">
<div id="proheader">
- <h3 id="protitle"><?=htmlentities($user['name']);?></h3>
+ <h3 id="protitle"><a href="<?=$_SERVER['REQUEST_URI'];?>"><?=htmlentities($user['name']);?></a></h3>
<p id="prostars"><?=rating_format($user['rating'], typestr($user['type']));?></p>
</div>
<form action="<?=$_SERVER['REQUEST_URI'];?>" method="post" enctype="multipart/form-data">