1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

Bugtracker #4539 - hard coded text in img.bb

This commit is contained in:
e107steved 2008-10-15 21:23:51 +00:00
parent 01ce3264d1
commit ca0b2306a2
2 changed files with 9 additions and 5 deletions

View File

@ -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;
}
}
}

View File

@ -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");