summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2011-04-14 02:19:31 +1000
committerSavetheinternet <savetheinternet@n0v4.com>2011-04-14 02:19:31 +1000
commit169215da520a4672f21643d648fe3a3f7444798c (patch)
tree9433f057fb3cf45cca1d76e1452af008ae9c5d5e /inc
parent9e0d3ad5f99d2916336cb7c3a6349ebe66dd76b8 (diff)
email <a> tag should end before the capcode begins
Diffstat (limited to 'inc')
-rw-r--r--inc/display.php12
1 files changed, 4 insertions, 8 deletions
diff --git a/inc/display.php b/inc/display.php
index 1b5e98f7..ab6f9cda 100644
--- a/inc/display.php
+++ b/inc/display.php
@@ -230,13 +230,11 @@
' style="' . $config['custom_capcode'][$this->capcode][2] . '"'
: '')
. '>'.$this->trip.'</span>':'')
+ // End email
+ . (!empty($this->email)? '</a>' : '')
// Capcode
. (!empty($this->capcode) ? capcode($this->capcode) : '');
- // End email
- if(!empty($this->email))
- $built .= '</a>';
-
// IP Address
if($this->mod && $this->mod['type'] >= $config['mod']['show_ip']) {
$built .= ' [<a style="margin:0;" href="?/IP/' . $this->ip . '">' . $this->ip . '</a>]';
@@ -415,13 +413,11 @@
$built .= '<span class="name">' . $this->name . '</span>'
// Trip
. (!empty($this->trip) ? ' <span class="trip">'.$this->trip.'</span>':'')
+ // End email
+ . (!empty($this->email)? '</a>' : '')
// Capcode
. (!empty($this->capcode) ? capcode($this->capcode) : '');
- // End email
- if(!empty($this->email))
- $built .= '</a>';
-
// IP Address
if($this->mod && $this->mod['type'] >= $config['mod']['show_ip']) {
$built .= ' [<a style="margin:0;" href="?/IP/' . $this->ip . '">' . $this->ip . '</a>]';