diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2011-04-14 02:19:31 +1000 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2011-04-14 02:19:31 +1000 |
| commit | 169215da520a4672f21643d648fe3a3f7444798c (patch) | |
| tree | 9433f057fb3cf45cca1d76e1452af008ae9c5d5e | |
| parent | 9e0d3ad5f99d2916336cb7c3a6349ebe66dd76b8 (diff) | |
email <a> tag should end before the capcode begins
| -rw-r--r-- | inc/display.php | 12 |
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>]'; |
