mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 12:48:24 +01:00
Bugtracker #4539 - hard coded text in img.bb
This commit is contained in:
parent
01ce3264d1
commit
ca0b2306a2
@ -56,18 +56,18 @@ else
|
||||
}
|
||||
else
|
||||
{
|
||||
return ($pref['image_post_disabled_method'] ? "[ image disabled ]" : "Image: $code_text");
|
||||
return ($pref['image_post_disabled_method'] ? CORE_LAN17 : CORE_LAN18.$code_text);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if ($pref['image_post_disabled_method'])
|
||||
{
|
||||
return '[ image disabled ]';
|
||||
return CORE_LAN17;
|
||||
}
|
||||
else
|
||||
{
|
||||
return "Image: $code_text";
|
||||
return CORE_LAN18.$code_text;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -4,8 +4,8 @@
|
||||
| e107 website system - Language File.
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_languages/English/English.php,v $
|
||||
| $Revision: 1.4 $
|
||||
| $Date: 2008-02-29 21:57:12 $
|
||||
| $Revision: 1.5 $
|
||||
| $Date: 2008-10-15 21:23:51 $
|
||||
| $Author: e107steved $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
@ -39,6 +39,10 @@ define("CORE_LAN14", "%2.3f cpu sec (%2.2f%% load, %2.3f startup). Clock: ");
|
||||
define("CORE_LAN15", "DB queries: ");
|
||||
define("CORE_LAN16", "Memory: ");
|
||||
|
||||
// img.bb
|
||||
define('CORE_LAN17', '[ image disabled ]');
|
||||
define('CORE_LAN18', 'Image: ');
|
||||
|
||||
define("CORE_LAN_B", "b");
|
||||
define("CORE_LAN_KB", "kb");
|
||||
define("CORE_LAN_MB", "Mb");
|
||||
|
Loading…
x
Reference in New Issue
Block a user