Invalid HTML -> Valid HTML

This commit is contained in:
Savetheinternet 2011-02-20 22:47:01 +11:00
parent bdfcfc9b3d
commit aab7d0b3cc

View File

@ -169,15 +169,15 @@
// Trip // Trip
. (!empty($this->trip) ? ' <span class="trip">'.$this->trip.'</span>':''); . (!empty($this->trip) ? ' <span class="trip">'.$this->trip.'</span>':'');
// 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>]';
} }
// End email
if(!empty($this->email))
$built .= '</a>';
// Date/time // Date/time
$built .= ' ' . date($config['post_date'], $this->time); $built .= ' ' . date($config['post_date'], $this->time);
@ -342,15 +342,15 @@
// Trip // Trip
. (!empty($this->trip) ? ' <span class="trip">'.$this->trip.'</span>':''); . (!empty($this->trip) ? ' <span class="trip">'.$this->trip.'</span>':'');
// 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>]';
} }
// End email
if(!empty($this->email))
$built .= '</a>';
// Date/time // Date/time
$built .= ' ' . date($config['post_date'], $this->time); $built .= ' ' . date($config['post_date'], $this->time);