1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 20:30:39 +02:00
This commit is contained in:
Cameron
2017-11-06 22:29:19 -08:00
parent cf8f4bb7be
commit 15b075b6af
2 changed files with 4 additions and 4 deletions

View File

@@ -165,12 +165,12 @@ if(isset($_POST['updateprefs']))
if($value < $pref_limits[$key]['min']) if($value < $pref_limits[$key]['min'])
{ {
$value = $pref_limits[$key]['min']; $value = $pref_limits[$key]['min'];
$mes->addWarning(str_replace(array('--FIELD--','--VALUE--'),array($key,$value),PRFLAN_213)); $mes->addWarning(str_replace(array('[x]','[y]'),array($key,$value),PRFLAN_213));
} }
if($value > $pref_limits[$key]['max']) if($value > $pref_limits[$key]['max'])
{ {
$value = $pref_limits[$key]['max']; $value = $pref_limits[$key]['max'];
$mes->addWarning(str_replace(array('--FIELD--','--VALUE--'),array($key,$value),PRFLAN_212)); $mes->addWarning(str_replace(array('[x]','[y]'),array($key,$value),PRFLAN_212));
} }
} }
else else

View File

@@ -216,8 +216,8 @@ define("PRFLAN_208", "User class which can email links to items on site");
define("PRFLAN_209", "Other Features"); define("PRFLAN_209", "Other Features");
define("PRFLAN_210", "Comments/Posting"); define("PRFLAN_210", "Comments/Posting");
define("PRFLAN_211", "Cannot make email address optional if required for validation or login"); define("PRFLAN_211", "Cannot make email address optional if required for validation or login");
define("PRFLAN_212", "Value for --FIELD-- too high - changed to --VALUE--"); define("PRFLAN_212", "Value for [x] too high - changed to [y]");
define("PRFLAN_213", "Value for --FIELD-- too low - changed to --VALUE--"); define("PRFLAN_213", "Value for [x] too low - changed to [y]");
define("PRFLAN_214", "Site Logo"); define("PRFLAN_214", "Site Logo");
define("PRFLAN_215", "Class which can post &lt;script&gt; and similar tags"); define("PRFLAN_215", "Class which can post &lt;script&gt; and similar tags");
define("PRFLAN_216", "(Requires HTML posting rights as well)"); define("PRFLAN_216", "(Requires HTML posting rights as well)");