target="_blank" on images
This commit is contained in:
parent
41920ec098
commit
4bf3a5da58
@ -358,7 +358,7 @@
|
|||||||
|
|
||||||
$built .= ')</span></p>' .
|
$built .= ')</span></p>' .
|
||||||
// Thumbnail
|
// Thumbnail
|
||||||
'<a href="' . $config['uri_img'] . $this->file.'"><img src="' . $config['uri_thumb'] . $this->thumb.'" style="width:'.$this->thumbx.'px;height:'.$this->thumby.'px;" alt="" /></a>';
|
'<a href="' . $config['uri_img'] . $this->file.'" target="_blank"><img src="' . $config['uri_thumb'] . $this->thumb.'" style="width:'.$this->thumbx.'px;height:'.$this->thumby.'px;" alt="" /></a>';
|
||||||
} elseif($this->file == 'deleted') {
|
} elseif($this->file == 'deleted') {
|
||||||
$built .= '<img src="' . $config['image_deleted'] . '" alt="" />';
|
$built .= '<img src="' . $config['image_deleted'] . '" alt="" />';
|
||||||
}
|
}
|
||||||
@ -507,7 +507,7 @@
|
|||||||
|
|
||||||
$built .= ')</span></p>' .
|
$built .= ')</span></p>' .
|
||||||
// Thumbnail
|
// Thumbnail
|
||||||
'<a href="' . $config['uri_img'] . $this->file.'"><img src="' . $config['uri_thumb'] . $this->thumb.'" style="width:'.$this->thumbx.'px;height:'.$this->thumby.'px;" alt="" /></a>';
|
'<a href="' . $config['uri_img'] . $this->file.'" target="_blank"><img src="' . $config['uri_thumb'] . $this->thumb.'" style="width:'.$this->thumbx.'px;height:'.$this->thumby.'px;" alt="" /></a>';
|
||||||
} elseif($this->file == 'deleted') {
|
} elseif($this->file == 'deleted') {
|
||||||
$built = '<img src="' . $config['image_deleted'] . '" alt="" />';
|
$built = '<img src="' . $config['image_deleted'] . '" alt="" />';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user