mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 14:46:56 +02:00
Fixed: path to image, and replaced hardcoded string with constant.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user