mirror of
https://github.com/e107inc/e107.git
synced 2025-04-21 13:11:52 +02:00
Merge pull request #1815 from MikeyGMT/master
#6 Hard Coding in Banner e_shortcode
This commit is contained in:
commit
8c52c8aa4e
@ -54,7 +54,7 @@ class banner_shortcodes extends e_shortcode
|
||||
$tp = e107::getParser();
|
||||
if(!$row['banner_image'])
|
||||
{
|
||||
return "<a href='".e_HTTP.'banner.php?'.$row['banner_id']."' rel='external'>no image assigned to this banner</a>";
|
||||
return "<a href='".e_HTTP.'banner.php?'.$row['banner_id']."' rel='external'>".BANNERLAN_39."</a>";
|
||||
}
|
||||
|
||||
$fileext1 = substr(strrchr($row['banner_image'], '.'), 1);
|
||||
|
@ -32,3 +32,4 @@ define("BANNERLAN_35", "Clickthrough IP addresses");
|
||||
define("BANNERLAN_36", "Active:");
|
||||
define("BANNERLAN_37", "Starts:");
|
||||
//define("BANNERLAN_38", "Error"); // English LAN_ERROR
|
||||
define("BANNERLAN_39", "No image assigned to this banner.");
|
||||
|
Loading…
x
Reference in New Issue
Block a user