Browse Source

email <a> tag should end before the capcode begins

pull/40/head
Savetheinternet 13 years ago
parent
commit
169215da52
  1. 12
      inc/display.php

12
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>]';

Loading…
Cancel
Save