1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 06:38:00 +02:00

Fixed: path to image, and replaced hardcoded string with constant.

This commit is contained in:
Lóna Lore
2016-01-01 14:18:01 +01:00
parent 64e1ce3cd3
commit 461aa1b913

View File

@@ -434,10 +434,10 @@ class comment_shortcodes extends e_shortcode
if($prov == 'facebook' || $prov == 'twitter')
{
//TODO Move styling to e107.css
$text = "<img src='".e_IMAGE."xup/".$prov.".png' style='display:inline-block;width:26px;height:26px;vertical-align:middle' alt='Share' />";
$text = "<img src='/".e_IMAGE."xup/".$prov.".png' style='display:inline-block;width:26px;height:26px;vertical-align:middle' alt='Share' />";
$text .= e107::getForm()->checkbox('comment_share',$prov,true);
$text .= "Share";
$text .= LAN_SHARE;
return $text;
}
}