1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 14:17:49 +02:00

Add img-rounded class to images

Add img-rounded class to images, for site wide image format consistency (like used for example by news...)
This commit is contained in:
rica-carv
2016-04-16 23:15:42 +01:00
parent 4aba2f6149
commit a1b0367224

View File

@@ -99,12 +99,12 @@ class banner_shortcodes extends e_shortcode
if($row['banner_image'][0] == '{')
{
$src = $row['banner_image'];
$ban_ret = $tp->toImage($src, array('class'=>'e-banner img-responsive', 'alt'=>$row['banner_clickurl']));
$ban_ret = $tp->toImage($src, array('class'=>'e-banner img-responsive img-rounded', 'alt'=>$row['banner_clickurl']));
}
else
{
$src = e_IMAGE_ABS.'banners/'.$row['banner_image'];
$ban_ret = "<img class='e-banner img-responsive' src='".$src."' alt='".$row['banner_clickurl']."' style='border:0' />";
$ban_ret = "<img class='e-banner img-responsive img-rounded' src='".$src."' alt='".$row['banner_clickurl']."' style='border:0' />";
}
@@ -133,4 +133,4 @@ class banner_shortcodes extends e_shortcode
}
}
?>
?>