mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-24 15:40:12 +01:00
email <a> tag should end before the capcode begins
This commit is contained in:
parent
9e0d3ad5f9
commit
169215da52
@ -230,13 +230,11 @@
|
|||||||
' style="' . $config['custom_capcode'][$this->capcode][2] . '"'
|
' style="' . $config['custom_capcode'][$this->capcode][2] . '"'
|
||||||
: '')
|
: '')
|
||||||
. '>'.$this->trip.'</span>':'')
|
. '>'.$this->trip.'</span>':'')
|
||||||
|
// End email
|
||||||
|
. (!empty($this->email)? '</a>' : '')
|
||||||
// Capcode
|
// Capcode
|
||||||
. (!empty($this->capcode) ? capcode($this->capcode) : '');
|
. (!empty($this->capcode) ? capcode($this->capcode) : '');
|
||||||
|
|
||||||
// End email
|
|
||||||
if(!empty($this->email))
|
|
||||||
$built .= '</a>';
|
|
||||||
|
|
||||||
// IP Address
|
// IP Address
|
||||||
if($this->mod && $this->mod['type'] >= $config['mod']['show_ip']) {
|
if($this->mod && $this->mod['type'] >= $config['mod']['show_ip']) {
|
||||||
$built .= ' [<a style="margin:0;" href="?/IP/' . $this->ip . '">' . $this->ip . '</a>]';
|
$built .= ' [<a style="margin:0;" href="?/IP/' . $this->ip . '">' . $this->ip . '</a>]';
|
||||||
@ -415,13 +413,11 @@
|
|||||||
$built .= '<span class="name">' . $this->name . '</span>'
|
$built .= '<span class="name">' . $this->name . '</span>'
|
||||||
// Trip
|
// Trip
|
||||||
. (!empty($this->trip) ? ' <span class="trip">'.$this->trip.'</span>':'')
|
. (!empty($this->trip) ? ' <span class="trip">'.$this->trip.'</span>':'')
|
||||||
|
// End email
|
||||||
|
. (!empty($this->email)? '</a>' : '')
|
||||||
// Capcode
|
// Capcode
|
||||||
. (!empty($this->capcode) ? capcode($this->capcode) : '');
|
. (!empty($this->capcode) ? capcode($this->capcode) : '');
|
||||||
|
|
||||||
// End email
|
|
||||||
if(!empty($this->email))
|
|
||||||
$built .= '</a>';
|
|
||||||
|
|
||||||
// IP Address
|
// IP Address
|
||||||
if($this->mod && $this->mod['type'] >= $config['mod']['show_ip']) {
|
if($this->mod && $this->mod['type'] >= $config['mod']['show_ip']) {
|
||||||
$built .= ' [<a style="margin:0;" href="?/IP/' . $this->ip . '">' . $this->ip . '</a>]';
|
$built .= ' [<a style="margin:0;" href="?/IP/' . $this->ip . '">' . $this->ip . '</a>]';
|
||||||
|
Loading…
Reference in New Issue
Block a user