commit a5732501dd59a7c7aba621eab178bd29011f92d2 Author: Mischa Peters Date: Sat Mar 24 07:27:00 2007 +0000 Initial Import in SourceForge git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/tags/postfixadmin-2.0.4@1 a1433add-5e2c-0410-b055-b7f2511e0802 diff --git a/CHANGELOG.TXT b/CHANGELOG.TXT new file mode 100644 index 00000000..f655395b --- /dev/null +++ b/CHANGELOG.TXT @@ -0,0 +1,161 @@ +############################# +# Postfix Admin Release 2.x # +############################# +# +# 2004 (c) High5! +# Created by: Mischa Peters +# + +Version 2.0.4 -- 2004/02/26 +---------------------------- + - Added: Euskara language. (Thanx Julen) + - Added: Hungarian language. (Thanx Christian) + - Added: Icelandic language. (Thanx Gestur) + - Added: Italian language. (Thanx Stucchi) + - Added: Norwegian - Nynorsk language. (Thanx Paul) + - Added: Polish language. (Thanx Jarek) + - Added: Portuguese - Brazil language. (Thanx Roberto) + - Added: Rusian language. (Thanx Paul) + - Added: Turkish language (Thanx Onuryalazi) + - Added: Encode a string according to RFC 1522 for use in headers if it + contains 8-bit characters. (Thanx Evgeniy) + - Added: One click active change of mailbox/domain/admin. (Thanx Marcin) + - Changed: Header in header.tpl to read charset header from language file. + - Fixed: Some form values are now parsed through htmlspecialchars(). + (Thanx Marcin) + - Fixed: admin/delete.php ignored $CONF['vacation']. + - Fixed: More minor fixes to Virtual Vacation. + + +Version 2.0.3 -- 2004/01/14 +---------------------------- + - Added: Site Admin email address. + - Added: Danish language. (Thanx Lars) + - Added: Dutch language. (Thanx Mourik) + - Added: Faroese language. (Thanx Danial) + - Added: Finnish language. (Thanx Palo) + - Added: French language. (Thanx Kuthz) + - Added: Swedish language. (Thanx Slite) + - Added: Ignoring of MAILER-DAEMON type emails for Vacation. + - Fixed: Minor issues regarding mail(). + - Fixed: Minor issues regarding crypt(). + - Fixed: Strip issue of email address for Vacation. + + +Version 2.0.2 -- 2004/01/06 +---------------------------- + - Added: German language. (Thanx Tobias) + - Added: Spanish language. (Thanx Alvaro) + - Fixed: The body was not included using sendmail.php. + - Fixed: Undefined variables. + - Fixed: Minor HTML cleanup. + + +Version 2.0.1 -- 2004/01/04 +---------------------------- + - Fixed: The language variable caused a problem on some systems. + + +Version 2.0.0 -- 2004/01/03 +---------------------------- + - Added: The ability for one domain admin to maintain multiple domains. + - Added: Domain to domain forwarding. + - Added: Mailboxes can now be activated or deactivated. + - Added: Configurable welcome message for new mailboxes. + - Added: Optional sending of welcome message. + - Added: Create alias "To" defaults to current domain. + - Added: Logging of admin / user actions. + - Added: Limit for aliases and/or mailboxes per domain. + - Added: Disable aliases and/or mailboxes per domain. + - Added: Max quota per mailbox per domain. + - Added: Multi-Language support. + - Added: Statistics overview for all domains. + - Added: User .forwarding for mailbox users. + - Added: Logo for Postfix Admin (Thanx Andrew). + - Added: Extra MySQL debugging capabilities. + - Added: Clear text password support. + - Added: PHP crypt() support. + - Changed: Separated logic and SQL from content. + - Changed: config.inc.php doesn't point to example.com anymore. + - Changed: Virtual Vacation no longer requires procmail. + - Changed: Complete re-write. + + +Version 1.5.4 -- 2003/06/16 +---------------------------- + - Added: Option for "Back to". + - Added: Option for Vacation module. + - Added: Table declaration for the use of Quota in the INSTALL.TXT. + This requires an additional local delivery agent. + Quotas are not supported by Postfix! + - Changed: The word "View" to "List". + + +Version 1.5.3 -- 2003/06/06 +---------------------------- + - Fixed: Even more minor bugs in regards to declaration of variables. + (Thanx Aquilante and Kyle_m) + + +Version 1.5.2 -- 2003/06/05 +---------------------------- + - Fixed: Minor bugs in regards to declaration of variables. + + +Version 1.5.1 -- 2003/06/04 +---------------------------- + - Added: Optional mailbox per domain directory structure. (Thanx Jim) + - Added: Option to completely control the stored aliases. (Thanx Alex) + - Change: config.inc.php is renamed to config.inc.php.sample. (Thanx Alex) + - Fixed: $PHP_SELF in config.inc.php and my_lib.php. (Thanx Jim) + + +Version 1.5.0 -- 2003/05/28 +---------------------------- + - Added: Support for "Back to Main Site" + - Added: config.inc.php as the main configuration file. + - Added: Drop down box for domain selection when adding a new admin. + - Added: Resend of test email to newly created mailbox. + - Added: Mailbox and Aliases count for domainview. + - Added: Change description of domain without deleting the complete + domain. + - Added: Change name of mailbox user without deleting the mailbox. + - Added: Expire headers for unnecessary reloads. (Thanx Alex) + - Fixed: Code clean up. + - Fixed: Minor bugs and cosmetic fixes. + - Fixed: Modified check_string() to check numbers and returns false if not + matched. (Thanx btaber) + - Fixed: Correct session handling in login.php (Thanx Yen-Wei Liu) + - Fixed: Correct deletion of RFC822 email addresses. (Thanx Yen-Wei Liu) + - Removed: Completely removed the site_lib.php. + - Removed: my_lib.php from the admin directory. + - Removed: Symlink to index.php. + + +Version 1.4.0 -- 2003/04/07 +---------------------------- + - Added: When deleting a domain, all aliases and mailboxes for that domain + are also deleted from the database. + - Added: Add standard aliases for every domain that is created. + These aliases can point to the main "local" administrator. + The aliases are configured in the config.php in the admin directory. + - Change: The layout of my_lib.php and site_lib.php have been changed. + - Change: Modifying an alias is now done with TEXTAREA for more + flexibility. + - Fixed: Minor bugs and cosmetic fixes. + + +Version 1.3.8a -- 2003/03/31 +---------------------------- + - Fixed: After deletion of a domain it would not return to the correct page. + + +Version 1.3.8 -- 2003/03/25 +---------------------------- + - Added: Admin password change. No longer needed to delete and re-enter + the admin user for a specific domain. + + +Version 1.3.7 -- 2002/12/24 +---------------------------- + - Initial public release of Postfix Admin. diff --git a/DATABASE.TXT b/DATABASE.TXT new file mode 100644 index 00000000..f3ba41f3 --- /dev/null +++ b/DATABASE.TXT @@ -0,0 +1,133 @@ +############################# +# Postfix Admin Release 2.x # +############################# +# +# 2004 (c) High5! +# Created by: Mischa Peters +# +# This is the complete database structure for Postfix Admin. +# If you are installing from scratch you can use this file otherwise you +# need to use the upgrader that comes with Postfix Admin. +# +# There are 2 entries for a database user in the file. +# One you can use for Postfix and one for Postfix Admin. +# +# You can create the database from the shell with: +# +# mysql -u root [-p] < DATABASE.TXT + +# +# Postfix / MySQL +# +USE mysql; +# Postfix user & password +INSERT INTO user (Host, User, Password) VALUES ('localhost','postfix',password('postfix')); +INSERT INTO db (Host, Db, User, Select_priv) VALUES ('localhost','postfix','postfix','Y'); +# Postfix Admin user & password +INSERT INTO user (Host, User, Password) VALUES ('localhost','postfixadmin',password('postfixadmin')); +INSERT INTO db (Host, Db, User, Select_priv, Insert_priv, Update_priv, Delete_priv) VALUES ('localhost', 'postfix', 'postfixadmin', 'Y', 'Y', 'Y', 'Y'); +FLUSH PRIVILEGES; +GRANT USAGE ON postfix.* TO postfix@localhost; +GRANT SELECT, INSERT, DELETE, UPDATE ON postfix.* TO postfix@localhost; +GRANT USAGE ON postfix.* TO postfixadmin@localhost; +GRANT SELECT, INSERT, DELETE, UPDATE ON postfix.* TO postfixadmin@localhost; +CREATE DATABASE postfix; +USE postfix; + +# +# Table structure for table admin +# +CREATE TABLE admin ( + username varchar(255) NOT NULL default '', + password varchar(255) NOT NULL default '', + created datetime NOT NULL default '0000-00-00 00:00:00', + modified datetime NOT NULL default '0000-00-00 00:00:00', + active tinyint(4) NOT NULL default '1', + PRIMARY KEY (username), + KEY username (username) +) TYPE=MyISAM COMMENT='Postfix Admin - Virtual Admins'; + +# +# Table structure for table alias +# +CREATE TABLE alias ( + address varchar(255) NOT NULL default '', + goto text NOT NULL, + domain varchar(255) NOT NULL default '', + created datetime NOT NULL default '0000-00-00 00:00:00', + modified datetime NOT NULL default '0000-00-00 00:00:00', + active tinyint(4) NOT NULL default '1', + PRIMARY KEY (address), + KEY address (address) +) TYPE=MyISAM COMMENT='Postfix Admin - Virtual Aliases'; + +# +# Table structure for table domain +# +CREATE TABLE domain ( + domain varchar(255) NOT NULL default '', + description varchar(255) NOT NULL default '', + aliases int(10) NOT NULL default '-1', + mailboxes int(10) NOT NULL default '-1', + maxquota int(10) NOT NULL default '-1', + created datetime NOT NULL default '0000-00-00 00:00:00', + modified datetime NOT NULL default '0000-00-00 00:00:00', + active tinyint(4) NOT NULL default '1', + PRIMARY KEY (domain), + KEY domain (domain) +) TYPE=MyISAM COMMENT='Postfix Admin - Virtual Domains'; + +# +# Table structure for table domain_admins +# +CREATE TABLE domain_admins ( + username varchar(255) NOT NULL default '', + domain varchar(255) NOT NULL default '', + created datetime NOT NULL default '0000-00-00 00:00:00', + active tinyint(4) NOT NULL default '1', + KEY username (username) +) TYPE=MyISAM COMMENT='Postfix Admin - Domain Admins'; + +# +# Table structure for table log +# +CREATE TABLE log ( + timestamp datetime NOT NULL default '0000-00-00 00:00:00', + username varchar(255) NOT NULL default '', + domain varchar(255) NOT NULL default '', + action varchar(255) NOT NULL default '', + data varchar(255) NOT NULL default '', + KEY timestamp (timestamp) +) TYPE=MyISAM COMMENT='Postfix Admin - Log'; + +# +# Table structure for table mailbox +# +CREATE TABLE mailbox ( + username varchar(255) NOT NULL default '', + password varchar(255) NOT NULL default '', + name varchar(255) NOT NULL default '', + maildir varchar(255) NOT NULL default '', + quota int(10) NOT NULL default '-1', + domain varchar(255) NOT NULL default '', + created datetime NOT NULL default '0000-00-00 00:00:00', + modified datetime NOT NULL default '0000-00-00 00:00:00', + active tinyint(4) NOT NULL default '1', + PRIMARY KEY (username), + KEY username (username) +) TYPE=MyISAM COMMENT='Postfix Admin - Virtual Mailboxes'; + +# +# Table structure for table vacation +# +CREATE TABLE vacation ( + email varchar(255) NOT NULL default '', + subject varchar(255) NOT NULL default '', + body text NOT NULL, + cache text NOT NULL, + domain varchar(255) NOT NULL default '', + created datetime NOT NULL default '0000-00-00 00:00:00', + active tinyint(4) NOT NULL default '1', + PRIMARY KEY (email), + KEY email (email) +) TYPE=MyISAM COMMENT='Postfix Admin - Virtual Vacation'; diff --git a/INSTALL.TXT b/INSTALL.TXT new file mode 100644 index 00000000..b7136b65 --- /dev/null +++ b/INSTALL.TXT @@ -0,0 +1,77 @@ +############################# +# Postfix Admin Release 2.x # +############################# +# +# 2004 (c) High5! +# Created by: Mischa Peters +# + +REQUIRED!! +---------- +- You are using Postfix 2.0 or higher. +- You are using Apache 1.3.27 or higher. +- You are using PHP 4.1 or higher. +- You are using MySQL 3.23.55 or higher. + + +READ THIS FIRST! +---------------- +When this is an upgrade from Postfix Admin 1.5.4 please read UPGRADE.TXT!! +If you used the table structure from the Howto please read the UPGRADE.TXT!! + + +1. Unarchive new Postfix Admin +------------------------------ +Make sure that you are in your WWW directory and then unarchive the +Postfix Admin archive (whatever the filename is): + + $ tar -zxvf postfixadmin-2.0.0.tgz + + +2. Change permissions +---------------------- +Since the database password is stored in the config.inc.php it's a good idea +to have Postfix Admin set to the permission of the webserver. In this +example, we assume that user "www" and group "www" are the web server as is +often the case with Apache. + + $ cd /usr/local/www + $ chown -R www:www postfixadmin-2.0.0 + +This is also a good idea for the file permissions. + + $ cd /usr/local/www/postfixadmin-2.0.0 + $ chmod 640 *.php *.css + $ cd /usr/local/www/postfixadmin-2.0.0/admin/ + $ chmod 640 *.php *.css + $ cd /usr/local/www/postfixadmin-2.0.0/users/ + $ chmod 640 *.php *.css + $ cd /usr/local/www/postfixadmin-2.0.0/templates/ + $ chmod 640 *.php *.css + +Additionally, if "chown user:group" doesn't work, you can use "chown user" +and "chgrp group" instead. See the man pages for these commands for more +information. + + +3. Create the MySQL Tables +-------------------------- +In DATABASE.TXT you can find the table structure that you need in order to +configure Postfix Admin and Postfix in general to work with Virtual Domains +and Users + + +4. Configure +------------ +Check the config.inc.php file. There you can specify settings that are +relevant to your setup. + +The default password for the admin part of Postfix Admin is admin/admin. +This is specified in the .htpasswd file in the admin directory. Make sure +that the location of the .htpasswd file matches your path. + + +5. Done +------- +This is all that is needed. Fire up your browser and go to the site that you +specified to host Postfix Admin. diff --git a/LICENSE.TXT b/LICENSE.TXT new file mode 100644 index 00000000..e6cedfce --- /dev/null +++ b/LICENSE.TXT @@ -0,0 +1,50 @@ +License for Postfix Admin: + + The contents of this file are subject to the Mozilla Public License + Version 1.1 (the "License"); you may not use this file except in + compliance with the License. You may obtain a copy of the License at + http://www.mozilla.org/MPL/ + + Software distributed under the License is distributed on an "AS IS" + basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the + License for the specific language governing rights and limitations + under the License. + + The Original Code is Postfix Admin. + + The Initial Developer of the Original Code is Mischa Peters . + Portions created by Mischa Peters are Copyright (c) 2002, 2003, 2004. + All Rights Reserved. + + Contributor(s): + + +This project includes work by Mischa Peters and others that is: + + Copyright (c) 2002,2003,2004 Mischa Peters + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + Neither the names of the copyright holders nor the names of the XLW + Group and its contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/TABLE_CHANGES.TXT b/TABLE_CHANGES.TXT new file mode 100644 index 00000000..68ef3c6e --- /dev/null +++ b/TABLE_CHANGES.TXT @@ -0,0 +1,102 @@ +############################# +# Postfix Admin Release 2.x # +############################# +# +# 2004 (c) High5! +# Created by: Mischa Peters +# +# mysql -u root [-p] < TABLE_CHANGES.TXT + +# +# Table structure for table domain_admins +# +USE postfix; +CREATE TABLE IF NOT EXISTS domain_admins ( + username varchar(255) NOT NULL default '', + domain varchar(255) NOT NULL default '', + created datetime NOT NULL default '0000-00-00 00:00:00', + active tinyint(4) NOT NULL default '1', + KEY username (username) +) TYPE=MyISAM COMMENT='Postfix Admin - Domain Admins'; + +# +# Table structure for table log +# +CREATE TABLE IF NOT EXISTS log ( + timestamp datetime NOT NULL default '0000-00-00 00:00:00', + username varchar(255) NOT NULL default '', + domain varchar(255) NOT NULL default '', + action varchar(255) NOT NULL default '', + data varchar(255) NOT NULL default '', + KEY timestamp (timestamp) +) TYPE=MyISAM COMMENT='Postfix Admin - Log'; + +# +# Table structure for table vacation +# +CREATE TABLE IF NOT EXISTS vacation ( + email varchar(255) NOT NULL default '', + subject varchar(255) NOT NULL default '', + body text NOT NULL, + cache text NOT NULL, + domain varchar(255) NOT NULL default '', + created datetime NOT NULL default '0000-00-00 00:00:00', + active tinyint(4) NOT NULL default '1', + PRIMARY KEY (email), + KEY email (email) +) TYPE=MyISAM COMMENT='Postfix Admin - Virtual Vacation'; + +# +# Modify table structure for table admin +# +ALTER TABLE admin CHANGE create_date created DATETIME DEFAULT '0000-00-00 00:00:00' NOT NULL; +ALTER TABLE admin CHANGE change_date modified DATETIME DEFAULT '0000-00-00 00:00:00' NOT NULL; +ALTER TABLE admin ADD INDEX (username); + +# +# Modify table structure for table alias +# +ALTER TABLE alias CHANGE create_date created DATETIME DEFAULT '0000-00-00 00:00:00' NOT NULL; +ALTER TABLE alias CHANGE change_date modified DATETIME DEFAULT '0000-00-00 00:00:00' NOT NULL; +ALTER TABLE alias ADD INDEX (address); + +# +# Modify table structure for table domain +# +ALTER TABLE domain CHANGE create_date created DATETIME DEFAULT '0000-00-00 00:00:00' NOT NULL; +ALTER TABLE domain CHANGE change_date modified DATETIME DEFAULT '0000-00-00 00:00:00' NOT NULL; +ALTER TABLE domain ADD aliases INT(10) DEFAULT '-1' NOT NULL AFTER description; +ALTER TABLE domain ADD mailboxes INT(10) DEFAULT '-1' NOT NULL AFTER aliases; +ALTER TABLE domain ADD maxquota INT(10) DEFAULT '-1' NOT NULL AFTER mailboxes; +ALTER TABLE domain ADD INDEX (domain); + +# +# Modify table structure for table mailbox +# +ALTER TABLE mailbox CHANGE create_date created DATETIME DEFAULT '0000-00-00 00:00:00' NOT NULL; +ALTER TABLE mailbox CHANGE change_date modified DATETIME DEFAULT '0000-00-00 00:00:00' NOT NULL; +ALTER TABLE mailbox ADD quota INT(10) DEFAULT '-1' NOT NULL AFTER maildir; +ALTER TABLE mailbox ADD INDEX (username); + +# +# Modify table structure for table vacation +# +ALTER TABLE vacation ADD domain VARCHAR(255) DEFAULT '' NOT NULL AFTER cache; +ALTER TABLE vacation ADD created DATETIME DEFAULT '0000-00-00 00:00:00' NOT NULL AFTER domain; +ALTER TABLE vacation ADD active TINYINT(4) DEFAULT '' NOT NULL AFTER created; +ALTER TABLE vacation DROP PRIMARY KEY, ADD PRIMARY KEY(email); + +# +# Dumping data for table domain_admins +# +INSERT INTO domain_admins (username,domain,created) SELECT admin.username,admin.domain,domain.created FROM admin LEFT JOIN domain ON domain.domain=admin.domain; + +# +# Modify data for table vacation +# +UPDATE vacation SET domain=SUBSTRING_INDEX(email, '@', -1) WHERE email=email; + +# +# Modify table structure for table domain +# +ALTER TABLE admin DROP domain; diff --git a/UPGRADE.TXT b/UPGRADE.TXT new file mode 100644 index 00000000..5580be54 --- /dev/null +++ b/UPGRADE.TXT @@ -0,0 +1,84 @@ +############################# +# Postfix Admin Release 2.x # +############################# +# +# 2004 (c) High5! +# Created by: Mischa Peters +# + +REQUIRED!! +---------- +- You are using Postfix 2.0 or higher. +- You are using Apache 1.3.27 or higher. +- You are using PHP 4.1 or higher. +- You are using MySQL 3.23.55 or higher. + + +READ THIS FIRST! +---------------- +It's recommened that you install Postfix Admin in a new folder and not +on-top of the old install!! +Make sure you backup your database before you run the TABLE_CHANGES.TXT on +your database. + + +1. Backup the Database +---------------------- +When you install from a previous version make sure you backup your database +first. There are a lot of changes in the database structure since Postfix Admin +1.5.4. + + $ mysqldump -a -u root -p > /tmp/postfixadmin-backup.sql + + +2. Unarchive new Postfix Admin +------------------------------ +Make sure that you are in your WWW directory and then unarchive the +Postfix Admin archive (whatever the filename is): + + $ tar -zxvf postfixadmin-2.0.0.tgz + + +3. Change permissions +---------------------- +Since the database password is stored in the config.inc.php it's a good idea +to have Postfix Admin set to the permission of the webserver. In this +example, we assume that user "www" and group "www" are the web server as is +often the case with Apache. + + $ cd /usr/local/www + $ chown -R www:www postfixadmin-2.0.0 + +This is also a good idea for the file permissions. + + $ cd /usr/local/www/postfixadmin-2.0.0 + $ chmod 640 *.php *.css + $ cd /usr/local/www/postfixadmin-2.0.0/admin/ + $ chmod 640 *.php *.css + $ cd /usr/local/www/postfixadmin-2.0.0/users/ + $ chmod 640 *.php *.css + $ cd /usr/local/www/postfixadmin-2.0.0/templates/ + $ chmod 640 *.php *.css + +Additionally, if "chown user:group" doesn't work, you can use "chown user" +and "chgrp group" instead. See the man pages for these commands for more +information. + + +4. Modify the MySQL Tables +-------------------------- +In TABLE_CHANGES.TXT you can find the table structure that you need in order +to configure Postfix Admin 2.0.0 and Postfix in general to work with Virtual +Domains and Users + + +5. Configure +------------ +Check the config.inc.php file. There you can specify settings that are +relevant to your setup. + + +6. Done +------- +This is all that is needed. Fire up your browser and go to the site that you +specified to host Postfix Admin. diff --git a/VIRTUAL_VACATION/FILTER_README b/VIRTUAL_VACATION/FILTER_README new file mode 100644 index 00000000..e403b523 --- /dev/null +++ b/VIRTUAL_VACATION/FILTER_README @@ -0,0 +1,512 @@ +Introduction +============ + +This is a very first implementation of Postfix content filtering. +A Postfix content filter receives unfiltered mail from Postfix and +does one of the following: + +- re-injects the mail back into Postfix, perhaps after changing content +- rejects the mail (by sending a suitable status code back to + Postfix) so that it is returned to sender. +- sends the mail somewhere else + +This document describes two approaches to content filtering: simple +and advanced. Both filter all the mail by default. + +At the end are examples that show how to filter only mail from +users, about using different filters for different domains that +you provide MX service for, and about selective filtering on the +basis of message envelope and/or header/body patterns. + +Simple content filtering example +================================ + +The first example is simple to set up. It uses a shell script that +receives unfiltered mail from the Postfix pipe delivery agent, and +that feeds filtered mail back into the Postfix sendmail command. + +Only mail arriving via SMTP will be content filtered. + + .................................. + : Postfix : +Unfiltered mail----->smtpd \ /local---->Filtered mail + : -cleanup->queue- : + ---->pickup / \smtp----->Filtered mail + ^ : | : + | : \pipe-----+ + | .................................. | + | | + | | + +-Postfix sendmail<----filter script<--+ + +Mail is filtered by a /some/where/filter program. This can be a +simple shell script like this: + + #!/bin/sh + + # Localize these. + INSPECT_DIR=/var/spool/filter + SENDMAIL="/usr/sbin/sendmail -i" + + # Exit codes from + EX_TEMPFAIL=75 + EX_UNAVAILABLE=69 + + # Clean up when done or when aborting. + trap "rm -f in.$$" 0 1 2 3 15 + + # Start processing. + cd $INSPECT_DIR || { echo $INSPECT_DIR does not exist; exit $EX_TEMPFAIL; } + + cat >in.$$ || { echo Cannot save mail to file; exit $EX_TEMPFAIL; } + + # filter smtpd \ /local----> + : -cleanup->queue- : + ---->pickup / ^ | \smtp-----> + : | v : + : smtpd smtp : + : 10026 | : + ......................|........... + ^ | + | v + ....|............ + : | 10025 : + : filter : + : : + ................. + +To enable content filtering in this manner, specify in main.cf a +new parameter: + + /etc/postfix/main.cf: + content_filter = scan:localhost:10025 + +This causes Postfix to add one extra content filtering record to +each incoming mail message, with content scan:localhost:10025. +The content filtering records are added by the smtpd and pickup +servers. + +When a queue file has content filtering information, the queue +manager will deliver the mail to the specified content filter +regardless of its final destination. + +In this example, "scan" is an instance of the Postfix SMTP client +with slightly different configuration parameters. This is how +one would set up the service in the Postfix master.cf file: + + /etc/postfix/master.cf: + scan unix - - n - 10 smtp + +Instead of a limit of 10 concurrent processes, use whatever process +limit is feasible for your machine. Content inspection software +can gobble up a lot of system resources, so you don't want to have +too much of it running at the same time. + +The content filter can be set up with the Postfix spawn service, +which is the Postfix equivalent of inetd. For example, to instantiate +up to 10 content filtering processes on demand: + + /etc/postfix/master.cf: + localhost:10025 inet n n n - 10 spawn + user=filter argv=/some/where/filter localhost 10026 + +"filter" is a dedicated local user account. The user will never +log in, and can be given a "*" password and non-existent shell and +home directory. This user handles all potentially dangerous mail +content - that is why it should be a separate account. + +In the above example, Postfix listens on port localhost:10025. If +you want to have your filter listening on port localhost:10025 +instead of Postfix, then you must run your filter as a stand-alone +program. + +Note: the localhost port 10025 SMTP server filter should announce +itself as "220 localhost...". Postfix aborts delivery when it +connects to an SMTP server that uses the same hostname as Postfix +("host greeted me with my own hostname"), because that +normally means you have a mail delivery loop problem. + +The example here assumes that the /some/where/filter command is a +PERL script. PERL has modules that make talking SMTP easy. The +command-line specifies that mail should be sent back into Postfix +via localhost port 10026. + +The simplest content filter just copies SMTP commands and data +between its inputs and outputs. If it has a problem, all it has to +do is to reply to an input of `.' with `550 content rejected', and +to disconnect without sending `.' on the connection that injects +mail back into Postfix. + +The job of the content filter is to either bounce mail with a +suitable diagnostic, or to feed the mail back into Postfix through +a dedicated listener on port localhost 10026: + + /etc/postfix/master.cf: + localhost:10026 inet n - n - 10 smtpd + -o content_filter= + -o local_recipient_maps= + -o relay_recipient_maps= + -o myhostname=localhost.domain.tld + -o smtpd_helo_restrictions= + -o smtpd_client_restrictions= + -o smtpd_sender_restrictions= + -o smtpd_recipient_restrictions=permit_mynetworks,reject + -o mynetworks=127.0.0.0/8 + +Warning for Postfix version 2 users: in this SMTP server after the +content filter, do not override main.cf settings for virtual_alias_maps +or virtual_alias_domains. That would cause mail to be rejected with +"User unknown". + +This SMTP server has the same process limit as the "filter" master.cf +entry. + +The "-o content_filter=" requests no content filtering for incoming +mail. + +The "-o local_recipient_maps=" and "-o relay_recipient_maps=" avoid +unnecessary table lookups. + +The "-o myhostname=localhost.domain.tld" avoids false alarms ("host + greeted me with my own hostname") if your content +filter is based on a proxy that simply relays SMTP commands. + +The "-o smtpd_xxx_restrictions" and "-o mynetworks=127.0.0.0/8" +turn off UCE controls that would only waste time here. + +Squeezing out more performance +============================== + +Many refinements are possible, such as running a specially-configured +smtp delivery agent for feeding mail into the content filter, and +turning off address rewriting before content filtering. + +As the example below shows, things quickly become very complex, +because a lot of main.cf like information gets listed in the +master.cf file. This makes the system hard to understand. + +Even worse, details change as Postfix evolves and different +configuration parameters are implemented by different programs. + +If you need to squeeze out more performance, it is probably simpler +to run multiple Postfix instances, one before and one after the +content filter. That way, each instance can have simple main.cf +and master.cf files, each instance can have its own mail queue, +and the system will be easier to understand. + +As before, we will set up a content filtering program that receives +SMTP mail via localhost port 10025, and that submits SMTP mail back +into Postfix via localhost port 10026. + + ....................................... + : Postfix : + ----->smtpd \ : + : -pre-cleanup-\ /local----> + ---->pickup / -queue- : + : -cleanup-/ | \smtp-----> + : bounces/ ^ v : + : and locally | v : + : forwarded smtpd scan : + : messages 10026 | : + ...........................|........... + ^ | + | v + ....|............. + : | 10025 : + : filter : + : : + .................. + +To enable content filtering in this manner, specify in main.cf a +new parameter: + +/etc/postfix/main.cf: + content_filter = scan:localhost:10025 + +/etc/postfix/master.cf: +# +# These are the usual input "smtpd" and local "pickup" servers already +# present in master.cf. We add an option to select a non-default +# cleanup service (defined further below). +# +smtp inet n - n - - smtpd + -o cleanup_service_name=pre-cleanup +pickup fifo n - n 60 1 pickup + -o cleanup_service_name=pre-cleanup +# +# ------------------------------------------------------------------ +# +# This is the cleanup daemon that handles messages in front of +# the content filter. It does header_checks and body_checks (if +# any), but does no virtual alias or canonical address mapping, +# so that mail passes through your content filter with the original +# recipient addresses mostly intact. +# +# Virtual alias or canonical address mapping happens in the second +# cleanup phase after the content filter. This gives the content_filter +# access to *largely* unmodified addresses for maximum flexibility. +# +# Some sites may specifically want to perform canonical or virtual +# address mapping in front of the content_filter. In that case you +# still have to enable address rewriting in the after-filter cleanup +# instance, in order to correctly process forwarded mail or bounced +# mail. +# +pre-cleanup unix n - n - 0 cleanup + -o canonical_maps= + -o sender_canonical_maps= + -o recipient_canonical_maps= + -o masquerade_domains= + -o virtual_alias_maps= +# +# ------------------------------------------------------------------ +# +# This is the delivery agent that injects mail into the content +# filter. It is tuned for low concurrency, because most content +# filters burn CPU and use lots of memory. The process limit of 10 +# re-enforces the effect of $default_destination_concurrency_limit. +# Even without an explicit process limit, the concurrency is bounded +# because all messages heading into the content filter have the same +# destination. +# +scan unix - - n - 10 smtp +# +# ------------------------------------------------------------------ +# +# This is the SMTP listener that receives filtered messages from +# the content filter. It *MUST* clear the content_filter +# parameter to avoid loops, and use a different hostname to avoid +# triggering the Postfix SMTP loop detection code. +# +# This "smtpd" uses the normal cleanup service which is also used +# for bounces and for internally forwarded mail. +# +# The parameters from mynetworks onward disable all access +# control other than insisting on connections from one of the IP +# addresses of the host. This is typically overkill, but can +# reduce resource usage, if the default restrictions use lots of +# tables. +# +localhost:10026 inet n - n - - smtpd + -o content_filter= + -o myhostname=localhost.domain.tld + -o local_recipient_maps= + -o relay_recipient_maps= + -o mynetworks=127.0.0.0/8 + -o mynetworks_style=host + -o smtpd_restriction_classes= + -o smtpd_client_restrictions= + -o smtpd_helo_restrictions= + -o smtpd_sender_restrictions= + -o smtpd_recipient_restrictions=permit_mynetworks,reject +# +# Do not override main.cf settings here for virtual_alias_maps or +# virtual_mailbox_maps. This causes mail to be rejected with "User +# unknown in virtual (alias|mailbox) recipient table". +# +# ------------------------------------------------------------------ +# +# This is the normal cleanup daemon for use after content filtering. +# No header or body checks, because those have already been taken +# care of by the pre-cleanup service before the content filter. +# +# The normal cleanup instance does all the virtual alias and canonical +# address mapping that was disabled in the pre-cleanup instance before +# the content filter. This rewriting must be done even when you didn't +# disable address rewriting in the pre-cleanup instance, in order to +# correctly process bounces and locally forwarded mail. +# +cleanup unix n - n - 0 cleanup + -o header_checks= + -o mime_header_checks= + -o nested_header_checks= + -o body_checks= +# +# ------------------------------------------------------------------ +# +# The normal "smtp" delivery agent for contrast with "scan". +# +smtp unix - - n - - smtp + +The above example causes Postfix to add one content filtering record +to each incoming mail message, with content scan:localhost:10025. +You can use the same syntax as in the right-hand side of a Postfix +transport table. The content filtering records are added by the +smtpd and pickup servers. + +The "scan" transport is a dedicated instance of the "smtp" delivery +agent for injecting messages into the SMTP content filter. Using +a dedicated "smtp" transport allows one to tune it for the specific +task of delivering mail to a local content filter (low latency, +low concurrency, throughput dependent on predictably low latency). + +See the previous example for setting up the content filter with +the Postfix spawn service; you can of course use any server that +can be run stand-alone outside the Postfix environment. + +Filtering mail from outside users only +====================================== + +The easiest approach is to configure ONE Postfix instance with TWO +SMTP server addresses in master.cf: + +- One SMTP server address for inside users only that never invokes + content filtering. + +- One SMTP server address for outside users that always invokes + content filtering. + +/etc/postfix.master.cf: + # SMTP service for internal users only, no content filtering. + 1.2.3.4:smtp inet n - n - - smtpd + -o smtpd_client_restrictions=permit_mynetworks,reject + 127.0.0.1:smtp inet n - n - - smtpd + -o smtpd_client_restrictions=permit_mynetworks,reject + + # SMTP service for external users, with content filtering. + 1.2.3.5:smtp inet n - n - - smtpd + -o content_filter=foo:bar + +Getting really nasty +==================== + +The above filtering configurations are static. Mail that follows +a given path is either always filtered or it is never filtered. As +of Postfix 2.0 you can also turn on content filtering on the fly. +The Postfix UCE features allow you to specify a filtering action +on the fly: + + FILTER foo:bar + +You can do this in smtpd access maps as well as the cleanup server's +header/body_checks. This feature must be used with great care: +you must disable all the UCE features in the after-filter smtpd +and cleanup daemons or else you will have a content filtering loop. + +Limitations: + +- There can be only one content filter action per message. + +- FILTER actions from smtpd access maps and header/body_checks take + precedence over filters specified with the main.cf content_filter + parameter. + +- Only the last FILTER action from smtpd access maps or from + header/body_checks takes effect. + +- The same content filter is applied to all the recipients of a + given message. diff --git a/VIRTUAL_VACATION/INSTALL.TXT b/VIRTUAL_VACATION/INSTALL.TXT new file mode 100644 index 00000000..b1cb402e --- /dev/null +++ b/VIRTUAL_VACATION/INSTALL.TXT @@ -0,0 +1,133 @@ +################################################## +# Virtual Vacation for Postfix Admin Release 2.x # +################################################## +# +# 2003 (c) High5! +# Created by: Mischa Peters +# + +REQUIRED! +--------- +You need to have the following installed to be able to use Virtual Vacation. +- Perl5 +- Perl DBI + + +About Virtual Vacation +---------------------- +Virual Vacation is today done with a local shell account that can receive +email. The email is then handled by a Perl script which sends the Vacation +message back to the sender. + + +Install Virtual Vacation +------------------------ + + +1. Create a local account +------------------------- +Create a dedicated local user account called "vacation". +This user handles all potentially dangerous mail content - that is why it +should be a separate account. + +Do not use "nobody", and most certainly do not use "root" or "postfix". The +user will never log in, and can be given a "*" password and non-existent +shell and home directory. + +This should look like this: + +#/etc/passwd +vacation:*:65501:65501::0:0:Virtual Vacation:/nonexistent:/sbin/nologin + + +2. Create a directory +--------------------- +Create a directory, for example /var/spool/vacation, that is accessible +only to the "vacation" user. This is where the content filtering script is +supposed to store its temporary files. + + +3. Define the filter +-------------------- +Define the content filter in the Postfix master file: + +#/etc/postfix/master.cf: +filter unix - n n - - pipe + flags=Rq user=filter argv=/somewhere/filter -f ${sender} -- ${recipient} + +To turn on content filtering for mail arriving via SMTP only, append +"-o content_filter=filter:dummy" to the master.cf entry that defines +the Postfix SMTP server: + +#/etc/postfix/master.cf: +smtp inet ...stuff... smtpd + -o content_filter=filter:dummy + +The content_filter configuration parameter accepts the same syntax as the +right-hand side in a Postfix transport table. + +Execute "postfix reload" to complete the change. + +For more information on filtering in Postfix read the FILTER_README. + +4. Copy the files +----------------- + + $ cp mail-filter /mail-filter + $ cp vacation.pl /vacation.pl + $ chown -R vacation:nogroup + +Which will then look something like: + +-rwx------ 1 vacation nogroup 409 Dec 21 00:00 mail-filter* +-rwx------ 1 vacation nogroup 3356 Dec 21 00:00 vacation.pl* + + +5. Create the table +------------------- + +To use Virtual Vacation with Postfix Admin you need to create an extra table +in the database that is used by Postfix Admin. + +USE postfix; +# +# Table structure for table vacation +# +CREATE TABLE vacation ( + email varchar(255) NOT NULL default '', + subject varchar(255) NOT NULL default '', + body text NOT NULL, + cache text NOT NULL, + domain varchar(255) NOT NULL default '', + created datetime NOT NULL default '0000-00-00 00:00:00', + active tinyint(4) NOT NULL default '1', + PRIMARY KEY (email), + KEY email (email) +) TYPE=MyISAM COMMENT='Postfix Admin - Virtual Vacation'; + + +What do these files do? +----------------------- +mail-filter picks up every single email and pushes it towards the +vacation.pl + +vacation.pl then checks the database to see wether a user is on holiday and +what message to send back. Make sure that vacation.pl is able to communicate +to your databse. In the first couple of lines you have to specify the +database, username and password for it. +NOTE: Make sure that the path to perl is correct. + + +I'm in trouble! +--------------- +When something is not working there are a couple of files that you can have +a look at. The most important one is your maillog (usually in /var/log/). + +Vacation.pl also has some debugging and logging capabilties. Check the top +of vacation.pl. + + +Done! +----- +When this is all in place you need to have a look at the Postfix Admin +config.inc.php. Here you need to enable Virtual Vacation for the site. diff --git a/VIRTUAL_VACATION/mail-filter b/VIRTUAL_VACATION/mail-filter new file mode 100644 index 00000000..54373547 --- /dev/null +++ b/VIRTUAL_VACATION/mail-filter @@ -0,0 +1,17 @@ +#!/bin/sh +FILTER_DIR=/home/vacation +SENDMAIL="/usr/sbin/sendmail -i" +EX_TEMPFAIL=75 +EX_UNAVAILABLE=69 + +trap "rm -f in.$$" 0 1 2 3 15 + +cd $FILTER_DIR || { echo $FILTER_DIR does not exist; exit $EX_TEMPFAIL; } + +cat > in.$$ || { echo Cannot save mail to file; exit $EX_TEMPFAIL; } + +/home/vacation/vacation.pl < in.$$ || { echo Message content rejected; exit $EX_UNAVAILABLE; } + +$SENDMAIL "$@" < in.$$ + +exit $? diff --git a/VIRTUAL_VACATION/vacation.pl b/VIRTUAL_VACATION/vacation.pl new file mode 100644 index 00000000..5b81e4e3 --- /dev/null +++ b/VIRTUAL_VACATION/vacation.pl @@ -0,0 +1,117 @@ +#!/usr/bin/perl -w +# +# Virtual Vacation +# Version 2.7 +# 2003 (c) High5! +# Created by: Mischa Peters +# +use DBI; + +my $db_name = "postfix"; +my $db_user = "postfixadmin"; +my $db_pass = "postfixadmin"; +my $sendmail = "/usr/sbin/sendmail"; +my $logfile = ""; # specify a file name here for example: vacation.log +my $debugfile = ""; # sepcify a file name here for example: vacation.debug + +$dbh = DBI->connect("DBI:mysql:$db_name", "$db_user", "$db_pass", { RaiseError => 1}); +sub do_query { + my ($query) = @_; + my $sth = $dbh->prepare($query) or die "Can't prepare $query: $dbh->errstr\n"; + $sth->execute or die "Can't execute the query: $sth->errstr"; + $sth; +} + +sub do_debug { + my ($in1, $in2, $in3, $in4, $in5, $in6) = @_; + open (DEBUG, ">> $debugfile") or die ("Unable to open debug file"); + chop ($date = `date "+%Y/%m/%d %H:%M:%S"`); + print DEBUG "====== $date ======\n"; + print DEBUG "$in1 $in2 $in3 $in4 $in5 $in6\n"; + close (DEBUG); +} + +sub do_cache { + my ($to, $from) = @_; + $query = qq{SELECT cache FROM vacation WHERE email='$to' AND FIND_IN_SET('$from',cache)}; + $sth = do_query ($query); + $rv = $sth->rows; + if ($rv == 0) { + $query = qq{UPDATE vacation SET cache=CONCAT(cache,',','$from') WHERE email='$to'}; + $sth = do_query ($query); + } + return $rv; +} + +sub do_log { + my ($to, $from, $subject) = @_; + open (LOG, ">> $logfile") or die ("Unable to open log file"); + chop ($date = `date "+%Y/%m/%d %H:%M:%S"`); + print LOG "$date: $to - $from - $subject\n"; + close (LOG); +} + +sub do_mail { + my ($to, $from, $subject, $body) = @_; + open (MAIL, "| $sendmail -t -f $to") or die ("Unable to open sendmail"); + print MAIL "From: $to\n"; + print MAIL "To: $from\n"; + print MAIL "Subject: $subject\n"; + print MAIL "X-Loop: Postfix Admin Virtual Vacation\n\n"; + print MAIL "$body"; + close (MAIL); +} + +while () { + last if (/^$/); + + if (/^from:\s+(.*)\n$/i) { $from = lc($1); } + if (/^to:\s+(.*)\n$/i) { $to = lc($1); } + if (/^cc:\s+(.*)\n$/i) { $cc = lc($1); } + if (/^subject:\s+(.*)\n$/i) { $subject = $1; } + + exit (0) if (/^precedence:\s+(bulk|list|junk)/i); + exit (0) if (/^x-loop:\s+postfix\ admin\ virtual\ vacation/i); +} + +if ($from =~ /([\w\-.%]+\@[\w.-]+)/) { + $from = $1; +} + +if ($from eq "" || $from =~ /^owner-|-(request|owner)\@|^(mailer-daemon|postmaster)\@/i) { + exit (0); +} + +@strip_to_array = split(/, */, $to); +if (defined $cc) { @strip_cc_array = split(/, */, $cc); } +push (@strip_to_array, @strip_cc_array); + +for (@strip_to_array) { + if ($debugfile) { do_debug ("[STRIP RECIPIENTS]: ", $_, "-", "-", "-", "-"); } + if ($_ =~ /([\w\-.%]+\@[\w.-]+)/) { push (@search_array, $1); } +} + +for (@search_array) { + $query = qq{SELECT email FROM vacation WHERE email='$_'}; + $sth = do_query ($query); + $rv = $sth->rows; + if ($rv == 1) { + if ($debugfile) { do_debug ("[FOUND VACATION]: ", "$_", "-", "-", "-", "-"); } + push (@found_array, $_); + } +} + +for (@found_array) { + $query = qq{SELECT subject,body FROM vacation WHERE email='$_'}; + $sth = do_query ($query); + $rv = $sth->rows; + if ($rv == 1) { + @row = $sth->fetchrow_array; + if ($debugfile) { do_debug ("[SEND RESPONSE]:\n", "TO: $_\n", "FROM: $from\n", "SUBJECT: $subject\n", "VACATION SUBJECT: $row[0]\n", "VACATION BODY: $row[1]\n"); } + if (do_cache ($_, $from)) { next; } + do_mail ($_, $from, $row[0], $row[1]); + if ($logfile) { do_log ($_, $from, $subject); } + } +} + +0; diff --git a/admin/.htaccess b/admin/.htaccess new file mode 100644 index 00000000..6ca3543b --- /dev/null +++ b/admin/.htaccess @@ -0,0 +1,8 @@ +AuthUserFile /usr/local/www//admin/.htpasswd +AuthGroupFile /dev/null +AuthName "Postfix Admin" +AuthType Basic + + +require valid-user + diff --git a/admin/.htpasswd b/admin/.htpasswd new file mode 100644 index 00000000..99cab860 --- /dev/null +++ b/admin/.htpasswd @@ -0,0 +1 @@ +admin:$apr1$5ip4S/..$cmAmYFlZa1gLHGwFFw2.G0 diff --git a/admin/backup.php b/admin/backup.php new file mode 100644 index 00000000..d1ed18cd --- /dev/null +++ b/admin/backup.php @@ -0,0 +1,81 @@ +Cannot open file ($backup)"; + include ("../templates/header.tpl"); + include ("../templates/admin_menu.tpl"); + include ("../templates/message.tpl"); + include ("../templates/footer.tpl"); + } + else + { + fwrite ($fh, $header); + + $tables = array('admin','alias','domain','domain_admins','log','mailbox','vacation'); + + for ($i = 0 ; $i < sizeof ($tables) ; ++$i) + { + $result = db_query ("SHOW CREATE TABLE $tables[$i]"); + if ($result['rows'] > 0) + { + while ($row = mysql_fetch_array ($result['result'])) + { + fwrite ($fh, "$row[1]\n\n"); + } + } + } + + for ($i = 0 ; $i < sizeof ($tables) ; ++$i) + { + $result = db_query ("SELECT * FROM $tables[$i]"); + if ($result['rows'] > 0) + { + while ($row = mysql_fetch_assoc ($result['result'])) + { + foreach ($row as $key=>$val) + { + $fields[] = $key; + $values[] = $val; + } + + fwrite ($fh, "INSERT INTO ". $tables[$i] . " (". implode (',',$fields) . ") VALUES ('" . implode ('\',\'',$values) . "')\n"); + $fields = ""; + $values = ""; + } + } + } + } + header ("Content-Type: application/octet-stream"); + header ("Content-Disposition: attachment; filename=\"$filename\""); + header ("Content-Transfer-Encoding: binary"); + header ("Content-Length: " . filesize("$backup")); + header ("Content-Description: Postfix Admin"); + $download_backup = fopen ("$backup", "r"); + fpassthru ($download_backup); +} +?> diff --git a/admin/create-admin.php b/admin/create-admin.php new file mode 100644 index 00000000..546b471e --- /dev/null +++ b/admin/create-admin.php @@ -0,0 +1,99 @@ +($fUsername)
"; + } + else + { + if (sizeof ($fDomains) > 0) + { + for ($i = 0; $i < sizeof ($fDomains); $i++) + { + $domain = $fDomains[$i]; + $result = db_query ("INSERT INTO domain_admins (username,domain,created) VALUES ('$fUsername','$domain',NOW())"); + } + } + $tMessage = $PALANG['pAdminCreate_admin_result_succes'] . "
($fUsername)
"; + } + } + + include ("../templates/header.tpl"); + include ("../templates/admin_menu.tpl"); + include ("../templates/admin_create-admin.tpl"); + include ("../templates/footer.tpl"); +} +?> diff --git a/admin/create-alias.php b/admin/create-alias.php new file mode 100644 index 00000000..6f36cfbb --- /dev/null +++ b/admin/create-alias.php @@ -0,0 +1,113 @@ +($fAddress -> $fGoto)
"; + } + else + { + db_log ($CONF['admin_email'], $fDomain, "create alias", "$fAddress -> $fGoto"); + + $tDomain = $fDomain; + $tMessage = $PALANG['pCreate_alias_result_succes'] . "
($fAddress -> $fGoto)
"; + } + } + + include ("../templates/header.tpl"); + include ("../templates/admin_menu.tpl"); + include ("../templates/create-alias.tpl"); + include ("../templates/footer.tpl"); +} +?> diff --git a/admin/create-domain.php b/admin/create-domain.php new file mode 100644 index 00000000..eb5ce013 --- /dev/null +++ b/admin/create-domain.php @@ -0,0 +1,94 @@ +($fDomain)
"; + } + else + { + if ($fDefaultaliases == "on") + { + foreach ($CONF['default_aliases'] as $address=>$goto) + { + $address = $address . "@" . $fDomain; + $result = db_query ("INSERT INTO alias (address,goto,domain,created,modified) VALUES ('$address','$goto','$fDomain',NOW(),NOW())"); + } + } + $tMessage = $PALANG['pAdminCreate_domain_result_succes'] . "
($fDomain)
"; + } + } + + include ("../templates/header.tpl"); + include ("../templates/admin_menu.tpl"); + include ("../templates/admin_create-domain.tpl"); + include ("../templates/footer.tpl"); +} +?> diff --git a/admin/create-mailbox.php b/admin/create-mailbox.php new file mode 100644 index 00000000..9e522e88 --- /dev/null +++ b/admin/create-mailbox.php @@ -0,0 +1,177 @@ +($fUsername -> $fUsername)
"; + } + + $result = db_query ("INSERT INTO mailbox (username,password,name,maildir,quota,domain,created,modified,active) VALUES ('$fUsername','$password','$fName','$maildir','$quota','$fDomain',NOW(),NOW(),'$fActive')"); + if ($result['rows'] != 1) + { + $tDomain = $fDomain; + $tMessage .= $PALANG['pCreate_mailbox_result_error'] . "
($fUsername)
"; + } + else + { + + db_log ($CONF['admin_email'], $fDomain, "create mailbox", $fUsername); + + $tDomain = $fDomain; + $tMessage = $PALANG['pCreate_mailbox_result_succes'] . "
($fUsername)
"; + $tQuota = $CONF['maxquota']; + + if ($fMail == "on") { + if (!mail ($fUsername, $PALANG['pSendmail_subject_text'], $PALANG['pSendmail_body_text'], "From: " . $CONF['admin_email'])) + { + $tMessage .= "
" . $PALANG['pSendmail_result_error'] . "
"; + } + else + { + $tMessage .= "
" . $PALANG['pSendmail_result_succes'] . "
"; + + } + } + } + } + + include ("../templates/header.tpl"); + include ("../templates/admin_menu.tpl"); + include ("../templates/create-mailbox.tpl"); + include ("../templates/footer.tpl"); +} +?> diff --git a/admin/delete.php b/admin/delete.php new file mode 100644 index 00000000..45471a52 --- /dev/null +++ b/admin/delete.php @@ -0,0 +1,124 @@ += 0) and ($result_alias >= 0) and ($result_mailbox >= 0) and ($result_vacation >= 0)) + { + $error = 1; + $tMessage = $PALANG['pAdminDelete_domain_error']; + } + else + { + $url = "list-domain.php"; + } + } + + if ($fTable == "admin") + { + $result_admin = db_delete ("admin",$fWhere,$fDelete); + $result_domain_admins = db_delete ("domain_admins",$fWhere,$fDelete); + + if (!($result_admin == 1) and ($result_domain_admins >= 0)) + { + $error = 1; + $tMessage = $PALANG['pAdminDelete_admin_error']; + } + else + { + $url = "list-admin.php"; + } + } + + if ($fTable == "alias" or $fTable == "mailbox") + { + $result = db_query ("DELETE FROM alias WHERE address='$fDelete' AND domain='$fDomain'"); + if ($result['rows'] != 1) + { + $error = 1; + $tMessage = $PALANG['pDelete_delete_error'] . "$fDelete (alias)!"; + } + else + { + $url = "list-virtual.php?domain=$fDomain"; + db_log ($CONF['admin_email'], $fDomain, "delete alias", $fDelete); + } + + $result = db_query ("SELECT * FROM mailbox WHERE username='$fDelete' AND domain='$fDomain'"); + if ($result['rows'] == 1) + { + $result = db_query ("DELETE FROM mailbox WHERE username='$fDelete' AND domain='$fDomain'"); + if ($result['rows'] != 1) + { + $error = 1; + $tMessage = $PALANG['pDelete_delete_error'] . "$fDelete (mailbox)!"; + } + else + { + $url = "list-virtual.php?domain=$fDomain"; + db_log ($CONF['admin_email'], $fDomain, "delete mailbox", $fDelete); + } + } + } + + if ($error != 1) + { + header ("Location: $url"); + exit; + } + + include ("../templates/header.tpl"); + include ("../templates/admin_menu.tpl"); + include ("../templates/message.tpl"); + include ("../templates/footer.tpl"); +} + +if ($_SERVER['REQUEST_METHOD'] == "POST") +{ + include ("../templates/header.tpl"); + include ("../templates/menu.tpl"); + include ("../templates/message.tpl"); + include ("../templates/footer.tpl"); +} +?> diff --git a/admin/edit-active-admin.php b/admin/edit-active-admin.php new file mode 100644 index 00000000..24ba12dd --- /dev/null +++ b/admin/edit-active-admin.php @@ -0,0 +1,50 @@ + diff --git a/admin/edit-active-domain.php b/admin/edit-active-domain.php new file mode 100644 index 00000000..148e0552 --- /dev/null +++ b/admin/edit-active-domain.php @@ -0,0 +1,50 @@ + diff --git a/admin/edit-active.php b/admin/edit-active.php new file mode 100644 index 00000000..58f65941 --- /dev/null +++ b/admin/edit-active.php @@ -0,0 +1,56 @@ + diff --git a/admin/edit-admin.php b/admin/edit-admin.php new file mode 100644 index 00000000..e6e009e9 --- /dev/null +++ b/admin/edit-admin.php @@ -0,0 +1,115 @@ + 0) + { + for ($i = 0; $i < sizeof ($fDomains); $i++) + { + $domain = $fDomains[$i]; + $result_domains = db_query ("INSERT INTO domain_admins (username,domain,created) VALUES ('$username','$domain',NOW())"); + } + } + + if ($result['rows'] == 1) + { + if (sizeof ($fDomains) > 0) + { + $result = db_query ("DELETE FROM domain_admins WHERE username='$username'"); + for ($i = 0; $i < sizeof ($fDomains); $i++) + { + $domain = $fDomains[$i]; + $result = db_query ("INSERT INTO domain_admins (username,domain,created) VALUES ('$username','$domain',NOW())"); + } + } + header ("Location: list-admin.php"); + } + else + { + $tMessage = $PALANG['pAdminEdit_admin_result_error']; + } + } + + include ("../templates/header.tpl"); + include ("../templates/admin_menu.tpl"); + include ("../templates/admin_edit-admin.tpl"); + include ("../templates/footer.tpl"); +} +?> diff --git a/admin/edit-alias.php b/admin/edit-alias.php new file mode 100644 index 00000000..7cfdbe29 --- /dev/null +++ b/admin/edit-alias.php @@ -0,0 +1,98 @@ +"; + } + } + + if ($error != 1) + { + $result = db_query ("UPDATE alias SET goto='$goto',modified=NOW() WHERE address='$fAddress' AND domain='$fDomain'"); + if ($result['rows'] != 1) + { + $tMessage = $PALANG['pEdit_alias_result_error']; + } + else + { + db_log ($CONF['admin_email'], $fDomain, "edit alias", "$fAddress -> $goto"); + + header ("Location: list-virtual.php?domain=$fDomain"); + exit; + } + } + + include ("../templates/header.tpl"); + include ("../templates/admin_menu.tpl"); + include ("../templates/edit-alias.tpl"); + include ("../templates/footer.tpl"); +} +?> diff --git a/admin/edit-domain.php b/admin/edit-domain.php new file mode 100644 index 00000000..901bb44a --- /dev/null +++ b/admin/edit-domain.php @@ -0,0 +1,72 @@ + diff --git a/admin/edit-mailbox.php b/admin/edit-mailbox.php new file mode 100644 index 00000000..fb88e9da --- /dev/null +++ b/admin/edit-mailbox.php @@ -0,0 +1,115 @@ + diff --git a/admin/index.php b/admin/index.php new file mode 100644 index 00000000..84bce926 --- /dev/null +++ b/admin/index.php @@ -0,0 +1,3 @@ + diff --git a/admin/list-admin.php b/admin/list-admin.php new file mode 100644 index 00000000..588b187d --- /dev/null +++ b/admin/list-admin.php @@ -0,0 +1,41 @@ + diff --git a/admin/list-domain.php b/admin/list-domain.php new file mode 100644 index 00000000..6ac694e2 --- /dev/null +++ b/admin/list-domain.php @@ -0,0 +1,64 @@ + diff --git a/admin/list-virtual.php b/admin/list-virtual.php new file mode 100644 index 00000000..873804f5 --- /dev/null +++ b/admin/list-virtual.php @@ -0,0 +1,105 @@ + 0) + { + while ($row = mysql_fetch_array ($result['result'])) + { + $tAlias[] = $row; + } + } + + $result = db_query ("SELECT * FROM mailbox WHERE domain='$fDomain' ORDER BY username"); + if ($result['rows'] > 0) + { + while ($row = mysql_fetch_array ($result['result'])) + { + $tMailbox[] = $row; + } + } + + include ("../templates/header.tpl"); + include ("../templates/admin_menu.tpl"); + include ("../templates/admin_list-virtual.tpl"); + include ("../templates/footer.tpl"); +} + +if ($_SERVER['REQUEST_METHOD'] == "POST") +{ + $fDomain = $_POST['fDomain']; + + $limit = get_domain_properties ($fDomain); + + if ($CONF['alias_control'] == "YES") + { + $query = "SELECT alias.address,alias.goto,alias.modified FROM alias WHERE alias.domain='$fDomain' ORDER BY alias.address"; + } + else + { + $query = "SELECT alias.address,alias.goto,alias.modified FROM alias LEFT JOIN mailbox ON alias.address=mailbox.username WHERE alias.domain='$fDomain' AND mailbox.maildir IS NULL ORDER BY alias.address"; + } + + $result = db_query ("$query"); + if ($result['rows'] > 0) + { + while ($row = mysql_fetch_array ($result['result'])) + { + $tAlias[] = $row; + } + } + + $result = db_query ("SELECT * FROM mailbox WHERE domain='$fDomain' ORDER BY username"); + if ($result['rows'] > 0) + { + while ($row = mysql_fetch_array ($result['result'])) + { + $tMailbox[] = $row; + } + } + + include ("../templates/header.tpl"); + include ("../templates/admin_menu.tpl"); + include ("../templates/admin_list-virtual.tpl"); + include ("../templates/footer.tpl"); +} +?> diff --git a/admin/viewlog.php b/admin/viewlog.php new file mode 100644 index 00000000..852306d2 --- /dev/null +++ b/admin/viewlog.php @@ -0,0 +1,63 @@ + 0) + { + while ($row = mysql_fetch_array ($result['result'])) + { + $tLog[] = $row; + } + } + } + + include ("../templates/header.tpl"); + include ("../templates/admin_menu.tpl"); + include ("../templates/viewlog.tpl"); + include ("../templates/footer.tpl"); +} + +if ($_SERVER['REQUEST_METHOD'] == "POST") +{ + $fDomain = $_POST['fDomain']; + + $result = db_query ("SELECT * FROM log WHERE domain='$fDomain' ORDER BY timestamp DESC LIMIT 10"); + if ($result['rows'] > 0) + { + while ($row = mysql_fetch_array ($result['result'])) + { + $tLog[] = $row; + } + } + + include ("../templates/header.tpl"); + include ("../templates/admin_menu.tpl"); + include ("../templates/viewlog.tpl"); + include ("../templates/footer.tpl"); +} +?> diff --git a/config.inc.php.sample b/config.inc.php.sample new file mode 100644 index 00000000..3ee2c50c --- /dev/null +++ b/config.inc.php.sample @@ -0,0 +1,91 @@ + 'abuse@domain.tld', + 'hostmaster' => 'hostmaster@domain.tld', + 'postmaster' => 'postmaster@domain.tld', + 'webmaster' => 'webmaster@domain.tld' +); + +// Mailboxes +// If you want to store the mailboxes per domain set this to 'YES'. +// Example: /usr/local/virtual/domain.tld/username@domain.tld +$CONF['domain_path'] = 'NO'; +// If you don't want to have the domain in your mailbox set this to 'NO'. +// Example: /usr/local/virtual/domain.tld/username +$CONF['domain_in_mailbox'] = 'YES'; + +// Default Domain Values +// Specify your default values below. Quota in MB. +$CONF['aliases'] = '10'; +$CONF['mailboxes'] = '10'; +$CONF['maxquota'] = '10'; + +// Quota +// When you want to enforce quota for your mailbox users set this to 'YES'. +$CONF['quota'] = 'NO'; + +// Virtual Vacation +// If you want to use virtual vacation for you mailbox users set this to 'YES'. +// NOTE: Make sure that you install the vacation module. http://high5.net/postfixadmin/ +$CONF['vacation'] = 'NO'; + +// Alias Control +// Postfix Admin inserts an alias in the alias table for every mailbox it creates. +// The reason for this is that when you want catch-all or domain-2-domain forwarding +// to work you need to have the mailbox replicated in the alias table. +// If you want to take control of these aliases as well set this to 'YES'. +$CONF['alias_control'] = 'NO'; + +// Logging +// If you don't want logging set this to 'NO'; +$CONF['logging'] = 'YES'; + +// Header +// Some header configuration. +// If you don't want the Postfix Admin logo to appear set this to 'NO'. +$CONF['logo'] = 'YES'; +$CONF['header_text'] = ':: Welcome to Postfix Admin ::'; + +// Footer +// Below information will be on all pages. +// If you don't want the footer information to appear set this to 'NO'. +$CONF['show_footer_text'] = 'YES'; +$CONF['footer_text'] = 'Return to domain.tld'; +$CONF['footer_link'] = 'http://domain.tld'; + +?> diff --git a/create-alias.php b/create-alias.php new file mode 100644 index 00000000..479cf0e2 --- /dev/null +++ b/create-alias.php @@ -0,0 +1,123 @@ +($fAddress -> $fGoto)
"; + } + else + { + db_log ($SESSID_USERNAME, $fDomain, "create alias", "$fAddress -> $fGoto"); + + $tDomain = $fDomain; + $tMessage = $PALANG['pCreate_alias_result_succes'] . "
($fAddress -> $fGoto)
"; + } + } + + include ("./templates/header.tpl"); + include ("./templates/menu.tpl"); + include ("./templates/create-alias.tpl"); + include ("./templates/footer.tpl"); +} +?> diff --git a/create-mailbox.php b/create-mailbox.php new file mode 100644 index 00000000..20e752be --- /dev/null +++ b/create-mailbox.php @@ -0,0 +1,188 @@ +($fUsername -> $fUsername)
"; + } + + $result = db_query ("INSERT INTO mailbox (username,password,name,maildir,quota,domain,created,modified,active) VALUES ('$fUsername','$password','$fName','$maildir','$quota','$fDomain',NOW(),NOW(),'$fActive')"); + if ($result['rows'] != 1) + { + $tDomain = $fDomain; + $tMessage .= $PALANG['pCreate_mailbox_result_error'] . "
($fUsername)
"; + } + else + { + + db_log ($SESSID_USERNAME, $fDomain, "create mailbox", "$fUsername"); + + $tDomain = $fDomain; + $tMessage = $PALANG['pCreate_mailbox_result_succes'] . "
($fUsername)
"; + $tQuota = $CONF['maxquota']; + + if ($fMail == "on") { + if (!mail ($fUsername, $PALANG['pSendmail_subject_text'], $PALANG['pSendmail_body_text'], "From: " . $SESSID_USERNAME)) + { + $tMessage .= "
" . $PALANG['pSendmail_result_error'] . "
"; + } + else + { + $tMessage .= "
" . $PALANG['pSendmail_result_succes'] . "
"; + + } + } + } + } + + include ("./templates/header.tpl"); + include ("./templates/menu.tpl"); + include ("./templates/create-mailbox.tpl"); + include ("./templates/footer.tpl"); +} +?> diff --git a/delete.php b/delete.php new file mode 100644 index 00000000..cc04ffb9 --- /dev/null +++ b/delete.php @@ -0,0 +1,82 @@ +$fDomain!"; + } + else + { + + $result = db_query ("DELETE FROM alias WHERE address='$fDelete' AND domain='$fDomain'"); + if ($result['rows'] != 1) + { + $error = 1; + $tMessage = $PALANG['pDelete_delete_error'] . "$fDelete (alias)!"; + } + else + { + db_log ($SESSID_USERNAME, $fDomain, "delete alias", $fDelete); + } + + $result = db_query ("SELECT * FROM mailbox WHERE username='$fDelete' AND domain='$fDomain'"); + if ($result['rows'] == 1) + { + $result = db_query ("DELETE FROM mailbox WHERE username='$fDelete' AND domain='$fDomain'"); + if ($result['rows'] != 1) + { + $error = 1; + $tMessage = $PALANG['pDelete_delete_error'] . "$fDelete (mailbox)!"; + } + else + { + db_log ($SESSID_USERNAME, $fDomain, "delete mailbox", $fDelete); + } + } + } + + if ($error != 1) + { + header ("Location: overview.php?domain=$fDomain"); + exit; + } + + include ("./templates/header.tpl"); + include ("./templates/menu.tpl"); + include ("./templates/message.tpl"); + include ("./templates/footer.tpl"); +} + +if ($_SERVER['REQUEST_METHOD'] == "POST") +{ + include ("./templates/header.tpl"); + include ("./templates/menu.tpl"); + include ("./templates/message.tpl"); + include ("./templates/footer.tpl"); +} +?> diff --git a/edit-active.php b/edit-active.php new file mode 100644 index 00000000..f19ee32d --- /dev/null +++ b/edit-active.php @@ -0,0 +1,66 @@ +$fDomain!"; + } + else + { + $result = db_query ("UPDATE mailbox SET active=1-active WHERE username='$fUsername' AND domain='$fDomain'"); + if ($result['rows'] != 1) + { + $error = 1; + $tMessage = $PALANG['pEdit_mailbox_result_error']; + } + else + { + db_log ($SESSID_USERNAME, $fDomain, "edit active", $fUsername); + } + } + + if ($error != 1) + { + header ("Location: overview.php?domain=$fDomain"); + exit; + } + + include ("./templates/header.tpl"); + include ("./templates/menu.tpl"); + include ("./templates/message.tpl"); + include ("./templates/footer.tpl"); +} + +if ($_SERVER['REQUEST_METHOD'] == "POST") +{ + include ("./templates/header.tpl"); + include ("./templates/menu.tpl"); + include ("./templates/message.tpl"); + include ("./templates/footer.tpl"); +} +?> diff --git a/edit-alias.php b/edit-alias.php new file mode 100644 index 00000000..3b061cd2 --- /dev/null +++ b/edit-alias.php @@ -0,0 +1,110 @@ +"; + } + + if (empty ($fGoto)) + { + $error = 1; + $tGoto = $fGoto; + $tMessage = $PALANG['pEdit_alias_goto_text_error1']; + } + + $goto = preg_replace ('/\r\n/', ',', $fGoto); + $goto = preg_replace ('/[\s]+/i', '', $goto); + $goto = preg_replace ('/\,*$/', '', $goto); + $array = preg_split ('/,/', $goto); + + for ($i = 0; $i < sizeof ($array); $i++) { + if (in_array ("$array[$i]", $CONF['default_aliases'])) continue; + if (empty ($array[$i])) continue; + if (!check_email ($array[$i])) + { + $error = 1; + $tGoto = $goto; + $tMessage = $PALANG['pEdit_alias_goto_text_error2'] . "$array[$i]"; + } + } + + if ($error != 1) + { + $result = db_query ("UPDATE alias SET goto='$goto',modified=NOW() WHERE address='$fAddress' AND domain='$fDomain'"); + if ($result['rows'] != 1) + { + $tMessage = $PALANG['pEdit_alias_result_error']; + } + else + { + db_log ($SESSID_USERNAME, $fDomain, "edit alias", "$fAddress -> $goto"); + + header ("Location: overview.php?domain=$fDomain"); + exit; + } + } + + include ("./templates/header.tpl"); + include ("./templates/menu.tpl"); + include ("./templates/edit-alias.tpl"); + include ("./templates/footer.tpl"); +} +?> diff --git a/edit-mailbox.php b/edit-mailbox.php new file mode 100644 index 00000000..ea34db67 --- /dev/null +++ b/edit-mailbox.php @@ -0,0 +1,128 @@ +"; + } + + if ($fPassword != $fPassword2) + { + $error = 1; + $tName = $fName; + $tQuota = $fQuota; + $pEdit_mailbox_password_text = $PALANG['pEdit_mailbox_password_text_error']; + } + + if (!check_quota ($fQuota, $fDomain)) + { + $error = 1; + $tName = $fName; + $tQuota = $fQuota; + $pEdit_mailbox_quota_text = $PALANG['pEdit_mailbox_quota_text_error']; + } + + if ($error != 1) + { + if (!empty ($fQuota)) $quota = $fQuota . "000000"; + if ($fActive == "on") $fActive = 1; + + if (empty ($fPassword) and empty ($fPassword2)) + { + $result = db_query ("UPDATE mailbox SET name='$fName',quota='$quota',modified=NOW(),active='$fActive' WHERE username='$fUsername' AND domain='$fDomain'"); + } + else + { + $password = pacrypt ($fPassword); + $result = db_query ("UPDATE mailbox SET password='$password',name='$fName',quota='$quota',modified=NOW(),active='$fActive' WHERE username='$fUsername' AND domain='$fDomain'"); + } + + if ($result['rows'] != 1) + { + $tMessage = $PALANG['pEdit_mailbox_result_error']; + } + else + { + db_log ($SESSID_USERNAME, $fDomain, "edit mailbox", $fUsername); + + header ("Location: overview.php?domain=$fDomain"); + exit; + } + } + + include ("./templates/header.tpl"); + include ("./templates/menu.tpl"); + include ("./templates/edit-mailbox.tpl"); + include ("./templates/footer.tpl"); +} +?> diff --git a/functions.inc.php b/functions.inc.php new file mode 100644 index 00000000..346d5ce1 --- /dev/null +++ b/functions.inc.php @@ -0,0 +1,680 @@ += 0) + { + if ($limit['alias_count'] >= $limit['aliases']) + { + return false; + } + } + return true; +} + + + +// +// check_mailbox +// Action: Checks if the domain is still able to create mailboxes. +// Call: ceck_mailbox (string domain) +// +function check_mailbox ($domain) +{ + $limit = get_domain_properties ($domain); + if ($limit['mailboxes'] >= 0) + { + if ($limit['mailbox_count'] >= $limit['mailboxes']) + { + return false; + } + } + return true; +} + + + +// +// check_quota +// Action: Checks if the user is creating a mailbox with the correct quota +// Call: check_quota (string domain) +// +function check_quota ($quota, $domain) +{ + $limit = get_domain_properties ($domain); + if ($limit['maxquota'] >= 0) + { + if ($quota > $limit['maxquota']) + { + return false; + } + } + return true; +} + + + +// +// check_owner +// Action: Checks if the admin is the owner of the domain. +// Call: check_owner (string admin, string domain) +// +function check_owner ($username, $domain) +{ + $result = db_query ("SELECT * FROM domain_admins WHERE username='$username' AND domain='$domain' AND active='1'"); + if ($result['rows'] != 1) + { + return false; + } + else + { + return true; + } +} + + + +// +// list_domains_for_admin +// Action: Lists all the domains for an admin. +// Call: list_domains_for_admin (string admin) +// +function list_domains_for_admin ($username) +{ + $list = ""; + + $result = db_query ("SELECT * FROM domain LEFT JOIN domain_admins ON domain.domain=domain_admins.domain WHERE domain_admins.username='$username' AND domain.active='1' ORDER BY domain_admins.domain"); + if ($result['rows'] > 0) + { + $i = 0; + while ($row = mysql_fetch_array ($result['result'])) + { + $list[$i] = $row['domain']; + $i++; + } + } + return $list; +} + + + +// +// list_domains +// Action: List all available domains. +// Call: list_domains () +// +function list_domains () +{ + $list = ""; + + $result = db_query ("SELECT * FROM domain ORDER BY domain"); + if ($result['rows'] > 0) + { + $i = 0; + while ($row = mysql_fetch_array ($result['result'])) + { + $list[$i] = $row['domain']; + $i++; + } + } + return $list; +} + + + +// +// admin_exist +// Action: Checks if the admin already exists. +// Call: admin_exist (string admin) +// +// was check_admin +// +function admin_exist ($username) +{ + $result = db_query ("SELECT * FROM admin WHERE username='$username'"); + if ($result['rows'] != 1) + { + return false; + } + else + { + return true; + } +} + +// +// domain_exist +// Action: Checks if the domain already exists. +// Call: domain_exist (string domain) +// +function domain_exist ($domain) +{ + $result = db_query ("SELECT * FROM domain WHERE domain='$domain'"); + if ($result['rows'] != 1) + { + return false; + } + else + { + return true; + } +} + + +// +// list_admins +// Action: Lists all the admins +// Call: list_admins () +// +// was admin_list_admins +// +function list_admins () +{ + $list = ""; + + $result = db_query ("SELECT * FROM admin ORDER BY username"); + if ($result['rows'] > 0) + { + $i = 0; + while ($row = mysql_fetch_array ($result['result'])) + { + $list[$i] = $row['username']; + $i++; + } + } + return $list; +} + + + +// +// get_admin_properties +// Action: Get all the admin properties. +// Call: get_admin_properties (string admin) +function get_admin_properties ($username) +{ + $list = ""; + + $result = db_query ("SELECT * FROM domain_admins WHERE username='$username'"); + $list['domain_count'] = $result['rows']; + + $result = db_query ("SELECT * FROM admin WHERE username='$username'"); + $row = mysql_fetch_array ($result['result']); + $list['created'] = $row['created']; + $list['modified'] = $row['modified']; + $list['active'] = $row['active']; + + return $list; +} + + + +// +// encode_header +// Action: Encode a string according to RFC 1522 for use in headers if it contains 8-bit characters. +// Call: encode_header (string header, string charset) +// +function encode_header ($string, $default_charset) +{ + if (strtolower($default_charset) == 'iso-8859-1') + { + $string = str_replace("\240",' ',$string); + } + + $j = strlen($string); + $max_l = 75 - strlen($default_charset) - 7; + $aRet = array(); + $ret = ''; + $iEncStart = $enc_init = false; + $cur_l = $iOffset = 0; + + for($i = 0; $i < $j; ++$i) { + switch($string{$i}) + { + case '=': + case '<': + case '>': + case ',': + case '?': + case '_': + if ($iEncStart === false) + { + $iEncStart = $i; + } + $cur_l+=3; + if ($cur_l > ($max_l-2)) + { + $aRet[] = substr($string,$iOffset,$iEncStart-$iOffset); + $aRet[] = "=?$default_charset?Q?$ret?="; + $iOffset = $i; + $cur_l = 0; + $ret = ''; + $iEncStart = false; + } + else + { + $ret .= sprintf("=%02X",ord($string{$i})); + } + break; + case '(': + case ')': + if ($iEncStart !== false) + { + $aRet[] = substr($string,$iOffset,$iEncStart-$iOffset); + $aRet[] = "=?$default_charset?Q?$ret?="; + $iOffset = $i; + $cur_l = 0; + $ret = ''; + $iEncStart = false; + } + break; + case ' ': + if ($iEncStart !== false) + { + $cur_l++; + if ($cur_l > $max_l) + { + $aRet[] = substr($string,$iOffset,$iEncStart-$iOffset); + $aRet[] = "=?$default_charset?Q?$ret?="; + $iOffset = $i; + $cur_l = 0; + $ret = ''; + $iEncStart = false; + } + else + { + $ret .= '_'; + } + } + break; + default: + $k = ord($string{$i}); + if ($k > 126) + { + if ($iEncStart === false) + { + // do not start encoding in the middle of a string, also take the rest of the word. + $sLeadString = substr($string,0,$i); + $aLeadString = explode(' ',$sLeadString); + $sToBeEncoded = array_pop($aLeadString); + $iEncStart = $i - strlen($sToBeEncoded); + $ret .= $sToBeEncoded; + $cur_l += strlen($sToBeEncoded); + } + $cur_l += 3; + // first we add the encoded string that reached it's max size + if ($cur_l > ($max_l-2)) + { + $aRet[] = substr($string,$iOffset,$iEncStart-$iOffset); + $aRet[] = "=?$default_charset?Q?$ret?= "; + $cur_l = 3; + $ret = ''; + $iOffset = $i; + $iEncStart = $i; + } + $enc_init = true; + $ret .= sprintf("=%02X", $k); + } + else + { + if ($iEncStart !== false) + { + $cur_l++; + if ($cur_l > $max_l) { + $aRet[] = substr($string,$iOffset,$iEncStart-$iOffset); + $aRet[] = "=?$default_charset?Q?$ret?="; + $iEncStart = false; + $iOffset = $i; + $cur_l = 0; + $ret = ''; + } + else + { + $ret .= $string{$i}; + } + } + } + break; + } + } + + if ($enc_init) + { + if ($iEncStart !== false) + { + $aRet[] = substr($string,$iOffset,$iEncStart-$iOffset); + $aRet[] = "=?$default_charset?Q?$ret?="; + } + else + { + $aRet[] = substr($string,$iOffset); + } + $string = implode('',$aRet); + } + return $string; +} + + + +// +// pacrypt +// Action: Encrypts password based on config settings +// Call: pacrypt (string cleartextpassword) +// +function pacrypt ($pw, $pw_db="") +{ + global $CONF; + $password = ""; + + if ($CONF['encrypt'] == 'md5crypt') + { + $split_salt = preg_split ('/\$/', $pw_db); + $salt = $split_salt[2]; + $password = md5crypt ($pw, $salt); + } + + if ($CONF['encrypt'] == 'system') + { + if (ereg ("\$1\$", $pw_db)) + { + $split_salt = preg_split ('/\$/', $pw_db); + $salt = $split_salt[2]; + } + else + { + $salt = substr ($pw_db, 0, 2); + } + $password = crypt ($pw, $salt); + } + + if ($CONF['encrypt'] == 'cleartext') + { + $password = $pw; + } + + return $password; +} + + + +// +// md5crypt +// Action: Creates MD5 encrypted password +// Call: md5crypt (string cleartextpassword) +// +$MAGIC = "$1$"; +$ITOA64 = "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; + +function md5crypt ($pw, $salt="", $magic="") +{ + global $MAGIC; + if ($magic == "") $magic = $MAGIC; + if ($salt == "") $salt = create_salt(); + $slist = explode ("$", $salt); + if ($slist[0] == "1") $salt = $slist[1]; + $salt = substr ($salt, 0, 8); + $ctx = $pw . $magic . $salt; + $final = hex2bin (md5 ($pw . $salt . $pw)); + for ($i=strlen ($pw); $i>0; $i-=16) { + if ($i > 16) + $ctx .= substr ($final,0,16); + else + $ctx .= substr ($final,0,$i); + } + $i = strlen ($pw); + while ($i > 0) { + if ($i & 1) $ctx .= chr (0); + else $ctx .= $pw[0]; + $i = $i >> 1; + } + $final = hex2bin (md5 ($ctx)); + for ($i=0;$i<1000;$i++) { + $ctx1 = ""; + if ($i & 1) $ctx1 .= $pw; + else $ctx1 .= substr ($final,0,16); + if ($i % 3) $ctx1 .= $salt; + if ($i % 7) $ctx1 .= $pw; + if ($i & 1) $ctx1 .= substr ($final,0,16); + else $ctx1 .= $pw; + $final = hex2bin (md5 ($ctx1)); + } + $passwd = ""; + $passwd .= to64 ( ( (ord ($final[0]) << 16) | (ord ($final[6]) << 8) | (ord ($final[12])) ), 4); + $passwd .= to64 ( ( (ord ($final[1]) << 16) | (ord ($final[7]) << 8) | (ord ($final[13])) ), 4); + $passwd .= to64 ( ( (ord ($final[2]) << 16) | (ord ($final[8]) << 8) | (ord ($final[14])) ), 4); + $passwd .= to64 ( ( (ord ($final[3]) << 16) | (ord ($final[9]) << 8) | (ord ($final[15])) ), 4); + $passwd .= to64 ( ( (ord ($final[4]) << 16) | (ord ($final[10]) << 8) | (ord ($final[5])) ), 4); + $passwd .= to64 ( ord ($final[11]), 2); + return "$magic$salt\$$passwd"; +} + +function create_salt () +{ + srand ((double)microtime ()*1000000); + $salt = substr (md5 (rand (0,9999999)), 0, 8); + return $salt; +} + +function hex2bin ($str) +{ + $len = strlen ($str); + $nstr = ""; + for ($i=0;$i<$len;$i+=2) { + $num = sscanf (substr ($str,$i,2), "%x"); + $nstr.=chr ($num[0]); + } + return $nstr; +} + +function to64 ($v, $n) +{ + global $ITOA64; + $ret = ""; + while (($n - 1) >= 0) { + $n--; + $ret .= $ITOA64[$v & 0x3f]; + $v = $v >> 6; + } + return $ret; +} + + + +// +// db_connect +// Action: Makes a connection to the database if it doesn't exist +// Call: db_connect () +// +function db_connect () +{ + global $CONF; + $link = @mysql_connect ($CONF['database_host'], $CONF['database_user'], $CONF['database_password']) or die ("

DEBUG INFORMATION:
Connect: " . mysql_error ()); + $succes = @mysql_select_db ($CONF['database_name'], $link) or die ("

DEBUG INFORMATION:
MySQL Select Database: " . mysql_error ()); + return $link; +} + + + +// +// db_query +// Action: Sends a query to the database and returns query result and number of rows +// Call: db_query (string query) +// +function db_query ($query) +{ + global $CONF; + $link = db_connect (); + $result = @mysql_query ($query, $link) or die ("

DEBUG INFORMATION:
Invalid query: " . mysql_error()); + if (eregi ("^select", $query)) + { + // if $query was a select statement check the number of rows with mysql_num_rows (). + $number_rows = mysql_num_rows ($result); + } + else + { + // if $query was something else, UPDATE, DELETE or INSERT check the number of rows with + // mysql_affected_rows (). + $number_rows = mysql_affected_rows ($link); + } + $return = array ( + "result" => $result, + "rows" => $number_rows + ); + return $return; +} + + + +// +// db_delete +// Action: Deletes a row from a specified table +// Call db_delete (string table, string where, string delete) +// +function db_delete ($table,$where,$delete) +{ + $result = db_query ("DELETE FROM $table WHERE $where='$delete'"); + if ($result['rows'] >= 1) + { + return $result['rows']; + } + else + { + return true; + } +} + + + +// +// db_log +// Action: Logs actions from admin +// Call: db_delete (string username, string domain, string action, string data) +// +function db_log ($username,$domain,$action,$data) +{ + global $CONF; + + if ($CONF['logging'] == 'YES') + { + $result = db_query ("INSERT INTO log (timestamp,username,domain,action,data) VALUES (NOW(),'$username','$domain','$action','$data')"); + if ($result['rows'] != 1) + { + return false; + } + else + { + return true; + } + } +} + +?> diff --git a/index.php b/index.php new file mode 100644 index 00000000..51dde5c3 --- /dev/null +++ b/index.php @@ -0,0 +1,17 @@ + diff --git a/languages/de.lang b/languages/de.lang new file mode 100644 index 00000000..35ef4678 --- /dev/null +++ b/languages/de.lang @@ -0,0 +1,286 @@ +Eintrag konnte nicht gelöscht werden '; +$PALANG['pDelete_domain_error'] = 'Diese Domain gehört nicht Ihnen '; + +$PALANG['pCreate_alias_welcome'] = 'Neuen Alias für Ihre Domain anlegen'; +$PALANG['pCreate_alias_address'] = 'Alias'; +$PALANG['pCreate_alias_address_text_error1'] = '
Dieses ALIAS ist nicht erlaubt!'; +$PALANG['pCreate_alias_address_text_error2'] = '
Diese eMail-Adresse existiert bereits. Bitte wählen Sie eine andere!'; +$PALANG['pCreate_alias_address_text_error3'] = '
Sie haben Ihr Limit für Aliase auf dieser Domain erreicht!'; +$PALANG['pCreate_alias_goto'] = 'An'; +$PALANG['pCreate_alias_button'] = 'Alias hinzufügen'; +$PALANG['pCreate_alias_goto_text'] = 'Wohin soll die eMail weitergeleitet werden?'; +$PALANG['pCreate_alias_goto_text_error'] = 'Wohin die eMail weitergeleitet werden soll
Das An-Feld ist falsch!'; +$PALANG['pCreate_alias_result_error'] = 'Unmöglich dieses Alias in die Alias-Tabelle einzutragen!'; +$PALANG['pCreate_alias_result_succes'] = 'Das Alias wurde in die Alias-Tabelle hinzugefügt!'; +$PALANG['pCreate_alias_catchall_text'] = 'Um alle Adressen abzudecken benutzen Sie einen "*" als Alias.
Um ganze Domains an andere Domains weiterzuleiten benutzen Sie "*@domain.tld" im "An"-Feld.'; + +$PALANG['pEdit_alias_welcome'] = 'Ändern Sie einen Alias für Ihre Domain
EIN Eintrag pro Zeile!'; +$PALANG['pEdit_alias_address'] = 'Alias'; +$PALANG['pEdit_alias_address_error'] = 'Auffinden des Alias schlug fehl!'; +$PALANG['pEdit_alias_goto'] = 'An'; +$PALANG['pEdit_alias_goto_text_error1'] = 'Sie haben im "To"-Feld nichts angegeben!'; +$PALANG['pEdit_alias_goto_text_error2'] = 'Die angegebene eMail-Adresse ist nicht korrekt: '; +$PALANG['pEdit_alias_domain_error'] = 'Diese Domain gehört nicht Ihnen: '; +$PALANG['pEdit_alias_button'] = 'Alias ändern'; +$PALANG['pEdit_alias_result_error'] = 'Ändern des Aliases nicht möglich!'; + +$PALANG['pCreate_mailbox_welcome'] = 'Legen Sie eine neue Mailbox für Ihre Domain an.'; +$PALANG['pCreate_mailbox_username'] = 'Benutzername'; +$PALANG['pCreate_mailbox_username_text_error1'] = '
Die EMAIL ist nicht korrekt!'; +$PALANG['pCreate_mailbox_username_text_error2'] = '
Diese Email-Adresse existiert bereits. Bitte wählen Sie eine andere!'; +$PALANG['pCreate_mailbox_username_text_error3'] = '
Sie dürfen leider nicht mehr Mailboxen für diese Domain anlegen!'; +$PALANG['pCreate_mailbox_password'] = 'Passwort'; +$PALANG['pCreate_mailbox_password2'] = 'Passwort (nochmal)'; +$PALANG['pCreate_mailbox_password_text'] = 'Passwort für POP3/IMAP'; +$PALANG['pCreate_mailbox_password_text_error'] = 'Passwort für POP3/IMAP
Die beiden Passwörter sind nicht identisch!
Oder ganz leer!
'; +$PALANG['pCreate_mailbox_name'] = 'Name'; +$PALANG['pCreate_mailbox_name_text'] = 'Voller Name'; +$PALANG['pCreate_mailbox_quota'] = 'Quota'; +$PALANG['pCreate_mailbox_quota_text'] = 'MB'; +$PALANG['pCreate_mailbox_quota_text_error'] = 'MB
Das angegebene Quota ist zu hoch!'; +$PALANG['pCreate_mailbox_active'] = 'Aktiv'; +$PALANG['pCreate_mailbox_mail'] = 'Mailbox anlegen'; +$PALANG['pCreate_mailbox_button'] = 'Mailbox hinzufügen'; +$PALANG['pCreate_mailbox_result_error'] = 'Unmöglich die Mailbox in die Mailbox-Tabelle einzutragen!'; +$PALANG['pCreate_mailbox_result_succes'] = 'Die Mailbox wurde in die Mailbox-Tabelle eingetragen!'; + +$PALANG['pEdit_mailbox_welcome'] = 'Ändern Sie ihre Mailbox hier.'; +$PALANG['pEdit_mailbox_username'] = 'Benutzername'; +$PALANG['pEdit_mailbox_username_error'] = 'Unmöglich die Mailbox aufzufinden!'; +$PALANG['pEdit_mailbox_password'] = 'Neues Passwort'; +$PALANG['pEdit_mailbox_password2'] = 'Neues Passwort (nochmal)'; +$PALANG['pEdit_mailbox_password_text_error'] = 'Die beiden Passwörter sind nicht identisch!'; +$PALANG['pEdit_mailbox_name'] = 'Name'; +$PALANG['pEdit_mailbox_quota'] = 'Quota'; +$PALANG['pEdit_mailbox_quota_text'] = 'MB'; +$PALANG['pEdit_mailbox_quota_text_error'] = 'MB
Das angegebene Quota ist zu hoch!'; +$PALANG['pEdit_mailbox_domain_error'] = 'Diese Domain gehört nicht Ihnen: '; +$PALANG['pEdit_mailbox_button'] = 'Mailbox editieren'; +$PALANG['pEdit_mailbox_result_error'] = 'Unmöglich das Passwort zu ändern!'; + +$PALANG['pPassword_welcome'] = 'Ändern Sie Ihr Login-Passwort.'; +$PALANG['pPassword_admin'] = 'Login'; +$PALANG['pPassword_admin_text_error'] = 'Das angegebene Login entspricht keiner Mailbox!'; +$PALANG['pPassword_password_current'] = 'Jetziges Password'; +$PALANG['pPassword_password_current_text_error'] = 'Sie haben Ihr derzeitiges Passwort nicht angegeben!'; +$PALANG['pPassword_password'] = 'Neues Passwort'; +$PALANG['pPassword_password2'] = 'Neues Password (nochmal)'; +$PALANG['pPassword_password_text_error'] = 'Die beiden angegebenen Passwörter sind nicht identische!
Oder leer!
'; +$PALANG['pPassword_button'] = 'Passwort ändern'; +$PALANG['pPassword_result_error'] = 'Unmöglich das Passwort zu ändern!'; +$PALANG['pPassword_result_succes'] = 'Ihr Passwort wurde geändert!'; + +$PALANG['pViewlog_welcome'] = 'Zeigt die letzten 10 Aktionen für '; +$PALANG['pViewlog_timestamp'] = 'Zeitpunkt'; +$PALANG['pViewlog_username'] = 'Admin'; +$PALANG['pViewlog_domain'] = 'Domain'; +$PALANG['pViewlog_action'] = 'Aktion'; +$PALANG['pViewlog_data'] = 'Daten'; + +$PALANG['pViewlog_button'] = 'Los'; +$PALANG['pViewlog_result_error'] = 'Kann keine Einträge finden!'; + +$PALANG['pSendmail_welcome'] = 'eMail versenden.'; +$PALANG['pSendmail_admin'] = 'Von'; +$PALANG['pSendmail_to'] = 'An'; +$PALANG['pSendmail_to_text_error'] = 'Das "An"-Feld ist leer bzw. ungültig!'; +$PALANG['pSendmail_subject'] = 'Betreff'; +$PALANG['pSendmail_subject_text'] = 'Willkommen'; +$PALANG['pSendmail_body'] = 'Text'; +$PALANG['pSendmail_body_text'] = << bis nicht zu Hause / im Büro. +In dringenden Fällen setzen Sie sich bitte mit in Verbindung. +Vielen Dank für Ihr Verständniss. +EOM; +$PALANG['pUsersVacation_button_away'] = 'Ich gehe weg'; +$PALANG['pUsersVacation_button_back'] = 'Ich bin zurück'; +$PALANG['pUsersVacation_result_error'] = 'Konnte Ihre Automatische Antwort nicht einstellen!'; +$PALANG['pUsersVacation_result_succes'] = 'Ihre Automatische Antwort wurde gelöscht!'; +?> diff --git a/languages/dk.lang b/languages/dk.lang new file mode 100644 index 00000000..e5a2644f --- /dev/null +++ b/languages/dk.lang @@ -0,0 +1,285 @@ +Kan ikke slette denne post '; +$PALANG['pDelete_domain_error'] = 'Dette domæne er ikke dit '; + +$PALANG['pCreate_alias_welcome'] = 'Opret nyt alias til dit domæne.'; +$PALANG['pCreate_alias_address'] = 'Alias'; +$PALANG['pCreate_alias_address_text_error1'] = '
Aliaset er ikke gyldigt!'; +$PALANG['pCreate_alias_address_text_error2'] = '
Email adressen eksisterer allerede. Vælg venligst en anden!'; +$PALANG['pCreate_alias_address_text_error3'] = '
Du har nået grænsen for antallet af aliaser til dit domæne!'; +$PALANG['pCreate_alias_goto'] = 'Modtager'; +$PALANG['pCreate_alias_button'] = 'Tilføj Alias'; +$PALANG['pCreate_alias_goto_text'] = 'Hvor emailen skal videresendes til.'; +$PALANG['pCreate_alias_goto_text_error'] = 'Hvor emailen skal videresendes til.
Modtageradressen er ikke gyldig!'; +$PALANG['pCreate_alias_result_error'] = 'Kan ikke tilføje aliaset til alias-tabellen!'; +$PALANG['pCreate_alias_result_succes'] = 'Aliaset er blevet tilføjet til alias-tabellen!'; +$PALANG['pCreate_alias_catchall_text'] = 'For at oprette et stjerne-alias, brug en "*" som alias.
For dom%aelig;ne til domæne-viderestilling brug "*@domain.tld" som modtager.'; + +$PALANG['pEdit_alias_welcome'] = 'Rediger et alias for dit domæne.
En modtager pr. linie.'; +$PALANG['pEdit_alias_address'] = 'Alias'; +$PALANG['pEdit_alias_address_error'] = 'Kan ikke finde aliaset!'; +$PALANG['pEdit_alias_goto'] = 'Modtager(e)'; +$PALANG['pEdit_alias_goto_text_error1'] = 'Du udfyldte ikke noget i Modtager(e)'; +$PALANG['pEdit_alias_goto_text_error2'] = 'Den tilføjede emailadresse er ikke gyldig: '; +$PALANG['pEdit_alias_domain_error'] = 'Dette domæne tilhører ikke dig: '; +$PALANG['pEdit_alias_button'] = 'Ret Alias'; +$PALANG['pEdit_alias_result_error'] = 'Kan ikke redigere aliaset!'; + +$PALANG['pCreate_mailbox_welcome'] = 'Opret en ny lokal postboks til dit domæne.'; +$PALANG['pCreate_mailbox_username'] = 'Brugernavn'; +$PALANG['pCreate_mailbox_username_text_error1'] = '
Email adressen er ikke gyldig!'; +$PALANG['pCreate_mailbox_username_text_error2'] = '
Email adressen eksisterer allerede. Vælg venligst en anden!'; +$PALANG['pCreate_mailbox_username_text_error3'] = '
Du har nået grænsen for antallet af postbokse til dit domæne!'; +$PALANG['pCreate_mailbox_password'] = 'Kodeord'; +$PALANG['pCreate_mailbox_password2'] = 'Kodeord (igen)'; +$PALANG['pCreate_mailbox_password_text'] = 'Kodeord til POP3/IMAP'; +$PALANG['pCreate_mailbox_password_text_error'] = 'Kodeord til POP3/IMAP
Kodeordene er ikke ens!
Eller er tomme!
'; +$PALANG['pCreate_mailbox_name'] = 'Navn'; +$PALANG['pCreate_mailbox_name_text'] = 'Fulde navn'; +$PALANG['pCreate_mailbox_quota'] = 'Kvota'; +$PALANG['pCreate_mailbox_quota_text'] = 'MB'; +$PALANG['pCreate_mailbox_quota_text_error'] = 'MB
Den ønskede kvota er for høj!'; +$PALANG['pCreate_mailbox_active'] = 'Aktiv'; +$PALANG['pCreate_mailbox_mail'] = 'Opret postboks'; +$PALANG['pCreate_mailbox_button'] = 'Tilføj postboks'; +$PALANG['pCreate_mailbox_result_error'] = 'Kan ikke tilføje postboksen til postboks-tabellen!'; +$PALANG['pCreate_mailbox_result_succes'] = 'Postboksen er tilføjet til postboks-tabellen!'; + +$PALANG['pEdit_mailbox_welcome'] = 'Rediger en postboks til dit domæne.'; +$PALANG['pEdit_mailbox_username'] = 'Brugernavn'; +$PALANG['pEdit_mailbox_username_error'] = 'Kan ikke finde postboksen!'; +$PALANG['pEdit_mailbox_password'] = 'Nyt kodeord'; +$PALANG['pEdit_mailbox_password2'] = 'Nyt kodeord (igen)'; +$PALANG['pEdit_mailbox_password_text_error'] = 'Kodeordene er ikke ens!'; +$PALANG['pEdit_mailbox_name'] = 'Navn'; +$PALANG['pEdit_mailbox_quota'] = 'Kvota'; +$PALANG['pEdit_mailbox_quota_text'] = 'MB'; +$PALANG['pEdit_mailbox_quota_text_error'] = 'MB
Den ønskede kvota er for høj!'; +$PALANG['pEdit_mailbox_domain_error'] = 'Dette domæne er ikke dit: '; +$PALANG['pEdit_mailbox_button'] = 'Ret postboks'; +$PALANG['pEdit_mailbox_result_error'] = 'Kan ikke skifte kodeord!'; + +$PALANG['pPassword_welcome'] = 'Ret dit kodeord.'; +$PALANG['pPassword_admin'] = 'Kodeord'; +$PALANG['pPassword_admin_text_error'] = 'Brugernavnet kunne ikke findes!'; +$PALANG['pPassword_password_current'] = 'Nuværende kodeord'; +$PALANG['pPassword_password_current_text_error'] = 'Du glemte at skrive dit nuværende kodeord!'; +$PALANG['pPassword_password'] = 'Nyt kodeord'; +$PALANG['pPassword_password2'] = 'Nyt kodeord (igen)'; +$PALANG['pPassword_password_text_error'] = 'Kodeordene er ikke ens!
Eller er tomme!
'; +$PALANG['pPassword_button'] = 'Skift kodeord'; +$PALANG['pPassword_result_error'] = 'Kan ikke skifte kodeord!'; +$PALANG['pPassword_result_succes'] = 'Dit kodeord er skiftet!'; + +$PALANG['pViewlog_welcome'] = 'Vis de sidste 10 poster for '; +$PALANG['pViewlog_timestamp'] = 'Tidsstempel'; +$PALANG['pViewlog_username'] = 'Administrator'; +$PALANG['pViewlog_domain'] = 'Domæne'; +$PALANG['pViewlog_action'] = 'Handling'; +$PALANG['pViewlog_data'] = 'Data'; + +$PALANG['pViewlog_button'] = 'Vis'; +$PALANG['pViewlog_result_error'] = 'Kan ikke finde loggen!'; + +$PALANG['pSendmail_welcome'] = 'Send en email.'; +$PALANG['pSendmail_admin'] = 'Modtager'; +$PALANG['pSendmail_to'] = 'Afsender'; +$PALANG['pSendmail_to_text_error'] = 'Modtager er tom eller en ugyldig email adresse!'; +$PALANG['pSendmail_subject'] = 'Emne'; +$PALANG['pSendmail_subject_text'] = 'Velkommen'; +$PALANG['pSendmail_body'] = 'Meddelelse'; +$PALANG['pSendmail_body_text'] = << til . +I nødstilfælde kan kontaktes. +EOM; +$PALANG['pUsersVacation_button_away'] = 'Tager afsted'; +$PALANG['pUsersVacation_button_back'] = 'Kommer tilbage'; +$PALANG['pUsersVacation_result_error'] = 'Kan ikke opdatere dine autosvar indstillinger!'; +$PALANG['pUsersVacation_result_succes'] = 'Dit autosvar er fjernet!'; +?> + diff --git a/languages/en.lang b/languages/en.lang new file mode 100644 index 00000000..c8789ac0 --- /dev/null +++ b/languages/en.lang @@ -0,0 +1,284 @@ +Unable to delete the entry '; +$PALANG['pDelete_domain_error'] = 'This domain is not yours '; + +$PALANG['pCreate_alias_welcome'] = 'Create a new alias for your domain.'; +$PALANG['pCreate_alias_address'] = 'Alias'; +$PALANG['pCreate_alias_address_text_error1'] = '
The ALIAS is not valid!'; +$PALANG['pCreate_alias_address_text_error2'] = '
This email address already exists, please choose a different one!'; +$PALANG['pCreate_alias_address_text_error3'] = '
You have reached your limit to create aliases!'; +$PALANG['pCreate_alias_goto'] = 'To'; +$PALANG['pCreate_alias_button'] = 'Add Alias'; +$PALANG['pCreate_alias_goto_text'] = 'Where the mail needs to be send to.'; +$PALANG['pCreate_alias_goto_text_error'] = 'Where the email needs to go.
The TO is not valid!'; +$PALANG['pCreate_alias_result_error'] = 'Unable to add the alias to the alias table!'; +$PALANG['pCreate_alias_result_succes'] = 'The alias has been added to the alias table!'; +$PALANG['pCreate_alias_catchall_text'] = 'To create a catch-all use an "*" as alias.
For domain to domain forwarding use "*@domain.tld" as to.'; + +$PALANG['pEdit_alias_welcome'] = 'Edit an alias for your domain.
One entry per line.'; +$PALANG['pEdit_alias_address'] = 'Alias'; +$PALANG['pEdit_alias_address_error'] = 'Unable to locate alias!'; +$PALANG['pEdit_alias_goto'] = 'To'; +$PALANG['pEdit_alias_goto_text_error1'] = 'You didn\'t enter anything at To'; +$PALANG['pEdit_alias_goto_text_error2'] = 'The email address that you have entered is not valid: '; +$PALANG['pEdit_alias_domain_error'] = 'This domain is not yours: '; +$PALANG['pEdit_alias_button'] = 'Edit Alias'; +$PALANG['pEdit_alias_result_error'] = 'Unable to modify the alias!'; + +$PALANG['pCreate_mailbox_welcome'] = 'Create a new local mailbox for your domain.'; +$PALANG['pCreate_mailbox_username'] = 'Username'; +$PALANG['pCreate_mailbox_username_text_error1'] = '
The EMAIL is not valid!'; +$PALANG['pCreate_mailbox_username_text_error2'] = '
This email address already exists, please choose a different one!'; +$PALANG['pCreate_mailbox_username_text_error3'] = '
You have reached your limit to create mailboxes!'; +$PALANG['pCreate_mailbox_password'] = 'Password'; +$PALANG['pCreate_mailbox_password2'] = 'Password (again)'; +$PALANG['pCreate_mailbox_password_text'] = 'Password for POP3/IMAP'; +$PALANG['pCreate_mailbox_password_text_error'] = 'Password for POP3/IMAP
The passwords that you supplied don\'t match!
Or are empty!
'; +$PALANG['pCreate_mailbox_name'] = 'Name'; +$PALANG['pCreate_mailbox_name_text'] = 'Full name'; +$PALANG['pCreate_mailbox_quota'] = 'Quota'; +$PALANG['pCreate_mailbox_quota_text'] = 'MB'; +$PALANG['pCreate_mailbox_quota_text_error'] = 'MB
The quota that you specified is to high!'; +$PALANG['pCreate_mailbox_active'] = 'Active'; +$PALANG['pCreate_mailbox_mail'] = 'Create mailbox'; +$PALANG['pCreate_mailbox_button'] = 'Add Mailbox'; +$PALANG['pCreate_mailbox_result_error'] = 'Unable to add the mailbox to the mailbox table!'; +$PALANG['pCreate_mailbox_result_succes'] = 'The mailbox has been added to the mailbox table!'; + +$PALANG['pEdit_mailbox_welcome'] = 'Edit a mailbox for your domain.'; +$PALANG['pEdit_mailbox_username'] = 'Username'; +$PALANG['pEdit_mailbox_username_error'] = 'Unable to locate mailbox!'; +$PALANG['pEdit_mailbox_password'] = 'New Password'; +$PALANG['pEdit_mailbox_password2'] = 'New Password (again)'; +$PALANG['pEdit_mailbox_password_text_error'] = 'The passwords that you supplied don\'t match!'; +$PALANG['pEdit_mailbox_name'] = 'Name'; +$PALANG['pEdit_mailbox_quota'] = 'Quota'; +$PALANG['pEdit_mailbox_quota_text'] = 'MB'; +$PALANG['pEdit_mailbox_quota_text_error'] = 'MB
The quota that you specified is to high!'; +$PALANG['pEdit_mailbox_domain_error'] = 'This domain is not yours: '; +$PALANG['pEdit_mailbox_button'] = 'Edit Mailbox'; +$PALANG['pEdit_mailbox_result_error'] = 'Unable to modify the mailbox!'; + +$PALANG['pPassword_welcome'] = 'Change your login password.'; +$PALANG['pPassword_admin'] = 'Login'; +$PALANG['pPassword_admin_text_error'] = 'The LOGIN that you supplied doesn\'t match a mailbox!'; +$PALANG['pPassword_password_current'] = 'Current Password'; +$PALANG['pPassword_password_current_text_error'] = 'You didn\'t supply your current password!'; +$PALANG['pPassword_password'] = 'New Password'; +$PALANG['pPassword_password2'] = 'New Password (again)'; +$PALANG['pPassword_password_text_error'] = 'The passwords that you supplied don\'t match!
Or are empty!
'; +$PALANG['pPassword_button'] = 'Change Password'; +$PALANG['pPassword_result_error'] = 'Unable to change your password!'; +$PALANG['pPassword_result_succes'] = 'Your password has been changed!'; + +$PALANG['pViewlog_welcome'] = 'View the last 10 actions for '; +$PALANG['pViewlog_timestamp'] = 'Timestamp'; +$PALANG['pViewlog_username'] = 'Admin'; +$PALANG['pViewlog_domain'] = 'Domain'; +$PALANG['pViewlog_action'] = 'Action'; +$PALANG['pViewlog_data'] = 'Data'; + +$PALANG['pViewlog_button'] = 'Go'; +$PALANG['pViewlog_result_error'] = 'Unable to find the logs!'; + +$PALANG['pSendmail_welcome'] = 'Send an email.'; +$PALANG['pSendmail_admin'] = 'From'; +$PALANG['pSendmail_to'] = 'To'; +$PALANG['pSendmail_to_text_error'] = 'To is empty or is not a valid email address!'; +$PALANG['pSendmail_subject'] = 'Subject'; +$PALANG['pSendmail_subject_text'] = 'Welcome'; +$PALANG['pSendmail_body'] = 'Body'; +$PALANG['pSendmail_body_text'] = <<'; +$PALANG['pVcp_password_current'] = 'Current Password'; +$PALANG['pVcp_password_current_text_error'] = 'You didn\'t supply your current password!'; +$PALANG['pVcp_password'] = 'New Password'; +$PALANG['pVcp_password2'] = 'New Password (again)'; +$PALANG['pVcp_password_text_error'] = 'The passwords that you supplied don\'t match!
Or are empty!
'; +$PALANG['pVcp_button'] = 'Change Password'; +$PALANG['pVcp_result_error'] = 'Unable to change your password!'; +$PALANG['pVcp_result_succes'] = 'Your password has been changed!'; + +$PALANG['pAdminMenu_list_admin'] = 'Admin List'; +$PALANG['pAdminMenu_list_domain'] = 'Domain List'; +$PALANG['pAdminMenu_list_virtual'] = 'Virtual List'; +$PALANG['pAdminMenu_viewlog'] = 'View Log'; +$PALANG['pAdminMenu_backup'] = 'Backup'; +$PALANG['pAdminMenu_create_domain_admins'] = 'Domain Admins'; +$PALANG['pAdminMenu_create_admin'] = 'New Admin'; +$PALANG['pAdminMenu_create_domain'] = 'New Domain'; +$PALANG['pAdminMenu_create_alias'] = 'Add Alias'; +$PALANG['pAdminMenu_create_mailbox'] = 'Add Mailbox'; + +$PALANG['pAdminList_admin_domain'] = 'Domain'; +$PALANG['pAdminList_admin_username'] = 'Admin'; +$PALANG['pAdminList_admin_count'] = 'Domains'; +$PALANG['pAdminList_admin_modified'] = 'Last Modified'; +$PALANG['pAdminList_admin_active'] = 'Active'; + +$PALANG['pAdminList_domain_domain'] = 'Domain'; +$PALANG['pAdminList_domain_description'] = 'Description'; +$PALANG['pAdminList_domain_aliases'] = 'Aliases'; +$PALANG['pAdminList_domain_mailboxes'] = 'Mailboxes'; +$PALANG['pAdminList_domain_maxquota'] = 'Max Quota (MB)'; +$PALANG['pAdminList_domain_modified'] = 'Last Modified'; +$PALANG['pAdminList_domain_active'] = 'Active'; + +$PALANG['pAdminList_virtual_button'] = 'Go'; +$PALANG['pAdminList_virtual_welcome'] = 'Overview for '; +$PALANG['pAdminList_virtual_alias_alias_count'] = 'Aliases'; +$PALANG['pAdminList_virtual_alias_mailbox_count'] = 'Mailboxes'; +$PALANG['pAdminList_virtual_alias_address'] = 'From'; +$PALANG['pAdminList_virtual_alias_goto'] = 'To'; +$PALANG['pAdminList_virtual_alias_modified'] = 'Last Modified'; +$PALANG['pAdminList_virtual_mailbox_username'] = 'Email'; +$PALANG['pAdminList_virtual_mailbox_name'] = 'Name'; +$PALANG['pAdminList_virtual_mailbox_quota'] = 'Quota (MB)'; +$PALANG['pAdminList_virtual_mailbox_modified'] = 'Last Modified'; +$PALANG['pAdminList_virtual_mailbox_active'] = 'Active'; + +$PALANG['pAdminCreate_domain_welcome'] = 'Add a new domain'; +$PALANG['pAdminCreate_domain_domain'] = 'Domain'; +$PALANG['pAdminCreate_domain_domain_text_error'] = 'The domain already exists!'; +$PALANG['pAdminCreate_domain_description'] = 'Description'; +$PALANG['pAdminCreate_domain_aliases'] = 'Aliases'; +$PALANG['pAdminCreate_domain_aliases_text'] = '0 = disable | -1 = unlimited'; +$PALANG['pAdminCreate_domain_mailboxes'] = 'Mailboxes'; +$PALANG['pAdminCreate_domain_mailboxes_text'] = '0 = disable | -1 = unlimited'; +$PALANG['pAdminCreate_domain_maxquota'] = 'Max Quota'; +$PALANG['pAdminCreate_domain_maxquota_text'] = 'MB
0 = disable | -1 = unlimited'; +$PALANG['pAdminCreate_domain_defaultaliases'] = 'Add default mail aliases'; +$PALANG['pAdminCreate_domain_button'] = 'Add Domain'; +$PALANG['pAdminCreate_domain_result_error'] = 'Unable to add domain!'; +$PALANG['pAdminCreate_domain_result_succes'] = 'Domain has been added!'; + +$PALANG['pAdminEdit_domain_welcome'] = 'Edit a domain'; +$PALANG['pAdminEdit_domain_domain'] = 'Domain'; +$PALANG['pAdminEdit_domain_description'] = 'Description'; +$PALANG['pAdminEdit_domain_aliases'] = 'Aliases'; +$PALANG['pAdminCreate_domain_aliases_text'] = '0 = disable | -1 = unlimited'; +$PALANG['pAdminEdit_domain_mailboxes'] = 'Mailboxes'; +$PALANG['pAdminCreate_domain_mailboxes_text'] = '0 = disable | -1 = unlimited'; +$PALANG['pAdminEdit_domain_maxquota'] = 'Max Quota'; +$PALANG['pAdminCreate_domain_maxquota_text'] = 'MB
0 = disable | -1 = unlimited'; +$PALANG['pAdminEdit_domain_active'] = 'Active'; +$PALANG['pAdminEdit_domain_button'] = 'Edit Domain'; +$PALANG['pAdminEdit_domain_result_error'] = 'Unable to modify domain!'; + +$PALANG['pAdminCreate_admin_welcome'] = 'Add a new domain admin'; +$PALANG['pAdminCreate_admin_username'] = 'Admin'; +$PALANG['pAdminCreate_admin_username_text'] = 'Email address'; +$PALANG['pAdminCreate_admin_username_text_error1'] = 'Email address
Admin is not a valid email address!'; +$PALANG['pAdminCreate_admin_username_text_error2'] = 'Email address
The admin already exists or is not valid'; +$PALANG['pAdminCreate_admin_password'] = 'Password'; +$PALANG['pAdminCreate_admin_password2'] = 'Password (again)'; +$PALANG['pAdminCreate_admin_password_text_error'] = 'The passwords that you supplied don\'t match!
Or are empty!
'; +$PALANG['pAdminCreate_admin_button'] = 'Add Admin'; +$PALANG['pAdminCreate_admin_result_error'] = 'Unable to add admin!'; +$PALANG['pAdminCreate_admin_result_succes'] = 'Admin has been added!'; +$PALANG['pAdminCreate_admin_address'] = 'Domain'; + +$PALANG['pAdminEdit_admin_welcome'] = 'Edit a domain admin'; +$PALANG['pAdminEdit_admin_username'] = 'Admin'; +$PALANG['pAdminEdit_admin_password'] = 'Password'; +$PALANG['pAdminEdit_admin_password2'] = 'Password (again)'; +$PALANG['pAdminEdit_admin_password_text_error'] = 'The passwords that you supplied don\'t match!
Or are empty!
'; +$PALANG['pAdminEdit_admin_active'] = 'Active'; +$PALANG['pAdminEdit_admin_button'] = 'Edit Admin'; +$PALANG['pAdminEdit_admin_result_error'] = 'Unable to modify admin!'; +$PALANG['pAdminEdit_admin_result_succes'] = 'Admin has been modified!'; + +$PALANG['pUsersLogin_welcome'] = 'Mailbox users login to change your password and aliases.'; +$PALANG['pUsersLogin_username'] = 'Login (email)'; +$PALANG['pUsersLogin_password'] = 'Password'; +$PALANG['pUsersLogin_button'] = 'Login'; +$PALANG['pUsersLogin_username_incorrect'] = 'Your login is not correct. Make sure that you login with your email address!'; +$PALANG['pUsersLogin_password_incorrect'] = 'Your password is not correct!'; + +$PALANG['pUsersMenu_vacation'] = 'Auto Response'; +$PALANG['pUsersMenu_edit_alias'] = 'Change your forward'; +$PALANG['pUsersMenu_password'] = 'Change Password'; + +$PALANG['pUsersMain_welcome'] = 'Change your mailbox settings here!'; +$PALANG['pUsersMain_vacation'] = 'Set an "out of office" message or auto responder for your mail.'; +$PALANG['pUsersMain_edit_alias'] = 'Change your email forwarding.'; +$PALANG['pUsersMain_password'] = 'Change your current password.'; + +$PALANG['pUsersVacation_welcome'] = 'Auto Response.'; +$PALANG['pUsersVacation_welcome_text'] = 'You already have an auto response configured!'; +$PALANG['pUsersVacation_subject'] = 'Subject'; +$PALANG['pUsersVacation_subject_text'] = 'Out of Office'; +$PALANG['pUsersVacation_body'] = 'Body'; +$PALANG['pUsersVacation_body_text'] = << until . +For urgent matters you can contact . +EOM; +$PALANG['pUsersVacation_button_away'] = 'Going Away'; +$PALANG['pUsersVacation_button_back'] = 'Coming Back'; +$PALANG['pUsersVacation_result_error'] = 'Unable to update your auto response settings!'; +$PALANG['pUsersVacation_result_succes'] = 'Your auto response has been removed!'; +?> diff --git a/languages/es.lang b/languages/es.lang new file mode 100644 index 00000000..85e6e270 --- /dev/null +++ b/languages/es.lang @@ -0,0 +1,284 @@ +Imposible borrar el registro '; +$PALANG['pDelete_domain_error'] = 'Este dominio no le pertenece '; + +$PALANG['pCreate_alias_welcome'] = 'Crear un nuevo alias para el dominio.'; +$PALANG['pCreate_alias_address'] = 'Alias'; +$PALANG['pCreate_alias_address_text_error1'] = '
¡El ALIAS no es válido!'; +$PALANG['pCreate_alias_address_text_error2'] = '
¡Esta dirección ya existe, elija otra diferente por favor!'; +$PALANG['pCreate_alias_address_text_error3'] = '
¡Ha llegado a su límite de creación de alias!'; +$PALANG['pCreate_alias_goto'] = 'Destino'; +$PALANG['pCreate_alias_button'] = 'Añadir alias'; +$PALANG['pCreate_alias_goto_text'] = 'A donde debe de ser enviado el e-mail.'; +$PALANG['pCreate_alias_goto_text_error'] = 'A donde debe de ser enviado el e-mail.
¡El PARA no es válido!'; +$PALANG['pCreate_alias_result_error'] = '¡No es posible añadir el alias a la tabla de alias!'; +$PALANG['pCreate_alias_result_succes'] = '¡El alias ha sido añadido a la tabla de alias!'; +$PALANG['pCreate_alias_catchall_text'] = 'Para crear un alias general use "*" como alias.
Para una redirección de dominio a dominio, use "*@domain.tld" como Destino.'; + +$PALANG['pEdit_alias_welcome'] = 'Edite un alias para su dominio.
Una entrada por línea.'; +$PALANG['pEdit_alias_address'] = 'Alias'; +$PALANG['pEdit_alias_address_error'] = '¡Imposible de localizar el alias!'; +$PALANG['pEdit_alias_goto'] = 'Destino'; +$PALANG['pEdit_alias_goto_text_error1'] = 'No ha introducido nada en el destino'; +$PALANG['pEdit_alias_goto_text_error2'] = 'La dirección de e-mail introducida no es válida: '; +$PALANG['pEdit_alias_domain_error'] = 'Este dominio no le pertenece: '; +$PALANG['pEdit_alias_button'] = 'Editar alias'; +$PALANG['pEdit_alias_result_error'] = '¡Imposible modificar el alias!'; + +$PALANG['pCreate_mailbox_welcome'] = 'Crear un nuevo buzón para su dominio.'; +$PALANG['pCreate_mailbox_username'] = 'Usuario'; +$PALANG['pCreate_mailbox_username_text_error1'] = '
¡El e-mail no es válido!'; +$PALANG['pCreate_mailbox_username_text_error2'] = '
¡Este e-mail ya existe, escoja uno diferente por favor!'; +$PALANG['pCreate_mailbox_username_text_error3'] = '
¡Ha llegado al límite de creación de buzones!'; +$PALANG['pCreate_mailbox_password'] = 'Contraseña'; +$PALANG['pCreate_mailbox_password2'] = 'Contraseña (repetir)'; +$PALANG['pCreate_mailbox_password_text'] = 'Contraseña para POP3/IMAP'; +$PALANG['pCreate_mailbox_password_text_error'] = 'Contraseña para POP3/IMAP
¡Las contraseñas introducidas no coinciden
o están en blanco!
'; +$PALANG['pCreate_mailbox_name'] = 'Nombre'; +$PALANG['pCreate_mailbox_name_text'] = 'Nombre completo'; +$PALANG['pCreate_mailbox_quota'] = 'Cuota'; +$PALANG['pCreate_mailbox_quota_text'] = 'MB'; +$PALANG['pCreate_mailbox_quota_text_error'] = 'MB
¡La cuota especificada es demasiado alta!'; +$PALANG['pCreate_mailbox_active'] = 'Activo'; +$PALANG['pCreate_mailbox_mail'] = 'Crear buzón'; +$PALANG['pCreate_mailbox_button'] = 'Añadir buzón'; +$PALANG['pCreate_mailbox_result_error'] = '¡Imposible añadir un buzón a la tabla de buzones!'; +$PALANG['pCreate_mailbox_result_succes'] = '¡El buzón ha sido añadido a la tabla de buzones!'; + +$PALANG['pEdit_mailbox_welcome'] = 'Editar un buzón para su dominio.'; +$PALANG['pEdit_mailbox_username'] = 'Usuario'; +$PALANG['pEdit_mailbox_username_error'] = '¡Imposible localizar el buzón!'; +$PALANG['pEdit_mailbox_password'] = 'Nueva contraseña'; +$PALANG['pEdit_mailbox_password2'] = 'Nueva contraseña (repetir)'; +$PALANG['pEdit_mailbox_password_text_error'] = '¡Las contraseñas introducidas no coinciden!'; +$PALANG['pEdit_mailbox_name'] = 'Nombre'; +$PALANG['pEdit_mailbox_quota'] = 'Cuota'; +$PALANG['pEdit_mailbox_quota_text'] = 'MB'; +$PALANG['pEdit_mailbox_quota_text_error'] = 'MB
¡La cuota especificada es demasiado alta!'; +$PALANG['pEdit_mailbox_domain_error'] = 'Este dominio no le pertenece: '; +$PALANG['pEdit_mailbox_button'] = 'Editar buzón'; +$PALANG['pEdit_mailbox_result_error'] = '¡Imposible cambiar la contraseña!'; + +$PALANG['pPassword_welcome'] = 'Cambie su contraseña de login.'; +$PALANG['pPassword_admin'] = 'Login'; +$PALANG['pPassword_admin_text_error'] = '¡El LOGIN suministrado no coincide con ningún buzón!'; +$PALANG['pPassword_password_current'] = 'Contraseña actual'; +$PALANG['pPassword_password_current_text_error'] = '¡No ha introducido la contraseña actual!'; +$PALANG['pPassword_password'] = 'Nueva contraseña'; +$PALANG['pPassword_password2'] = 'Nueva contraseña (repetir)'; +$PALANG['pPassword_password_text_error'] = '¡Las contraseñas introducidas no coinciden
o están en blanco!
'; +$PALANG['pPassword_button'] = 'Cambiar contraseña'; +$PALANG['pPassword_result_error'] = '¡Imposible cambiar la contraseña!'; +$PALANG['pPassword_result_succes'] = '¡Su contraseña ha sido cambiada!'; + +$PALANG['pViewlog_welcome'] = 'Ver las últimas 10 acciones para '; +$PALANG['pViewlog_timestamp'] = 'Fecha/Hora'; +$PALANG['pViewlog_username'] = 'Administrador'; +$PALANG['pViewlog_domain'] = 'Dominio'; +$PALANG['pViewlog_action'] = 'Acción'; +$PALANG['pViewlog_data'] = 'Datos'; + +$PALANG['pViewlog_button'] = 'Ir'; +$PALANG['pViewlog_result_error'] = '¡Imposible encontrar los logs!'; + +$PALANG['pSendmail_welcome'] = 'Enviar un e-mail.'; +$PALANG['pSendmail_admin'] = 'De'; +$PALANG['pSendmail_to'] = 'Destino'; +$PALANG['pSendmail_to_text_error'] = '¡La dirección destino está vacía o es una dirección inválida!'; +$PALANG['pSendmail_subject'] = 'Asunto'; +$PALANG['pSendmail_subject_text'] = 'Bienvenido'; +$PALANG['pSendmail_body'] = 'Cuerpo'; +$PALANG['pSendmail_body_text'] = << hasta . +Para asuntos urgentes, puede contactar conmigo en . +EOM; +$PALANG['pUsersVacation_button_away'] = 'Ausente'; +$PALANG['pUsersVacation_button_back'] = 'De vuelta'; +$PALANG['pUsersVacation_result_error'] = '¡Imposible actualizar la configuración de su respuesta automática!'; +$PALANG['pUsersVacation_result_succes'] = '¡Su respuesta automática ha sido borrada!'; +?> diff --git a/languages/eu.lang b/languages/eu.lang new file mode 100644 index 00000000..f32d1007 --- /dev/null +++ b/languages/eu.lang @@ -0,0 +1,283 @@ +Ezinezkoa sarrera ezabatzea '; +$PALANG['pDelete_domain_error'] = 'Ez zara domeinu honen jabe'; +$PALANG['pCreate_alias_welcome'] = 'Domeinuarentzat alias berri bat sortu.'; +$PALANG['pCreate_alias_address'] = 'Aliasa'; +$PALANG['pCreate_alias_address_text_error1'] = '
ALIASa okerra da!'; +$PALANG['pCreate_alias_address_text_error2'] = '
Helbide hau existitzen da, ezberdin bat aukera ezazu mesedez!'; +$PALANG['pCreate_alias_address_text_error3'] = '
Alias sortze mugara heldu zara!'; +$PALANG['pCreate_alias_goto'] = 'Norakoa'; +$PALANG['pCreate_alias_button'] = 'Aliasa gehitu'; +$PALANG['pCreate_alias_goto_text'] = 'Nora bidali behar den e-maila.'; +$PALANG['pCreate_alias_goto_text_error'] = 'Nora bidali behar den e-maila.
NORAKO okerra!'; +$PALANG['pCreate_alias_result_error'] = 'Ezinezkoa aliasa alias taulan sartzea!'; +$PALANG['pCreate_alias_result_succes'] = 'Aliasa alias taulan gehituta!'; +$PALANG['pCreate_alias_catchall_text'] = 'Alias orokor bat sortzeko "*" erabil ezazu alias gisa.
Domeinuz domeinurako birbideraketa baterako Norako gisa "*@domain.tld" erabil ezazu.'; + +$PALANG['pEdit_alias_welcome'] = 'Domeinuarentzat aliasa aldatu.
Lerroko sarrera bat.'; +$PALANG['pEdit_alias_address'] = 'Aliasa'; +$PALANG['pEdit_alias_address_error'] = 'Ezinezkoa aliasa aurkitzea!'; +$PALANG['pEdit_alias_goto'] = 'Norakoa'; +$PALANG['pEdit_alias_goto_text_error1'] = 'Norakoan ez duzu ezer jarri'; +$PALANG['pEdit_alias_goto_text_error2'] = 'Sartutako e-mail helbidea baliiogabekoa da: '; +$PALANG['pEdit_alias_domain_error'] = 'Ez zara domeinu honen jabe: '; +$PALANG['pEdit_alias_button'] = 'Aliasa aldatu'; +$PALANG['pEdit_alias_result_error'] = 'Ezinezkoa aliasa aldatzea!'; + +$PALANG['pCreate_mailbox_welcome'] = 'Postontzi berri bat sortu domeinuarentzat.'; +$PALANG['pCreate_mailbox_username'] = 'Erabiltzailea'; +$PALANG['pCreate_mailbox_username_text_error1'] = '
E-maila baliogabekoa da!'; +$PALANG['pCreate_mailbox_username_text_error2'] = '
E-mail hau existitzen da. Ezberdin bat aukera ezazu, mesedez!'; +$PALANG['pCreate_mailbox_username_text_error3'] = '
Postontzi sorkuntza mugara iritsi zara!'; +$PALANG['pCreate_mailbox_password'] = 'Pasahitza'; +$PALANG['pCreate_mailbox_password2'] = 'Pasahitza (errepikatu)'; +$PALANG['pCreate_mailbox_password_text'] = 'POP3/IMAP-entzat pasahitza'; +$PALANG['pCreate_mailbox_password_text_error'] = 'POP3/IMAP-entzat pasahitza
Sartutako pasahitzak ez datoz bat
edo zuriz daude!
'; +$PALANG['pCreate_mailbox_name'] = 'Izena'; +$PALANG['pCreate_mailbox_name_text'] = 'Izen osoa'; +$PALANG['pCreate_mailbox_quota'] = 'Kuota'; +$PALANG['pCreate_mailbox_quota_text'] = 'MB'; +$PALANG['pCreate_mailbox_quota_text_error'] = 'MB
Zehazturiko kuota altuegia da!'; +$PALANG['pCreate_mailbox_active'] = 'Aktibatua'; +$PALANG['pCreate_mailbox_mail'] = 'Postontzia sortu'; +$PALANG['pCreate_mailbox_button'] = 'Postontzia gehitu'; +$PALANG['pCreate_mailbox_result_error'] = 'Ezinezkoa postontzi taulara postontzia gehitzea!'; +$PALANG['pCreate_mailbox_result_succes'] = 'Postontzia postontzi taulara sartu da!'; + +$PALANG['pEdit_mailbox_welcome'] = 'Domeinuarentzat postontzi bat aldatu.'; +$PALANG['pEdit_mailbox_username'] = 'Erabiltzailea'; +$PALANG['pEdit_mailbox_username_error'] = 'Ezinezkoa postontzia aurkitzea!'; +$PALANG['pEdit_mailbox_password'] = 'Pasahitz berria'; +$PALANG['pEdit_mailbox_password2'] = 'Pasahitz berria (errepikatu)'; +$PALANG['pEdit_mailbox_password_text_error'] = 'Sartutako pasahitzak ez datoz bat!'; +$PALANG['pEdit_mailbox_name'] = 'Izena'; +$PALANG['pEdit_mailbox_quota'] = 'Kuota'; +$PALANG['pEdit_mailbox_quota_text'] = 'MB'; +$PALANG['pEdit_mailbox_quota_text_error'] = 'MB
Zehazturiko kuota altuegia da!'; +$PALANG['pEdit_mailbox_domain_error'] = 'Ez zara domeinu honen jabe: '; +$PALANG['pEdit_mailbox_button'] = 'Postontzia aldatu'; +$PALANG['pEdit_mailbox_result_error'] = 'Ezinezkoa pasahitza aldatzea!'; + +$PALANG['pPassword_welcome'] = 'Login pasahitza aldatu.'; +$PALANG['pPassword_admin'] = 'Login'; +$PALANG['pPassword_admin_text_error'] = 'Emandako LOGINa ez dator inolako postontziekin bat!'; +$PALANG['pPassword_password_current'] = 'Egungo pasahitza'; +$PALANG['pPassword_password_current_text_error'] = 'Ez duzu egungo pasahitzik sartu!'; +$PALANG['pPassword_password'] = 'Pasahitz berria'; +$PALANG['pPassword_password2'] = 'Pasahitz berria (errepikatu)'; +$PALANG['pPassword_password_text_error'] = 'Sarturiko pasahitzak ez datoz bat
edo zuriz daude!
'; +$PALANG['pPassword_button'] = 'Pasahitza aldatu'; +$PALANG['pPassword_result_error'] = 'Ezinezkoa pasahitza aldatzea!'; +$PALANG['pPassword_result_succes'] = 'Pasahitza aldatuta!'; + +$PALANG['pViewlog_welcome'] = 'Honen azken 10 ekintzak ikusi '; +$PALANG['pViewlog_timestamp'] = 'Data/ordua'; +$PALANG['pViewlog_username'] = 'Kudeatzailea'; +$PALANG['pViewlog_domain'] = 'Domeinua'; +$PALANG['pViewlog_action'] = 'Ekintza'; +$PALANG['pViewlog_data'] = 'Datuak'; + +$PALANG['pViewlog_button'] = 'Joan'; +$PALANG['pViewlog_result_error'] = 'Ezinezkoa logak aurkitzea!'; + +$PALANG['pSendmail_welcome'] = 'e-mail bat bidali.'; +$PALANG['pSendmail_admin'] = 'Igorlea'; +$PALANG['pSendmail_to'] = 'Norakoa'; +$PALANG['pSendmail_to_text_error'] = 'Norako helbidea hutsa dago edo okerra da!'; +$PALANG['pSendmail_subject'] = 'Gaia'; +$PALANG['pSendmail_subject_text'] = 'Ongi etorri'; +$PALANG['pSendmail_body'] = 'Gorputza'; +$PALANG['pSendmail_body_text'] = <<-tik arte kanpoan egongo naiz. +Larrialdiko gaientzat, hemen kontakta dezakezu nirekin. +EOM; +$PALANG['pUsersVacation_button_away'] = 'Aldeginda'; +$PALANG['pUsersVacation_button_back'] = 'Itzulita'; +$PALANG['pUsersVacation_result_error'] = 'Ezinezkoa zure erantzun atomatikoaren konfigurazioa eguneratzea!'; +$PALANG['pUsersVacation_result_succes'] = 'Zure erantzun automatikoa borratu da!'; +?> diff --git a/languages/fi.lang b/languages/fi.lang new file mode 100644 index 00000000..840a2ee6 --- /dev/null +++ b/languages/fi.lang @@ -0,0 +1,283 @@ +Tietueen poisto ei onnistu '; +$PALANG['pDelete_domain_error'] = 'Tämä ei ole sinun domainisi '; + +$PALANG['pCreate_alias_welcome'] = 'Luo uusi alias domainiisi.'; +$PALANG['pCreate_alias_address'] = 'Alias'; +$PALANG['pCreate_alias_address_text_error1'] = '
Alias ei ole oikean muotoinen!'; +$PALANG['pCreate_alias_address_text_error2'] = '
Tämä sähköpostiosoite on jo käytössä, ole hyvä ja valitse jokin toinen!'; +$PALANG['pCreate_alias_address_text_error3'] = '
Aliasten maksimimäärä saavutettu. Et voi lisätä aliaksia enää!'; +$PALANG['pCreate_alias_goto'] = 'Kenelle'; +$PALANG['pCreate_alias_button'] = 'Lisää alias'; +$PALANG['pCreate_alias_goto_text'] = 'Minne posti lähetetään.'; +$PALANG['pCreate_alias_goto_text_error'] = 'Minne sähköposti lähetetään.
"Kenelle" osoite ei ole oikean muotoinen!'; +$PALANG['pCreate_alias_result_error'] = 'Aliaksen lisäys alias tauluun epäonnistui!'; +$PALANG['pCreate_alias_result_succes'] = 'Alias on lisätty!'; +$PALANG['pCreate_alias_catchall_text'] = 'Jos haluat luoda catch-all osoitteen käytä "*" merkkiä aliaksena.
Ohjaus domainista domainiin tapahtuu käyttämällä "*@domain.tld" Kenelle: -osoitteena.'; +$PALANG['pEdit_alias_welcome'] = 'Muokkaa domainisi aliasta.
Yksi kohta per rivi.'; +$PALANG['pEdit_alias_address'] = 'Alias'; +$PALANG['pEdit_alias_address_error'] = 'Aliasta ei löydy!'; +$PALANG['pEdit_alias_goto'] = 'Kenelle'; +$PALANG['pEdit_alias_goto_text_error1'] = 'Et kirjoitanut mitään Kenelle: -riville'; +$PALANG['pEdit_alias_goto_text_error2'] = 'Antamasi sähköpostiosoite ei ole oikean muotoinen: '; +$PALANG['pEdit_alias_domain_error'] = 'Tämä ei ole sinun domainisi: '; +$PALANG['pEdit_alias_button'] = 'Muokkaa aliasta'; +$PALANG['pEdit_alias_result_error'] = 'Aliasta ei voi muokata!'; + +$PALANG['pCreate_mailbox_welcome'] = 'Luo uusi paikallinen postilaatikko domainiisi.'; +$PALANG['pCreate_mailbox_username'] = 'Käyttäjätunnus'; +$PALANG['pCreate_mailbox_username_text_error1'] = '
Sähköpostiosoite ei ole oikean muotoinen!'; +$PALANG['pCreate_mailbox_username_text_error2'] = '
Sähköpostiosoite on jo käytössä, ole hyvä ja valitse jokin toinen!'; +$PALANG['pCreate_mailbox_username_text_error3'] = '
Postilaatikoiden maksimimäärä saavutettu!'; +$PALANG['pCreate_mailbox_password'] = 'Salasana'; +$PALANG['pCreate_mailbox_password2'] = 'Salasana (toistamiseen)'; +$PALANG['pCreate_mailbox_password_text'] = 'POP3/IMAP salasana'; +$PALANG['pCreate_mailbox_password_text_error'] = 'POP3/IMAP salasana
Antamasi salasanat eivät täsmää!
tai ne ovat tyhjät!
'; +$PALANG['pCreate_mailbox_name'] = 'Nimi'; +$PALANG['pCreate_mailbox_name_text'] = 'Koko nimi'; +$PALANG['pCreate_mailbox_quota'] = 'Kiintiö'; +$PALANG['pCreate_mailbox_quota_text'] = 'MB'; +$PALANG['pCreate_mailbox_quota_text_error'] = 'MB
Antamasi kiintiö on liian korkea!'; +$PALANG['pCreate_mailbox_active'] = 'Aktiivinen'; +$PALANG['pCreate_mailbox_mail'] = 'Luo postilaatikko'; +$PALANG['pCreate_mailbox_button'] = 'Lisää postilaatikko'; +$PALANG['pCreate_mailbox_result_error'] = 'Postilaatikon lisääminen ei onnistu!'; +$PALANG['pCreate_mailbox_result_succes'] = 'Postilaatikko on lisätty!'; + +$PALANG['pEdit_mailbox_welcome'] = 'Muokkaa domainisi postilaatikkoa.'; +$PALANG['pEdit_mailbox_username'] = 'Käyttäjätunnus'; +$PALANG['pEdit_mailbox_username_error'] = 'Postilaatikkoa ei löydy!'; +$PALANG['pEdit_mailbox_password'] = 'Uusi salasana'; +$PALANG['pEdit_mailbox_password2'] = 'Uusi salasana (toistamiseen)'; +$PALANG['pEdit_mailbox_password_text_error'] = 'Antamasi salasanat eivät täsmää!'; +$PALANG['pEdit_mailbox_name'] = 'Nimi'; +$PALANG['pEdit_mailbox_quota'] = 'Kiintiö'; +$PALANG['pEdit_mailbox_quota_text'] = 'MB'; +$PALANG['pEdit_mailbox_quota_text_error'] = 'MB
Antamasi kiintiö on liian korkea!'; +$PALANG['pEdit_mailbox_domain_error'] = 'Tämä domaini ei ole sinun: '; +$PALANG['pEdit_mailbox_button'] = 'Muokkaa postilaatikkoa'; +$PALANG['pEdit_mailbox_result_error'] = 'Salasanan vaihto ei onnistunut!'; + +$PALANG['pPassword_welcome'] = 'Vaihda tunnuksesi salasanaa.'; +$PALANG['pPassword_admin'] = 'Tunnus'; +$PALANG['pPassword_admin_text_error'] = 'Antamaasi tunnusta ei ole olemassa!'; +$PALANG['pPassword_password_current'] = 'Nykyinen salasanasi'; +$PALANG['pPassword_password_current_text_error'] = 'Et antanut nykyistä salasanaasi!'; +$PALANG['pPassword_password'] = 'Uusi salasana'; +$PALANG['pPassword_password2'] = 'Uusi salasana (toistamiseen)'; +$PALANG['pPassword_password_text_error'] = 'Antamasi salasanat eivät täsmää!
Tai ovat tyhjiä!
'; +$PALANG['pPassword_button'] = 'Vaihda salasana'; +$PALANG['pPassword_result_error'] = 'Salasanan vaihto ei onnistunut!'; +$PALANG['pPassword_result_succes'] = 'Salasana vaihdettu!'; + +$PALANG['pViewlog_welcome'] = 'Näytä viimeiset kymmenen tapahtumaa domainille '; +$PALANG['pViewlog_timestamp'] = 'Aikaleima'; +$PALANG['pViewlog_username'] = 'Admin'; +$PALANG['pViewlog_domain'] = 'Domain'; +$PALANG['pViewlog_action'] = 'Tapahtuma'; +$PALANG['pViewlog_data'] = 'Tiedot'; + +$PALANG['pViewlog_button'] = 'Siirry'; +$PALANG['pViewlog_result_error'] = 'Lokeja ei löydy!'; + +$PALANG['pSendmail_welcome'] = 'Lähetä sähköpostia.'; +$PALANG['pSendmail_admin'] = 'Keneltä'; +$PALANG['pSendmail_to'] = 'Kenelle'; +$PALANG['pSendmail_to_text_error'] = 'Kenelle on tyhjä tai osoite ei ole toimiva sähköpostiosoite!'; +$PALANG['pSendmail_subject'] = 'Otsikko'; +$PALANG['pSendmail_subject_text'] = 'Tervetuloa'; +$PALANG['pSendmail_body'] = 'Viesti'; +$PALANG['pSendmail_body_text'] = << välisen ajan. +Kiireellisissä asioissa voitte ottaa yhteyttä . +EOM; +$PALANG['pUsersVacation_button_away'] = 'Lomalle'; +$PALANG['pUsersVacation_button_back'] = 'Takaisin lomalta'; +$PALANG['pUsersVacation_result_error'] = 'Automaattivastauksen asettaminen epäonnistui!'; +$PALANG['pUsersVacation_result_succes'] = 'Automaattivastaus on poistettu käytöstä!'; +?> diff --git a/languages/fo.lang b/languages/fo.lang new file mode 100644 index 00000000..62a146a7 --- /dev/null +++ b/languages/fo.lang @@ -0,0 +1,289 @@ +Fái ikki strikað '; +$PALANG['pDelete_domain_error'] = 'Hetta er ikki títt navnaøki '; + +$PALANG['pCreate_alias_welcome'] = 'Stovna eitt nýtt dulnevni á tínum navnaøki.'; +$PALANG['pCreate_alias_address'] = 'Dulnevni'; +$PALANG['pCreate_alias_address_text_error1'] = '
DULNEVNI er ógyldugt!'; +$PALANG['pCreate_alias_address_text_error2'] = '
Hendan e-post adressa finst longu, vinarliga vel eina aðra!'; +$PALANG['pCreate_alias_address_text_error3'] = '
Tú hevur nátt tínum marki at stovna dulnevni!'; +$PALANG['pCreate_alias_goto'] = 'Til'; +$PALANG['pCreate_alias_button'] = 'Stovna Dulnevni'; +$PALANG['pCreate_alias_goto_text'] = 'Har posturin skal sendast til.'; +$PALANG['pCreate_alias_goto_text_error'] = 'Har posturin verður sendur til.
TIL er ógyldugt!'; +$PALANG['pCreate_alias_result_error'] = 'Fái ikki stovnað dulnevni!'; +$PALANG['pCreate_alias_result_succes'] = 'Dulnevni er stovnað!'; +$PALANG['pCreate_alias_catchall_text'] = 'Fyri at stovna eitt ið fangar alt, brúka eina "*" sum dulnevni.
Fyri navnaøki til navnaøki víðarisending brúka "*@navnaøki.fo" til hetta.'; + +$PALANG['pEdit_alias_welcome'] = 'Broyt eitt dulnevni á tínum navnaøki.
Eina adressu pr. linju.'; +$PALANG['pEdit_alias_address'] = 'Dulnevni'; +$PALANG['pEdit_alias_address_error'] = 'Finni ikki dulnevni!'; +$PALANG['pEdit_alias_goto'] = 'Til'; +$PALANG['pEdit_alias_goto_text_error1'] = 'Tú skrivaði onki í Til teigin'; +$PALANG['pEdit_alias_goto_text_error2'] = 'E-post adressan tú skrivaði er ógyldug: '; +$PALANG['pEdit_alias_domain_error'] = 'Hetta navnaøki er ikki títt: '; +$PALANG['pEdit_alias_button'] = 'Broyt Dulnevni'; +$PALANG['pEdit_alias_result_error'] = 'Fái ikki broytt dulnevni!'; + +$PALANG['pCreate_mailbox_welcome'] = 'Stovna ein nýggjan postkassa á tínum navnaøki.'; +$PALANG['pCreate_mailbox_username'] = 'Brúkaranavn'; +$PALANG['pCreate_mailbox_username_text_error1'] = '
E-post adressan er ógyldug!'; +$PALANG['pCreate_mailbox_username_text_error2'] = '
Hendan e-post adressan finst longu, vinarliga vel eina aðra!'; +$PALANG['pCreate_mailbox_username_text_error3'] = '
Tú hevur nýtt tínum marki at stovna postkassar!'; +$PALANG['pCreate_mailbox_password'] = 'Loyniorð'; +$PALANG['pCreate_mailbox_password2'] = 'Loyniorð (umaftur)'; +$PALANG['pCreate_mailbox_password_text'] = 'Loyniorð til POP3/IMAP'; +$PALANG['pCreate_mailbox_password_text_error'] = 'Loyniorð til POP3/IMAP
Loyniorðini tú skrivaði samsvara ikki!
Ella eru tóm!
'; +$PALANG['pCreate_mailbox_name'] = 'Navn'; +$PALANG['pCreate_mailbox_name_text'] = 'Fult navn'; +$PALANG['pCreate_mailbox_quota'] = 'Kvota'; +$PALANG['pCreate_mailbox_quota_text'] = 'MB'; +$PALANG['pCreate_mailbox_quota_text_error'] = 'MB
Kvotan tú skrivaði er ov høg!'; +$PALANG['pCreate_mailbox_active'] = 'Virkin'; +$PALANG['pCreate_mailbox_mail'] = 'Stovna postkassa'; +$PALANG['pCreate_mailbox_button'] = 'Stovna postkassa'; +$PALANG['pCreate_mailbox_result_error'] = 'Fái ikki stovnað postkassa!'; +$PALANG['pCreate_mailbox_result_succes'] = 'Postkassin er stovnaður!'; + +$PALANG['pEdit_mailbox_welcome'] = 'Broyt postkassa á tínum navnaøki.'; +$PALANG['pEdit_mailbox_username'] = 'Brúkaranavn'; +$PALANG['pEdit_mailbox_username_error'] = 'Finni ikki postkassa!'; +$PALANG['pEdit_mailbox_password'] = 'Nýtt loyniorð'; +$PALANG['pEdit_mailbox_password2'] = 'Nýtt loyniorð (umaftur)'; +$PALANG['pEdit_mailbox_password_text_error'] = 'Loyniorðini tú skrivaði samsvara ikki!'; +$PALANG['pEdit_mailbox_name'] = 'Navn'; +$PALANG['pEdit_mailbox_quota'] = 'Kvota'; +$PALANG['pEdit_mailbox_quota_text'] = 'MB'; +$PALANG['pEdit_mailbox_quota_text_error'] = 'MB
Kvotan tú skrivaði er ov høg!'; +$PALANG['pEdit_mailbox_domain_error'] = 'Hetta navnaøki er ikki títt: '; +$PALANG['pEdit_mailbox_button'] = 'Broyt postkassa'; +$PALANG['pEdit_mailbox_result_error'] = 'Fái ikki broytt loyniorðið!'; + +$PALANG['pPassword_welcome'] = 'Broyt títt login loyniorð.'; +$PALANG['pPassword_admin'] = 'Logga inn'; +$PALANG['pPassword_admin_text_error'] = 'Navnið tú skrivaði samsvarar ikki við nakran postkassa!'; +$PALANG['pPassword_password_current'] = 'Núverandi loyniorð'; +$PALANG['pPassword_password_current_text_error'] = 'Tú skrivaði ikki títt núverandi loyniorð!'; +$PALANG['pPassword_password'] = 'Nýtt loyniorð'; +$PALANG['pPassword_password2'] = 'Nýtt loyniorð (umaftur)'; +$PALANG['pPassword_password_text_error'] = 'Loyniorðini tú skrivaði samsvara ikki!
Ella eru tóm!
'; +$PALANG['pPassword_button'] = 'Broyt loyniorð'; +$PALANG['pPassword_result_error'] = 'Fái ikki broytt títt loyniorð!'; +$PALANG['pPassword_result_succes'] = 'Títt loyniorð er broytt!'; + +$PALANG['pViewlog_welcome'] = 'Vís seinastu 10 hendingarnar fyri '; +$PALANG['pViewlog_timestamp'] = 'Tíðarstempul'; +$PALANG['pViewlog_username'] = 'Umsitari'; +$PALANG['pViewlog_domain'] = 'Navnaøki'; +$PALANG['pViewlog_action'] = 'Hending'; +$PALANG['pViewlog_data'] = 'Dáta'; + +$PALANG['pViewlog_button'] = 'Vel'; +$PALANG['pViewlog_result_error'] = 'Finni ikki loggarnar!'; + +$PALANG['pSendmail_welcome'] = 'Send ein e-post.'; +$PALANG['pSendmail_admin'] = 'Frá'; +$PALANG['pSendmail_to'] = 'Til'; +$PALANG['pSendmail_to_text_error'] = 'Til er tómt ella ógyldug e-post adressa!'; +$PALANG['pSendmail_subject'] = 'Evni'; +$PALANG['pSendmail_subject_text'] = 'Vælkomin'; +$PALANG['pSendmail_body'] = 'Boð'; +$PALANG['pSendmail_body_text'] = << until . + +For urgent matters you can contact . + +--- + +Títt navn +EOM; +$PALANG['pUsersVacation_button_away'] = 'Burtur'; +$PALANG['pUsersVacation_button_back'] = 'Heima'; +$PALANG['pUsersVacation_result_error'] = 'Fái ikki broytt tínar frítíðarboð uppsetingar!'; +$PALANG['pUsersVacation_result_succes'] = 'Títt frítíðarboð er strikað!'; +?> diff --git a/languages/fr.lang b/languages/fr.lang new file mode 100644 index 00000000..b0269792 --- /dev/null +++ b/languages/fr.lang @@ -0,0 +1,283 @@ +Impossible d\'éffacer cette entrée '; +$PALANG['pDelete_domain_error'] = 'Ce domaine n\'est pas le votre '; + +$PALANG['pCreate_alias_welcome'] = 'Créer un nouveau alias pour votre domaine.'; +$PALANG['pCreate_alias_address'] = 'Alias'; +$PALANG['pCreate_alias_address_text_error1'] = '
Cet ALIAS n\'est pas valide!'; +$PALANG['pCreate_alias_address_text_error2'] = '
Ce couriel existe deja, svp choisissez-en un autre!'; +$PALANG['pCreate_alias_address_text_error3'] = '
Vous avez atteint votre limite d\'aliases!'; +$PALANG['pCreate_alias_goto'] = 'A'; +$PALANG['pCreate_alias_button'] = 'Ajouter un alias'; +$PALANG['pCreate_alias_goto_text'] = 'Envoyer les couriels A.'; +$PALANG['pCreate_alias_goto_text_error'] = 'Ou les couriels doivent aller.
A est invalide!'; +$PALANG['pCreate_alias_result_error'] = 'Impossible d\'ajouter un alias dans la table!'; +$PALANG['pCreate_alias_result_succes'] = 'L\'alias a été ajouté!'; +$PALANG['pCreate_alias_catchall_text'] = 'Pour ajouter un alias global tout, utilisez "*".
Pour un transfert de domaine à domaine, utilisez "*@domain.tld" dans le champs A.'; + +$PALANG['pEdit_alias_welcome'] = 'Modifier un alias dans votre domaine.
Une entrée par ligne.'; +$PALANG['pEdit_alias_address'] = 'Alias'; +$PALANG['pEdit_alias_address_error'] = 'Impossible de localiser l\'alias!'; +$PALANG['pEdit_alias_goto'] = 'A'; +$PALANG['pEdit_alias_goto_text_error1'] = 'Vous devez entrer quelques choses dans le champs À'; +$PALANG['pEdit_alias_goto_text_error2'] = 'Le couriel que vous avez entré est invalide: '; +$PALANG['pEdit_alias_domain_error'] = 'Ce domaine n\'est pas le votre: '; +$PALANG['pEdit_alias_button'] = 'Modifier cet alias'; +$PALANG['pEdit_alias_result_error'] = 'Impossible de modifier cet alias!'; + +$PALANG['pCreate_mailbox_welcome'] = 'Ajouter un nouveau compte couriel dans votre domaine.'; +$PALANG['pCreate_mailbox_username'] = 'Nom d\'utilisateur'; +$PALANG['pCreate_mailbox_username_text_error1'] = '
Le couriel est invalide!'; +$PALANG['pCreate_mailbox_username_text_error2'] = '
Ce couriel existe deja, svp entrez un autre couriel!'; +$PALANG['pCreate_mailbox_username_text_error3'] = '
Vous avez atteint la limite de compte couriel!'; +$PALANG['pCreate_mailbox_password'] = 'Mot de passe'; +$PALANG['pCreate_mailbox_password2'] = 'Mote de passe(confirmation)'; +$PALANG['pCreate_mailbox_password_text'] = 'Mot de passe pour compte POP3/IMAP'; +$PALANG['pCreate_mailbox_password_text_error'] = 'Mot de passe pour compte POP3/IMAP
Le mot de passe ne correspond pas!
ou est vide!
'; +$PALANG['pCreate_mailbox_name'] = 'Nom'; +$PALANG['pCreate_mailbox_name_text'] = 'Nom complet'; +$PALANG['pCreate_mailbox_quota'] = 'Limite'; +$PALANG['pCreate_mailbox_quota_text'] = 'MB'; +$PALANG['pCreate_mailbox_quota_text_error'] = 'MB
La limite que vous avez specifie est trop haute!'; +$PALANG['pCreate_mailbox_active'] = 'Actif'; +$PALANG['pCreate_mailbox_mail'] = 'Ajouter un compte couriel'; +$PALANG['pCreate_mailbox_button'] = 'Ajouter un compte couriel'; +$PALANG['pCreate_mailbox_result_error'] = 'Impossible d\'ajouter un compte couriel dans la table!'; +$PALANG['pCreate_mailbox_result_succes'] = 'Le compte couriel a été ajouté!'; + +$PALANG['pEdit_mailbox_welcome'] = 'Modifier un compte couriel.'; +$PALANG['pEdit_mailbox_username'] = 'Nom d\'utilisateur'; +$PALANG['pEdit_mailbox_username_error'] = 'Impossible de localiser le compte couriel!'; +$PALANG['pEdit_mailbox_password'] = 'Nouveau mot de passe'; +$PALANG['pEdit_mailbox_password2'] = 'Nouveau mot de passe(confirmation)'; +$PALANG['pEdit_mailbox_password_text_error'] = 'Le mot de passe entré ne correspond pas!'; +$PALANG['pEdit_mailbox_name'] = 'Nom'; +$PALANG['pEdit_mailbox_quota'] = 'Limite'; +$PALANG['pEdit_mailbox_quota_text'] = 'MB'; +$PALANG['pEdit_mailbox_quota_text_error'] = 'MB
La limite fournit est trop haute!'; +$PALANG['pEdit_mailbox_domain_error'] = 'Ce domaine n\'est pas le votre: '; +$PALANG['pEdit_mailbox_button'] = 'Modifier un compte couriel'; +$PALANG['pEdit_mailbox_result_error'] = 'Impossible de changer votre mot de passe!'; + +$PALANG['pPassword_welcome'] = 'Changer votre mot de passe.'; +$PALANG['pPassword_admin'] = 'Entrer'; +$PALANG['pPassword_admin_text_error'] = 'Les informations entrées ne correspondent pas a un compte couriel!'; +$PALANG['pPassword_password_current'] = 'Mot de passe present'; +$PALANG['pPassword_password_current_text_error'] = 'Vous n\'avez pas fournit de mot de passe present!'; +$PALANG['pPassword_password'] = 'Nouveau mot de passe'; +$PALANG['pPassword_password2'] = 'Nouveau mot de passe(confirmation)'; +$PALANG['pPassword_password_text_error'] = 'Le mot de passe fournit ne correspond pas!
Ou est vide!
'; +$PALANG['pPassword_button'] = 'Changer mot de passe'; +$PALANG['pPassword_result_error'] = 'Impossible de changer votre mot de passe!'; +$PALANG['pPassword_result_succes'] = 'Votre mot de passe a ete change!'; + +$PALANG['pViewlog_welcome'] = 'Visualiser les 10 dernières action pour '; +$PALANG['pViewlog_timestamp'] = 'Date/Heure'; +$PALANG['pViewlog_username'] = 'Administrateur'; +$PALANG['pViewlog_domain'] = 'Domaine'; +$PALANG['pViewlog_action'] = 'Action'; +$PALANG['pViewlog_data'] = 'Information'; + +$PALANG['pViewlog_button'] = 'Aller'; +$PALANG['pViewlog_result_error'] = 'Impossible de trouver les événements!'; + +$PALANG['pSendmail_welcome'] = 'Envoyer un couriel.'; +$PALANG['pSendmail_admin'] = 'De'; +$PALANG['pSendmail_to'] = 'A'; +$PALANG['pSendmail_to_text_error'] = 'A est vide ou ce n\'est pas un couriel valide!'; +$PALANG['pSendmail_subject'] = 'Sujet'; +$PALANG['pSendmail_subject_text'] = 'Bienvenue'; +$PALANG['pSendmail_body'] = 'Message'; +$PALANG['pSendmail_body_text'] = <<'; +$PALANG['pSendmail_result_succes'] = 'Le message a été envoyé!'; + +$PALANG['pVcp_welcome'] = 'Changer votre mot de passe de votre compte couriel.'; +$PALANG['pVcp_username'] = 'Couriel'; +$PALANG['pVcp_username_text_error'] = 'Le couriel fournit ne correspond pas à un compte couriel!'; +$PALANG['pVcp_password_current'] = 'Mot de passe présent'; +$PALANG['pVcp_password_current_text_error'] = 'Vous n\'avez pas fourni votre mot de passe present!'; +$PALANG['pVcp_password'] = 'Nouveau mot de passe'; +$PALANG['pVcp_password2'] = 'Nouveau mot de passe(confirmation)'; +$PALANG['pVcp_password_text_error'] = 'Le mot de passe entré ne correspond pas
Ou est vide
'; +$PALANG['pVcp_button'] = 'Modifier mot de passe'; +$PALANG['pVcp_result_error'] = 'Impossible de changer votre mot de passe!'; +$PALANG['pVcp_result_succes'] = 'Votre mot de passe a été changé!'; + +$PALANG['pAdminMenu_list_admin'] = 'Liste Administrateur'; +$PALANG['pAdminMenu_list_domain'] = 'Liste Domaine'; +$PALANG['pAdminMenu_list_virtual'] = 'Liste Virtuel'; +$PALANG['pAdminMenu_viewlog'] = 'Visualiser événement'; +$PALANG['pAdminMenu_backup'] = 'Sauvegarde'; +$PALANG['pAdminMenu_create_domain_admins'] = 'Administrateurs de domaines'; +$PALANG['pAdminMenu_create_admin'] = 'Nouveau administrateur'; +$PALANG['pAdminMenu_create_domain'] = 'Nouveau domaine'; +$PALANG['pAdminMenu_create_alias'] = 'Ajouter un Alias'; +$PALANG['pAdminMenu_create_mailbox'] = 'Ajouter un compte couriel'; + +$PALANG['pAdminList_admin_domain'] = 'Domaine'; +$PALANG['pAdminList_admin_username'] = 'Administrateur'; +$PALANG['pAdminList_admin_count'] = 'Domaines'; +$PALANG['pAdminList_admin_modified'] = 'Dernière modification'; +$PALANG['pAdminList_admin_active'] = 'Actif'; + +$PALANG['pAdminList_domain_domain'] = 'Domaine'; +$PALANG['pAdminList_domain_description'] = 'Description'; +$PALANG['pAdminList_domain_aliases'] = 'Aliases'; +$PALANG['pAdminList_domain_mailboxes'] = 'Comptes couriels'; +$PALANG['pAdminList_domain_maxquota'] = 'Limite maximum (MB)'; +$PALANG['pAdminList_domain_modified'] = 'Dernière modification'; +$PALANG['pAdminList_domain_active'] = 'Actif'; + +$PALANG['pAdminList_virtual_button'] = 'Aller'; +$PALANG['pAdminList_virtual_welcome'] = 'Vue général pour '; +$PALANG['pAdminList_virtual_alias_alias_count'] = 'Aliases'; +$PALANG['pAdminList_virtual_alias_mailbox_count'] = 'Comptes couriels'; +$PALANG['pAdminList_virtual_alias_address'] = 'De'; +$PALANG['pAdminList_virtual_alias_goto'] = 'A'; +$PALANG['pAdminList_virtual_alias_modified'] = 'Dernière modification'; +$PALANG['pAdminList_virtual_mailbox_username'] = 'Couriel'; +$PALANG['pAdminList_virtual_mailbox_name'] = 'Nom'; +$PALANG['pAdminList_virtual_mailbox_quota'] = 'Limite (MB)'; +$PALANG['pAdminList_virtual_mailbox_modified'] = 'Dernière modification'; +$PALANG['pAdminList_virtual_mailbox_active'] = 'Actif'; + +$PALANG['pAdminCreate_domain_welcome'] = 'Ajouter un nouveau domaine'; +$PALANG['pAdminCreate_domain_domain'] = 'Domaine'; +$PALANG['pAdminCreate_domain_domain_text_error'] = 'Le domaine existe deja!'; +$PALANG['pAdminCreate_domain_description'] = 'Description'; +$PALANG['pAdminCreate_domain_aliases'] = 'Aliases'; +$PALANG['pAdminCreate_domain_aliases_text'] = '0 = désactiver | -1 = infini'; +$PALANG['pAdminCreate_domain_mailboxes'] = 'Comptes couriels'; +$PALANG['pAdminCreate_domain_mailboxes_text'] = '0 = désactiver | -1 = infini'; +$PALANG['pAdminCreate_domain_maxquota'] = 'Limite maximum'; +$PALANG['pAdminCreate_domain_maxquota_text'] = 'MB
0 = désactiver | -1 = infini'; +$PALANG['pAdminCreate_domain_defaultaliases'] = 'Ajouter les aliases par defaut'; +$PALANG['pAdminCreate_domain_button'] = 'Ajouter un domaine'; +$PALANG['pAdminCreate_domain_result_error'] = 'Impossible d\'ajouter le domaine!'; +$PALANG['pAdminCreate_domain_result_succes'] = 'Le domaine a été ajouté!'; + +$PALANG['pAdminEdit_domain_welcome'] = 'Modifier un domaine'; +$PALANG['pAdminEdit_domain_domain'] = 'Domaine'; +$PALANG['pAdminEdit_domain_description'] = 'Description'; +$PALANG['pAdminEdit_domain_aliases'] = 'Aliases'; +$PALANG['pAdminCreate_domain_aliases_text'] = '0 = désactiver | -1 = infini'; +$PALANG['pAdminEdit_domain_mailboxes'] = 'Comptes couriels'; +$PALANG['pAdminCreate_domain_mailboxes_text'] = '0 = désactiver | -1 = infini'; +$PALANG['pAdminEdit_domain_maxquota'] = 'Limite maximum'; +$PALANG['pAdminCreate_domain_maxquota_text'] = 'MB
0 = désactiver | -1 = infini'; +$PALANG['pAdminEdit_domain_active'] = 'Actif'; +$PALANG['pAdminEdit_domain_button'] = 'Modifier un domaine'; +$PALANG['pAdminEdit_domain_result_error'] = 'Impossible de moficier le domain!'; + +$PALANG['pAdminCreate_admin_welcome'] = 'Ajouter un nouveau administrateur de domaine'; +$PALANG['pAdminCreate_admin_username'] = 'Administrateur'; +$PALANG['pAdminCreate_admin_username_text'] = 'Couriel'; +$PALANG['pAdminCreate_admin_username_text_error1'] = 'Ce n\'est pas un couriel administrateur valide!'; +$PALANG['pAdminCreate_admin_username_text_error2'] = 'Cet administrateur existe déjà ou n\'est pas valide'; +$PALANG['pAdminCreate_admin_password'] = 'Mot de passe'; +$PALANG['pAdminCreate_admin_password2'] = 'Mot de passe (confirmation)'; +$PALANG['pAdminCreate_admin_password_text_error'] = 'Le mot de passe fournit ne correspond pas
ou est vide!
'; +$PALANG['pAdminCreate_admin_button'] = 'Ajouter un administrateur'; +$PALANG['pAdminCreate_admin_result_error'] = 'Impossible d\'ajouter un administrateur!'; +$PALANG['pAdminCreate_admin_result_succes'] = 'L\'administrateur a été ajouté!'; +$PALANG['pAdminCreate_admin_address'] = 'Domaine'; + +$PALANG['pAdminEdit_admin_welcome'] = 'Modifier un domaine'; +$PALANG['pAdminEdit_admin_username'] = 'Administrateur'; +$PALANG['pAdminEdit_admin_password'] = 'Mot de passe'; +$PALANG['pAdminEdit_admin_password2'] = 'Mot de passe(confirmation)'; +$PALANG['pAdminEdit_admin_password_text_error'] = 'Le mot de passe fournit ne correspond pas
ou est vide!
'; +$PALANG['pAdminEdit_admin_active'] = 'Actif'; +$PALANG['pAdminEdit_admin_button'] = 'Editer un administrater'; +$PALANG['pAdminEdit_admin_result_error'] = 'Impossible de modifier l\'administrateur!'; +$PALANG['pAdminEdit_admin_result_succes'] = 'L\'administrateur a été ajouté!'; + +$PALANG['pUsersLogin_welcome'] = 'Entrer votre couriel pour modifier votre mot de passe et vos transferts.'; +$PALANG['pUsersLogin_username'] = 'Entrer(couriel)'; +$PALANG['pUsersLogin_password'] = 'Mot de passe'; +$PALANG['pUsersLogin_button'] = 'Entrer'; +$PALANG['pUsersLogin_username_incorrect'] = 'Votre couriel est invalide. Assurez-vous d\'avoir le bon couriel!'; +$PALANG['pUsersLogin_password_incorrect'] = 'Votre mot de passe est invalide!'; + +$PALANG['pUsersMenu_vacation'] = 'Réponse Automatique'; +$PALANG['pUsersMenu_edit_alias'] = 'Modifier votre transfert'; +$PALANG['pUsersMenu_password'] = 'Modifier votre mot de passe'; + +$PALANG['pUsersMain_welcome'] = 'Modifier votre compte couriel ici!'; +$PALANG['pUsersMain_vacation'] = 'Configurer votre réponse automatique(auto-reply).'; +$PALANG['pUsersMain_edit_alias'] = 'Modifier vos transferts de couriel.'; +$PALANG['pUsersMain_password'] = 'Changer votre mot de passe.'; + +$PALANG['pUsersVacation_welcome'] = 'Réponse Automatique.'; +$PALANG['pUsersVacation_welcome_text'] = 'Votre reponse automatique est deja configuree!'; +$PALANG['pUsersVacation_subject'] = 'Sujet'; +$PALANG['pUsersVacation_subject_text'] = 'En dehors du bureau'; +$PALANG['pUsersVacation_body'] = 'Message'; +$PALANG['pUsersVacation_body_text'] = << jusqu\'au . +Pour urgence communiquez avec mon collegue . +EOM; +$PALANG['pUsersVacation_button_away'] = 'Absence'; +$PALANG['pUsersVacation_button_back'] = 'De retour'; +$PALANG['pUsersVacation_result_error'] = 'Impossible de mettre à jour vos configuration pour votre reponse automatique!'; +$PALANG['pUsersVacation_result_succes'] = 'Votre reponse automatique a ete enlevee!'; +?> diff --git a/languages/hu.lang b/languages/hu.lang new file mode 100644 index 00000000..a385fbe2 --- /dev/null +++ b/languages/hu.lang @@ -0,0 +1,285 @@ +Nem sikerült törölni a bejegyzést '; +$PALANG['pDelete_domain_error'] = 'Ehhez a domainhez nincs jogosultságod '; + +$PALANG['pCreate_alias_welcome'] = 'Új alias készítése az adott domainhez'; +$PALANG['pCreate_alias_address'] = 'Alias'; +$PALANG['pCreate_alias_address_text_error1'] = '
Az ALIAS érvénytelen!'; +$PALANG['pCreate_alias_address_text_error2'] = '
Ez az email cím már létezik, kérlek válassz másikat!'; +$PALANG['pCreate_alias_address_text_error3'] = '
Elérted a maximális alias limitet!'; +$PALANG['pCreate_alias_goto'] = 'Hova'; +$PALANG['pCreate_alias_button'] = 'Alias felvétele'; +$PALANG['pCreate_alias_goto_text'] = 'Ahova a levélnek mennie kell.'; +$PALANG['pCreate_alias_goto_text_error'] = 'Ahova a levélnek mennie kell.
Érvénytelen a HOVA mezõ!'; +$PALANG['pCreate_alias_result_error'] = 'Nemsikerült hozzáadni az aliast az alias táblához!'; +$PALANG['pCreate_alias_result_succes'] = 'Az aliast felvettük az alias táblába!'; +$PALANG['pCreate_alias_catchall_text'] = 'A catch-all (*@valami.hu) beállításához használj "*" -ot az alias mezõnél.
A domain-domain közötti átirányításhoz használd a "*@akarmi.hu" címet.'; + +$PALANG['pEdit_alias_welcome'] = 'Alias szerkesztése a domainhez.
Soronként egy.'; +$PALANG['pEdit_alias_address'] = 'Alias'; +$PALANG['pEdit_alias_address_error'] = 'Nemsikerült megtalálni az aliast!'; +$PALANG['pEdit_alias_goto'] = 'Hova'; +$PALANG['pEdit_alias_goto_text_error1'] = 'Nem írtál semmit a \'Hova\' mezõbe'; +$PALANG['pEdit_alias_goto_text_error2'] = 'Az email cím amit beírtál érvénytelen: '; +$PALANG['pEdit_alias_domain_error'] = 'Ehhez a domainhez nincs jogosultságod: '; +$PALANG['pEdit_alias_button'] = 'Alias szerkesztése'; +$PALANG['pEdit_alias_result_error'] = 'Nemsikerült módosítani az Aliast!'; + +$PALANG['pCreate_mailbox_welcome'] = 'Új postafiók létrehozása az adott domainhez.'; +$PALANG['pCreate_mailbox_username'] = 'Felhasználónév'; +$PALANG['pCreate_mailbox_username_text_error1'] = '
Érvénytelen EMAIL !'; +$PALANG['pCreate_mailbox_username_text_error2'] = '
Ez az email cím már létezik, kérlek válassz másikat!'; +$PALANG['pCreate_mailbox_username_text_error3'] = '
Elérted a maximális postafiók számot!'; +$PALANG['pCreate_mailbox_password'] = 'Jelszó'; +$PALANG['pCreate_mailbox_password2'] = 'Jelszó (mégegyszer)'; +$PALANG['pCreate_mailbox_password_text'] = 'Jelszó a POP3/IMAP -hoz'; +$PALANG['pCreate_mailbox_password_text_error'] = 'Jelszó a POP3/IMAP -hoz
A jelszavak amiket megadtál nem egyeznek!
Vagy üresek!
'; +$PALANG['pCreate_mailbox_name'] = 'Név'; +$PALANG['pCreate_mailbox_name_text'] = 'Teljes név'; +$PALANG['pCreate_mailbox_quota'] = 'Quota'; +$PALANG['pCreate_mailbox_quota_text'] = 'MB'; +$PALANG['pCreate_mailbox_quota_text_error'] = 'MB
Túl magas quota értéket adtál meg!'; +$PALANG['pCreate_mailbox_active'] = 'Aktív'; +$PALANG['pCreate_mailbox_mail'] = 'Postafiók létrehozása'; +$PALANG['pCreate_mailbox_button'] = 'Postafiók létrehozása'; +$PALANG['pCreate_mailbox_result_error'] = 'Nemsikerült a postafiókot felvenni a mailbox adatbázis táblába!'; +$PALANG['pCreate_mailbox_result_succes'] = 'A postafiókot sikeresen felvettük a mailbox adatbázis táblába!'; + +$PALANG['pEdit_mailbox_welcome'] = 'Postafiók szerkesztése az adott domainhez.'; +$PALANG['pEdit_mailbox_username'] = 'Felhasználónév'; +$PALANG['pEdit_mailbox_username_error'] = 'Nem sikerült megtalálni a postafiókot!'; +$PALANG['pEdit_mailbox_password'] = 'Új jelszó'; +$PALANG['pEdit_mailbox_password2'] = 'Új jelszó (mégegyszer)'; +$PALANG['pEdit_mailbox_password_text_error'] = 'A beírt jelszavak nem egyeznek!'; +$PALANG['pEdit_mailbox_name'] = 'Név'; +$PALANG['pEdit_mailbox_quota'] = 'Quota'; +$PALANG['pEdit_mailbox_quota_text'] = 'MB'; +$PALANG['pEdit_mailbox_quota_text_error'] = 'MB
A megadott quota érték túl magas!'; +$PALANG['pEdit_mailbox_domain_error'] = 'Ehhez a domainhez nincs jogosultságod: '; +$PALANG['pEdit_mailbox_button'] = 'Postafiók szerkesztése'; +$PALANG['pEdit_mailbox_result_error'] = 'Nemsikerült megváltoztatni a jelszót!'; + +$PALANG['pPassword_welcome'] = 'Bejelentkezési jelszó megváltoztatása'; +$PALANG['pPassword_admin'] = 'Login'; +$PALANG['pPassword_admin_text_error'] = 'A LOGIN amit megadtál egyetlen postafiókkal sem egyezik!'; +$PALANG['pPassword_password_current'] = 'Régi jelszó'; +$PALANG['pPassword_password_current_text_error'] = 'Nem adtad meg a régi jelszavadat!'; +$PALANG['pPassword_password'] = 'Új jelszó'; +$PALANG['pPassword_password2'] = 'Új jelszó (mégegyszer)'; +$PALANG['pPassword_password_text_error'] = 'A jelszavak amiket megadtál nem egyeznek!
Vagy üresek!
'; +$PALANG['pPassword_button'] = 'Jelszó megváltoztatása'; +$PALANG['pPassword_result_error'] = 'Nemsikerült megváltoztatni a jelszavad!'; +$PALANG['pPassword_result_succes'] = 'A jelszavad megváltozott!'; + +$PALANG['pViewlog_welcome'] = 'Az utolsó 10 esemény megtekintése: '; +$PALANG['pViewlog_timestamp'] = 'Idõbélyeg'; +$PALANG['pViewlog_username'] = 'Admin'; +$PALANG['pViewlog_domain'] = 'Domain'; +$PALANG['pViewlog_action'] = 'Akció'; +$PALANG['pViewlog_data'] = 'Adat'; + +$PALANG['pViewlog_button'] = 'Gyerünk'; +$PALANG['pViewlog_result_error'] = 'Nemsikerült megtalálni a napló fájlokat!'; + +$PALANG['pSendmail_welcome'] = 'Email küldése.'; +$PALANG['pSendmail_admin'] = 'Feladó'; +$PALANG['pSendmail_to'] = 'Címzett'; +$PALANG['pSendmail_to_text_error'] = 'Ez egy üres, vagy nem megfelelõ email cím!'; +$PALANG['pSendmail_subject'] = 'Tárgy'; +$PALANG['pSendmail_subject_text'] = 'Postafiókja sikeresen elkészült!'; +$PALANG['pSendmail_body'] = 'Üzenet'; +$PALANG['pSendmail_body_text'] = << diff --git a/languages/is.lang b/languages/is.lang new file mode 100644 index 00000000..177b2e4b --- /dev/null +++ b/languages/is.lang @@ -0,0 +1,283 @@ +Get ekki eytt færslunni '; +$PALANG['pDelete_domain_error'] = 'Þetta er ekki þitt lén '; + +$PALANG['pCreate_alias_welcome'] = 'Útbúa nýjan alias fyrir þitt lén.'; $PALANG['pCreate_alias_address'] = 'Alias'; +$PALANG['pCreate_alias_address_text_error1'] = '
Aliasinn er ekki í lagi!'; +$PALANG['pCreate_alias_address_text_error2'] = '
Þetta pósthólf er nú þegar til, veldu annað!'; +$PALANG['pCreate_alias_address_text_error3'] = '
Þú hefur stofnað þann fjölda pósthólfa sem þú hefur heimild til!'; +$PALANG['pCreate_alias_goto'] = 'Til'; +$PALANG['pCreate_alias_button'] = 'Bæta við alias'; +$PALANG['pCreate_alias_goto_text'] = 'Þangað sem pósturinn á að sendast.'; +$PALANG['pCreate_alias_goto_text_error'] = 'Þangað sem pósturinn þarf að sendast.
Til línan er ekki gild!'; +$PALANG['pCreate_alias_result_error'] = 'Get ekki bætt við alias í alias töflu!'; +$PALANG['pCreate_alias_result_succes'] = 'Nýr alias hefur verið bætt við alias töfluna!'; +$PALANG['pCreate_alias_catchall_text'] = 'Til að útbúa alias fyrir öll netföng í léninu, þá geturðu útbúið "*" alias.
Til að áframsenda með alias á annað lén eða pósthólf, notaðu "*@domain.tld í til.'; + +$PALANG['pEdit_alias_welcome'] = 'Breyta alias í léninu.
Ein færsla í einu.'; +$PALANG['pEdit_alias_address'] = 'Alias'; +$PALANG['pEdit_alias_address_error'] = 'Get ekki fundið aliasinn!'; +$PALANG['pEdit_alias_goto'] = 'To'; +$PALANG['pEdit_alias_goto_text_error1'] = 'þú gafst ekki upp neitt í Til'; +$PALANG['pEdit_alias_goto_text_error2'] = 'Pósthólfið sem þú reynir að nota er ekki til: '; +$PALANG['pEdit_alias_domain_error'] = 'Þú átt ekki þetta lén: '; +$PALANG['pEdit_alias_button'] = 'Breyta Alias'; +$PALANG['pEdit_alias_result_error'] = 'Get ekki breytt alias!'; + +$PALANG['pCreate_mailbox_welcome'] = 'Create a new local mailbox for your domain.'; +$PALANG['pCreate_mailbox_username'] = 'notandanafn'; +$PALANG['pCreate_mailbox_username_text_error1'] = '
Netfangið er ekki til!'; +$PALANG['pCreate_mailbox_username_text_error2'] = '
Þetta pósthólf er til núþegar, veldu þér annað!'; +$PALANG['pCreate_mailbox_username_text_error3'] = '
Þú hefur stofnað þau póstholf sem þú hefur heimild til!'; +$PALANG['pCreate_mailbox_password'] = 'Lykilorð'; +$PALANG['pCreate_mailbox_password2'] = 'Lykilorð (aftur)'; +$PALANG['pCreate_mailbox_password_text'] = 'Lykilorð til að opna POP3/IMAP'; +$PALANG['pCreate_mailbox_password_text_error'] = 'Lykilorð fyrir POP3/IMAP
Lykilorðin sem þú skrifaðir inn passa ekki saman!
Eða þú gafst ekkert lykilorð upp!
'; +$PALANG['pCreate_mailbox_name'] = 'Nafn'; +$PALANG['pCreate_mailbox_name_text'] = 'Fullt nafn'; +$PALANG['pCreate_mailbox_quota'] = 'kvóti'; +$PALANG['pCreate_mailbox_quota_text'] = 'MB'; +$PALANG['pCreate_mailbox_quota_text_error'] = 'MB
Kvótinn sem þú skilgreindir er meiri en heimild þín gefur!'; +$PALANG['pCreate_mailbox_active'] = 'Virkur'; +$PALANG['pCreate_mailbox_mail'] = 'Stofna pósthólf'; +$PALANG['pCreate_mailbox_button'] = 'bæta við pósthólfi'; +$PALANG['pCreate_mailbox_result_error'] = 'Get ekki bætt við pósthólfi í mailbox töfluna!'; +$PALANG['pCreate_mailbox_result_succes'] = 'Pósthólfinu hefur verið bætt við mailbox töfluna!'; + +$PALANG['pEdit_mailbox_welcome'] = 'Breyta pósthólfi i léninu þínu.'; +$PALANG['pEdit_mailbox_username'] = 'Auðkenni'; +$PALANG['pEdit_mailbox_username_error'] = 'Finn ekki pósthólfið!'; +$PALANG['pEdit_mailbox_password'] = 'Nýtt lykilorð'; +$PALANG['pEdit_mailbox_password2'] = 'Nýja lykilorðið aftur'; +$PALANG['pEdit_mailbox_password_text_error'] = 'Lykilorðið sem þú skrifaðir inn passar ekki saman!'; +$PALANG['pEdit_mailbox_name'] = 'Nafn'; +$PALANG['pEdit_mailbox_quota'] = 'kvóti'; +$PALANG['pEdit_mailbox_quota_text'] = 'MB'; +$PALANG['pEdit_mailbox_quota_text_error'] = 'MB
Kvótinn sem þú skilgreindir er of hár fyrir heimildina þína!'; +$PALANG['pEdit_mailbox_domain_error'] = 'Þetta lén er ekki á þínum vegum: '; +$PALANG['pEdit_mailbox_button'] = 'Breyta pósthólfi'; +$PALANG['pEdit_mailbox_result_error'] = 'Get ekki breytt lykilorðinu!'; + +$PALANG['pPassword_welcome'] = 'Breyta auðkenninu þínu til að tengjast.'; +$PALANG['pPassword_admin'] = 'Tengjast'; +$PALANG['pPassword_admin_text_error'] = 'Auðkennið sem þú gafst upp, passar ekki við pósthólfið!'; +$PALANG['pPassword_password_current'] = 'gamla lykilorðið'; +$PALANG['pPassword_password_current_text_error'] = 'Þú gafst ekki upp núverandi lykilorð þitt!'; +$PALANG['pPassword_password'] = 'Nýtt lykilorð'; +$PALANG['pPassword_password2'] = 'Nýtt lykilorð (aftur)'; +$PALANG['pPassword_password_text_error'] = 'Lykilorðin sem þú gafst upp passa ekki saman!
Eða þú gefur upp tómt lykilorð!
'; +$PALANG['pPassword_button'] = 'Breyta lykilorði'; +$PALANG['pPassword_result_error'] = 'Get ekki breytt lykilorði!'; +$PALANG['pPassword_result_succes'] = 'Lykilorðinu hefur verið breytt!'; + +$PALANG['pViewlog_welcome'] = 'Skoða síðustu 10 aðgerðir fyrir '; +$PALANG['pViewlog_timestamp'] = 'Tími'; +$PALANG['pViewlog_username'] = 'kerfisstjóri'; +$PALANG['pViewlog_domain'] = 'lén'; +$PALANG['pViewlog_action'] = 'aðgerð'; +$PALANG['pViewlog_data'] = 'gögn'; + +$PALANG['pViewlog_button'] = 'Áfram'; +$PALANG['pViewlog_result_error'] = 'Get ekki fundið log skráningu!'; + +$PALANG['pSendmail_welcome'] = 'sendu tölvupóst.'; +$PALANG['pSendmail_admin'] = 'frá'; +$PALANG['pSendmail_to'] = 'til'; +$PALANG['pSendmail_to_text_error'] = 'til er tómt eða ekki uppgefið gilt netfang!'; +$PALANG['pSendmail_subject'] = 'Efni bréfs'; +$PALANG['pSendmail_subject_text'] = 'Velkomin'; +$PALANG['pSendmail_body'] = 'Meginmál'; +$PALANG['pSendmail_body_text'] = << og til . I will be away from until . +Ef mikið liggur við, geturðu haft samaband við . For urgent matters you can contact . +EOM; +$PALANG['pUsersVacation_button_away'] = 'Verð í burtu'; +$PALANG['pUsersVacation_button_back'] = 'Kem aftur'; +$PALANG['pUsersVacation_result_error'] = 'Get ekki uppfært sjálfvirk skilaboð þín!'; +$PALANG['pUsersVacation_result_succes'] = 'Sjálfvirk skilaboð þín (svar) hefur verið fjarlægt!'; +?> diff --git a/languages/it.lang b/languages/it.lang new file mode 100644 index 00000000..985db4b8 --- /dev/null +++ b/languages/it.lang @@ -0,0 +1,285 @@ + +// +$PALANG['YES'] = 'SI'; +$PALANG['NO'] = 'NO'; +$PALANG['edit'] = 'modifica'; +$PALANG['del'] = 'cancella'; +$PALANG['confirm'] = 'Sei sicuro di volerlo cancellare?'; +$PALANG['confirm_domain'] = 'Sei sicuro di voler cancellare tutti gli indirizzi di questo dominio? Questa modifica sarà permanente!'; + +$PALANG['pLogin_welcome'] = 'GLi amministratori di posta devono effettuare il login qui per amministrare il proprio dominio.'; +$PALANG['pLogin_username'] = 'Nome utente (email)'; +$PALANG['pLogin_password'] = 'Password'; +$PALANG['pLogin_button'] = 'Entra'; +$PALANG['pLogin_username_incorrect'] = 'Il tuo nome utente non è corretto. Assicurati di avere inserito il tuo indirizzo email corretto!'; +$PALANG['pLogin_password_incorrect'] = 'La tua password non è corretta!'; +$PALANG['pLogin_login_users'] = 'GLi utenti devono cliccare qui per entrare nella propria sezione.'; + +$PALANG['pMenu_overview'] = 'Resoconto'; +$PALANG['pMenu_create_alias'] = 'Aggiungi Alias'; +$PALANG['pMenu_create_mailbox'] = 'Aggiungi casella di posta'; +$PALANG['pMenu_sendmail'] = 'Spedisci Email'; +$PALANG['pMenu_password'] = 'Password'; +$PALANG['pMenu_viewlog'] = 'Vedi Log'; +$PALANG['pMenu_logout'] = 'Esci'; + +$PALANG['pMain_welcome'] = 'Benvenuti a Postfix Admin!'; +$PALANG['pMain_overview'] = 'Elenco dei tuoi alias e delle caselle di posta. Puoi modificarli / aggiungerli da qui.'; +$PALANG['pMain_create_alias'] = 'Crea nuovi alias per il tuo dominio.'; +$PALANG['pMain_create_mailbox'] = 'Crea una nuova casella di posta per il tuo dominio.'; +$PALANG['pMain_sendmail'] = 'Spedisci una email ad una delle nuove casella di posta che hai creato.'; +$PALANG['pMain_password'] = 'Cambia la password per il tuo account di amministratore.'; +$PALANG['pMain_viewlog'] = 'Guarda i files di log.'; +$PALANG['pMain_logout'] = 'Esci dal sistema'; + +$PALANG['pOverview_button'] = 'Vai'; +$PALANG['pOverview_welcome'] = 'Resoconto per '; +$PALANG['pOverview_alias_alias_count'] = 'Alias'; +$PALANG['pOverview_alias_mailbox_count'] = 'Caselle di posta'; +$PALANG['pOverview_alias_address'] = 'Da'; +$PALANG['pOverview_alias_goto'] = 'a'; +$PALANG['pOverview_alias_modified'] = 'Ultima modifica'; +$PALANG['pOverview_mailbox_username'] = 'Email'; +$PALANG['pOverview_mailbox_name'] = 'Nome'; +$PALANG['pOverview_mailbox_quota'] = 'Quota (MB)'; +$PALANG['pOverview_mailbox_modified'] = 'Ultima modifica'; +$PALANG['pOverview_mailbox_active'] = 'Attivo'; + +$PALANG['pOverview_get_domain'] = 'Dominio'; +$PALANG['pOverview_get_aliases'] = 'Alias'; +$PALANG['pOverview_get_mailboxes'] = 'Caselle di posta'; +$PALANG['pOverview_get_quota'] = 'Quota delle caselle di posta (MB)'; +$PALANG['pOverview_get_modified'] = 'Ultima modifica'; + +$PALANG['pDelete_delete_error'] = 'Impossibile cancellare '; +$PALANG['pDelete_domain_error'] = 'Questo dominio non è tuo '; + +$PALANG['pCreate_alias_welcome'] = 'Crea un nuovo alias per il tuo dominio.'; +$PALANG['pCreate_alias_address'] = 'Alias'; +$PALANG['pCreate_alias_address_text_error1'] = '
L\' Alias non è valido!'; +$PALANG['pCreate_alias_address_text_error2'] = '
Questo indirizzo di post esiste già, perfavore sceglierne uno diverso!'; +$PALANG['pCreate_alias_address_text_error3'] = '
Hai raggiunto il tuo limite per creare alias.!'; +$PALANG['pCreate_alias_goto'] = 'A'; +$PALANG['pCreate_alias_button'] = 'Aggiungi Alias'; +$PALANG['pCreate_alias_goto_text'] = 'Dove la mail deve essere spedita.'; +$PALANG['pCreate_alias_goto_text_error'] = 'Dove l\'email deve andare.
Il campo A non è valido!'; +$PALANG['pCreate_alias_result_error'] = 'Non sono riuscito ad aggiungere l\'alias alla tabella degli alias!'; +$PALANG['pCreate_alias_result_succes'] = 'L\'alias è stato aggiunto alla tabella degli alias!'; +$PALANG['pCreate_alias_catchall_text'] = 'Per creare un account universale, usare "*" come alias.
Per fare forwarding da dominio a dominio, usare "*@domain.tld" come campo \"a\".'; + +$PALANG['pEdit_alias_welcome'] = 'Modifica un alias per il tuo dominio.
Un indirizzo per linea.'; +$PALANG['pEdit_alias_address'] = 'Alias'; +$PALANG['pEdit_alias_address_error'] = 'Impossibile allocare alias!'; +$PALANG['pEdit_alias_goto'] = 'A'; +$PALANG['pEdit_alias_goto_text_error1'] = 'Non hai inserito nulla nel campo To'; +$PALANG['pEdit_alias_goto_text_error2'] = 'L\'indirizzo email che hai inserito non è valido : '; +$PALANG['pEdit_alias_domain_error'] = 'Questo dominio non è tuo: '; +$PALANG['pEdit_alias_button'] = 'Modifica Alias'; +$PALANG['pEdit_alias_result_error'] = 'Impossibile modificare alias!'; + +$PALANG['pCreate_mailbox_welcome'] = 'Crea una nuova casella di posta locale per il tuo dominio.'; +$PALANG['pCreate_mailbox_username'] = 'Nome utente'; +$PALANG['pCreate_mailbox_username_text_error1'] = '
L\'indirizzo EMAIL non è valido!'; +$PALANG['pCreate_mailbox_username_text_error2'] = '
Questo indirizzo email esiste già, perfavore scegline uno diverso!'; +$PALANG['pCreate_mailbox_username_text_error3'] = '
Hai raggiunto il limite per creare caselle di posta!'; +$PALANG['pCreate_mailbox_password'] = 'Password'; +$PALANG['pCreate_mailbox_password2'] = 'Password (ripeti)'; +$PALANG['pCreate_mailbox_password_text'] = 'Password per POP3/IMAP'; +$PALANG['pCreate_mailbox_password_text_error'] = 'Password per POP3/IMAP
Le password che hai fornito non sono uguali!
O sono vuote!
'; +$PALANG['pCreate_mailbox_name'] = 'Nome'; +$PALANG['pCreate_mailbox_name_text'] = 'Nome completo'; +$PALANG['pCreate_mailbox_quota'] = 'Quota'; +$PALANG['pCreate_mailbox_quota_text'] = 'MB'; +$PALANG['pCreate_mailbox_quota_text_error'] = 'MB
La quota che hai specificato è troppo alta!'; +$PALANG['pCreate_mailbox_active'] = 'Attiva'; +$PALANG['pCreate_mailbox_mail'] = 'Crea casella di posta'; +$PALANG['pCreate_mailbox_button'] = 'Aggiungi casella di posta'; +$PALANG['pCreate_mailbox_result_error'] = 'Impossibile aggiungere la casella di posta alla tabella delle caselle di posta!'; +$PALANG['pCreate_mailbox_result_succes'] = 'La casella di posta è stata aggiunta alla tabella!'; + +$PALANG['pEdit_mailbox_welcome'] = 'Modifica una casella di posta per il tuo dominio.'; +$PALANG['pEdit_mailbox_username'] = 'Nome utente'; +$PALANG['pEdit_mailbox_username_error'] = 'Impossibile trovare la casella di posta!'; +$PALANG['pEdit_mailbox_password'] = 'Nuova Password'; +$PALANG['pEdit_mailbox_password2'] = 'Nuova Password (ripeti)'; +$PALANG['pEdit_mailbox_password_text_error'] = 'Le password che hai fornito non sono uguali!'; +$PALANG['pEdit_mailbox_name'] = 'Nome'; +$PALANG['pEdit_mailbox_quota'] = 'Quota'; +$PALANG['pEdit_mailbox_quota_text'] = 'MB'; +$PALANG['pEdit_mailbox_quota_text_error'] = 'MB
La quota che hai specificato è troppo alta!'; +$PALANG['pEdit_mailbox_domain_error'] = 'Questo dominio non è tuo: '; +$PALANG['pEdit_mailbox_button'] = 'Modifica casella di posta'; +$PALANG['pEdit_mailbox_result_error'] = 'Impossibile cambiare la password!'; + +$PALANG['pPassword_welcome'] = 'Cambia la tua password per entrare.'; +$PALANG['pPassword_admin'] = 'Nome utente'; +$PALANG['pPassword_admin_text_error'] = 'Il NOME UTENTE che hai fornito non è associato a nessuna casella di posta!'; +$PALANG['pPassword_password_current'] = 'Password Corrente'; +$PALANG['pPassword_password_current_text_error'] = 'Non hai fornito una password corretta!'; +$PALANG['pPassword_password'] = 'Nuova Password'; +$PALANG['pPassword_password2'] = 'Nuova Password (ripeti)'; +$PALANG['pPassword_password_text_error'] = 'Le password che hai fornito non sono uguali!
O sono vuote!
'; +$PALANG['pPassword_button'] = 'Cambia Password'; +$PALANG['pPassword_result_error'] = 'Impossibile cambiare password!'; +$PALANG['pPassword_result_succes'] = 'La tua password è stata modificata!'; + +$PALANG['pViewlog_welcome'] = 'Vedi le ultime dieci azioni di '; +$PALANG['pViewlog_timestamp'] = 'Orario'; +$PALANG['pViewlog_username'] = 'Amministratore'; +$PALANG['pViewlog_domain'] = 'Dominio'; +$PALANG['pViewlog_action'] = 'Azione'; +$PALANG['pViewlog_data'] = 'Dati'; + +$PALANG['pViewlog_button'] = 'Vai'; +$PALANG['pViewlog_result_error'] = 'Impossibile trovare i file di log!'; + +$PALANG['pSendmail_welcome'] = 'Spedisci una email.'; +$PALANG['pSendmail_admin'] = 'Da'; +$PALANG['pSendmail_to'] = 'A'; +$PALANG['pSendmail_to_text_error'] = 'Il campo \"A\" è vuoto o non è un indirizzo valido!'; +$PALANG['pSendmail_subject'] = 'Oggetto'; +$PALANG['pSendmail_subject_text'] = 'Benvenuto'; +$PALANG['pSendmail_body'] = 'Corpo'; +$PALANG['pSendmail_body_text'] = <<'; +$PALANG['pVcp_password_current'] = 'Password corrente'; +$PALANG['pVcp_password_current_text_error'] = 'Non hai fornito una password corretta!'; +$PALANG['pVcp_password'] = 'Nuova Password'; +$PALANG['pVcp_password2'] = 'Nuova Password (ripeti)'; +$PALANG['pVcp_password_text_error'] = 'Le password che hai fornito non sono uguali!
O sono vuote!
'; +$PALANG['pVcp_button'] = 'Cambia Password'; +$PALANG['pVcp_result_error'] = 'Impossibile modificare la tua password!'; +$PALANG['pVcp_result_succes'] = 'La tua password è stata modificata!'; + +$PALANG['pAdminMenu_list_admin'] = 'Lista degli amministratori'; +$PALANG['pAdminMenu_list_domain'] = 'Lista dei domini'; +$PALANG['pAdminMenu_list_virtual'] = 'Lista virtuale'; +$PALANG['pAdminMenu_viewlog'] = 'Vedi Log'; +$PALANG['pAdminMenu_backup'] = 'Fai Backup'; +$PALANG['pAdminMenu_create_domain_admins'] = 'Amministratori del dominio'; +$PALANG['pAdminMenu_create_admin'] = 'Nuovo Amministratore'; +$PALANG['pAdminMenu_create_domain'] = 'Nuovo Dominio'; +$PALANG['pAdminMenu_create_alias'] = 'Aggiungi Alias'; +$PALANG['pAdminMenu_create_mailbox'] = 'Aggiungi casella di posta'; + +$PALANG['pAdminList_admin_domain'] = 'Dominio'; +$PALANG['pAdminList_admin_username'] = 'Amministratori'; +$PALANG['pAdminList_admin_count'] = 'Domini'; +$PALANG['pAdminList_admin_modified'] = 'Ultima modifica'; +$PALANG['pAdminList_admin_active'] = 'Attivo'; + +$PALANG['pAdminList_domain_domain'] = 'Dominio'; +$PALANG['pAdminList_domain_description'] = 'Descrizione'; +$PALANG['pAdminList_domain_aliases'] = 'Alias'; +$PALANG['pAdminList_domain_mailboxes'] = 'Caselle di posta'; +$PALANG['pAdminList_domain_maxquota'] = 'Quota massima (MB)'; +$PALANG['pAdminList_domain_modified'] = 'Ultima modifica'; +$PALANG['pAdminList_domain_active'] = 'Attivo'; + +$PALANG['pAdminList_virtual_button'] = 'Vai'; +$PALANG['pAdminList_virtual_welcome'] = 'Resoconto per '; +$PALANG['pAdminList_virtual_alias_alias_count'] = 'Alias'; +$PALANG['pAdminList_virtual_alias_mailbox_count'] = 'Caselle di posta'; +$PALANG['pAdminList_virtual_alias_address'] = 'Da'; +$PALANG['pAdminList_virtual_alias_goto'] = 'A'; +$PALANG['pAdminList_virtual_alias_modified'] = 'Ultima modifica'; +$PALANG['pAdminList_virtual_mailbox_username'] = 'Email'; +$PALANG['pAdminList_virtual_mailbox_name'] = 'Nome'; +$PALANG['pAdminList_virtual_mailbox_quota'] = 'Quota (MB)'; +$PALANG['pAdminList_virtual_mailbox_modified'] = 'Ultima modifica'; +$PALANG['pAdminList_virtual_mailbox_active'] = 'Acttivo'; + +$PALANG['pAdminCreate_domain_welcome'] = 'Aggiungi nuovo dominio'; +$PALANG['pAdminCreate_domain_domain'] = 'Dominio'; +$PALANG['pAdminCreate_domain_domain_text_error'] = 'Il dominio esiste di già!'; +$PALANG['pAdminCreate_domain_description'] = 'Descri'; +$PALANG['pAdminCreate_admin_password'] = 'Password'; +$PALANG['pAdminCreate_admin_password2'] = 'Password (ancora)'; +$PALANG['pAdminCreate_admin_password_text_error'] = 'Le password che hai fornito non sono uguali!
Oppure sono vuote!
'; +$PALANG['pAdminCreate_admin_button'] = 'Aggiungi amministratore'; +$PALANG['pAdminCreate_admin_result_error'] = 'Impossibile aggiungere amministratore!'; +$PALANG['pAdminCreate_admin_result_succes'] = 'L\'amministratore è stato aggiunto!'; +$PALANG['pAdminCreate_admin_address'] = 'Dominio'; + +$PALANG['pAdminEdit_admin_welcome'] = 'Modifica l\'amministratore del dominio'; +$PALANG['pAdminEdit_admin_username'] = 'Amministratore'; +$PALANG['pAdminEdit_admin_password'] = 'Password'; +$PALANG['pAdminEdit_admin_password2'] = 'Password (ancora)'; +$PALANG['pAdminEdit_admin_password_text_error'] = 'Le password che hai fornito non sono uguali!
Oppure sono vuote!
'; +$PALANG['pAdminEdit_admin_active'] = 'Attivo'; +$PALANG['pAdminEdit_admin_button'] = 'Modifica amministratore'; +$PALANG['pAdminEdit_admin_result_error'] = 'Impossibile modificare amministratore!'; +$PALANG['pAdminEdit_admin_result_succes'] = 'L\'amministratore è stato modificato!'; + +$PALANG['pUsersLogin_welcome'] = 'Gli utenti di caselle di posta devono entrare qui per modificare le proprie opzioni.'; +$PALANG['pUsersLogin_username'] = 'Nome utente (email)'; +$PALANG['pUsersLogin_password'] = 'Password'; +$PALANG['pUsersLogin_button'] = 'Entra'; +$PALANG['pUsersLogin_username_incorrect'] = 'Il tuo nome utente non è corretto. Assicurati di avere inserito il tuo indirizzo email!'; +$PALANG['pUsersLogin_password_incorrect'] = 'La tua password non è corretta!'; + +$PALANG['pUsersMenu_vacation'] = 'Risposta automatica'; +$PALANG['pUsersMenu_edit_alias'] = 'Cambia il tuo inoltro'; +$PALANG['pUsersMenu_password'] = 'Cambia password'; + +$PALANG['pUsersMain_welcome'] = 'Cambia i settaggi della tua casella di posta qui!'; +$PALANG['pUsersMain_vacation'] = 'Setta un messaggio di "Fuori ufficio" o un risponditore automatico per la tua email'; +$PALANG['pUsersMain_edit_alias'] = 'Cambia le impostazioni di inoltro della tua email.'; +$PALANG['pUsersMain_password'] = 'Cambia la tua password corrente.'; + +$PALANG['pUsersVacation_welcome'] = 'Risposta automatica.'; +$PALANG['pUsersVacation_welcome_text'] = 'Hai gi$agrave; una risposta automatica configurata'; +$PALANG['pUsersVacation_subject'] = 'Soggetto'; +$PALANG['pUsersVacation_subject_text'] = 'Fuori dall\'ufficio'; +$PALANG['pUsersVacation_body'] = 'Corpo'; +$PALANG['pUsersVacation_body_text'] = << al . +Per problemi urgenti potete contattare . +EOM; +$PALANG['pUsersVacation_button_away'] = 'Sto andando via'; +$PALANG['pUsersVacation_button_back'] = 'Sto tornando'; +$PALANG['pUsersVacation_result_error'] = 'Impossibile aggiornare i tuoi dettagli di away!'; +$PALANG['pUsersVacation_result_succes'] = 'La tua risposta automatica è stata tolta!'; +?> diff --git a/languages/nl.lang b/languages/nl.lang new file mode 100644 index 00000000..2dcd793c --- /dev/null +++ b/languages/nl.lang @@ -0,0 +1,285 @@ +Mislukt te verwijderen '; +$PALANG['pDelete_domain_error'] = 'Dit is niet uw domein '; + +$PALANG['pCreate_alias_welcome'] = 'Maak een nieuw alias aan voor uw domein.'; +$PALANG['pCreate_alias_address'] = 'Alias'; +$PALANG['pCreate_alias_address_text_error1'] = '
De ALIAS is niet geldig!'; +$PALANG['pCreate_alias_address_text_error2'] = '
Dit e-mail aders bestaat al, kies aub een andere.'; +$PALANG['pCreate_alias_address_text_error3'] = '
U bezit het maximum aantal aliassen.'; +$PALANG['pCreate_alias_goto'] = 'Naar'; +$PALANG['pCreate_alias_button'] = 'Voeg alias toe'; +$PALANG['pCreate_alias_goto_text'] = 'Waar de e-mails naar gestuurd worden.'; +$PALANG['pCreate_alias_goto_text_error'] = 'Waar de e-mail naar toe moet.
De NAAR is niet geldig.'; +$PALANG['pCreate_alias_result_error'] = 'Mislukt om de alias toe te voegen.'; +$PALANG['pCreate_alias_result_succes'] = 'De alias is toegevoegd.'; +$PALANG['pCreate_alias_catchall_text'] = 'Om een catch-all te gebruiken, dient u een "*" (asteric) in te vullen als alias.
Voor domein naar domein forwarding gebruik "*@domein.tld" als naar.'; + +$PALANG['pEdit_alias_welcome'] = 'Bewerk een alias voor uw domein.
Een alias per regel.'; +$PALANG['pEdit_alias_address'] = 'Alias'; +$PALANG['pEdit_alias_address_error'] = 'Mislukt om alias te vinden!'; +$PALANG['pEdit_alias_goto'] = 'Naar'; +$PALANG['pEdit_alias_goto_text_error1'] = 'U heeft geen Naar opgegeven.'; +$PALANG['pEdit_alias_goto_text_error2'] = 'Het e-mail adres wat u opgaf is niet geldig: '; +$PALANG['pEdit_alias_domain_error'] = 'Dit domein is niet van u: '; +$PALANG['pEdit_alias_button'] = 'Bewerk Alias'; +$PALANG['pEdit_alias_result_error'] = 'Mislukt om de alias te bewerken!'; + +$PALANG['pCreate_mailbox_welcome'] = 'Maak een nieuw lokale mailbox voor uw domein.'; +$PALANG['pCreate_mailbox_username'] = 'Gebruikersnaam'; +$PALANG['pCreate_mailbox_username_text_error1'] = '
Het e-mail adres is niet geldig.'; +$PALANG['pCreate_mailbox_username_text_error2'] = '
Dit e-mail adres is al ingebruik. Kies aub een andere.'; +$PALANG['pCreate_mailbox_username_text_error3'] = '
U bezit het maximum aantal mailboxen.'; +$PALANG['pCreate_mailbox_password'] = 'Wachtwoord'; +$PALANG['pCreate_mailbox_password2'] = 'Wachtwoord nogmaals'; +$PALANG['pCreate_mailbox_password_text'] = 'Wachtwoord voor POP3/IMAP'; +$PALANG['pCreate_mailbox_password_text_error'] = 'Wachtwoord voor POP3/IMAP
De wachtwoorden die u opgaf komen niet overeen.
Of zijn leeg.
'; +$PALANG['pCreate_mailbox_name'] = 'Naam'; +$PALANG['pCreate_mailbox_name_text'] = 'Volledige naam'; +$PALANG['pCreate_mailbox_quota'] = 'Quota'; +$PALANG['pCreate_mailbox_quota_text'] = 'MB'; +$PALANG['pCreate_mailbox_quota_text_error'] = 'MB
De quota die opgaf is te hoog.'; +$PALANG['pCreate_mailbox_active'] = 'Actief'; +$PALANG['pCreate_mailbox_mail'] = 'Mailbox toevoegen'; +$PALANG['pCreate_mailbox_button'] = 'Mailbox toevoegen'; +$PALANG['pCreate_mailbox_result_error'] = 'Mislukt om de mailbox toe te voegen.'; +$PALANG['pCreate_mailbox_result_succes'] = 'De mailbox is toegevoegd.'; + +$PALANG['pEdit_mailbox_welcome'] = 'Bewerk een mailbox voor uw domein.'; +$PALANG['pEdit_mailbox_username'] = 'Gebruikersnaam'; +$PALANG['pEdit_mailbox_username_error'] = 'Mislukt om mailbox te vinden!'; +$PALANG['pEdit_mailbox_password'] = 'Nieuw wachtwoord'; +$PALANG['pEdit_mailbox_password2'] = 'Nieuw wachtwoord (nogmaails)'; +$PALANG['pEdit_mailbox_password_text_error'] = 'De wachtwoorden die u opgaf komen niet overeen.'; +$PALANG['pEdit_mailbox_name'] = 'Naam'; +$PALANG['pEdit_mailbox_quota'] = 'Quota'; +$PALANG['pEdit_mailbox_quota_text'] = 'MB'; +$PALANG['pEdit_mailbox_quota_text_error'] = 'MB
De quota die opgaf is te hoog.'; +$PALANG['pEdit_mailbox_domain_error'] = 'Dit domein is niet van nu: '; +$PALANG['pEdit_mailbox_button'] = 'Bewerk Mailbox'; +$PALANG['pEdit_mailbox_result_error'] = 'Mislukt om het wachtwoorden te wijzigen.'; + +$PALANG['pPassword_welcome'] = 'Bewerk u login wachtwoord.'; +$PALANG['pPassword_admin'] = 'Login'; +$PALANG['pPassword_admin_text_error'] = 'De login die u opgaf komt niet overeen met een mailbox.'; +$PALANG['pPassword_password_current'] = 'Huidig wachtwoord'; +$PALANG['pPassword_password_current_text_error'] = 'U heeft uw huidige wachtwoord niet opgegeven.'; +$PALANG['pPassword_password'] = 'Nieuw wachtwoord'; +$PALANG['pPassword_password2'] = 'Nieuw wachtwoord (nogmaals)'; +$PALANG['pPassword_password_text_error'] = 'De wachtwoorden komen niet overeen.
Of zijn leeg.
'; +$PALANG['pPassword_button'] = 'Wijzig wachtwoord'; +$PALANG['pPassword_result_error'] = 'Mislukt om uw wachtwoord te veranderen.'; +$PALANG['pPassword_result_succes'] = 'Uw wachtwoord is veranderd.'; + +$PALANG['pViewlog_welcome'] = 'Laat de laaste 10 actie\'s zien van '; +$PALANG['pViewlog_timestamp'] = 'Tijd'; +$PALANG['pViewlog_username'] = 'Beheerder'; +$PALANG['pViewlog_domain'] = 'Domein'; +$PALANG['pViewlog_action'] = 'Actie'; +$PALANG['pViewlog_data'] = 'Datum'; + +$PALANG['pViewlog_button'] = 'Ga'; +$PALANG['pViewlog_result_error'] = 'Mislukt om de logs te vinden!'; + +$PALANG['pSendmail_welcome'] = 'Verstuur een e-mail.'; +$PALANG['pSendmail_admin'] = 'Van'; +$PALANG['pSendmail_to'] = 'Naar'; +$PALANG['pSendmail_to_text_error'] = 'Naar is leeg of een ongeldig adres.'; +$PALANG['pSendmail_subject'] = 'Onderwerp'; +$PALANG['pSendmail_subject_text'] = 'Welkom'; +$PALANG['pSendmail_body'] = 'Inhoud'; +$PALANG['pSendmail_body_text'] = <<'; +$PALANG['pVcp_password'] = 'Nieuw wachtwoord'; +$PALANG['pVcp_password2'] = 'Nieuw wachtwoord (nogmaals)'; +$PALANG['pVcp_password_text_error'] = 'De wachtwoorden die u opgaf komen niet overeen.
Of zijn leeg.
'; +$PALANG['pVcp_button'] = 'Wijzig wachtwoord'; +$PALANG['pVcp_result_error'] = 'Mislukt om u wachtwoord te wijzigen.'; +$PALANG['pVcp_result_succes'] = 'Uw wachtwoord is gewijzigt.'; + +$PALANG['pAdminMenu_list_admin'] = 'Beheerders overzicht'; +$PALANG['pAdminMenu_list_domain'] = 'Domein overzicht'; +$PALANG['pAdminMenu_list_virtual'] = 'Virtueel overzicht'; +$PALANG['pAdminMenu_viewlog'] = 'Laat Log zien'; +$PALANG['pAdminMenu_backup'] = 'Backup'; +$PALANG['pAdminMenu_create_domain_admins'] = 'Domein Beheerders'; +$PALANG['pAdminMenu_create_admin'] = 'Nieuwe beheerder'; +$PALANG['pAdminMenu_create_domain'] = 'Voeg Domein toe'; +$PALANG['pAdminMenu_create_alias'] = 'Voeg Alias toe'; +$PALANG['pAdminMenu_create_mailbox'] = 'Voeg Mailbox toe'; + +$PALANG['pAdminList_admin_domain'] = 'Domein'; +$PALANG['pAdminList_admin_username'] = 'Beheerder'; +$PALANG['pAdminList_admin_count'] = 'Domeinen'; +$PALANG['pAdminList_admin_modified'] = 'Laatst bewerkt'; +$PALANG['pAdminList_admin_active'] = 'Actief'; + +$PALANG['pAdminList_domain_domain'] = 'Domein'; +$PALANG['pAdminList_domain_description'] = 'Omschrijving'; +$PALANG['pAdminList_domain_aliases'] = 'Aliassen'; +$PALANG['pAdminList_domain_mailboxes'] = 'Mailboxen'; +$PALANG['pAdminList_domain_maxquota'] = 'Max Quota (MB)'; +$PALANG['pAdminList_domain_modified'] = 'Laatst bewerkt'; +$PALANG['pAdminList_domain_active'] = 'Actief'; + +$PALANG['pAdminList_virtual_button'] = 'Ga'; +$PALANG['pAdminList_virtual_welcome'] = 'Overzicht voor '; +$PALANG['pAdminList_virtual_alias_alias_count'] = 'Aliassen'; +$PALANG['pAdminList_virtual_alias_mailbox_count'] = 'Mailboxen'; +$PALANG['pAdminList_virtual_alias_address'] = 'Van'; +$PALANG['pAdminList_virtual_alias_goto'] = 'Naar'; +$PALANG['pAdminList_virtual_alias_modified'] = 'Laatst bewerkt'; +$PALANG['pAdminList_virtual_mailbox_username'] = 'E-mail'; +$PALANG['pAdminList_virtual_mailbox_name'] = 'Naam'; +$PALANG['pAdminList_virtual_mailbox_quota'] = 'Quota (MB)'; +$PALANG['pAdminList_virtual_mailbox_modified'] = 'Laatst bewerkt'; +$PALANG['pAdminList_virtual_mailbox_active'] = 'Actief'; + +$PALANG['pAdminCreate_domain_welcome'] = 'Voeg een nieuw domein toe'; +$PALANG['pAdminCreate_domain_domain'] = 'Domein'; +$PALANG['pAdminCreate_domain_domain_text_error'] = 'Het domein bestaat al.'; +$PALANG['pAdminCreate_domain_description'] = 'Omschrijving'; +$PALANG['pAdminCreate_domain_aliases'] = 'Aliassen'; +$PALANG['pAdminCreate_domain_aliases_text'] = '0 = uit | -1 = onbeperkt'; +$PALANG['pAdminCreate_domain_mailboxes'] = 'Mailboxen'; +$PALANG['pAdminCreate_domain_mailboxes_text'] = '0 = uit | -1 = onbeperkt'; +$PALANG['pAdminCreate_domain_maxquota'] = 'Max Quota'; +$PALANG['pAdminCreate_domain_maxquota_text'] = 'MB
0 = uit | -1 = onbeperkt'; +$PALANG['pAdminCreate_domain_defaultaliases'] = 'Gebruik standaard aliassen'; +$PALANG['pAdminCreate_domain_button'] = 'Voeg Domein toe'; +$PALANG['pAdminCreate_domain_result_error'] = 'Mislukt om het domein toe te voegen.'; +$PALANG['pAdminCreate_domain_result_succes'] = 'Domein is toegevoegd!'; + +$PALANG['pAdminEdit_domain_welcome'] = 'Bewerk een domein'; +$PALANG['pAdminEdit_domain_domain'] = 'Domein'; +$PALANG['pAdminEdit_domain_description'] = 'Omschrijving'; +$PALANG['pAdminEdit_domain_aliases'] = 'Aliassen'; +$PALANG['pAdminCreate_domain_aliases_text'] = '0 = uit | -1 = onbeperkt'; +$PALANG['pAdminEdit_domain_mailboxes'] = 'Mailboxen'; +$PALANG['pAdminCreate_domain_mailboxes_text'] = '0 = uit | -1 = onbeperkt'; +$PALANG['pAdminEdit_domain_maxquota'] = 'Max Quota'; +$PALANG['pAdminCreate_domain_maxquota_text'] = 'MB
0 = uit | -1 = onbeperkt'; +$PALANG['pAdminEdit_domain_active'] = 'Actief'; +$PALANG['pAdminEdit_domain_button'] = 'Bewerk domein'; +$PALANG['pAdminEdit_domain_result_error'] = 'Mislukt het domein te bewerken.'; + +$PALANG['pAdminCreate_admin_welcome'] = 'Voeg een nieuw domein beheerder toe'; +$PALANG['pAdminCreate_admin_username'] = 'Beheerder'; +$PALANG['pAdminCreate_admin_username_text'] = 'E-mail adres'; +$PALANG['pAdminCreate_admin_username_text_error1'] = 'E-mail adres
Beheerder is geen geldig e-mail adres!'; +$PALANG['pAdminCreate_admin_username_text_error2'] = 'E-mail adres
De beheerder bestaat al of is niet geldig'; +$PALANG['pAdminCreate_admin_password'] = 'Wachtwoord'; +$PALANG['pAdminCreate_admin_password2'] = 'Wachtwoord (nogmaals)'; +$PALANG['pAdminCreate_admin_password_text_error'] = 'De wachtwoorden die u opgaf komen niet overeen.
Of zijn leeg.
'; +$PALANG['pAdminCreate_admin_button'] = 'Voeg beheerder toe'; +$PALANG['pAdminCreate_admin_result_error'] = 'Mislukt om beheerder toe te voegen!'; +$PALANG['pAdminCreate_admin_result_succes'] = 'Beheerder is toegevoegd.'; +$PALANG['pAdminCreate_admin_address'] = 'Domein'; + +$PALANG['pAdminEdit_admin_welcome'] = 'Bewerk een domein beheerder'; +$PALANG['pAdminEdit_admin_username'] = 'Beheerder'; +$PALANG['pAdminEdit_admin_password'] = 'Wachtwoord'; +$PALANG['pAdminEdit_admin_password2'] = 'Wachtwoord (nogmaals)'; +$PALANG['pAdminEdit_admin_password_text_error'] = 'De wachtwoorden die u opgaf komen niet overeen.
Of zijn leeg.
'; +$PALANG['pAdminEdit_admin_active'] = 'Actief'; +$PALANG['pAdminEdit_admin_button'] = 'Bewerk beheerder'; +$PALANG['pAdminEdit_admin_result_error'] = 'Mislukt om beheerder te bewerken'; +$PALANG['pAdminEdit_admin_result_succes'] = 'Beheerder is bewerkt!'; + +$PALANG['pUsersLogin_welcome'] = 'Mailbox gebruikers login om uw wachtwoord en aliassen te bewerken.'; +$PALANG['pUsersLogin_username'] = 'Login (email)'; +$PALANG['pUsersLogin_password'] = 'Wachtwoord'; +$PALANG['pUsersLogin_button'] = 'Login'; +$PALANG['pUsersLogin_username_incorrect'] = 'Uw login is niet correct. U dient in te loggen met uw e-mail adres.'; +$PALANG['pUsersLogin_password_incorrect'] = 'Uw wachtwoord is niet correct.'; + +$PALANG['pUsersMenu_vacation'] = 'Automatisch beantwoorden'; +$PALANG['pUsersMenu_edit_alias'] = 'Wijzig uw forward'; +$PALANG['pUsersMenu_password'] = 'Wijzig wachtwoord'; + +$PALANG['pUsersMain_welcome'] = 'Wijzig uw mailbox instellingen.'; +$PALANG['pUsersMain_vacation'] = 'Stel een "out of office" bericht of auto-responder voor uw e-mail in.'; +$PALANG['pUsersMain_edit_alias'] = 'Wijzig uw e-mail forwarding.'; +$PALANG['pUsersMain_password'] = 'Wijzig uw huidige wachtwoord.'; + +$PALANG['pUsersVacation_welcome'] = 'Automatisch beantwoorden.'; +$PALANG['pUsersVacation_welcome_text'] = 'U heeft al een auto beantwoorder ingesteld.'; +$PALANG['pUsersVacation_subject'] = 'Onderwerp'; +$PALANG['pUsersVacation_subject_text'] = 'Out of Office'; +$PALANG['pUsersVacation_body'] = 'Bericht'; +$PALANG['pUsersVacation_body_text'] = << tot . +Voor belangrijke punten kunt u contact opnemen met . +EOM; +$PALANG['pUsersVacation_button_away'] = 'Afwezig'; +$PALANG['pUsersVacation_button_back'] = 'Kom terug'; +$PALANG['pUsersVacation_result_error'] = 'Mislukt om uw automatisch beantwoorder instellingen te wijzigen.'; +$PALANG['pUsersVacation_result_succes'] = 'Uw automatisch beantwoorder is verwijderd.'; + +?> \ No newline at end of file diff --git a/languages/no-nn.lang b/languages/no-nn.lang new file mode 100644 index 00000000..434b676a --- /dev/null +++ b/languages/no-nn.lang @@ -0,0 +1,291 @@ +Kan ikkje slette'; +$PALANG['pDelete_domain_error'] = 'Dette domene er ikkje ditt'; + +$PALANG['pCreate_alias_welcome'] = 'Opprett eit nytt alias.'; +$PALANG['pCreate_alias_address'] = 'Alias'; +$PALANG['pCreate_alias_address_text_error1'] = '
Aliaset er ikkje gyldig!'; +$PALANG['pCreate_alias_address_text_error2'] = '
Denne epost adressen eksisterer allereie, velg eit anna!'; +$PALANG['pCreate_alias_address_text_error3'] = '
Du er over grensa for antall aliaser i ditt domene!'; +$PALANG['pCreate_alias_goto'] = 'Mottaker'; +$PALANG['pCreate_alias_button'] = 'Legg til Alias'; +$PALANG['pCreate_alias_goto_text'] = 'Kor skal mailen vidaresendast.'; +$PALANG['pCreate_alias_goto_text_error'] = 'Kor skal mailen vidaresendast.
Mottakar feltet er ikkje gyldig!'; +$PALANG['pCreate_alias_result_error'] = 'Klarte ikkje legge til aliaset!'; +$PALANG['pCreate_alias_result_succes'] = 'Aliaset er lagt til i alias-tabellen!'; +$PALANG['pCreate_alias_catchall_text'] = 'For å opprette ei "catch-all" bruk "*" som alias.
For domene til domene vidaresending bruk "*@domene.tld" som mottakar.'; + +$PALANG['pEdit_alias_welcome'] = 'Rediger eit alias.
Ein mottakar per linje.'; +$PALANG['pEdit_alias_address'] = 'Alias'; +$PALANG['pEdit_alias_address_error'] = 'Finner ikkje aliaset!'; +$PALANG['pEdit_alias_goto'] = 'Mottakar'; +$PALANG['pEdit_alias_goto_text_error1'] = 'Du skreiv ikkje noko i Mottakar feltet'; +$PALANG['pEdit_alias_goto_text_error2'] = 'E-post adressa er ikkje gyldig: '; +$PALANG['pEdit_alias_domain_error'] = 'Dette er ikkje ditt domene: '; +$PALANG['pEdit_alias_button'] = 'Rediger Alias'; +$PALANG['pEdit_alias_result_error'] = 'Kan ikkje redigere Aliaset!'; + +$PALANG['pCreate_mailbox_welcome'] = 'Opprett ein ny epostkonto.'; +$PALANG['pCreate_mailbox_username'] = 'Brukarnamn'; +$PALANG['pCreate_mailbox_username_text_error1'] = '
E-post adressa er ikkje gyldig!'; +$PALANG['pCreate_mailbox_username_text_error2'] = '
E-post adressa eksisterer, velg ei anna!'; +$PALANG['pCreate_mailbox_username_text_error3'] = '
Du er over grensa for antall e-post kontoar!'; +$PALANG['pCreate_mailbox_password'] = 'Passord'; +$PALANG['pCreate_mailbox_password2'] = 'Passord (igjen)'; +$PALANG['pCreate_mailbox_password_text'] = 'Passord for POP3/IMAP'; +$PALANG['pCreate_mailbox_password_text_error'] = 'Passord for POP3/IMAP
Passorda er ikkje like!
Or are empty!
'; +$PALANG['pCreate_mailbox_name'] = 'Namn'; +$PALANG['pCreate_mailbox_name_text'] = 'Fornamn og etternamn'; +$PALANG['pCreate_mailbox_quota'] = 'Kvote'; +$PALANG['pCreate_mailbox_quota_text'] = 'MB'; +$PALANG['pCreate_mailbox_quota_text_error'] = 'MB
Den ønska kvota er for høg!'; +$PALANG['pCreate_mailbox_active'] = 'Aktiv'; +$PALANG['pCreate_mailbox_mail'] = 'Opprett epostkonto'; +$PALANG['pCreate_mailbox_button'] = 'Opprett Alias'; +$PALANG['pCreate_mailbox_result_error'] = 'Klarte ikkje legge til epost kontoen!'; +$PALANG['pCreate_mailbox_result_succes'] = 'E-post kontoen er oppretta!'; + +$PALANG['pEdit_mailbox_welcome'] = 'Rediger ein epostkonto.'; +$PALANG['pEdit_mailbox_username'] = 'Brukarnamn'; +$PALANG['pEdit_mailbox_username_error'] = 'Fann ikkje epostkontoen!'; +$PALANG['pEdit_mailbox_password'] = 'Nytt passord'; +$PALANG['pEdit_mailbox_password2'] = 'Nytt passord (igjen)'; +$PALANG['pEdit_mailbox_password_text_error'] = 'Passorda er ikkje like!'; +$PALANG['pEdit_mailbox_name'] = 'Namn'; +$PALANG['pEdit_mailbox_quota'] = 'Kvote'; +$PALANG['pEdit_mailbox_quota_text'] = 'MB'; +$PALANG['pEdit_mailbox_quota_text_error'] = 'MB
Kvota er for høg!'; +$PALANG['pEdit_mailbox_domain_error'] = 'Dette domenet er ikkje ditt: '; +$PALANG['pEdit_mailbox_button'] = ''Rediger Epost konto'; +$PALANG['pEdit_mailbox_result_error'] = 'Klarte ikkje skifte passord'; + +$PALANG['pPassword_welcome'] = 'Endre Passord.'; +$PALANG['pPassword_admin'] = 'Brukarnamn'; +$PALANG['pPassword_admin_text_error'] = 'Brukarnamnet finst ikkje'; +$PALANG['pPassword_password_current'] = 'Eksisterande passord'; +$PALANG['pPassword_password_current_text_error'] = 'Oppgi det eksisterande passordet!'; +$PALANG['pPassword_password'] = 'Nytt passord'; +$PALANG['pPassword_password2'] = 'Nytt passord (igjen)'; +$PALANG['pPassword_password_text_error'] = 'Passorda er ikkje like!
Or are empty!
'; +$PALANG['pPassword_button'] = 'Endre Passord'; +$PALANG['pPassword_result_error'] = 'Klarte ikkje skifte passord!'; +$PALANG['pPassword_result_succes'] = 'Passordet ditt er nå endra!'; + +$PALANG['pViewlog_welcome'] = 'Vis dei 10 siste handlingane '; +$PALANG['pViewlog_timestamp'] = 'Klokkeslett'; +$PALANG['pViewlog_username'] = 'Administrator'; +$PALANG['pViewlog_domain'] = 'Domene'; +$PALANG['pViewlog_action'] = 'Handling'; +$PALANG['pViewlog_data'] = 'Data'; + +$PALANG['pViewlog_button'] = 'Vis'; +$PALANG['pViewlog_result_error'] = 'Fann ikkje loggen!'; + +$PALANG['pSendmail_welcome'] = 'Send Epost.'; +$PALANG['pSendmail_admin'] = 'Frå'; +$PALANG['pSendmail_to'] = 'Mottakar'; +$PALANG['pSendmail_to_text_error'] = '"Mottakar" feltet er tomt eller er ugyldig!'; +$PALANG['pSendmail_subject'] = 'Subjekt'; +$PALANG['pSendmail_subject_text'] = 'Velkomen'; +$PALANG['pSendmail_body'] = 'Body'; +$PALANG['pSendmail_body_text'] = << until . +For urgent matters you can contact . +EOM; +$PALANG['pUsersVacation_button_away'] = 'Ikkje tilstede'; +$PALANG['pUsersVacation_button_back'] = 'Straks tilbake'; +$PALANG['pUsersVacation_result_error'] = 'Klarte ikkje oppdatere dine autosvar instillingar!'; +$PALANG['pUsersVacation_result_succes'] = 'Ditt autosvar er fjerna'; +?> diff --git a/languages/pl.lang b/languages/pl.lang new file mode 100644 index 00000000..b33b1267 --- /dev/null +++ b/languages/pl.lang @@ -0,0 +1,284 @@ +Nie mo¿na usun±æ tego wpisu '; +$PALANG['pDelete_domain_error'] = 'Ta domena nie nale¿y do Ciebie '; + +$PALANG['pCreate_alias_welcome'] = 'Utwórz nowy alias dla Twojej domeny.'; +$PALANG['pCreate_alias_address'] = 'Alias'; +$PALANG['pCreate_alias_address_text_error1'] = '
ALIAS jest niepoprawny!'; +$PALANG['pCreate_alias_address_text_error2'] = '
Taki adres email juz istnieje, proszê wybraæ inny!'; +$PALANG['pCreate_alias_address_text_error3'] = '
Twój limit aliasów zosta³ osi±gniety!'; +$PALANG['pCreate_alias_goto'] = 'Do'; +$PALANG['pCreate_alias_button'] = 'Dodaj alias'; +$PALANG['pCreate_alias_goto_text'] = 'Gdzie ten mail powinien byæ wys³any.'; +$PALANG['pCreate_alias_goto_text_error'] = 'Gdzie ten email powinien dotrzeæ.
The TO is not valid!'; +$PALANG['pCreate_alias_result_error'] = 'Nie mo¿na dodaæ aliasu do tabeli aliasów!'; +$PALANG['pCreate_alias_result_succes'] = 'Alias zosta³ dodany do tabeli aliasów!'; +$PALANG['pCreate_alias_catchall_text'] = 'To create a catch-all use an "*" as alias.
For domain to domain forwarding use "*@domain.tld" as to.'; + +$PALANG['pEdit_alias_welcome'] = 'Edytuj alias dla Twojej domeny.
Jeden wpis na liniê.'; +$PALANG['pEdit_alias_address'] = 'Alias'; +$PALANG['pEdit_alias_address_error'] = 'Nie mo¿na zokalizowaæ aliasu!'; +$PALANG['pEdit_alias_goto'] = 'Do'; +$PALANG['pEdit_alias_goto_text_error1'] = 'You didn\'t enter anything at To'; +$PALANG['pEdit_alias_goto_text_error2'] = 'Wpisany adres email jest niepoprawny: '; +$PALANG['pEdit_alias_domain_error'] = 'Ta domena nie nale¿y do Ciebie: '; +$PALANG['pEdit_alias_button'] = 'Edytuj alias'; +$PALANG['pEdit_alias_result_error'] = 'Nie mo¿na zmodyfikowaæ aliasu!'; + +$PALANG['pCreate_mailbox_welcome'] = 'Utwórz lokalne konto pocztowe dla Twojej domeny.'; +$PALANG['pCreate_mailbox_username'] = 'Nazwa u¿ytkownika'; +$PALANG['pCreate_mailbox_username_text_error1'] = '
Adres EMAIL jest niepoprawny!'; +$PALANG['pCreate_mailbox_username_text_error2'] = '
Taki adres email ju¿ istnieje, proszê wybraæ inny!'; +$PALANG['pCreate_mailbox_username_text_error3'] = '
Twój limit kont pocztowych zosta³ osi±gniety!'; +$PALANG['pCreate_mailbox_password'] = 'Has³o'; +$PALANG['pCreate_mailbox_password2'] = 'Has³o (ponownie)'; +$PALANG['pCreate_mailbox_password_text'] = 'Has³o do POP3/IMAP'; +$PALANG['pCreate_mailbox_password_text_error'] = 'Has³o do POP3/IMAP
Wpisane has³o nie pasuje!
Lub jest puste!
'; +$PALANG['pCreate_mailbox_name'] = 'Nazwa'; +$PALANG['pCreate_mailbox_name_text'] = 'Pe³na nazwa'; +$PALANG['pCreate_mailbox_quota'] = 'Udzia³'; +$PALANG['pCreate_mailbox_quota_text'] = 'MB'; +$PALANG['pCreate_mailbox_quota_text_error'] = 'MB
Podany udzia³ jest za wysoki!'; +$PALANG['pCreate_mailbox_active'] = 'Aktywny'; +$PALANG['pCreate_mailbox_mail'] = 'Utwórz konto'; +$PALANG['pCreate_mailbox_button'] = 'Dodaj konto'; +$PALANG['pCreate_mailbox_result_error'] = 'Nie mo¿na dodaæ konta do tabeli kont!'; +$PALANG['pCreate_mailbox_result_succes'] = 'Konto zosta³o dodane do tabeli kont!'; + +$PALANG['pEdit_mailbox_welcome'] = 'Edytuj konto w Twojej domenie.'; +$PALANG['pEdit_mailbox_username'] = 'Nazwa u¿ytkownika'; +$PALANG['pEdit_mailbox_username_error'] = 'Nie mo¿na zlokalizowaæ konta!'; +$PALANG['pEdit_mailbox_password'] = 'Nowe has³o'; +$PALANG['pEdit_mailbox_password2'] = 'Nowe has³o (ponownie)'; +$PALANG['pEdit_mailbox_password_text_error'] = 'Wpisane has³o nie pasuje!'; +$PALANG['pEdit_mailbox_name'] = 'Nazwa'; +$PALANG['pEdit_mailbox_quota'] = 'Udzia³'; +$PALANG['pEdit_mailbox_quota_text'] = 'MB'; +$PALANG['pEdit_mailbox_quota_text_error'] = 'MB
Podany udzia³ jest za wysoki!'; +$PALANG['pEdit_mailbox_domain_error'] = 'Ta domena nie nale¿y do Ciebie: '; +$PALANG['pEdit_mailbox_button'] = 'Edytuj konto'; +$PALANG['pEdit_mailbox_result_error'] = 'Nie mo¿na zmieniæ has³a!'; + +$PALANG['pPassword_welcome'] = 'Zmieñ Swoje has³o.'; +$PALANG['pPassword_admin'] = 'Login'; +$PALANG['pPassword_admin_text_error'] = 'Podany LOGIN nie pasuje!'; +$PALANG['pPassword_password_current'] = 'Aktualne has³o'; +$PALANG['pPassword_password_current_text_error'] = 'Nie poda³es aktualnego has³a!'; +$PALANG['pPassword_password'] = 'Nowe has³o'; +$PALANG['pPassword_password2'] = 'Nowe has³o (ponownie)'; +$PALANG['pPassword_password_text_error'] = 'Podane has³o nie pasuje!
Lub jest puste!
'; +$PALANG['pPassword_button'] = 'Zmieñ has³o'; +$PALANG['pPassword_result_error'] = 'Nie mo¿na zmieniæ Twojego has³a!'; +$PALANG['pPassword_result_succes'] = 'Twoje has³o zosta³o zmienione!'; + +$PALANG['pViewlog_welcome'] = 'Poka¿ 10 ostatnich dzia³añ dla '; +$PALANG['pViewlog_timestamp'] = 'Data'; +$PALANG['pViewlog_username'] = 'Administrator'; +$PALANG['pViewlog_domain'] = 'Domena'; +$PALANG['pViewlog_action'] = 'Dzia³anie'; +$PALANG['pViewlog_data'] = 'Dane'; + +$PALANG['pViewlog_button'] = 'Id¼'; +$PALANG['pViewlog_result_error'] = 'Nie mo¿na odszukaæ logów!'; + +$PALANG['pSendmail_welcome'] = 'Wy¶lij wiadomo¶æ.'; +$PALANG['pSendmail_admin'] = 'Od'; +$PALANG['pSendmail_to'] = 'Do'; +$PALANG['pSendmail_to_text_error'] = 'Podany adres jest niepoprawny, b±d¼ pole "Do" jest puste!'; +$PALANG['pSendmail_subject'] = 'Temat'; +$PALANG['pSendmail_subject_text'] = 'Witamy'; +$PALANG['pSendmail_body'] = 'Tekst'; +$PALANG['pSendmail_body_text'] = << until . +For urgent matters you can contact . +EOM; +$PALANG['pUsersVacation_button_away'] = 'Nieobecny/a'; +$PALANG['pUsersVacation_button_back'] = 'Zaraz wracam'; +$PALANG['pUsersVacation_result_error'] = 'Nie mogê zaktualizowaæ ustawieñ Twojej auto odpowiedzi!'; +$PALANG['pUsersVacation_result_succes'] = 'Twoja auto odpowied¼ zosta³a usuniêta!'; +?> diff --git a/languages/pt-br.lang b/languages/pt-br.lang new file mode 100644 index 00000000..3b176cdd --- /dev/null +++ b/languages/pt-br.lang @@ -0,0 +1,283 @@ +Não foi possível apagar esse registro '; +$PALANG['pDelete_domain_error'] = 'Esse domínio não é seu! '; + +$PALANG['pCreate_alias_welcome'] = 'Criar um novo alias para este domínio'; +$PALANG['pCreate_alias_address'] = 'Alias'; +$PALANG['pCreate_alias_address_text_error1'] = '
Esse ALIAS não é válido!'; +$PALANG['pCreate_alias_address_text_error2'] = '
Esse endereço de e-mail já existe. Por favor, escolha outro nome!'; +$PALANG['pCreate_alias_address_text_error3'] = '
Você alcançou seu limite de aliases!'; +$PALANG['pCreate_alias_goto'] = 'Para'; +$PALANG['pCreate_alias_button'] = 'Criar um alias'; +$PALANG['pCreate_alias_goto_text'] = 'Enviar as mensagens para'; +$PALANG['pCreate_alias_goto_text_error'] = 'Os endereços de e-mail.
não são válidos!'; +$PALANG['pCreate_alias_result_error'] = 'Impossível adicionar alias à tabela de aliases!'; +$PALANG['pCreate_alias_result_succes'] = 'O alias já foi criado!'; +$PALANG['pCreate_alias_catchall_text'] = 'Para criar um alias global, utilize "*".
Para encaminhar de um domínio a outro, use "@domain.tld" no campo Para'; + +$PALANG['pEdit_alias_welcome'] = 'Modificar um alias neste domínio.
Uma entrada por linha.'; +$PALANG['pEdit_alias_address'] = 'Alias'; +$PALANG['pEdit_alias_address_error'] = 'Impossível encontrar o alias!'; +$PALANG['pEdit_alias_goto'] = 'Para'; +$PALANG['pEdit_alias_goto_text_error1'] = 'Você não digitou um destinatário (Para)'; +$PALANG['pEdit_alias_goto_text_error2'] = 'O e-mail que você digitou não é válido: '; +$PALANG['pEdit_alias_domain_error'] = 'Esse domínio não é seu: '; +$PALANG['pEdit_alias_button'] = 'Modificar o alias'; +$PALANG['pEdit_alias_result_error'] = 'Impossível modificar esse alias!'; + +$PALANG['pCreate_mailbox_welcome'] = 'Criar conta de e-mail para esse domínio.'; +$PALANG['pCreate_mailbox_username'] = 'Usuário'; +$PALANG['pCreate_mailbox_username_text_error1'] = '
Esse e-mail é inválido!'; +$PALANG['pCreate_mailbox_username_text_error2'] = '
Esse e-mail já existe! Por favor, escolha outro nome'; +$PALANG['pCreate_mailbox_username_text_error3'] = '
Você alcançou o limite de contas de e-mail!'; +$PALANG['pCreate_mailbox_password'] = 'Senha'; +$PALANG['pCreate_mailbox_password2'] = 'Senha (confirmação)'; +$PALANG['pCreate_mailbox_password_text'] = 'Senha para a conta POP3/IMAP'; +$PALANG['pCreate_mailbox_password_text_error'] = 'Senha para a conta POP3/IMAP
A senha é inválida!
ou não foi digitada
'; +$PALANG['pCreate_mailbox_name'] = 'Nome'; +$PALANG['pCreate_mailbox_name_text'] = 'Nome completo'; +$PALANG['pCreate_mailbox_quota'] = 'Limite'; +$PALANG['pCreate_mailbox_quota_text'] = 'MB'; +$PALANG['pCreate_mailbox_quota_text_error'] = 'MB
O limite especificado é muito alto!'; +$PALANG['pCreate_mailbox_active'] = 'Ativo'; +$PALANG['pCreate_mailbox_mail'] = 'Criar e-mail'; +$PALANG['pCreate_mailbox_button'] = 'Adicionar e-mail'; +$PALANG['pCreate_mailbox_result_error'] = 'Impossível criar conta de e-mail!'; +$PALANG['pCreate_mailbox_result_succes'] = 'O e-mail já foi criado!'; + +$PALANG['pEdit_mailbox_welcome'] = 'Modificar conta de e-mail.'; +$PALANG['pEdit_mailbox_username'] = 'Usuário'; +$PALANG['pEdit_mailbox_username_error'] = 'Impossível encontrar esse e-mail!'; +$PALANG['pEdit_mailbox_password'] = 'Nova senha'; +$PALANG['pEdit_mailbox_password2'] = 'Nova senha (confirmação)'; +$PALANG['pEdit_mailbox_password_text_error'] = 'As senhas são diferentes!'; +$PALANG['pEdit_mailbox_name'] = 'Nome'; +$PALANG['pEdit_mailbox_quota'] = 'Limite'; +$PALANG['pEdit_mailbox_quota_text'] = 'MB'; +$PALANG['pEdit_mailbox_quota_text_error'] = 'MB
O limite especificado é muito alto!'; +$PALANG['pEdit_mailbox_domain_error'] = 'Esse domínio não é seu: '; +$PALANG['pEdit_mailbox_button'] = 'Modificar conta de e-mail'; +$PALANG['pEdit_mailbox_result_error'] = 'Impossível mudar sua senha!'; + +$PALANG['pPassword_welcome'] = 'Mudar senha.'; +$PALANG['pPassword_admin'] = 'Usuário'; +$PALANG['pPassword_admin_text_error'] = 'As informações fornecidas não são de uma conta válida!'; +$PALANG['pPassword_password_current'] = 'Senha atual'; +$PALANG['pPassword_password_current_text_error'] = 'Você não digitou a senha atual!'; +$PALANG['pPassword_password'] = 'Nova senha'; +$PALANG['pPassword_password2'] = 'Nova senha (confirmação)'; +$PALANG['pPassword_password_text_error'] = 'As senhas digitadas não correspondem!
Ou são nulas!
'; +$PALANG['pPassword_button'] = 'Mudar senha'; +$PALANG['pPassword_result_error'] = 'Impossível modificar a senha!'; +$PALANG['pPassword_result_succes'] = 'Sua senha foi modificada com sucesso!'; + +$PALANG['pViewlog_welcome'] = 'Ver as 10 últimas ações para '; +$PALANG['pViewlog_timestamp'] = 'Data/Hora'; +$PALANG['pViewlog_username'] = 'Administrador'; +$PALANG['pViewlog_domain'] = 'Domínio'; +$PALANG['pViewlog_action'] = 'Ação'; +$PALANG['pViewlog_data'] = 'Informação'; + +$PALANG['pViewlog_button'] = 'Ir'; +$PALANG['pViewlog_result_error'] = 'Não foi possível achar os históricos!'; + +$PALANG['pSendmail_welcome'] = 'Enviar um e-mail.'; +$PALANG['pSendmail_admin'] = 'De'; +$PALANG['pSendmail_to'] = 'Para'; +$PALANG['pSendmail_to_text_error'] = '(Para) está vazio ou não é um e-mail válido!'; +$PALANG['pSendmail_subject'] = 'Assunto'; +$PALANG['pSendmail_subject_text'] = 'Bem-vindo'; +$PALANG['pSendmail_body'] = 'Mensagem'; +$PALANG['pSendmail_body_text'] = << até . +Em caso de urgência, favor contatar . +EOM; +$PALANG['pUsersVacation_button_away'] = 'Ausente'; +$PALANG['pUsersVacation_button_back'] = 'Retorno'; +$PALANG['pUsersVacation_result_error'] = 'Impossível atualizar suas configurações para resposta automática!'; +$PALANG['pUsersVacation_result_succes'] = 'Sua resposta automática foi removida!'; +?> diff --git a/languages/ru.lang b/languages/ru.lang new file mode 100644 index 00000000..70bad448 --- /dev/null +++ b/languages/ru.lang @@ -0,0 +1,284 @@ +Íåâîçìîæíî óäàëèòü çàïèñü '; +$PALANG['pDelete_domain_error'] = 'Ýòîò äîìåí íå ïðèíàäëåæèò âàì '; + +$PALANG['pCreate_alias_welcome'] = 'Ñîçäàéòå íîâûé àëèàñ äëÿ âàøåãî äîìåíà.'; +$PALANG['pCreate_alias_address'] = 'Àëèàñ'; +$PALANG['pCreate_alias_address_text_error1'] = '
íåâåðíîå èìÿ àëèàñà!'; +$PALANG['pCreate_alias_address_text_error2'] = '
Ýòîò ïî÷òîâûé àäðåñ óæå ñóùåñòâóåò, ïîæàëóéñòà, âûáåðèòå äðóãîé.'; +$PALANG['pCreate_alias_address_text_error3'] = '
Âû äîñòèãëè ëèìèòà ïî ñîçäàííûì àëèàñàì'; +$PALANG['pCreate_alias_goto'] = 'Êîìó'; +$PALANG['pCreate_alias_button'] = 'Ñîçäàòü àëèàñ'; +$PALANG['pCreate_alias_goto_text'] = 'Êîìó äîëæíà äîñòàâëÿòüñÿ ïî÷òà.'; +$PALANG['pCreate_alias_goto_text_error'] = 'Êîìó äîëæíà èäòè ïî÷òà.
Íåâåðíîå ïîëå Êóäà!'; +$PALANG['pCreate_alias_result_error'] = 'Íåâîçìîæíî äîáàâèòü àëèàñ â ñïèñîê!'; +$PALANG['pCreate_alias_result_succes'] = 'Àëèàñ áûë óñïåøíî ñîçäàí!'; +$PALANG['pCreate_alias_catchall_text'] = 'Äëÿ ñîçäàíèÿ catch-all ïî÷òîâîãî ÿùèêà èñïîëüçóéòå "*" â êà÷åñòâå èìåíè àëèàñà.
äëÿ âíóòðèäîìåííîãî ïåðåíàïðàâëåíèÿ èñïîëüçóéòå "*@domain.tld" äëÿ ïîëå Êîìó'; + +$PALANG['pEdit_alias_welcome'] = 'Ðåäàêòèðîâàòü àëèàñ äëÿ âàøåãî äîìåíà.
Îäíà çàïèñü äëÿ ëèíèè.'; +$PALANG['pEdit_alias_address'] = 'Àëèàñ'; +$PALANG['pEdit_alias_address_error'] = 'Íåâîçìîæíî îïðåäåëèòü àëèàñ!'; +$PALANG['pEdit_alias_goto'] = 'Êóäà'; +$PALANG['pEdit_alias_goto_text_error1'] = 'Âû íè÷åãî íå ââåëè â ïîëå Êîìó'; +$PALANG['pEdit_alias_goto_text_error2'] = ' Âû ââåëè íåâåðíûé àäðåñ '; +$PALANG['pEdit_alias_domain_error'] = 'Ýòîò äîìåí íå ïðèíàäëåæèò âàì: '; +$PALANG['pEdit_alias_button'] = 'Ðåäàêòèðîâàòü àëèàñ'; +$PALANG['pEdit_alias_result_error'] = 'Íåâîçìîæíî èçìåíèòü àëèàñ!'; + +$PALANG['pCreate_mailbox_welcome'] = 'Ñîçäàíèå íîâîãî ïî÷òîâîãî ÿùèêà äëÿ âàøåãî äîìåíà.'; +$PALANG['pCreate_mailbox_username'] = 'Èìÿ'; +$PALANG['pCreate_mailbox_username_text_error1'] = '
Íåâåðíîå èìÿ!'; +$PALANG['pCreate_mailbox_username_text_error2'] = '
Ýòî èìÿ óæå ñóùåñòâóåò, ïîæàëóéñòà, âûáåðèòå äðóãîå!'; +$PALANG['pCreate_mailbox_username_text_error3'] = '
Âû äîñòèãëè ëèìèòà ïî ñîçäàíèþ ïî÷òîâûõ ÿùèêîâ!'; +$PALANG['pCreate_mailbox_password'] = 'Ïàðîëü'; +$PALANG['pCreate_mailbox_password2'] = 'Ïàðîëü (åùå ðàç)'; +$PALANG['pCreate_mailbox_password_text'] = 'Ïàðîëü äëÿ POP3/IMAP'; +$PALANG['pCreate_mailbox_password_text_error'] = 'Ïàðîëü äëÿ POP3/IMAP
Ïàðîëü, ââåäåííûé âàìè íå ïîäõîäèò!
ëèáî ïóñò!
'; +$PALANG['pCreate_mailbox_name'] = 'Èìÿ'; +$PALANG['pCreate_mailbox_name_text'] = 'Ïîëíîå èìÿ'; +$PALANG['pCreate_mailbox_quota'] = 'Êâîòà'; +$PALANG['pCreate_mailbox_quota_text'] = 'MB'; +$PALANG['pCreate_mailbox_quota_text_error'] = 'MB
Êâîòà, âûñòàâëåííàÿ âàìè, ñëèøêîì âåëèêà!'; +$PALANG['pCreate_mailbox_active'] = 'àêòèâíûé'; +$PALANG['pCreate_mailbox_mail'] = 'Ñîçäàòü ÿùèê'; +$PALANG['pCreate_mailbox_button'] = 'Ñîçäàòü ÿùèê'; +$PALANG['pCreate_mailbox_result_error'] = 'Íåâîçìîæíî äîáàâèòü ÿùèê â ñïèñîê ñóùåñòâóþùèõ ÿùèêîâ!'; +$PALANG['pCreate_mailbox_result_succes'] = 'Ïî÷òîâûé ÿùèê áûë óñïåøíî ñîçäàí!'; + +$PALANG['pEdit_mailbox_welcome'] = 'Ðåäàêòèðîâàòü ÿùèê äëÿ âàøåãî äîìåíà.'; +$PALANG['pEdit_mailbox_username'] = 'Èìÿ'; +$PALANG['pEdit_mailbox_username_error'] = 'Íåâîçìîæíî îïðåäåëèòü ÿùèê!'; +$PALANG['pEdit_mailbox_password'] = 'Íîâûé ïàðîëü'; +$PALANG['pEdit_mailbox_password2'] = 'Íîâûé ïàðîëü (åùå ðàç)'; +$PALANG['pEdit_mailbox_password_text_error'] = 'Ïàðîëü ââåäåííûé âàìè íå ïîäõîäèò!'; +$PALANG['pEdit_mailbox_name'] = 'Èìÿ'; +$PALANG['pEdit_mailbox_quota'] = 'Êâîòà'; +$PALANG['pEdit_mailbox_quota_text'] = 'MB'; +$PALANG['pEdit_mailbox_quota_text_error'] = 'MB
Êâîòà, âûñòàâëåííàÿ âàìè, ñëèøêîì âåëèêà!'; +$PALANG['pEdit_mailbox_domain_error'] = 'Ýòîò äîìåí íå ïðèíàäëåæèò âàì: '; +$PALANG['pEdit_mailbox_button'] = 'Ðåäàêòèðîâàòü ÿùèê'; +$PALANG['pEdit_mailbox_result_error'] = 'Íåâîçìîæíî èçìåíèòü ïàðîëü!'; + +$PALANG['pPassword_welcome'] = 'Èçìåíåíèå ïàðîëÿ.'; +$PALANG['pPassword_admin'] = 'Èìÿ äëÿ âõîäà'; +$PALANG['pPassword_admin_text_error'] = 'Èìÿ, ââåäåííîå âàìè, íå ñîîòâåòñòâóåò ÿùèêó!'; +$PALANG['pPassword_password_current'] = 'Òåêóùèé ïàðîëü'; +$PALANG['pPassword_password_current_text_error'] = 'Âû íå èçìåíèëè âàø òåêóùèé ïàðîëü!'; +$PALANG['pPassword_password'] = 'Íîâûé ïàðîëü'; +$PALANG['pPassword_password2'] = 'Íîâûé ïàðîëü (åùå ðàç)'; +$PALANG['pPassword_password_text_error'] = 'Ââåäåííûå âàìè ïàðîëè íå ñîâïàäàþò!
èëè ïóñòû!
'; +$PALANG['pPassword_button'] = 'Èçìåíèòü ïàðîëü'; +$PALANG['pPassword_result_error'] = 'Íåâîçìîæíî èçìåíèòü âàø ïàðîëü!'; +$PALANG['pPassword_result_succes'] = 'Âàø ïàðîëü áûë èçìåíåí!'; + +$PALANG['pViewlog_welcome'] = 'Ïðîñìîòðåòü ïîñëåäíèõ 10 äåéñòâèé äëÿ '; +$PALANG['pViewlog_timestamp'] = 'Âðåìÿ ñîçäàíèÿ/ìîäèôèêàöèè'; +$PALANG['pViewlog_username'] = 'Àäìèí'; +$PALANG['pViewlog_domain'] = 'Äîìåí'; +$PALANG['pViewlog_action'] = 'Äåéñòâèå'; +$PALANG['pViewlog_data'] = 'Äàòà'; + +$PALANG['pViewlog_button'] = 'Âûáðàòü'; +$PALANG['pViewlog_result_error'] = 'Íåâîçìîæíî íàéòè ëîã-ôàéëû!'; + +$PALANG['pSendmail_welcome'] = 'Ïîñëàòü ïèñüìî.'; +$PALANG['pSendmail_admin'] = 'Îò'; +$PALANG['pSendmail_to'] = 'Êîìó'; +$PALANG['pSendmail_to_text_error'] = 'Ïîëå Êîìó ïóñòîå ëèáî ñîäåðæèò íåâåðíûé àäðåñ!'; +$PALANG['pSendmail_subject'] = 'Òåìà'; +$PALANG['pSendmail_subject_text'] = 'Äîáðî ïîæàëîâàòü!'; +$PALANG['pSendmail_body'] = 'Òåêñò'; +$PALANG['pSendmail_body_text'] = << ïî . + ýêñòðåííûõ ñëó÷àÿõ âû ìîæåòå îáðàòèòüñÿ ê . +EOM; +$PALANG['pUsersVacation_button_away'] = 'Óõîæó'; +$PALANG['pUsersVacation_button_back'] = 'Âîçâðàùàþñü'; +$PALANG['pUsersVacation_result_error'] = 'Íåâîçìîæíî èçìåíèòü íàñòðîéêè àâòîîòâåò÷èêà!'; +$PALANG['pUsersVacation_result_succes'] = 'Âàø àâòîîòâåò÷èê áûë óáðàí!'; +?> diff --git a/languages/se.lang b/languages/se.lang new file mode 100644 index 00000000..b1f496e8 --- /dev/null +++ b/languages/se.lang @@ -0,0 +1,287 @@ +Kan inte radera data för '; +$PALANG['pDelete_domain_error'] = 'Detta är inte din domän '; + +$PALANG['pCreate_alias_welcome'] = 'Skapa nytt alias för din domän.'; +$PALANG['pCreate_alias_address'] = 'Alias'; +$PALANG['pCreate_alias_address_text_error1'] = '
Detta ALIAS är inte giltigt!'; +$PALANG['pCreate_alias_address_text_error2'] = '
Denna epostadress existerar redan, välj en annan epostadress!'; +$PALANG['pCreate_alias_address_text_error3'] = '
Du har redan högsta tillåtna antal alias definierade!'; +$PALANG['pCreate_alias_goto'] = 'Till'; +$PALANG['pCreate_alias_button'] = 'Lägg till Alias'; +$PALANG['pCreate_alias_goto_text'] = 'Vart skall mailen skickas.'; +$PALANG['pCreate_alias_goto_text_error'] = 'Vart mailen skall skickas.
TILL data är felaktigt!'; +$PALANG['pCreate_alias_result_error'] = 'Kan inte lägga till detta alias i aliastabellen!'; +$PALANG['pCreate_alias_result_succes'] = 'Aliaset har lagts till i aliastabellen!'; +$PALANG['pCreate_alias_catchall_text'] = 'För att skapa en catch-all ange ett "*" som alias.
För domän till domän forwarding använd "*@domän.tld" som till.'; + +$PALANG['pEdit_alias_welcome'] = 'Editera ett alias för din domän.
Ett alias per rad.'; +$PALANG['pEdit_alias_address'] = 'Alias'; +$PALANG['pEdit_alias_address_error'] = 'Kan inte hitta detta alias!'; +$PALANG['pEdit_alias_goto'] = 'Till'; +$PALANG['pEdit_alias_goto_text_error1'] = 'Du angav inget i Till'; +$PALANG['pEdit_alias_goto_text_error2'] = 'Epost adressen du angivit är felaktig: '; +$PALANG['pEdit_alias_domain_error'] = 'Detta är inte din domän: '; +$PALANG['pEdit_alias_button'] = 'Editera Alias'; +$PALANG['pEdit_alias_result_error'] = 'Kan inte modifiera detta alias!'; + +$PALANG['pCreate_mailbox_welcome'] = 'Skapa en ny lokal mailadress för din domän.'; +$PALANG['pCreate_mailbox_username'] = 'Användarnamn'; +$PALANG['pCreate_mailbox_username_text_error1'] = '
EPOSTADRESSEN är inte korrekt!'; +$PALANG['pCreate_mailbox_username_text_error2'] = '
Denna epostadress finns redan, ange en annan adress!'; +$PALANG['pCreate_mailbox_username_text_error3'] = '
Du har redan skapat max tillåtet antal mailadresser!'; +$PALANG['pCreate_mailbox_password'] = 'Lösenord'; +$PALANG['pCreate_mailbox_password2'] = 'Lösenord (igen)'; +$PALANG['pCreate_mailbox_password_text'] = 'Lösenord för POP3/IMAP'; +$PALANG['pCreate_mailbox_password_text_error'] = 'Lösenord för POP3/IMAP
Lösenorden du angivit är olika!
Eller tomma!
'; +$PALANG['pCreate_mailbox_name'] = 'Namn'; +$PALANG['pCreate_mailbox_name_text'] = 'Fullständigt namn'; +$PALANG['pCreate_mailbox_quota'] = 'Quota'; +$PALANG['pCreate_mailbox_quota_text'] = 'MB'; +$PALANG['pCreate_mailbox_quota_text_error'] = 'MB
Quotan du angivit är för stor!'; +$PALANG['pCreate_mailbox_active'] = 'Aktiv'; +$PALANG['pCreate_mailbox_mail'] = 'Skapa mailadress'; +$PALANG['pCreate_mailbox_button'] = 'Lägg till mailadress'; +$PALANG['pCreate_mailbox_result_error'] = 'Kan ej lägga till mailadress i tabellen för adresser!'; +$PALANG['pCreate_mailbox_result_succes'] = 'Mailadressen har lagts till!'; + +$PALANG['pEdit_mailbox_welcome'] = 'Editera en mailadress i din domän.'; +$PALANG['pEdit_mailbox_username'] = 'Användarnamn'; +$PALANG['pEdit_mailbox_username_error'] = 'Kan inte hitta den adressen!'; +$PALANG['pEdit_mailbox_password'] = 'Nytt Lösenord'; +$PALANG['pEdit_mailbox_password2'] = 'Nytt Lösenord (igen)'; +$PALANG['pEdit_mailbox_password_text_error'] = 'Lösenorden du angav är olika!'; +$PALANG['pEdit_mailbox_name'] = 'Namn'; +$PALANG['pEdit_mailbox_quota'] = 'Quota'; +$PALANG['pEdit_mailbox_quota_text'] = 'MB'; +$PALANG['pEdit_mailbox_quota_text_error'] = 'MB
Quotagränsen du angett är för stor!'; +$PALANG['pEdit_mailbox_domain_error'] = 'Detta är inte din domän: '; +$PALANG['pEdit_mailbox_button'] = 'Editera Mailadress'; +$PALANG['pEdit_mailbox_result_error'] = 'Kan inte ändra lösenordet!'; + +$PALANG['pPassword_welcome'] = 'Ändra ditt lösenord.'; +$PALANG['pPassword_admin'] = 'Login'; +$PALANG['pPassword_admin_text_error'] = 'Det LOGIN du angivit har ingen mailbox kopplad till sig!'; +$PALANG['pPassword_password_current'] = 'Nuvarande Lösenord'; +$PALANG['pPassword_password_current_text_error'] = 'Du angav ej korrekt lösenord!'; +$PALANG['pPassword_password'] = 'Nytt Lösenord'; +$PALANG['pPassword_password2'] = 'Nytt Lösenord (igen)'; +$PALANG['pPassword_password_text_error'] = 'Lösenorden du angav var olika!
Eller är tomma!
'; +$PALANG['pPassword_button'] = 'Ändra Lösenord'; +$PALANG['pPassword_result_error'] = 'Kan inte ändra ditt lösenord!'; +$PALANG['pPassword_result_succes'] = 'Ditt lösenord har ändrats!'; + +$PALANG['pViewlog_welcome'] = 'Visa dom senaste 10 åtgärderna för '; +$PALANG['pViewlog_timestamp'] = 'Tidpunkt'; +$PALANG['pViewlog_username'] = 'Admin'; +$PALANG['pViewlog_domain'] = 'Domän'; +$PALANG['pViewlog_action'] = 'Åtgärd'; +$PALANG['pViewlog_data'] = 'Data'; + +$PALANG['pViewlog_button'] = 'Kör'; +$PALANG['pViewlog_result_error'] = 'Kan inte hitta loggarna!'; + +$PALANG['pSendmail_welcome'] = 'Skicka ett mail.'; +$PALANG['pSendmail_admin'] = 'Från'; +$PALANG['pSendmail_to'] = 'Till'; +$PALANG['pSendmail_to_text_error'] = 'Till är en ogiltig mailadress eller tomt.!'; +$PALANG['pSendmail_subject'] = 'Ämne'; +$PALANG['pSendmail_subject_text'] = 'Välkommen'; +$PALANG['pSendmail_body'] = 'Meddelande'; +$PALANG['pSendmail_body_text'] = << till . +För brådskande ärenden kan ni kontakta . +EOM; +$PALANG['pUsersVacation_button_away'] = 'Försvinner'; +$PALANG['pUsersVacation_button_back'] = 'Kommer Tillbaka'; +$PALANG['pUsersVacation_result_error'] = 'Kan inte uppdatera dina autosvar inställningar!'; +$PALANG['pUsersVacation_result_succes'] = 'Ditt autosvar har taqits bort!'; +?> + diff --git a/languages/tr.lang b/languages/tr.lang new file mode 100644 index 00000000..dcc9b117 --- /dev/null +++ b/languages/tr.lang @@ -0,0 +1,286 @@ +Kayýt silinemiyor '; +$PALANG['pDelete_domain_error'] = 'Bu domain size ait deðil '; + +$PALANG['pCreate_alias_welcome'] = 'Domaininiz için yeni bir alias yaratýn.'; +$PALANG['pCreate_alias_address'] = 'Alias'; +$PALANG['pCreate_alias_address_text_error1'] = '
ALIAS uygun deðil!'; +$PALANG['pCreate_alias_address_text_error2'] = '
Bu e-posta zaten kullanýlýyor, lütfen baþka bir tane seçin!'; +$PALANG['pCreate_alias_address_text_error3'] = '
Alias limitine ulaþtýnýz!'; +$PALANG['pCreate_alias_goto'] = 'kime'; +$PALANG['pCreate_alias_button'] = 'Alias Ekle'; +$PALANG['pCreate_alias_goto_text'] = 'E-postanýn gitmesi gereken yer.'; +$PALANG['pCreate_alias_goto_text_error'] = 'E-postanýn gitmesi gereken bir yer.
Kime alaný uygun deðil!'; +$PALANG['pCreate_alias_result_error'] = 'Alias\'ý alias tabþlosuna eklenemedi!'; +$PALANG['pCreate_alias_result_succes'] = 'Alias tabloya eklendi!'; +$PALANG['pCreate_alias_catchall_text'] = 'Hepsini-yakala yaratmak için alias olarak "*" kullanýn.
Domain yönlendirme domaini için kime kýsmýnda "*@domain.tld" kullanýn.'; + +$PALANG['pEdit_alias_welcome'] = 'domaniniz için bir domain\'i düzenleyin.
Satýr baþýna bir giriþ.'; +$PALANG['pEdit_alias_address'] = 'Alias'; +$PALANG['pEdit_alias_address_error'] = 'alias bulunamýyor!'; +$PALANG['pEdit_alias_goto'] = 'Kime'; +$PALANG['pEdit_alias_goto_text_error1'] = 'Kime kýsmýna hiçbirþey girmediniz.'; +$PALANG['pEdit_alias_goto_text_error2'] = 'Girdiðiniz e-posta uygun deðil: '; +$PALANG['pEdit_alias_domain_error'] = 'Bu domain sizin deðil: '; +$PALANG['pEdit_alias_button'] = 'Alias Düzenle'; +$PALANG['pEdit_alias_result_error'] = 'Alias düzenlenemiyor!'; + +$PALANG['pCreate_mailbox_welcome'] = 'Domaininiz için yeni bir lokal e-posta yaratýn.'; +$PALANG['pCreate_mailbox_username'] = 'Kullanýcý adý'; +$PALANG['pCreate_mailbox_username_text_error1'] = '
E-POSTA uygun deðil!'; +$PALANG['pCreate_mailbox_username_text_error2'] = '
Bu elektronik posta kullanýlmakta, lütfen farklý bir tane seçin!'; +$PALANG['pCreate_mailbox_username_text_error3'] = '
Posta kutusu yaratma limitinize eriþtiniz!'; +$PALANG['pCreate_mailbox_password'] = 'þifre'; +$PALANG['pCreate_mailbox_password2'] = 'þifre (tekrar)'; +$PALANG['pCreate_mailbox_password_text'] = 'POP3/IMAP için þifre'; +$PALANG['pCreate_mailbox_password_text_error'] = 'POP3/IMAP için þifre
Verdiðiniz þifreler birbirini tutmuyor!
Ya da boþ!
'; +$PALANG['pCreate_mailbox_name'] = 'Ýsim'; +$PALANG['pCreate_mailbox_name_text'] = 'Tam isim'; +$PALANG['pCreate_mailbox_quota'] = 'kota'; +$PALANG['pCreate_mailbox_quota_text'] = 'MB'; +$PALANG['pCreate_mailbox_quota_text_error'] = 'MB
Veridðiniz kota çok yüksek!'; +$PALANG['pCreate_mailbox_active'] = 'Aktif'; +$PALANG['pCreate_mailbox_mail'] = 'Posta kutusu yarat'; +$PALANG['pCreate_mailbox_button'] = 'Posta kutusu ekle'; +$PALANG['pCreate_mailbox_result_error'] = 'Posta kutusu posta kutusu tablosuna eklenemiyor!'; +$PALANG['pCreate_mailbox_result_succes'] = 'Posta kutusu tabloya eklendi!'; + +$PALANG['pEdit_mailbox_welcome'] = 'Domaninizdeki bir posta kutusunu düzenleyin.'; +$PALANG['pEdit_mailbox_username'] = 'kullanýcý adý'; +$PALANG['pEdit_mailbox_username_error'] = 'Posta kutusu bulunamadý!'; +$PALANG['pEdit_mailbox_password'] = 'Yeni þifre'; +$PALANG['pEdit_mailbox_password2'] = 'Yeni þifre (tekrar)'; +$PALANG['pEdit_mailbox_password_text_error'] = 'Verdiðiniz þifreler birbirini tutmuyor!'; +$PALANG['pEdit_mailbox_name'] = 'Ýsim'; +$PALANG['pEdit_mailbox_quota'] = 'kota'; +$PALANG['pEdit_mailbox_quota_text'] = 'MB'; +$PALANG['pEdit_mailbox_quota_text_error'] = 'MB
Verdiðiniz kota çok yüksek!'; +$PALANG['pEdit_mailbox_domain_error'] = 'Bu domain dizin deðil: '; +$PALANG['pEdit_mailbox_button'] = 'Posta kutusunu düzenle'; +$PALANG['pEdit_mailbox_result_error'] = 'Þifre deðiþtirilemedi!'; + +$PALANG['pPassword_welcome'] = 'Giriþ þifrenizi deðiþtirin.'; +$PALANG['pPassword_admin'] = 'Giriþ'; +$PALANG['pPassword_admin_text_error'] = 'Verdiðiniz e-posta kutusu hiçbir posta kutusuna uymuyor!'; +$PALANG['pPassword_password_current'] = 'þuanki þifre'; +$PALANG['pPassword_password_current_text_error'] = 'Þuanki þifrenizi vermediniz!'; +$PALANG['pPassword_password'] = 'Yeni Þifre'; +$PALANG['pPassword_password2'] = 'Yeni þifre (tekrar)'; +$PALANG['pPassword_password_text_error'] = 'Verdiðiniz þifreler birbirini tutmuyor!
Ya da boþ!
'; +$PALANG['pPassword_button'] = 'Þifreyi deðiþtir'; +$PALANG['pPassword_result_error'] = 'Þifreniz deðiþtirilemedi!'; +$PALANG['pPassword_result_succes'] = 'þifreniz deðiþtirildi!'; + +$PALANG['pViewlog_welcome'] = 'Son 10 hareket:'; +$PALANG['pViewlog_timestamp'] = 'Timestamp'; +$PALANG['pViewlog_username'] = 'Yönetici'; +$PALANG['pViewlog_domain'] = 'Domain'; +$PALANG['pViewlog_action'] = 'Aksiyon'; +$PALANG['pViewlog_data'] = 'Veri'; + +$PALANG['pViewlog_button'] = 'Git'; +$PALANG['pViewlog_result_error'] = 'Loglar bulunamýyor!'; + +$PALANG['pSendmail_welcome'] = 'Eposta gönder.'; +$PALANG['pSendmail_admin'] = 'kimden'; +$PALANG['pSendmail_to'] = 'Kime'; +$PALANG['pSendmail_to_text_error'] = 'Kime doðru bir e-posta deðil!'; +$PALANG['pSendmail_subject'] = 'konu'; +$PALANG['pSendmail_subject_text'] = 'Hoþ geldiniz'; +$PALANG['pSendmail_body'] = 'Metin'; +$PALANG['pSendmail_body_text'] = << tarihinden den ine burada bulunmayacaðým. +Acil durumlarda lütfen a baþvurunuz. +EOM; +$PALANG['pUsersVacation_button_away'] = 'Dýþarý gidiyorum.'; +$PALANG['pUsersVacation_button_back'] = 'Geri Geliyorum'; +$PALANG['pUsersVacation_result_error'] = 'otomatik cevaplama ayarlarýnýzý deðiþtirilemiyor!'; +$PALANG['pUsersVacation_result_succes'] = 'Otomatik cevaplamanýz kaldýrýldý!'; +?> + diff --git a/login.php b/login.php new file mode 100644 index 00000000..b5e0b236 --- /dev/null +++ b/login.php @@ -0,0 +1,68 @@ + diff --git a/logout.php b/logout.php new file mode 100644 index 00000000..52e904f9 --- /dev/null +++ b/logout.php @@ -0,0 +1,25 @@ + diff --git a/main.php b/main.php new file mode 100644 index 00000000..591e1212 --- /dev/null +++ b/main.php @@ -0,0 +1,36 @@ + diff --git a/overview.php b/overview.php new file mode 100644 index 00000000..04bac9e5 --- /dev/null +++ b/overview.php @@ -0,0 +1,113 @@ + 0) + { + while ($row = mysql_fetch_array ($result['result'])) + { + $tAlias[] = $row; + } + } + + $result = db_query ("SELECT * FROM mailbox WHERE domain='$fDomain' ORDER BY username"); + if ($result['rows'] > 0) + { + while ($row = mysql_fetch_array ($result['result'])) + { + $tMailbox[] = $row; + } + } + $template = "overview.tpl"; + } + else + { + $template = "overview-get.tpl"; + } + + include ("./templates/header.tpl"); + include ("./templates/menu.tpl"); + include ("./templates/$template"); + include ("./templates/footer.tpl"); +} + +if ($_SERVER['REQUEST_METHOD'] == "POST") +{ + if (check_owner ($SESSID_USERNAME, $_POST['fDomain'])) + { + $fDomain = $_POST['fDomain']; + + $limit = get_domain_properties ($fDomain); + + if ($CONF['alias_control'] == "YES") + { + $query = "SELECT alias.address,alias.goto,alias.modified FROM alias WHERE alias.domain='$fDomain' ORDER BY alias.address"; + } + else + { + $query = "SELECT alias.address,alias.goto,alias.modified FROM alias LEFT JOIN mailbox ON alias.address=mailbox.username WHERE alias.domain='$fDomain' AND mailbox.maildir IS NULL ORDER BY alias.address"; + } + + $result = db_query ("$query"); + if ($result['rows'] > 0) + { + while ($row = mysql_fetch_array ($result['result'])) + { + $tAlias[] = $row; + } + } + + $result = db_query ("SELECT * FROM mailbox WHERE domain='$fDomain' ORDER BY username"); + if ($result['rows'] > 0) + { + while ($row = mysql_fetch_array ($result['result'])) + { + $tMailbox[] = $row; + } + } + } + + include ("./templates/header.tpl"); + include ("./templates/menu.tpl"); + include ("./templates/overview.tpl"); + include ("./templates/footer.tpl"); +} +?> diff --git a/password.php b/password.php new file mode 100644 index 00000000..0209fede --- /dev/null +++ b/password.php @@ -0,0 +1,86 @@ + diff --git a/postfixadmin.png b/postfixadmin.png new file mode 100644 index 00000000..aa81e96a Binary files /dev/null and b/postfixadmin.png differ diff --git a/sendmail.php b/sendmail.php new file mode 100644 index 00000000..8c6a01be --- /dev/null +++ b/sendmail.php @@ -0,0 +1,76 @@ + diff --git a/stylesheet.css b/stylesheet.css new file mode 100644 index 00000000..ae228e6d --- /dev/null +++ b/stylesheet.css @@ -0,0 +1,184 @@ +body { + background: white; + color: black; + font-family: Verdana; + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 13px; + margin: 8px; + padding: 0px; + text-align: center; +} + +h1 { + font-family: Verdana; + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 18px; + font-weight: bold; + margin-bottom: 0px; + margin-top: 20px; +} + +a { + color: blue; + font-family: Verdana; + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 11px; + text-decoration: none; +} + +a:visited { + color: blue; + font-family: Verdana; + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 11px; + text-decoration: none; +} + +hr { + line-heigt: 1px; + margin-top: 10px; + margin-bottom: 10px; + width: auto; + text-align: center; +} + +hr.footer { + margin-top: 10px; + margin-bottom: 0px; + width: 640px; +} + +p { + font-family: Verdana; + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 13px; + margin-top: 13px; + text-align: center; +} + +p.footer { + font-family: Verdana; + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 11px; + margin-bottom: 0px; + margin-top: 5px; + text-align: center; +} + +p.error { + color: red; + font-family: Verdana; + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 13px; + text-align: center; +} + +table { + font-family: Verdana; + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 11px; + width: 640px; + text-align: left; + margin-top: 0px; + margin-bottom: 0px; + padding-top: 0px; +} + +table.auto { + font-family: Verdana; + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 11px; + width: auto; + text-align: left; + margin-top: 0px; + margin-bottom: 0px; + padding-top: 0px; +} + + +table.form { + font-size: 11px; + padding-left: 0px; + padding-right: 0px; + text-align: left; + width: auto; +} + +td { + font-family: Verdana; + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 11px; + padding-left: 5px; + padding-right: 5px; +} + +tr.header { + font-family: Verdana; + font-family: Verdana, Arial, Helvetica, sans-serif; + font-weight: bold; + padding-left: 11px; + padding-right: 11px; +} + +td.center { + text-align: center; +} + +td.header { + font-family: Verdana; + font-family: Verdana, Arial, Helvetica, sans-serif; + font-weight: bold; + padding-left: 11px; + padding-right: 11px; + text-align: center; +} + +td.highlight { + font-family: Verdana; + font-family: Verdana, Arial, Helvetica, sans-serif; + background: rgb(169,194,162); + padding-left: 5px; + padding-right: 5px; +} + +td.menu { + text-align: center; + background: #dfdfdf; + border-top: 1px solid #999; + border-right: 1px solid #999; + border-left: 1px solid #999; + border-bottom: 1px solid #999; + border-radius: 2px; + -moz-border-radius: 2px; + padding-bottom: 5px; + padding-top: 5px; + +} + +td.right { + text-align: center; + padding-left: 0px; + padding-right: 0px; + margin-left: 0px; + margin-right: 0px; +} + +input { + font-family: Verdana; + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 11px; + float: none; + clear: none; +} + +input.button { + font-family: Verdana; + font-family: Verdana, Arial, Helvetica, sans-serif; + background: rgb(232,236,176) +} + +textarea { + font-family: Verdana; + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 11px; +} diff --git a/templates/admin_create-admin.tpl b/templates/admin_create-admin.tpl new file mode 100644 index 00000000..e8838525 --- /dev/null +++ b/templates/admin_create-admin.tpl @@ -0,0 +1,71 @@ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+
+
+ +
+ + + +
+ + + + + +
+ + + + +   +
+ +
+ + +
+

diff --git a/templates/admin_create-domain.tpl b/templates/admin_create-domain.tpl new file mode 100644 index 00000000..1adb5ff7 --- /dev/null +++ b/templates/admin_create-domain.tpl @@ -0,0 +1,91 @@ +

+ + + + + + + + + + + + + + + + + + + + + + + + + +\n"; + print " \n"; + print " \n"; + print " \n"; + print " \n"; +} +?> + + + + + + + + +
+ +
+
+
+
+ +
+ + + +
+ + + + +   +
+ + + + + +
+ + + + + +
\n"; + print " " . $PALANG['pAdminCreate_domain_maxquota'] . ":\n"; + print " \n"; + print " \n"; + print " \n"; + print " " . $PALANG['pAdminCreate_domain_maxquota_text'] . "\n"; + print "
+ + + + /> + + +
+ + +
+

diff --git a/templates/admin_create-mailbox.tpl b/templates/admin_create-mailbox.tpl new file mode 100644 index 00000000..422fdb7c --- /dev/null +++ b/templates/admin_create-mailbox.tpl @@ -0,0 +1,115 @@ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + \n"; + print " \n"; + print " \n"; + print " \n"; + print " \n"; + } + ?> + + + + + + + + + + + + + +
+ +
+
+
+
+ +
+ + + + +
+ + + + + +
+ + + + +   +
+ + + + + +
\n"; + print " " . $PALANG['pCreate_mailbox_quota'] . ":\n"; + print " \n"; + print " \n"; + print " \n"; + print " $pCreate_mailbox_quota_text\n"; + print "
+ + + + +   +
+ + + + +   +
+ + +
diff --git a/templates/admin_edit-admin.tpl b/templates/admin_edit-admin.tpl new file mode 100644 index 00000000..a5d96477 --- /dev/null +++ b/templates/admin_edit-admin.tpl @@ -0,0 +1,84 @@ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+
+
+ +
+ + +   +
+ + + + + +
+ + + + +   +
+ + + + /> + +   +
+ + +
+ + +
+

diff --git a/templates/admin_edit-domain.tpl b/templates/admin_edit-domain.tpl new file mode 100644 index 00000000..3b5b8f4c --- /dev/null +++ b/templates/admin_edit-domain.tpl @@ -0,0 +1,86 @@ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+
+
+ +
+ + +   +
+ + + + +   +
+ + + + + +
+ + + + + +
+ + + + + +
+ + + + /> + +   +
+ + +
+

diff --git a/templates/admin_list-admin.tpl b/templates/admin_list-admin.tpl new file mode 100644 index 00000000..6714d70e --- /dev/null +++ b/templates/admin_list-admin.tpl @@ -0,0 +1,31 @@ + 0) +{ + print "

\n"; + print "\n"; + print " \n"; + print " \n"; + print " \n"; + print " \n"; + print " \n"; + print " \n"; + print " \n"; + + for ($i = 0; $i < sizeof ($list_admins); $i++) + { + print " "; + print " "; + print " "; + print " "; + $active = ($admin_properties[$i]['active'] == 1) ? $PALANG['YES'] : $PALANG['NO']; + print " "; + print " "; + print " "; + print " \n"; + } + + print "
" . $PALANG['pAdminList_admin_username'] . "" . $PALANG['pAdminList_admin_count'] . "" . $PALANG['pAdminList_admin_modified'] . "" . $PALANG['pAdminList_admin_active'] . " 
" . $list_admins[$i] . "" . $admin_properties[$i]['domain_count'] . "" . $admin_properties[$i]['modified'] . "" . $active . "" . $PALANG['edit'] . "" . $PALANG['del'] . "
\n"; + print "
\n"; + print "

\n"; +} +?> diff --git a/templates/admin_list-domain.tpl b/templates/admin_list-domain.tpl new file mode 100644 index 00000000..9b9f8929 --- /dev/null +++ b/templates/admin_list-domain.tpl @@ -0,0 +1,57 @@ +

+
+ + +
+

+ 0) +{ + print "

\n"; + print "\n"; + print " \n"; + print " \n"; + print " \n"; + print " \n"; + print " \n"; + if ($CONF['quota'] == 'YES') print " \n"; + print " \n"; + print " \n"; + print " \n"; + print " \n"; + + for ($i = 0; $i < sizeof ($list_domains); $i++) + { + print ""; + print ""; + print ""; + print ""; + print ""; + if ($CONF['quota'] == 'YES') print ""; + print ""; + $active = ($domain_properties[$i]['active'] == 1) ? $PALANG['YES'] : $PALANG['NO']; + print ""; + print ""; + print ""; + print "\n"; + } + + print "
" . $PALANG['pAdminList_domain_domain'] . "" . $PALANG['pAdminList_domain_description'] . "" . $PALANG['pAdminList_domain_aliases'] . "" . $PALANG['pAdminList_domain_mailboxes'] . "" . $PALANG['pAdminList_domain_maxquota'] . "" . $PALANG['pAdminList_domain_modified'] . "" . $PALANG['pAdminList_domain_active'] . " 
" . $list_domains[$i] . "" . $domain_properties[$i]['description'] . "" . $domain_properties[$i]['alias_count'] . " / " . $domain_properties[$i]['aliases'] . "" . $domain_properties[$i]['mailbox_count'] . " / " . $domain_properties[$i]['mailboxes'] . "" . $domain_properties[$i]['maxquota'] . "" . $domain_properties[$i]['modified'] . "" . $active . "" . $PALANG['edit'] . "" . $PALANG['del'] . "
\n"; + print "
\n"; + print "

\n"; +} +?> diff --git a/templates/admin_list-virtual.tpl b/templates/admin_list-virtual.tpl new file mode 100644 index 00000000..f79fb1ac --- /dev/null +++ b/templates/admin_list-virtual.tpl @@ -0,0 +1,85 @@ +

+
+ + +
+

+". $PALANG['pAdminList_virtual_welcome'] . $fDomain . "
\n"; +print $PALANG['pAdminList_virtual_alias_alias_count'] . ": " . $limit['alias_count'] . " / " . $limit['aliases'] . "   "; +print $PALANG['pAdminList_virtual_alias_mailbox_count'] . ": " . $limit['mailbox_count'] . " / " . $limit['mailboxes'] . "
\n"; +print "

\n"; + +if (sizeof ($tAlias) > 0) +{ + print "

\n"; + print "\n"; + print " \n"; + print " \n"; + print " \n"; + print " \n"; + print " \n"; + print " \n"; + + for ($i = 0; $i < sizeof ($tAlias); $i++) + { + print " \n"; + print " \n"; + print " \n"; + print " \n"; + print " \n"; + print " \n"; + print " \n"; + } + + print "
" . $PALANG['pAdminList_virtual_alias_address'] . "" . $PALANG['pAdminList_virtual_alias_goto'] . "" . $PALANG['pAdminList_virtual_alias_modified'] . " 
" . $tAlias[$i]['address'] . "" . ereg_replace (",", "
", $tAlias[$i]['goto']) . "
" . $tAlias[$i]['modified'] . "" . $PALANG['edit'] . "" . $PALANG['del'] . "
\n"; + print "
\n"; + print "

\n"; +} + +if (sizeof ($tMailbox) > 0) +{ + print "

\n"; + print "\n"; + print " \n"; + print " \n"; + print " \n"; + if ($CONF['quota'] == 'YES') print " \n"; + print " \n"; + print " \n"; + print " \n"; + print " \n"; + + for ($i = 0; $i < sizeof ($tMailbox); $i++) + { + print " \n"; + print " \n"; + print " \n"; + if ($CONF['quota'] == 'YES') print " \n"; + print " \n"; + $active = ($tMailbox[$i]['active'] == 1) ? $PALANG['YES'] : $PALANG['NO']; + print " \n"; + print " \n"; + print " \n"; + print " \n"; + } + print "
" . $PALANG['pAdminList_virtual_mailbox_username'] . "" . $PALANG['pAdminList_virtual_mailbox_name'] . "" . $PALANG['pAdminList_virtual_mailbox_quota'] . "" . $PALANG['pAdminList_virtual_mailbox_modified'] . "" . $PALANG['pAdminList_virtual_mailbox_active'] . " 
" . $tMailbox[$i]['username'] . "" . $tMailbox[$i]['name'] . "" . substr ($tMailbox[$i]['quota'], 0, -6) . "" . $tMailbox[$i]['modified'] . "" . $active . "" . $PALANG['edit'] . "" . $PALANG['del'] . "
\n"; + print "
\n"; + print "

\n"; +} +?> diff --git a/templates/admin_menu.tpl b/templates/admin_menu.tpl new file mode 100644 index 00000000..a9b24542 --- /dev/null +++ b/templates/admin_menu.tpl @@ -0,0 +1,62 @@ + + + + + + + + + + + + + + + + + + + + + + +
+   + +   + +   + +   + +   + +   + +   + +   + +   + +   +
+


diff --git a/templates/create-alias.tpl b/templates/create-alias.tpl new file mode 100644 index 00000000..bb1ab916 --- /dev/null +++ b/templates/create-alias.tpl @@ -0,0 +1,57 @@ +
+ + + + + + + + + + + + + + + + + + +
+ +
+
+
+
+ +
+ + + + +
+ + + + + +
+ + +
+

+ diff --git a/templates/create-mailbox.tpl b/templates/create-mailbox.tpl new file mode 100644 index 00000000..434342b6 --- /dev/null +++ b/templates/create-mailbox.tpl @@ -0,0 +1,116 @@ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + +\n"; + print " \n"; + print " \n"; + print " \n"; + print " \n"; +} +?> + + + + + + + + + + + + + +
+ +
+
+
+
+ +
+ + + + +
+ + + + + +
+ + + + +   +
+ + + + + +
\n"; + print " " . $PALANG['pCreate_mailbox_quota'] . ":\n"; + print " \n"; + print " \n"; + print " \n"; + print " $pCreate_mailbox_quota_text\n"; + print "
+ + + + +   +
+ + + + +   +
+ + +
diff --git a/templates/edit-alias.tpl b/templates/edit-alias.tpl new file mode 100644 index 00000000..0a34019f --- /dev/null +++ b/templates/edit-alias.tpl @@ -0,0 +1,49 @@ +
+ + + + + + + + + + + + + + + + + + +
+ +
+
+
+
+ +
+ + +   +
+ + + + +   +
+ + +
diff --git a/templates/edit-mailbox.tpl b/templates/edit-mailbox.tpl new file mode 100644 index 00000000..1ac805dd --- /dev/null +++ b/templates/edit-mailbox.tpl @@ -0,0 +1,90 @@ +
+ + + + + + + + + + + + + + + + + + + + + + + + + +\n"; + print " \n"; + print " \n"; + print " \n"; + print " \n"; +} +?> + + + + + + + + +
+ +
+
+
+
+ +
+ + + +
+ + + + + +
+ + + + +   +
+ + + + +   +
\n"; + print " " . $PALANG['pEdit_mailbox_quota'] . ":\n"; + print " \n"; + print " \n"; + print " \n"; + print " $pEdit_mailbox_quota_text\n"; + print "
+ + + + /> + +   +
+ + +
diff --git a/templates/footer.tpl b/templates/footer.tpl new file mode 100644 index 00000000..34c66150 --- /dev/null +++ b/templates/footer.tpl @@ -0,0 +1,12 @@ +
+ + diff --git a/templates/header.tpl b/templates/header.tpl new file mode 100644 index 00000000..f08310f4 --- /dev/null +++ b/templates/header.tpl @@ -0,0 +1,19 @@ + + + + + +\n"; +if (file_exists (realpath ("../stylesheet.css"))) print "\n"; +?> +Postfix Admin + + +
diff --git a/templates/login.tpl b/templates/login.tpl new file mode 100644 index 00000000..dc0b20c9 --- /dev/null +++ b/templates/login.tpl @@ -0,0 +1,69 @@ +\n"; +} +else +{ + print "

" . $CONF['header_text'] . "

\n"; +} +?> +

+

+ + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + +
+
+
+
+
+
+ +
+
+
+ + +
+
+ + +
+

+ +

+

+
+
+
diff --git a/templates/main.tpl b/templates/main.tpl new file mode 100644 index 00000000..3081a714 --- /dev/null +++ b/templates/main.tpl @@ -0,0 +1,66 @@ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +

+

+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+
diff --git a/templates/menu.tpl b/templates/menu.tpl new file mode 100644 index 00000000..6f0ec69e --- /dev/null +++ b/templates/menu.tpl @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + +
+   + +   + +   + +   + +   + +   + +   + +   +
+
diff --git a/templates/message.tpl b/templates/message.tpl new file mode 100644 index 00000000..97824046 --- /dev/null +++ b/templates/message.tpl @@ -0,0 +1,2 @@ +
+ diff --git a/templates/overview-get.tpl b/templates/overview-get.tpl new file mode 100644 index 00000000..3065633d --- /dev/null +++ b/templates/overview-get.tpl @@ -0,0 +1,44 @@ +
+
+ + +
+

+\n"; +print "\n"; +print " \n"; +print " \n"; +print " \n"; +print " \n"; +if ($CONF['quota'] == 'YES') print " \n"; +print " \n"; + +for ($i = 0; $i < sizeof ($list_domains); $i++) +{ + $limit = get_domain_properties ($list_domains[$i]); + + print " \n"; + print " \n"; + print " \n"; + print " \n"; + if ($CONF['quota'] == 'YES') print " \n"; + print " \n"; +} +print "
" . $PALANG['pOverview_get_domain'] . "" . $PALANG['pOverview_get_aliases'] . "" . $PALANG['pOverview_get_mailboxes'] . "" . $PALANG['pOverview_get_quota'] . "
" . $list_domains[$i] . "" . $limit['alias_count'] . " / " . $limit['aliases'] . "" . $limit['mailbox_count'] . " / " . $limit['mailboxes'] . "" . $limit['maxquota'] . "
\n"; +print "

\n"; +?> diff --git a/templates/overview.tpl b/templates/overview.tpl new file mode 100644 index 00000000..3ed04cdc --- /dev/null +++ b/templates/overview.tpl @@ -0,0 +1,85 @@ +

+
+ + +
+

+". $PALANG['pOverview_welcome'] . $fDomain . "
\n"; +print $PALANG['pOverview_alias_alias_count'] . ": " . $limit['alias_count'] . " / " . $limit['aliases'] . "   "; +print $PALANG['pOverview_alias_mailbox_count'] . ": " . $limit['mailbox_count'] . " / " . $limit['mailboxes'] . "
\n"; +print "

\n"; + +if (sizeof ($tAlias) > 0) +{ + print "

\n"; + print "\n"; + print " \n"; + print " \n"; + print " \n"; + print " \n"; + print " \n"; + print " \n"; + + for ($i = 0; $i < sizeof ($tAlias); $i++) + { + print " \n"; + print " \n"; + print " \n"; + print " \n"; + print " \n"; + print " \n"; + print " \n"; + } + + print "
" . $PALANG['pOverview_alias_address'] . "" . $PALANG['pOverview_alias_goto'] . "" . $PALANG['pOverview_alias_modified'] . " 
" . $tAlias[$i]['address'] . "" . ereg_replace (",", "
", $tAlias[$i]['goto']) . "
" . $tAlias[$i]['modified'] . "" . $PALANG['edit'] . "" . $PALANG['del'] . "
\n"; + print "
\n"; + print "

\n"; +} + +if (sizeof ($tMailbox) > 0) +{ + print "

\n"; + print "\n"; + print " \n"; + print " \n"; + print " \n"; + if ($CONF['quota'] == 'YES') print " \n"; + print " \n"; + print " \n"; + print " \n"; + print " \n"; + + for ($i = 0; $i < sizeof ($tMailbox); $i++) + { + print " \n"; + print " \n"; + print " \n"; + if ($CONF['quota'] == 'YES') print " \n"; + print " \n"; + $active = ($tMailbox[$i]['active'] == 1) ? $PALANG['YES'] : $PALANG['NO']; + print " \n"; + print " \n"; + print " \n"; + print " \n"; + } + print "
" . $PALANG['pOverview_mailbox_username'] . "" . $PALANG['pOverview_mailbox_name'] . "" . $PALANG['pOverview_mailbox_quota'] . "" . $PALANG['pOverview_mailbox_modified'] . "" . $PALANG['pOverview_mailbox_active'] . " 
" . $tMailbox[$i]['username'] . "" . $tMailbox[$i]['name'] . "" . substr ($tMailbox[$i]['quota'], 0, -6) . "" . $tMailbox[$i]['modified'] . "" . $active . "" . $PALANG['edit'] . "" . $PALANG['del'] . "
\n"; + print "
\n"; + print "

\n"; +} +?> diff --git a/templates/password.tpl b/templates/password.tpl new file mode 100644 index 00000000..891bd338 --- /dev/null +++ b/templates/password.tpl @@ -0,0 +1,62 @@ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+
+
+ +
+ + + +
+ + + + + +
+ + + + + +
+ + + + +   +
+ + +
diff --git a/templates/sendmail.tpl b/templates/sendmail.tpl new file mode 100644 index 00000000..ae11e706 --- /dev/null +++ b/templates/sendmail.tpl @@ -0,0 +1,66 @@ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+
+
+ +
+ + +   +
+ + + + +   +
+ + + + +   +
+ + + + +   +
+ + +
diff --git a/templates/users_edit-alias.tpl b/templates/users_edit-alias.tpl new file mode 100644 index 00000000..7d8fb228 --- /dev/null +++ b/templates/users_edit-alias.tpl @@ -0,0 +1,50 @@ +
+ + + + + + + + + + + + + + + + + + +
+ +
+
+
+
+ +
+ + +   +
+ + + + +   +
+ + +
diff --git a/templates/users_login.tpl b/templates/users_login.tpl new file mode 100644 index 00000000..1f9c06ba --- /dev/null +++ b/templates/users_login.tpl @@ -0,0 +1,62 @@ +\n"; +} +else +{ + print "

" . $CONF['header_text'] . "

\n"; +} +?> +

+

+ + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + +
+
+
+
+
+
+ +
+
+
+ + +
+
+ + +
+
+
+
diff --git a/templates/users_main.tpl b/templates/users_main.tpl new file mode 100644 index 00000000..8d440411 --- /dev/null +++ b/templates/users_main.tpl @@ -0,0 +1,39 @@ +
+ + + + + \n"; + print " \n"; + print " \n"; + print "\n"; + } + ?> + + + + + + + + +
+ +

+

\n"; + print " " . $PALANG['pUsersMenu_vacation'] . "\n"; + print " \n"; + print " " . $PALANG['pUsersMain_vacation'] . "\n"; + print "
+ + + +
+ + + +
+
diff --git a/templates/users_menu.tpl b/templates/users_menu.tpl new file mode 100644 index 00000000..79b3fe70 --- /dev/null +++ b/templates/users_menu.tpl @@ -0,0 +1,37 @@ + + + \n"; + print "  \n"; + print " \n"; + print " \n"; + } + ?> + + + + + + + + +
\n"; + print " " . $PALANG['pUsersMenu_vacation'] . "\n"; + print " +   + +   + +   + +   +
+
diff --git a/templates/users_password.tpl b/templates/users_password.tpl new file mode 100644 index 00000000..45412485 --- /dev/null +++ b/templates/users_password.tpl @@ -0,0 +1,62 @@ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+
+
+ +
+ + + +
+ + + + + +
+ + + + + +
+ + + + +   +
+ + +
diff --git a/templates/users_vacation-get.tpl b/templates/users_vacation-get.tpl new file mode 100644 index 00000000..b639a739 --- /dev/null +++ b/templates/users_vacation-get.tpl @@ -0,0 +1,17 @@ +
+ + + + + + + + +
+
+
+
+
+ +
+
diff --git a/templates/users_vacation.tpl b/templates/users_vacation.tpl new file mode 100644 index 00000000..c18841b0 --- /dev/null +++ b/templates/users_vacation.tpl @@ -0,0 +1,42 @@ +
+ + + + + + + + + + + + + + + + + + +
+ +
+
+
+
+ +
+ + +   +
+ + + + +   +
+ + +
diff --git a/templates/vcp.tpl b/templates/vcp.tpl new file mode 100644 index 00000000..cd99a0de --- /dev/null +++ b/templates/vcp.tpl @@ -0,0 +1,62 @@ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+
+
+ +
+ + + +
+ + + + + +
+ + + + + +
+ + + + +   +
+ + +
diff --git a/templates/viewlog.tpl b/templates/viewlog.tpl new file mode 100644 index 00000000..61f5decd --- /dev/null +++ b/templates/viewlog.tpl @@ -0,0 +1,53 @@ +
+
+ + +
+

+". $PALANG['pViewlog_welcome'] . $fDomain . "
\n"; +print "

\n"; + +if (sizeof ($tLog) > 0) +{ + print "

\n"; + print "\n"; + print " \n"; + print " \n"; + print " \n"; + print " \n"; + print " \n"; + print " \n"; + print " \n"; + + for ($i = 0; $i < sizeof ($tLog); $i++) + { + print " \n"; + print " \n"; + print " \n"; + print " \n"; + print " \n"; + print " \n"; + print " \n"; + } + + print "
" . $PALANG['pViewlog_timestamp'] . "" . $PALANG['pViewlog_username'] . "" . $PALANG['pViewlog_domain'] . "" . $PALANG['pViewlog_action'] . "" . $PALANG['pViewlog_data'] . "
" . $tLog[$i]['timestamp'] . "" . $tLog[$i]['username'] . "" . $tLog[$i]['domain'] . "" . $tLog[$i]['action'] . "" . $tLog[$i]['data'] . "
\n"; + print "
\n"; + print "

\n"; +} +?> diff --git a/users/edit-alias.php b/users/edit-alias.php new file mode 100644 index 00000000..6e03160d --- /dev/null +++ b/users/edit-alias.php @@ -0,0 +1,98 @@ +"; + } + } + + if ($error != 1) + { + if (empty ($fGoto)) + { + $goto = $USERID_USERNAME; + } + else + { + $goto = $USERID_USERNAME . "," . $goto; + } + + $result = db_query ("UPDATE alias SET goto='$goto',modified=NOW() WHERE address='$USERID_USERNAME'"); + if ($result['rows'] != 1) + { + $tMessage = $PALANG['pEdit_alias_result_error']; + } + else + { + db_log ($USERID_USERNAME, $USERID_DOMAIN, "edit alias", "$USERID_USERNAME -> $goto"); + + header ("Location: main.php"); + exit; + } + } + + include ("../templates/header.tpl"); + include ("../templates/users_menu.tpl"); + include ("../templates/users_edit-alias.tpl"); + include ("../templates/footer.tpl"); +} +?> diff --git a/users/index.php b/users/index.php new file mode 100644 index 00000000..51dde5c3 --- /dev/null +++ b/users/index.php @@ -0,0 +1,17 @@ + diff --git a/users/login.php b/users/login.php new file mode 100644 index 00000000..700ade75 --- /dev/null +++ b/users/login.php @@ -0,0 +1,68 @@ + diff --git a/users/logout.php b/users/logout.php new file mode 100644 index 00000000..e8afaff6 --- /dev/null +++ b/users/logout.php @@ -0,0 +1,25 @@ + diff --git a/users/main.php b/users/main.php new file mode 100644 index 00000000..b61f213f --- /dev/null +++ b/users/main.php @@ -0,0 +1,36 @@ + diff --git a/users/password.php b/users/password.php new file mode 100644 index 00000000..d5702a95 --- /dev/null +++ b/users/password.php @@ -0,0 +1,89 @@ + diff --git a/users/vacation.php b/users/vacation.php new file mode 100644 index 00000000..66bf0221 --- /dev/null +++ b/users/vacation.php @@ -0,0 +1,89 @@ + diff --git a/variables.inc.php b/variables.inc.php new file mode 100644 index 00000000..493a302d --- /dev/null +++ b/variables.inc.php @@ -0,0 +1,65 @@ + diff --git a/viewlog.php b/viewlog.php new file mode 100644 index 00000000..43d2a2c3 --- /dev/null +++ b/viewlog.php @@ -0,0 +1,79 @@ + 0) + { + while ($row = mysql_fetch_array ($result['result'])) + { + $tLog[] = $row; + } + } + } + + include ("./templates/header.tpl"); + include ("./templates/menu.tpl"); + include ("./templates/viewlog.tpl"); + include ("./templates/footer.tpl"); +} + +if ($_SERVER['REQUEST_METHOD'] == "POST") +{ + $fDomain = $_POST['fDomain']; + + if (!check_owner ($SESSID_USERNAME, $fDomain)) + { + $error = 1; + $tMessage = $PALANG['pViewlog_error']; + } + + if ($error != 1) + { + $result = db_query ("SELECT * FROM log WHERE domain='$fDomain' ORDER BY timestamp DESC LIMIT 10"); + if ($result['rows'] > 0) + { + while ($row = mysql_fetch_array ($result['result'])) + { + $tLog[] = $row; + } + } + } + + include ("./templates/header.tpl"); + include ("./templates/menu.tpl"); + include ("./templates/viewlog.tpl"); + include ("./templates/footer.tpl"); +} +?>