Commit 8aed1bf6 authored by tbrehm's avatar tbrehm
Browse files

Added missing error messages to spamfilter white and blacklist.

Set version number to 3.0.1.3
parent 44d2a76d
......@@ -1148,7 +1148,7 @@ INSERT INTO `sys_user` (`userid`, `sys_userid`, `sys_groupid`, `sys_perm_user`,
-- Dumping data for table `sys_config`
--
INSERT INTO sys_config VALUES ('1','db','db_version','3.0.1');
INSERT INTO sys_config VALUES ('1','db','db_version','3.0.1.3');
-- --------------------------------------------------------
......
......@@ -57,7 +57,7 @@ $revision = str_replace(array('Revision:','$',' '), '', $svn_revision);
//** Application
define('ISPC_APP_TITLE', 'ISPConfig');
define('ISPC_APP_VERSION', '3.0.1');
define('ISPC_APP_VERSION', '3.0.1.3');
//** Database
......
......@@ -5,4 +5,5 @@ $wb["rid_txt"] = 'User';
$wb["email_txt"] = 'Email';
$wb["priority_txt"] = 'Priority';
$wb["active_txt"] = 'Active';
$wb["limit_spamfilter_wblist_txt"] = 'The max. number of White- or Blacklist records for your account is reached.';
?>
\ No newline at end of file
......@@ -5,4 +5,5 @@ $wb["rid_txt"] = 'User';
$wb["email_txt"] = 'Email';
$wb["priority_txt"] = 'Priority';
$wb["active_txt"] = 'Active';
$wb["limit_spamfilter_wblist_txt"] = 'The max. number of White- or Blacklist records for your account is reached.';
?>
\ No newline at end of file
......@@ -63,7 +63,7 @@ class page_action extends tform_actions {
if($client["limit_spamfilter_wblist"] >= 0) {
$tmp = $app->db->queryOneRecord("SELECT count(wblist_id) as number FROM spamfilter_wblist WHERE sys_groupid = $client_group_id");
if($tmp["number"] >= $client["limit_spamfilter_wblist"]) {
$app->error($app->tform->wordbook["limit_spamfilter_wblist_txt"]);
$app->error($app->tform->lng("limit_spamfilter_wblist_txt"));
}
}
}
......
......@@ -63,7 +63,7 @@ class page_action extends tform_actions {
if($client["limit_spamfilter_wblist"] >= 0) {
$tmp = $app->db->queryOneRecord("SELECT count(wblist_id) as number FROM spamfilter_wblist WHERE sys_groupid = $client_group_id");
if($tmp["number"] >= $client["limit_spamfilter_wblist"]) {
$app->error($app->tform->wordbook["limit_spamfilter_wblist_txt"]);
$app->error($app->tform->lng("limit_spamfilter_wblist_txt"));
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment