Skip to content

Commit 348aef7

Browse files
committed
added mail_box
1 parent 0ff9abf commit 348aef7

File tree

15 files changed

+455
-19
lines changed

15 files changed

+455
-19
lines changed

interface/lib/classes/tform.inc.php

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ class tform {
101101
* der Variablen mit Regex
102102
* @var errorMessage
103103
*/
104-
var $errorMessage;
104+
var $errorMessage = '';
105105

106106
var $dateformat = "d.m.Y";
107107
var $formDef;
@@ -456,7 +456,7 @@ function getHTML($record, $tab, $action = 'NEW') {
456456
function encode($record,$tab) {
457457

458458
if(!is_array($this->formDef['tabs'][$tab])) $app->error("Tab ist leer oder existiert nicht (TAB: $tab).");
459-
$this->errorMessage = '';
459+
//$this->errorMessage = '';
460460

461461
if(is_array($record)) {
462462
foreach($this->formDef['tabs'][$tab]['fields'] as $key => $field) {
@@ -556,14 +556,12 @@ function validateField($field_name, $field_value, $validators) {
556556
$this->errorMessage .= $this->wordbook[$errmsg]."<br>\r\n";
557557
}
558558
break;
559-
/*
560559
case 'ISEMAIL':
561-
if(!preg_match("", $field_value)) {
560+
if(!preg_match("/^\w+[\w.-]*\w+@\w+[\w.-]*\w+\.[a-z]{2,4}$/i", $field_value)) {
562561
$errmsg = $validator['errmsg'];
563562
$this->errorMessage .= $this->wordbook[$errmsg]."<br>\r\n";
564563
}
565564
break;
566-
*/
567565
case 'ISINT':
568566
$tmpval = intval($field_value);
569567
if($tmpval === 0 and !empty($field_value)) {
@@ -631,14 +629,22 @@ function getSQL($record, $tab, $action = 'INSERT', $primary_id = 0, $sql_ext_whe
631629
if($action == "INSERT") {
632630
if($field['formtype'] == 'PASSWORD') {
633631
$sql_insert_key .= "`$key`, ";
634-
$sql_insert_val .= "md5('".$record[$key]."'), ";
632+
if($field['encryption'] == 'CRYPT') {
633+
$sql_insert_val .= "'".crypt($record[$key])."', ";
634+
} else {
635+
$sql_insert_val .= "md5('".$record[$key]."'), ";
636+
}
635637
} else {
636638
$sql_insert_key .= "`$key`, ";
637639
$sql_insert_val .= "'".$record[$key]."', ";
638640
}
639641
} else {
640642
if($field['formtype'] == 'PASSWORD') {
641-
$sql_update .= "`$key` = md5('".$record[$key]."'), ";
643+
if($field['encryption'] == 'CRYPT') {
644+
$sql_update .= "`$key` = '".crypt($record[$key])."', ";
645+
} else {
646+
$sql_update .= "`$key` = md5('".$record[$key]."'), ";
647+
}
642648
} else {
643649
$sql_update .= "`$key` = '".$record[$key]."', ";
644650
}
@@ -835,9 +841,12 @@ function checkPerm($record_id,$perm) {
835841
} else {
836842
$result = false;
837843
if($this->formDef["auth_preset"]["userid"] == $_SESSION["s"]["user"]["userid"] && stristr($perm,$this->formDef["auth_preset"]["perm_user"])) $result = true;
838-
if($this->formDef["auth_preset"]["userid"] == $_SESSION["s"]["user"]["groupid"] && stristr($perm,$this->formDef["auth_preset"]["perm_group"])) $result = true;
844+
if($this->formDef["auth_preset"]["groupid"] == $_SESSION["s"]["user"]["groupid"] && stristr($perm,$this->formDef["auth_preset"]["perm_group"])) $result = true;
839845
if(@stristr($perm,$this->formDef["auth_preset"]["perm_other"])) $result = true;
840846

847+
// if preset == 0, everyone can insert a record of this type
848+
if($this->formDef["auth_preset"]["userid"] == 0 AND $this->formDef["auth_preset"]["groupid"] == 0) $result = true;
849+
841850
return $result;
842851

843852
}

interface/lib/classes/tform_actions.inc.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ function onLoad() {
7171
$this->id = intval($_REQUEST["id"]);
7272

7373
if(count($_POST) > 1) {
74+
$this->dataRecord = $_POST;
7475
$this->onSubmit();
7576
} else {
7677
$this->onShow();
@@ -84,8 +85,6 @@ function onLoad() {
8485
function onSubmit() {
8586
global $app, $conf;
8687

87-
$this->dataRecord = $_POST;
88-
8988
// Calling the action functions
9089
if($this->id > 0) {
9190
$this->onUpdate();

interface/sql/ispconfig3db.sql

Lines changed: 45 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,17 @@
33
# http://www.phpmyadmin.net/ (download page)
44
#
55
# Host: localhost
6-
# Erstellungszeit: 23. November 2005 um 18:15
7-
# Server Version: 4.0.22
8-
# PHP-Version: 5.0.2
6+
# Erstellungszeit: 24. November 2005 um 00:31
7+
# Server Version: 4.0.23
8+
# PHP-Version: 5.0.3
99
# Datenbank: `ispconfig3`
1010
# --------------------------------------------------------
1111

1212
#
1313
# Tabellenstruktur für Tabelle `mail_blacklist`
1414
#
1515

16+
DROP TABLE IF EXISTS mail_blacklist;
1617
CREATE TABLE mail_blacklist (
1718
blacklist_id int(11) NOT NULL auto_increment,
1819
server_id int(11) NOT NULL default '0',
@@ -31,6 +32,7 @@ CREATE TABLE mail_blacklist (
3132
# Tabellenstruktur für Tabelle `mail_box`
3233
#
3334

35+
DROP TABLE IF EXISTS mail_box;
3436
CREATE TABLE mail_box (
3537
mailbox_id int(11) NOT NULL auto_increment,
3638
sys_userid int(11) NOT NULL default '0',
@@ -49,7 +51,7 @@ CREATE TABLE mail_box (
4951
quota varchar(255) NOT NULL default '',
5052
cc varchar(50) NOT NULL default '',
5153
forward varchar(50) NOT NULL default '',
52-
autoresponder enum('yes','no') NOT NULL default 'no',
54+
autoresponder enum('0','1') NOT NULL default '0',
5355
autoresponder_text tinytext NOT NULL,
5456
active enum('0','1') NOT NULL default '1',
5557
antivirus enum('yes','no') NOT NULL default 'no',
@@ -63,12 +65,14 @@ CREATE TABLE mail_box (
6365
# Daten für Tabelle `mail_box`
6466
#
6567

68+
INSERT INTO mail_box VALUES (1, 1, 0, 'riud', 'riud', '', 1, 'till@test.de', '$1$ye3.TQ1.$v/RvqbuU.Gh7UrLlA6HqX/', '', '', 0, 0, '', '', '', '', '0', '', '1', 'no', 'no', 'no');
6669
# --------------------------------------------------------
6770

6871
#
6972
# Tabellenstruktur für Tabelle `mail_domain`
7073
#
7174

75+
DROP TABLE IF EXISTS mail_domain;
7276
CREATE TABLE mail_domain (
7377
domain_id int(11) NOT NULL auto_increment,
7478
sys_userid int(11) NOT NULL default '0',
@@ -98,6 +102,7 @@ INSERT INTO mail_domain VALUES (2, 1, 0, 'riud', 'riud', '', 1, 'test2.de', 'ali
98102
# Tabellenstruktur für Tabelle `mail_domain_catchall`
99103
#
100104

105+
DROP TABLE IF EXISTS mail_domain_catchall;
101106
CREATE TABLE mail_domain_catchall (
102107
virtual_default_id int(11) NOT NULL auto_increment,
103108
server_id int(11) NOT NULL default '0',
@@ -117,6 +122,7 @@ CREATE TABLE mail_domain_catchall (
117122
# Tabellenstruktur für Tabelle `mail_greylist`
118123
#
119124

125+
DROP TABLE IF EXISTS mail_greylist;
120126
CREATE TABLE mail_greylist (
121127
greylist_id int(11) NOT NULL auto_increment,
122128
relay_ip varchar(64) default NULL,
@@ -138,6 +144,7 @@ CREATE TABLE mail_greylist (
138144
# Tabellenstruktur für Tabelle `mail_mailman_domain`
139145
#
140146

147+
DROP TABLE IF EXISTS mail_mailman_domain;
141148
CREATE TABLE mail_mailman_domain (
142149
mailman_id int(11) NOT NULL auto_increment,
143150
server_id int(11) NOT NULL default '0',
@@ -159,6 +166,7 @@ CREATE TABLE mail_mailman_domain (
159166
# Tabellenstruktur für Tabelle `mail_redirect`
160167
#
161168

169+
DROP TABLE IF EXISTS mail_redirect;
162170
CREATE TABLE mail_redirect (
163171
email_id int(11) NOT NULL auto_increment,
164172
sys_userid int(11) NOT NULL default '0',
@@ -185,6 +193,7 @@ CREATE TABLE mail_redirect (
185193
# Tabellenstruktur für Tabelle `mail_whitelist`
186194
#
187195

196+
DROP TABLE IF EXISTS mail_whitelist;
188197
CREATE TABLE mail_whitelist (
189198
whitelist_id int(11) NOT NULL auto_increment,
190199
server_id int(11) NOT NULL default '0',
@@ -203,6 +212,7 @@ CREATE TABLE mail_whitelist (
203212
# Tabellenstruktur für Tabelle `reseller`
204213
#
205214

215+
DROP TABLE IF EXISTS reseller;
206216
CREATE TABLE reseller (
207217
reseller_id bigint(20) NOT NULL auto_increment,
208218
sys_userid int(11) NOT NULL default '0',
@@ -247,6 +257,7 @@ CREATE TABLE reseller (
247257
# Tabellenstruktur für Tabelle `server`
248258
#
249259

260+
DROP TABLE IF EXISTS server;
250261
CREATE TABLE server (
251262
server_id bigint(20) NOT NULL auto_increment,
252263
sys_userid int(11) NOT NULL default '0',
@@ -277,6 +288,7 @@ INSERT INTO server VALUES (1, 1, 1, 'riud', 'riud', '', 'Server 1', 1, 0, 0, 0,
277288
# Tabellenstruktur für Tabelle `sys_datalog`
278289
#
279290

291+
DROP TABLE IF EXISTS sys_datalog;
280292
CREATE TABLE sys_datalog (
281293
datalog_id bigint(20) NOT NULL auto_increment,
282294
dbtable varchar(255) NOT NULL default '',
@@ -295,12 +307,38 @@ CREATE TABLE sys_datalog (
295307
INSERT INTO sys_datalog VALUES (1, 'mail_domain', 'domain_id:0', 'i', 1132758298, 'admin', 'a:5:{s:9:"server_id";a:2:{s:3:"old";N;s:3:"new";i:1;}s:6:"domain";a:2:{s:3:"old";N;s:3:"new";s:7:"test.de";}s:11:"destination";a:2:{s:3:"old";N;s:3:"new";s:8:"hallo.de";}s:4:"type";a:2:{s:3:"old";N;s:3:"new";s:5:"alias";}s:6:"active";a:2:{s:3:"old";N;s:3:"new";i:1;}}');
296308
INSERT INTO sys_datalog VALUES (2, 'mail_domain', 'domain_id:2', 'u', 1132759303, 'admin', 'a:1:{s:6:"domain";a:2:{s:3:"old";s:7:"test.de";s:3:"new";s:8:"test2.de";}}');
297309
INSERT INTO sys_datalog VALUES (3, 'mail_domain', 'domain_id:2', 'u', 1132759328, 'admin', 'a:1:{s:11:"destination";a:2:{s:3:"old";s:8:"hallo.de";s:3:"new";s:7:"test.de";}}');
310+
INSERT INTO sys_datalog VALUES (4, 'mail_box', 'mailbox_id:0', 'i', 1132775402, 'admin', 'a:3:{s:5:"email";a:2:{s:3:"old";N;s:3:"new";s:12:"till@test.de";}s:8:"cryptpwd";a:2:{s:3:"old";N;s:3:"new";s:5:"hallo";}s:6:"active";a:2:{s:3:"old";N;s:3:"new";i:1;}}');
311+
INSERT INTO sys_datalog VALUES (5, 'mail_box', 'mailbox_id:1', 'u', 1132775575, 'admin', 'a:1:{s:8:"cryptpwd";a:2:{s:3:"old";s:32:"598d4c200461b81522a3328565c25f7c";s:3:"new";s:0:"";}}');
312+
INSERT INTO sys_datalog VALUES (6, 'mail_box', 'mailbox_id:1', 'u', 1132775587, 'admin', 'a:1:{s:8:"cryptpwd";a:2:{s:3:"old";s:32:"598d4c200461b81522a3328565c25f7c";s:3:"new";s:0:"";}}');
313+
INSERT INTO sys_datalog VALUES (7, 'mail_box', 'mailbox_id:1', 'u', 1132775898, 'admin', 'a:1:{s:8:"cryptpwd";a:2:{s:3:"old";s:32:"598d4c200461b81522a3328565c25f7c";s:3:"new";s:0:"";}}');
314+
INSERT INTO sys_datalog VALUES (8, 'mail_box', 'mailbox_id:1', 'u', 1132775901, 'admin', 'a:1:{s:8:"cryptpwd";a:2:{s:3:"old";s:32:"598d4c200461b81522a3328565c25f7c";s:3:"new";s:0:"";}}');
315+
INSERT INTO sys_datalog VALUES (9, 'mail_box', 'mailbox_id:1', 'u', 1132777011, 'admin', 'a:1:{s:8:"cryptpwd";a:2:{s:3:"old";s:32:"598d4c200461b81522a3328565c25f7c";s:3:"new";s:0:"";}}');
316+
INSERT INTO sys_datalog VALUES (10, 'mail_box', 'mailbox_id:1', 'u', 1132777757, 'admin', 'a:1:{s:8:"cryptpwd";a:2:{s:3:"old";s:32:"598d4c200461b81522a3328565c25f7c";s:3:"new";s:0:"";}}');
317+
INSERT INTO sys_datalog VALUES (11, 'mail_box', 'mailbox_id:1', 'u', 1132777760, 'admin', 'a:1:{s:8:"cryptpwd";a:2:{s:3:"old";s:32:"598d4c200461b81522a3328565c25f7c";s:3:"new";s:0:"";}}');
318+
INSERT INTO sys_datalog VALUES (12, 'mail_box', 'mailbox_id:1', 'u', 1132777764, 'admin', 'a:2:{s:5:"email";a:2:{s:3:"old";s:12:"till@test.de";s:3:"new";s:13:"till2@test.de";}s:8:"cryptpwd";a:2:{s:3:"old";s:32:"598d4c200461b81522a3328565c25f7c";s:3:"new";s:0:"";}}');
319+
INSERT INTO sys_datalog VALUES (13, 'mail_box', 'mailbox_id:1', 'u', 1132777768, 'admin', 'a:2:{s:5:"email";a:2:{s:3:"old";s:13:"till2@test.de";s:3:"new";s:12:"till@test.de";}s:8:"cryptpwd";a:2:{s:3:"old";s:32:"598d4c200461b81522a3328565c25f7c";s:3:"new";s:0:"";}}');
320+
INSERT INTO sys_datalog VALUES (14, 'mail_box', 'mailbox_id:1', 'u', 1132778380, 'admin', 'a:2:{s:9:"server_id";a:2:{s:3:"old";s:1:"0";s:3:"new";i:1;}s:8:"cryptpwd";a:2:{s:3:"old";s:32:"598d4c200461b81522a3328565c25f7c";s:3:"new";s:0:"";}}');
321+
INSERT INTO sys_datalog VALUES (15, 'mail_box', 'mailbox_id:1', 'u', 1132784990, 'admin', 'a:1:{s:8:"cryptpwd";a:2:{s:3:"old";s:32:"598d4c200461b81522a3328565c25f7c";s:3:"new";s:0:"";}}');
322+
INSERT INTO sys_datalog VALUES (16, 'mail_box', 'mailbox_id:0', 'i', 1132785424, 'admin', 'a:3:{s:9:"server_id";a:2:{s:3:"old";N;s:3:"new";i:1;}s:5:"email";a:2:{s:3:"old";N;s:3:"new";s:8:"@test.de";}s:6:"active";a:2:{s:3:"old";N;s:3:"new";i:1;}}');
323+
INSERT INTO sys_datalog VALUES (17, 'mail_box', 'mailbox_id:1', 'u', 1132786068, 'admin', 'a:1:{s:8:"cryptpwd";a:2:{s:3:"old";s:32:"598d4c200461b81522a3328565c25f7c";s:3:"new";s:0:"";}}');
324+
INSERT INTO sys_datalog VALUES (18, 'mail_box', 'mailbox_id:1', 'u', 1132786083, 'admin', 'a:1:{s:8:"cryptpwd";a:2:{s:3:"old";s:32:"598d4c200461b81522a3328565c25f7c";s:3:"new";s:0:"";}}');
325+
INSERT INTO sys_datalog VALUES (19, 'mail_box', 'mailbox_id:1', 'u', 1132786772, 'admin', 'a:1:{s:8:"cryptpwd";a:2:{s:3:"old";s:32:"598d4c200461b81522a3328565c25f7c";s:3:"new";s:0:"";}}');
326+
INSERT INTO sys_datalog VALUES (20, 'mail_box', 'mailbox_id:1', 'u', 1132786777, 'admin', 'a:1:{s:8:"cryptpwd";a:2:{s:3:"old";s:32:"598d4c200461b81522a3328565c25f7c";s:3:"new";s:4:"test";}}');
327+
INSERT INTO sys_datalog VALUES (21, 'mail_box', 'mailbox_id:1', 'u', 1132786796, 'admin', 'a:1:{s:8:"cryptpwd";a:2:{s:3:"old";s:0:"";s:3:"new";s:4:"test";}}');
328+
INSERT INTO sys_datalog VALUES (22, 'mail_box', 'mailbox_id:1', 'u', 1132786860, 'admin', 'a:1:{s:8:"cryptpwd";a:2:{s:3:"old";s:0:"";s:3:"new";s:4:"test";}}');
329+
INSERT INTO sys_datalog VALUES (23, 'mail_box', 'mailbox_id:1', 'u', 1132787252, 'admin', 'a:1:{s:8:"cryptpwd";a:2:{s:3:"old";s:0:"";s:3:"new";s:4:"test";}}');
330+
INSERT INTO sys_datalog VALUES (24, 'mail_box', 'mailbox_id:1', 'u', 1132787548, 'admin', 'a:1:{s:8:"cryptpwd";a:2:{s:3:"old";s:34:"$1$ye3.TQ1.$v/RvqbuU.Gh7UrLlA6HqX/";s:3:"new";s:0:"";}}');
331+
INSERT INTO sys_datalog VALUES (25, 'mail_box', 'mailbox_id:1', 'u', 1132787761, 'admin', 'a:1:{s:8:"cryptpwd";a:2:{s:3:"old";s:34:"$1$ye3.TQ1.$v/RvqbuU.Gh7UrLlA6HqX/";s:3:"new";s:0:"";}}');
332+
INSERT INTO sys_datalog VALUES (26, 'mail_box', 'mailbox_id:0', 'i', 1132787775, 'admin', 'a:3:{s:9:"server_id";a:2:{s:3:"old";N;s:3:"new";i:1;}s:5:"email";a:2:{s:3:"old";N;s:3:"new";s:12:"test@test.de";}s:6:"active";a:2:{s:3:"old";N;s:3:"new";i:1;}}');
333+
INSERT INTO sys_datalog VALUES (27, 'mail_box', 'mailbox_id:1', 'u', 1132788121, 'admin', 'a:1:{s:8:"cryptpwd";a:2:{s:3:"old";s:34:"$1$ye3.TQ1.$v/RvqbuU.Gh7UrLlA6HqX/";s:3:"new";s:0:"";}}');
334+
INSERT INTO sys_datalog VALUES (28, 'mail_box', 'mailbox_id:1', 'u', 1132788482, 'admin', 'a:1:{s:8:"cryptpwd";a:2:{s:3:"old";s:34:"$1$ye3.TQ1.$v/RvqbuU.Gh7UrLlA6HqX/";s:3:"new";s:0:"";}}');
298335
# --------------------------------------------------------
299336

300337
#
301338
# Tabellenstruktur für Tabelle `sys_dbsync`
302339
#
303340

341+
DROP TABLE IF EXISTS sys_dbsync;
304342
CREATE TABLE sys_dbsync (
305343
id bigint(20) NOT NULL auto_increment,
306344
jobname varchar(255) NOT NULL default '',
@@ -329,6 +367,7 @@ CREATE TABLE sys_dbsync (
329367
# Tabellenstruktur für Tabelle `sys_filesync`
330368
#
331369

370+
DROP TABLE IF EXISTS sys_filesync;
332371
CREATE TABLE sys_filesync (
333372
id bigint(20) NOT NULL auto_increment,
334373
jobname varchar(255) NOT NULL default '',
@@ -353,6 +392,7 @@ CREATE TABLE sys_filesync (
353392
# Tabellenstruktur für Tabelle `sys_group`
354393
#
355394

395+
DROP TABLE IF EXISTS sys_group;
356396
CREATE TABLE sys_group (
357397
groupid int(11) NOT NULL auto_increment,
358398
name varchar(255) NOT NULL default '',
@@ -372,6 +412,7 @@ INSERT INTO sys_group VALUES (2, 'user', 'Users Group');
372412
# Tabellenstruktur für Tabelle `sys_user`
373413
#
374414

415+
DROP TABLE IF EXISTS sys_user;
375416
CREATE TABLE sys_user (
376417
userid int(11) NOT NULL auto_increment,
377418
sys_userid int(11) NOT NULL default '0',

interface/web/sites/form/mail_box.tform.php

Lines changed: 40 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,24 @@
5353
$form["tabs"]['mailbox'] = array (
5454
'title' => "Mailbox",
5555
'width' => 100,
56-
'template' => "templates/mail_box_edit.htm",
56+
'template' => "templates/mail_box_mailbox_edit.htm",
5757
'fields' => array (
5858
##################################
5959
# Begin Datatable fields
6060
##################################
61+
'server_id' => array (
62+
'datatype' => 'INTEGER',
63+
'formtype' => 'TEXT',
64+
'default' => '',
65+
'value' => '',
66+
'width' => '30',
67+
'maxlength' => '255'
68+
),
6169
'email' => array (
6270
'datatype' => 'VARCHAR',
6371
'formtype' => 'TEXT',
64-
'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY',
65-
'errmsg'=> 'email_error_empty'),
72+
'validators' => array ( 0 => array ( 'type' => 'ISEMAIL',
73+
'errmsg'=> 'email_error_isemail'),
6674
1 => array ( 'type' => 'UNIQUE',
6775
'errmsg'=> 'email_error_unique'),
6876
),
@@ -74,6 +82,7 @@
7482
'cryptpwd' => array (
7583
'datatype' => 'VARCHAR',
7684
'formtype' => 'PASSWORD',
85+
'encryption'=> 'CRYPT',
7786
'default' => '',
7887
'value' => '',
7988
'width' => '30',
@@ -91,5 +100,33 @@
91100
)
92101
);
93102

103+
$form["tabs"]['autoresponder'] = array (
104+
'title' => "Autoresponder",
105+
'width' => 100,
106+
'template' => "templates/mail_box_autoresponder_edit.htm",
107+
'fields' => array (
108+
##################################
109+
# Begin Datatable fields
110+
##################################
111+
'autoresponder_text' => array (
112+
'datatype' => 'TEXT',
113+
'formtype' => 'TEXTAREA',
114+
'default' => '',
115+
'value' => '',
116+
'cols' => '30',
117+
'rows' => '15'
118+
),
119+
'autoresponder' => array (
120+
'datatype' => 'INTEGER',
121+
'formtype' => 'CHECKBOX',
122+
'default' => '1',
123+
'value' => '1'
124+
),
125+
##################################
126+
# ENDE Datatable fields
127+
##################################
128+
)
129+
);
130+
94131

95132
?>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?php
2+
$wb["email_txt"] = 'Email';
3+
$wb["cryptpwd_txt"] = 'Password';
4+
$wb["active_txt"] = 'Active';
5+
$wb["btn_save_txt"] = 'Save';
6+
$wb["btn_cancel_txt"] = 'Cancel';
7+
$wb["email_error_isemail"] = 'Emailaddress is empty.';
8+
$wb["email_error_unique"] = 'Duplicate Emailaddress.';
9+
$wb["autoresponder_text_txt"] = 'Text';
10+
$wb["autoresponder_txt"] = 'Autoresponder';
11+
$wb["no_domain_perm"] = "You have no permission for this domain.";
12+
$wb["error_no_pwd"] = "Password is empty.";
13+
?>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?php
2+
$wb["list_head_txt"] = 'Mailbox';
3+
$wb["email_txt"] = 'Email';
4+
$wb["autoresponder_txt"] = 'Autoresponder';
5+
$wb["page_txt"] = 'Page';
6+
$wb["page_of_txt"] = 'of';
7+
$wb["page_next_txt"] = 'Next';
8+
$wb["page_back_txt"] = 'Back';
9+
$wb["delete_txt"] = 'Delete';
10+
$wb["filter_txt"] = 'Filter';
11+
$wb["add_new_record_txt"] = 'Add new Mailbox';
12+
?>

interface/web/sites/lib/module.conf.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
array (
3737
'title' => 'Email Mailbox',
3838
'target' => 'content',
39-
'link' => '',
39+
'link' => 'sites/mail_box_list.php',
4040
),
4141
4 =>
4242
array (

0 commit comments

Comments
 (0)