Thread: SF.net SVN: postfixadmin:[1582] trunk (Page 11)
Brought to you by:
christian_boltz,
gingerdog
From: <chr...@us...> - 2013-11-16 00:00:57
|
Revision: 1582 http://sourceforge.net/p/postfixadmin/code/1582 Author: christian_boltz Date: 2013-11-16 00:00:53 +0000 (Sat, 16 Nov 2013) Log Message: ----------- functions.inc.php: - new function db_pgsql() to replace lots of "if ($CONF[database_type] == 'pgsql')) checks - delete unused function boolconf() several files: - use db_pgsql() instead of checking $CONF[database_type] Modified Paths: -------------- trunk/backup.php trunk/fetchmail.php trunk/functions.inc.php trunk/list-virtual.php trunk/model/AdminHandler.php trunk/model/PFAHandler.php trunk/viewlog.php Modified: trunk/backup.php =================================================================== --- trunk/backup.php 2013-11-14 23:44:01 UTC (rev 1581) +++ trunk/backup.php 2013-11-16 00:00:53 UTC (rev 1582) @@ -27,7 +27,7 @@ (($CONF['backup'] == 'NO') ? header("Location: main.php") && exit : '1'); // TODO: make backup supported for postgres -if ('pgsql'==$CONF['database_type']) { +if (db_pgsql()) { flash_error('Sorry: Backup is currently not supported for your DBMS ('.$CONF['database_type'].').'); $smarty->assign ('smarty_template', 'message'); $smarty->display ('index.tpl'); Modified: trunk/fetchmail.php =================================================================== --- trunk/fetchmail.php 2013-11-14 23:44:01 UTC (rev 1581) +++ trunk/fetchmail.php 2013-11-16 00:00:53 UTC (rev 1582) @@ -166,7 +166,7 @@ } } $formvars['id'] = $edit; # results in 0 on $new - if($CONF['database_type'] == 'pgsql' && $new) { + if(db_pgsql() && $new) { // skip - shouldn't need to specify this as it will default to the next available value anyway. unset($formvars['id']); } @@ -213,7 +213,7 @@ } elseif ($edit) { # edit entry form $formvars = $edit_row; $formvars['src_password'] = ''; - if ('pgsql'==$CONF['database_type']) { + if (db_pgsql()) { $formvars['fetchall']=('t'==$formvars['fetchall']) ? 1 : 0; $formvars['keep']=('t'==$formvars['keep']) ? 1 : 0; $formvars['usessl']=('t'==$formvars['usessl']) ? 1 : 0; @@ -235,7 +235,7 @@ $res = db_query ("SELECT ".implode(",",escape_string(array_keys($fm_struct)))." FROM $table_fetchmail WHERE mailbox IN ($user_mailboxes_sql) ORDER BY mailbox,src_server,src_user"); if ($res['rows'] > 0) { while ($row = db_array ($res['result'])) { - if ('pgsql'==$CONF['database_type']) { + if (db_pgsql()) { //. at least in my database, $row['modified'] already looks like : 2009-04-11 21:38:10.75586+01, // while gmstrftime expects an integer value. strtotime seems happy though. //$row['date']=gmstrftime('%c %Z',$row['date']); Modified: trunk/functions.inc.php =================================================================== --- trunk/functions.inc.php 2013-11-14 23:44:01 UTC (rev 1581) +++ trunk/functions.inc.php 2013-11-16 00:00:53 UTC (rev 1582) @@ -289,7 +289,7 @@ if ($CONF['database_type'] == "mysqli") { $escaped_string = mysqli_real_escape_string($link, $string); } - if ($CONF['database_type'] == "pgsql") { + if (db_pgsql()) { // php 5.2+ allows for $link to be specified. if (version_compare(phpversion(), "5.2.0", ">=")) { $escaped_string = pg_escape_string($link, $string); @@ -449,7 +449,7 @@ # init row counter $initcount = "SET @row=-1"; - if ('pgsql'==$CONF['database_type']) { + if (db_pgsql()) { $initcount = "CREATE TEMPORARY SEQUENCE rowcount MINVALUE 0"; } $result = db_query($initcount); @@ -462,7 +462,7 @@ ) idx WHERE MOD(idx.row, $page_size) IN (0,$page_size_zerobase) OR idx.row = $count_results "; - if ('pgsql'==$CONF['database_type']) { + if (db_pgsql()) { $query = " SELECT * FROM ( SELECT $idxfield AS label, nextval('rowcount') AS row $querypart @@ -493,7 +493,7 @@ } } - if ('pgsql'==$CONF['database_type']) { + if (db_pgsql()) { db_query ("DROP SEQUENCE rowcount"); } @@ -1233,7 +1233,7 @@ } else { $error_text .= "<p />DEBUG INFORMATION:<br />MySQL 4.1 functions not available! (php5-mysqli installed?)<br />database_type = 'mysqli' in config.inc.php, are you using a different database? $DEBUG_TEXT"; } - } elseif ($CONF['database_type'] == "pgsql") { + } elseif (db_pgsql()) { if (function_exists ("pg_pconnect")) { if(!isset($CONF['database_port'])) { $CONF['database_port'] = '5432'; @@ -1276,14 +1276,13 @@ die("Invalid usage of 'db_get_boolean($bool)'"); } - global $CONF; - if($CONF['database_type']=='pgsql') { + if(db_pgsql()) { // return either true or false (unquoted strings) if($bool) { return 't'; } return 'f'; - } elseif($CONF['database_type'] == 'mysql' || $CONF['database_type'] == 'mysqli') { + } elseif(Config::Read('database_type') == 'mysql' || Config::Read('database_type') == 'mysqli') { if($bool) { return 1; } @@ -1293,6 +1292,17 @@ } } +/** + * returns true if PostgreSQL is used, false otherwise + */ +function db_pgsql() { + if(Config::Read('database_type')=='pgsql') { + return true; + } else { + return false; + } +} + // // db_query // Action: Sends a query to the database and returns query result and number of rows @@ -1315,7 +1325,7 @@ or $error_text = "<p />DEBUG INFORMATION:<br />Invalid query ($query) : " . mysql_error($link) . "$DEBUG_TEXT"; if ($CONF['database_type'] == "mysqli") $result = @mysqli_query ($link, $query) or $error_text = "<p />DEBUG INFORMATION:<br />Invalid query ($query) : " . mysqli_error($link) . "$DEBUG_TEXT"; - if ($CONF['database_type'] == "pgsql") { + if (db_pgsql()) { $result = @pg_query ($link, $query) or $error_text = "<p />DEBUG INFORMATION:<br />Invalid query ($query): " . pg_last_error() . "$DEBUG_TEXT"; } @@ -1326,13 +1336,13 @@ // if $query was a SELECT statement check the number of rows with [database_type]_num_rows (). if ($CONF['database_type'] == "mysql") $number_rows = mysql_num_rows ($result); if ($CONF['database_type'] == "mysqli") $number_rows = mysqli_num_rows ($result); - if ($CONF['database_type'] == "pgsql") $number_rows = pg_num_rows ($result); + if (db_pgsql() ) $number_rows = pg_num_rows ($result); } else { // if $query was something else, UPDATE, DELETE or INSERT check the number of rows with // [database_type]_affected_rows (). if ($CONF['database_type'] == "mysql") $number_rows = mysql_affected_rows ($link); if ($CONF['database_type'] == "mysqli") $number_rows = mysqli_affected_rows ($link); - if ($CONF['database_type'] == "pgsql") $number_rows = pg_affected_rows ($result); + if (db_pgsql() ) $number_rows = pg_affected_rows ($result); } } @@ -1355,7 +1365,7 @@ $row = ""; if ($CONF['database_type'] == "mysql") $row = mysql_fetch_row ($result); if ($CONF['database_type'] == "mysqli") $row = mysqli_fetch_row ($result); - if ($CONF['database_type'] == "pgsql") $row = pg_fetch_row ($result); + if (db_pgsql() ) $row = pg_fetch_row ($result); return $row; } @@ -1370,7 +1380,7 @@ $row = ""; if ($CONF['database_type'] == "mysql") $row = mysql_fetch_array ($result); if ($CONF['database_type'] == "mysqli") $row = mysqli_fetch_array ($result); - if ($CONF['database_type'] == "pgsql") $row = pg_fetch_array ($result); + if (db_pgsql() ) $row = pg_fetch_array ($result); return $row; } @@ -1385,7 +1395,7 @@ $row = ""; if ($CONF['database_type'] == "mysql") $row = mysql_fetch_assoc ($result); if ($CONF['database_type'] == "mysqli") $row = mysqli_fetch_assoc ($result); - if ($CONF['database_type'] == "pgsql") $row = pg_fetch_assoc ($result); + if (db_pgsql() ) $row = pg_fetch_assoc ($result); return $row; } @@ -1485,25 +1495,19 @@ * Call: db_begin() */ function db_begin () { - global $CONF; -# if ('pgsql'== Config::read('database_type')) { - if ('pgsql'== $CONF['database_type']) { + if (db_pgsql()) { # TODO: also enable for mysql? (not supported by MyISAM, which is used for most tables) db_query('BEGIN'); } } function db_commit () { - global $CONF; -# if ('pgsql'== Config::read('database_type')) { - if ('pgsql'== $CONF['database_type']) { + if (db_pgsql()) { db_query('COMMIT'); } } function db_rollback () { - global $CONF; -# if ('pgsql'== Config::read('database_type')) { - if ('pgsql'== $CONF['database_type']) { + if (db_pgsql()) { db_query('ROLLBACK'); } } @@ -1739,19 +1743,6 @@ -/* - Convert $CONF['whatever'] to boolean - (obviously only useful for settings that can be YES or NO) - - Returns: TRUE (on YES/yes) or FALSE (on NO/no/not set/unknown value) - - Note: boolconf() is deprecated - please use Config::bool() instead - */ - -function boolconf($setting) { - return Config::bool($setting); -} - #$table_admin = table_by_key ('admin'); $table_alias = table_by_key ('alias'); #$table_alias_domain = table_by_key ('alias_domain'); Modified: trunk/list-virtual.php =================================================================== --- trunk/list-virtual.php 2013-11-14 23:44:01 UTC (rev 1581) +++ trunk/list-virtual.php 2013-11-16 00:00:53 UTC (rev 1582) @@ -223,7 +223,7 @@ } } } - if ('pgsql'==$CONF['database_type']) { + if (db_pgsql()) { // XXX $row['modified'] = date('Y-m-d H:i', strtotime($row['modified'])); $row['created'] = date('Y-m-d H:i', strtotime($row['created'])); Modified: trunk/model/AdminHandler.php =================================================================== --- trunk/model/AdminHandler.php 2013-11-14 23:44:01 UTC (rev 1581) +++ trunk/model/AdminHandler.php 2013-11-16 00:00:53 UTC (rev 1582) @@ -29,7 +29,7 @@ # NOTE: (Disabling both shouldn't be a problem.) # TODO: move to a db_group_concat() function? - if (Config::read('database_type') == 'pgsql') { + if (db_pgsql()) { $domains_grouped = "array_to_string(array_agg(domain), ',')"; } else { # mysql $domains_grouped = 'group_concat(domain)'; Modified: trunk/model/PFAHandler.php =================================================================== --- trunk/model/PFAHandler.php 2013-11-14 23:44:01 UTC (rev 1581) +++ trunk/model/PFAHandler.php 2013-11-16 00:00:53 UTC (rev 1582) @@ -413,7 +413,7 @@ $yes = escape_string(Config::lang('YES')); $no = escape_string(Config::lang('NO')); - if (Config::read('database_type') == 'pgsql') { + if (db_pgsql()) { $formatted_date = "TO_DATE(text(###KEY###), '" . escape_string(Config::Lang('dateformat_pgsql')) . "')"; } else { $formatted_date = "DATE_FORMAT(###KEY###, '" . escape_string(Config::Lang('dateformat_mysql')) . "')"; Modified: trunk/viewlog.php =================================================================== --- trunk/viewlog.php 2013-11-14 23:44:01 UTC (rev 1581) +++ trunk/viewlog.php 2013-11-16 00:00:53 UTC (rev 1582) @@ -57,8 +57,7 @@ if ($error != 1) { $query = "SELECT timestamp,username,domain,action,data FROM $table_log WHERE domain='$fDomain' ORDER BY timestamp DESC LIMIT 10"; - if ('pgsql'==$CONF['database_type']) - { + if (db_pgsql()) { $query = "SELECT extract(epoch from timestamp) as timestamp,username,domain,action,data FROM $table_log WHERE domain='$fDomain' ORDER BY timestamp DESC LIMIT 10"; } $result=db_query($query); @@ -66,8 +65,7 @@ { while ($row = db_array ($result['result'])) { - if ('pgsql'==$CONF['database_type']) - { + if (db_pgsql()) { $row['timestamp']=gmstrftime('%c %Z',$row['timestamp']); } $tLog[] = $row; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2013-11-16 19:49:43
|
Revision: 1585 http://sourceforge.net/p/postfixadmin/code/1585 Author: christian_boltz Date: 2013-11-16 19:49:40 +0000 (Sat, 16 Nov 2013) Log Message: ----------- MailboxHandler: - use better/translateable messages at various places languages/*.lang - add texts needed by MailboxHandler Modified Paths: -------------- trunk/languages/bg.lang trunk/languages/ca.lang trunk/languages/cn.lang trunk/languages/cs.lang trunk/languages/da.lang trunk/languages/de.lang trunk/languages/en.lang trunk/languages/es.lang trunk/languages/et.lang trunk/languages/eu.lang trunk/languages/fi.lang trunk/languages/fo.lang trunk/languages/fr.lang trunk/languages/hr.lang trunk/languages/hu.lang trunk/languages/is.lang trunk/languages/it.lang trunk/languages/ja.lang trunk/languages/lt.lang trunk/languages/mk.lang trunk/languages/nb.lang trunk/languages/nl.lang trunk/languages/nn.lang trunk/languages/pl.lang trunk/languages/pt-br.lang trunk/languages/ru.lang trunk/languages/sk.lang trunk/languages/sl.lang trunk/languages/sv.lang trunk/languages/tr.lang trunk/languages/tw.lang trunk/model/MailboxHandler.php Modified: trunk/languages/bg.lang =================================================================== --- trunk/languages/bg.lang 2013-11-16 19:10:15 UTC (rev 1584) +++ trunk/languages/bg.lang 2013-11-16 19:49:40 UTC (rev 1585) @@ -131,6 +131,8 @@ $PALANG['pCreate_mailbox_result_error'] = 'Не мога да добавя пощенската кутия в таблицата! (%s)'; # XXX Text changed to: Creating the mailbox %s failed! $PALANG['pCreate_mailbox_result_success'] = 'Пощенската кутия бе успешно създадена и добавена в таблицата! (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table! $PALANG['pCreate_mailbox_result_succes_nosubfolders'] = 'The mailbox %s has been added to the mailbox table, but none (or only some) of the predefined sub-folders could be created.'; # XXX +$PALANG['mailbox_updated'] = "The mailbox %s has been updated."; # XXX +$PALANG['mailbox_update_failed'] = "Updating the mailbox %s failed!"; # XXX $PALANG['pEdit_mailbox_welcome'] = 'Редакция на пощенска кутия за вашия домейн.'; $PALANG['pEdit_mailbox_username'] = 'Логин'; @@ -226,6 +228,9 @@ $PALANG['pAdminCreate_domain_result_success'] = 'Домейна бе добавен успешно! (%s)'; # XXX Text changed to: The domain %s has been added. $PALANG['pAdminDelete_admin_error'] = 'Unable to delete admin!'; # XXX $PALANG['domain_postdel_failed'] = 'Грешка при изтриването на домейна!'; # XXX Text changed to: The domain postdeletion script failed, check the error log for details! +$PALANG['mailbox_postdel_failed'] = 'The mailbox postdeletion script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Unable to remove domain alias!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = 'Редактиране на домейн'; Modified: trunk/languages/ca.lang =================================================================== --- trunk/languages/ca.lang 2013-11-16 19:10:15 UTC (rev 1584) +++ trunk/languages/ca.lang 2013-11-16 19:49:40 UTC (rev 1585) @@ -129,6 +129,8 @@ $PALANG['pCreate_mailbox_result_error'] = 'Imposible afegir una bústia a la taula de bústies! (%s)'; # XXX Text changed to: Creating the mailbox %s failed! $PALANG['pCreate_mailbox_result_success'] = 'La bústia ha estat afegida a la taula de bústies! (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table! $PALANG['pCreate_mailbox_result_succes_nosubfolders'] = 'The mailbox %s has been added to the mailbox table, but none (or only some) of the predefined sub-folders could be created.'; # XXX +$PALANG['mailbox_updated'] = "The mailbox %s has been updated."; # XXX +$PALANG['mailbox_update_failed'] = "Updating the mailbox %s failed!"; # XXX $PALANG['pEdit_mailbox_welcome'] = 'Editar una bústia pel seu domini.'; $PALANG['pEdit_mailbox_username'] = 'Usuari'; @@ -224,6 +226,9 @@ $PALANG['pAdminCreate_domain_result_success'] = 'El domini ha estat afegit! (%s)'; # XXX Text changed to: The domain %s has been added. $PALANG['pAdminDelete_admin_error'] = 'Unable to delete admin!'; # XXX $PALANG['domain_postdel_failed'] = 'The domain postdeletion script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postdel_failed'] = 'The mailbox postdeletion script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Unable to remove domain alias!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = 'Editar un domini'; Modified: trunk/languages/cn.lang =================================================================== --- trunk/languages/cn.lang 2013-11-16 19:10:15 UTC (rev 1584) +++ trunk/languages/cn.lang 2013-11-16 19:49:40 UTC (rev 1585) @@ -130,6 +130,8 @@ $PALANG['pCreate_mailbox_result_error'] = '不能将邮箱增加到邮箱表中! (%s)'; # XXX Text changed to: Creating the mailbox %s failed! $PALANG['pCreate_mailbox_result_success'] = '增加邮箱成功! (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table! $PALANG['pCreate_mailbox_result_succes_nosubfolders'] = 'The mailbox %s has been added to the mailbox table, but none (or only some) of the predefined sub-folders could be created.'; # XXX +$PALANG['mailbox_updated'] = "The mailbox %s has been updated."; # XXX +$PALANG['mailbox_update_failed'] = "Updating the mailbox %s failed!"; # XXX $PALANG['pEdit_mailbox_welcome'] = '编辑你域中的邮箱.'; $PALANG['pEdit_mailbox_username'] = '用户名'; @@ -225,6 +227,9 @@ $PALANG['pAdminCreate_domain_result_success'] = '新增域成功! (%s)'; # XXX Text changed to: The domain %s has been added. $PALANG['pAdminDelete_admin_error'] = 'Unable to delete admin!'; # XXX $PALANG['domain_postdel_failed'] = 'The domain postdeletion script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postdel_failed'] = 'The mailbox postdeletion script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Unable to remove domain alias!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = '修改域'; Modified: trunk/languages/cs.lang =================================================================== --- trunk/languages/cs.lang 2013-11-16 19:10:15 UTC (rev 1584) +++ trunk/languages/cs.lang 2013-11-16 19:49:40 UTC (rev 1585) @@ -135,6 +135,8 @@ $PALANG['pCreate_mailbox_result_error'] = 'Nepodařilo se přidat schránku do tabulky schránek! (%s)'; # XXX Text changed to: Creating the mailbox %s failed! $PALANG['pCreate_mailbox_result_success'] = 'Schránka byla přidána do tabulky schránek! (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table! $PALANG['pCreate_mailbox_result_succes_nosubfolders'] = 'Schránka byla přidána do tabulky schránek, ale žádné (nebo pouze některé) ze předdefinovaných podsložek bylo možné vytovořit (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table, but none (or only some) of the predefined sub-folders could be created. +$PALANG['mailbox_updated'] = "The mailbox %s has been updated."; # XXX +$PALANG['mailbox_update_failed'] = "Updating the mailbox %s failed!"; # XXX $PALANG['pEdit_mailbox_welcome'] = 'Upravit lokální chránku v doméně.'; $PALANG['pEdit_mailbox_username'] = 'Uživatelské jméno'; @@ -234,6 +236,9 @@ $PALANG['pAdminDelete_admin_error'] = 'Unable to delete admin!'; # XXX $PALANG['domain_postdel_failed'] = 'Nepodařilo se odstranit doménu!'; # XXX Text changed to: The domain postdeletion script failed, check the error log for details! +$PALANG['mailbox_postdel_failed'] = 'The mailbox postdeletion script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Unable to remove domain alias!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = 'Upravit doménu'; Modified: trunk/languages/da.lang =================================================================== --- trunk/languages/da.lang 2013-11-16 19:10:15 UTC (rev 1584) +++ trunk/languages/da.lang 2013-11-16 19:49:40 UTC (rev 1585) @@ -135,6 +135,8 @@ $PALANG['pCreate_mailbox_result_error'] = 'Kan ikke tilføje postboksen til postboks-tabellen! (%s)'; # XXX Text changed to: Creating the mailbox %s failed! $PALANG['pCreate_mailbox_result_success'] = 'Postboksen er tilføjet til postboks-tabellen! (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table! $PALANG['pCreate_mailbox_result_succes_nosubfolders'] = 'Postkassen er tilføjet, men ingen (eller kun dele) af de foruddefinerede undermapper kunne oprettes. (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table, but none (or only some) of the predefined sub-folders could be created. +$PALANG['mailbox_updated'] = "The mailbox %s has been updated."; # XXX +$PALANG['mailbox_update_failed'] = "Updating the mailbox %s failed!"; # XXX $PALANG['pEdit_mailbox_welcome'] = 'Rediger postboks.'; $PALANG['pEdit_mailbox_username'] = 'Brugernavn'; @@ -234,6 +236,9 @@ $PALANG['pAdminDelete_admin_error'] = 'Administratoren kunne ikke slettes.'; $PALANG['domain_postdel_failed'] = 'Domænet kunne ikke slettes!'; # XXX Text changed to: The domain postdeletion script failed, check the error log for details! +$PALANG['mailbox_postdel_failed'] = 'The mailbox postdeletion script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Domæne-aliaset kunne ikke slettes!'; $PALANG['pAdminEdit_domain_welcome'] = 'Redigér et domæne'; Modified: trunk/languages/de.lang =================================================================== --- trunk/languages/de.lang 2013-11-16 19:10:15 UTC (rev 1584) +++ trunk/languages/de.lang 2013-11-16 19:49:40 UTC (rev 1585) @@ -132,6 +132,8 @@ $PALANG['pCreate_mailbox_result_error'] = 'Das Erstellen der Mailbox %s ist fehlgeschlagen'; $PALANG['pCreate_mailbox_result_success'] = 'Die Mailbox %s wurde in die Mailbox-Tabelle eingetragen.'; $PALANG['pCreate_mailbox_result_succes_nosubfolders'] = 'Die Mailbox %s wurde in der Mailbox-Tabelle eingetragen, aber keine (oder nur einige) der vorkonfigurierten Unterordner konnte erstellt werden!'; +$PALANG['mailbox_updated'] = "Die Mailbox %s wurde geändert."; +$PALANG['mailbox_update_failed'] = "Änderung der Mailbox %s fehlgeschlagen!"; $PALANG['pEdit_mailbox_welcome'] = 'Ändern Sie ihre Mailbox hier.'; $PALANG['pEdit_mailbox_username'] = 'Benutzername'; @@ -231,6 +233,9 @@ $PALANG['pAdminDelete_admin_error'] = 'Admin kann nicht gelöscht werden!'; $PALANG['domain_postdel_failed'] = 'Fehler beim Ausführen des domain postdeletion-Scripts, überprüfen Sie das Error-Log für Details!'; +$PALANG['mailbox_postdel_failed'] = 'Fehler beim Ausführen des mailbox postdeletion-Scripts, überprüfen Sie das Error-Log für Details!'; +$PALANG['mailbox_postedit_failed'] = 'Fehler beim Ausführen des mailbox postedit-Scripts, überprüfen Sie das Error-Log für Details!'; +$PALANG['mailbox_postcreate_failed'] = 'Fehler beim Ausführen des mailbox postcreate-Scripts, überprüfen Sie das Error-Log für Details!'; $PALANG['pAdminDelete_alias_domain_error'] = 'Alias-Domain konnte nicht gelöscht werden!'; $PALANG['pAdminEdit_domain_welcome'] = 'Domain bearbeiten'; Modified: trunk/languages/en.lang =================================================================== --- trunk/languages/en.lang 2013-11-16 19:10:15 UTC (rev 1584) +++ trunk/languages/en.lang 2013-11-16 19:49:40 UTC (rev 1585) @@ -133,6 +133,8 @@ $PALANG['pCreate_mailbox_result_error'] = 'Creating the mailbox %s failed!'; $PALANG['pCreate_mailbox_result_success'] = 'The mailbox %s has been added to the mailbox table.'; $PALANG['pCreate_mailbox_result_succes_nosubfolders'] = 'The mailbox %s has been added to the mailbox table, but none (or only some) of the predefined sub-folders could be created.'; +$PALANG['mailbox_updated'] = "The mailbox %s has been updated."; +$PALANG['mailbox_update_failed'] = "Updating the mailbox %s failed!"; $PALANG['pEdit_mailbox_welcome'] = 'Edit a mailbox for your domain.'; $PALANG['pEdit_mailbox_username'] = 'Username'; @@ -232,6 +234,9 @@ $PALANG['pAdminDelete_admin_error'] = 'Unable to delete admin!'; $PALANG['domain_postdel_failed'] = 'The domain postdeletion script failed, check the error log for details!'; +$PALANG['mailbox_postdel_failed'] = 'The mailbox postdeletion script failed, check the error log for details!'; +$PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; +$PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; $PALANG['pAdminDelete_alias_domain_error'] = 'Unable to remove domain alias!'; $PALANG['pAdminEdit_domain_welcome'] = 'Edit a domain'; Modified: trunk/languages/es.lang =================================================================== --- trunk/languages/es.lang 2013-11-16 19:10:15 UTC (rev 1584) +++ trunk/languages/es.lang 2013-11-16 19:49:40 UTC (rev 1585) @@ -130,6 +130,8 @@ $PALANG['pCreate_mailbox_result_error'] = '¡Imposible añadir un buzón a la tabla de buzones! (%s)'; # XXX Text changed to: Creating the mailbox %s failed! $PALANG['pCreate_mailbox_result_success'] = '¡El buzón ha sido añadido a la tabla de buzones! (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table! $PALANG['pCreate_mailbox_result_succes_nosubfolders'] = 'The mailbox %s has been added to the mailbox table, but none (or only some) of the predefined sub-folders could be created.'; # XXX +$PALANG['mailbox_updated'] = "The mailbox %s has been updated."; # XXX +$PALANG['mailbox_update_failed'] = "Updating the mailbox %s failed!"; # XXX $PALANG['pEdit_mailbox_welcome'] = 'Editar un buzón para su dominio.'; $PALANG['pEdit_mailbox_username'] = 'Usuario'; @@ -226,6 +228,9 @@ $PALANG['pAdminCreate_domain_result_success'] = '¡El dominio ha sido añadido! (%s)'; # XXX Text changed to: The domain %s has been added. $PALANG['pAdminDelete_admin_error'] = 'Unable to delete admin!'; # XXX $PALANG['domain_postdel_failed'] = '¡No se pudo eliminar el dominio!'; # XXX Text changed to: The domain postdeletion script failed, check the error log for details! +$PALANG['mailbox_postdel_failed'] = 'The mailbox postdeletion script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = '¡No se pudo eliminar el alias de dominio!'; $PALANG['pAdminEdit_domain_welcome'] = 'Editar un dominio'; Modified: trunk/languages/et.lang =================================================================== --- trunk/languages/et.lang 2013-11-16 19:10:15 UTC (rev 1584) +++ trunk/languages/et.lang 2013-11-16 19:49:40 UTC (rev 1585) @@ -130,6 +130,8 @@ $PALANG['pCreate_mailbox_result_error'] = 'Postkasti lisamine tabelisse ebaõnnestus! (%s)'; # XXX Text changed to: Creating the mailbox %s failed! $PALANG['pCreate_mailbox_result_success'] = 'Postkast lisati postkastide tabelisse! (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table! $PALANG['pCreate_mailbox_result_succes_nosubfolders'] = 'The mailbox %s has been added to the mailbox table, but none (or only some) of the predefined sub-folders could be created.'; # XXX +$PALANG['mailbox_updated'] = "The mailbox %s has been updated."; # XXX +$PALANG['mailbox_update_failed'] = "Updating the mailbox %s failed!"; # XXX $PALANG['pEdit_mailbox_welcome'] = 'Muuda postkasti.'; $PALANG['pEdit_mailbox_username'] = 'Kasutajanimi'; @@ -225,6 +227,9 @@ $PALANG['pAdminCreate_domain_result_success'] = 'Domeen on lisatud! (%s)'; # XXX Text changed to: The domain %s has been added. $PALANG['pAdminDelete_admin_error'] = 'Unable to delete admin!'; # XXX $PALANG['domain_postdel_failed'] = 'The domain postdeletion script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postdel_failed'] = 'The mailbox postdeletion script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Unable to remove domain alias!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = 'Redigeeri domeeni'; Modified: trunk/languages/eu.lang =================================================================== --- trunk/languages/eu.lang 2013-11-16 19:10:15 UTC (rev 1584) +++ trunk/languages/eu.lang 2013-11-16 19:49:40 UTC (rev 1585) @@ -128,6 +128,8 @@ $PALANG['pCreate_mailbox_result_error'] = 'Ezinezkoa postontzi taulara postontzia gehitzea! (%s)'; # XXX Text changed to: Creating the mailbox %s failed! $PALANG['pCreate_mailbox_result_success'] = 'Postontzia postontzi taulara sartu da! (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table! $PALANG['pCreate_mailbox_result_succes_nosubfolders'] = 'The mailbox %s has been added to the mailbox table, but none (or only some) of the predefined sub-folders could be created.'; # XXX +$PALANG['mailbox_updated'] = "The mailbox %s has been updated."; # XXX +$PALANG['mailbox_update_failed'] = "Updating the mailbox %s failed!"; # XXX $PALANG['pEdit_mailbox_welcome'] = 'Domeinuarentzat postontzi bat aldatu.'; $PALANG['pEdit_mailbox_username'] = 'Erabiltzailea'; @@ -223,6 +225,9 @@ $PALANG['pAdminCreate_domain_result_success'] = 'Domeinua gehituta! (%s)'; # XXX Text changed to: The domain %s has been added. $PALANG['pAdminDelete_admin_error'] = 'Unable to delete admin!'; # XXX $PALANG['domain_postdel_failed'] = 'The domain postdeletion script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postdel_failed'] = 'The mailbox postdeletion script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Unable to remove domain alias!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = 'Domeinu bat aldatu'; Modified: trunk/languages/fi.lang =================================================================== --- trunk/languages/fi.lang 2013-11-16 19:10:15 UTC (rev 1584) +++ trunk/languages/fi.lang 2013-11-16 19:49:40 UTC (rev 1585) @@ -130,6 +130,8 @@ $PALANG['pCreate_mailbox_result_error'] = 'Postilaatikon lisääminen ei onnistu! (%s)'; # XXX Text changed to: Creating the mailbox %s failed! $PALANG['pCreate_mailbox_result_success'] = 'Postilaatikko on lisätty! (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table! $PALANG['pCreate_mailbox_result_succes_nosubfolders'] = 'Sähköpostilaatikko on lisätty tauluun, mutta ennaltamääriteltyjen alikansioiden luonneista yksi tai useampi epäonnistui (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table, but none (or only some) of the predefined sub-folders could be created. +$PALANG['mailbox_updated'] = "The mailbox %s has been updated."; # XXX +$PALANG['mailbox_update_failed'] = "Updating the mailbox %s failed!"; # XXX $PALANG['pEdit_mailbox_welcome'] = 'Muokkaa postilaatikkoa.'; $PALANG['pEdit_mailbox_username'] = 'Käyttäjätunnus'; @@ -225,6 +227,9 @@ $PALANG['pAdminCreate_domain_result_success'] = 'Domain on lisätty! (%s)'; # XXX Text changed to: The domain %s has been added. $PALANG['pAdminDelete_admin_error'] = 'Unable to delete admin!'; # XXX $PALANG['domain_postdel_failed'] = 'Domainin voitu poistaa!'; # XXX Text changed to: The domain postdeletion script failed, check the error log for details! +$PALANG['mailbox_postdel_failed'] = 'The mailbox postdeletion script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Domainin aliasta ei voitu poistaa!'; $PALANG['pAdminEdit_domain_welcome'] = 'Muokkaa domainia'; Modified: trunk/languages/fo.lang =================================================================== --- trunk/languages/fo.lang 2013-11-16 19:10:15 UTC (rev 1584) +++ trunk/languages/fo.lang 2013-11-16 19:49:40 UTC (rev 1585) @@ -130,6 +130,8 @@ $PALANG['pCreate_mailbox_result_error'] = 'Fái ikki stovnað postkassa! (%s)'; # XXX Text changed to: Creating the mailbox %s failed! $PALANG['pCreate_mailbox_result_success'] = 'Postkassin er stovnaður! (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table! $PALANG['pCreate_mailbox_result_succes_nosubfolders'] = 'The mailbox %s has been added to the mailbox table, but none (or only some) of the predefined sub-folders could be created.'; # XXX +$PALANG['mailbox_updated'] = "The mailbox %s has been updated."; # XXX +$PALANG['mailbox_update_failed'] = "Updating the mailbox %s failed!"; # XXX $PALANG['pEdit_mailbox_welcome'] = 'Broyt postkassa á tínum navnaøki.'; $PALANG['pEdit_mailbox_username'] = 'Brúkaranavn'; @@ -225,6 +227,9 @@ $PALANG['pAdminCreate_domain_result_success'] = 'Navnaøki er stovnað! (%s)'; # XXX Text changed to: The domain %s has been added. $PALANG['pAdminDelete_admin_error'] = 'Unable to delete admin!'; # XXX $PALANG['domain_postdel_failed'] = 'The domain postdeletion script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postdel_failed'] = 'The mailbox postdeletion script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Unable to remove domain alias!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = 'Broyt navnaøki'; Modified: trunk/languages/fr.lang =================================================================== --- trunk/languages/fr.lang 2013-11-16 19:10:15 UTC (rev 1584) +++ trunk/languages/fr.lang 2013-11-16 19:49:40 UTC (rev 1585) @@ -131,6 +131,8 @@ $PALANG['pCreate_mailbox_result_error'] = 'Impossible d\'ajouter un compte courriel dans la table! (%s)'; # XXX Text changed to: Creating the mailbox %s failed! $PALANG['pCreate_mailbox_result_success'] = 'Le compte courriel a été ajouté! (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table! $PALANG['pCreate_mailbox_result_succes_nosubfolders'] = 'Le compte courriel a été ajouté à la table, mais un ou plusieurs dossiers prédéfinis n\'ont pu être créés ! (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table, but none (or only some) of the predefined sub-folders could be created. +$PALANG['mailbox_updated'] = "The mailbox %s has been updated."; # XXX +$PALANG['mailbox_update_failed'] = "Updating the mailbox %s failed!"; # XXX $PALANG['pEdit_mailbox_welcome'] = 'Modifier un compte courriel.'; $PALANG['pEdit_mailbox_username'] = 'Nom d\'utilisateur'; @@ -227,6 +229,9 @@ $PALANG['pAdminDelete_admin_error'] = 'Unable to delete admin!'; # XXX $PALANG['domain_postdel_failed'] = 'Impossible de supprimer le domain!'; # XXX Text changed to: The domain postdeletion script failed, check the error log for details! +$PALANG['mailbox_postdel_failed'] = 'The mailbox postdeletion script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Impossible de supprimé cet alias de domaine!'; $PALANG['pAdminEdit_domain_welcome'] = 'Modifier un domaine'; Modified: trunk/languages/hr.lang =================================================================== --- trunk/languages/hr.lang 2013-11-16 19:10:15 UTC (rev 1584) +++ trunk/languages/hr.lang 2013-11-16 19:49:40 UTC (rev 1585) @@ -129,6 +129,8 @@ $PALANG['pCreate_mailbox_result_error'] = 'Potanski ormarić nije moguče stvoriti! (%s)'; # XXX Text changed to: Creating the mailbox %s failed! $PALANG['pCreate_mailbox_result_success'] = 'Potanski ormarić je uspjeno stvoren! (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table! $PALANG['pCreate_mailbox_result_succes_nosubfolders'] = 'The mailbox %s has been added to the mailbox table, but none (or only some) of the predefined sub-folders could be created.'; # XXX +$PALANG['mailbox_updated'] = "The mailbox %s has been updated."; # XXX +$PALANG['mailbox_update_failed'] = "Updating the mailbox %s failed!"; # XXX $PALANG['pEdit_mailbox_welcome'] = 'Uredi potanski ormarić za domenu.'; $PALANG['pEdit_mailbox_username'] = 'Korisničko ime'; @@ -224,6 +226,9 @@ $PALANG['pAdminCreate_domain_result_success'] = 'Domena je bila uspjeno dodana! (%s)'; # XXX Text changed to: The domain %s has been added. $PALANG['pAdminDelete_admin_error'] = 'Unable to delete admin!'; # XXX $PALANG['domain_postdel_failed'] = 'The domain postdeletion script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postdel_failed'] = 'The mailbox postdeletion script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Unable to remove domain alias!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = 'Uredi domenu'; Modified: trunk/languages/hu.lang =================================================================== --- trunk/languages/hu.lang 2013-11-16 19:10:15 UTC (rev 1584) +++ trunk/languages/hu.lang 2013-11-16 19:49:40 UTC (rev 1585) @@ -132,6 +132,8 @@ $PALANG['pCreate_mailbox_result_error'] = 'Nemsikerült a postafiókot felvenni a mailbox adatbázis táblába! (%s)'; # XXX Text changed to: Creating the mailbox %s failed! $PALANG['pCreate_mailbox_result_success'] = 'A postafiókot sikeresen felvettük a mailbox adatbázis táblába! (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table! $PALANG['pCreate_mailbox_result_succes_nosubfolders'] = 'A postafiókot hozzáadtuk a postafiók táblához, de egyik előre definiált alkönyvtárat sem tudtuk létrehozni (vagy csak néhányat) (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table, but none (or only some) of the predefined sub-folders could be created. +$PALANG['mailbox_updated'] = "The mailbox %s has been updated."; # XXX +$PALANG['mailbox_update_failed'] = "Updating the mailbox %s failed!"; # XXX $PALANG['pEdit_mailbox_welcome'] = 'Postafiók szerkesztése az adott domainhez.'; $PALANG['pEdit_mailbox_username'] = 'Felhasználónév'; @@ -231,6 +233,9 @@ $PALANG['pAdminDelete_admin_error'] = 'Unable to delete admin!'; # XXX $PALANG['domain_postdel_failed'] = 'A domain törlése nem sikerült!'; # XXX Text changed to: The domain postdeletion script failed, check the error log for details! +$PALANG['mailbox_postdel_failed'] = 'The mailbox postdeletion script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Unable to remove domain alias!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = 'Domain szerkesztése'; Modified: trunk/languages/is.lang =================================================================== --- trunk/languages/is.lang 2013-11-16 19:10:15 UTC (rev 1584) +++ trunk/languages/is.lang 2013-11-16 19:49:40 UTC (rev 1585) @@ -130,6 +130,8 @@ $PALANG['pCreate_mailbox_result_error'] = 'Get ekki bætt við pósthólfi í mailbox töfluna! (%s)'; # XXX Text changed to: Creating the mailbox %s failed! $PALANG['pCreate_mailbox_result_success'] = 'Pósthólfinu hefur verið bætt við mailbox töfluna! (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table! $PALANG['pCreate_mailbox_result_succes_nosubfolders'] = 'The mailbox %s has been added to the mailbox table, but none (or only some) of the predefined sub-folders could be created.'; # XXX +$PALANG['mailbox_updated'] = "The mailbox %s has been updated."; # XXX +$PALANG['mailbox_update_failed'] = "Updating the mailbox %s failed!"; # XXX $PALANG['pEdit_mailbox_welcome'] = 'Breyta pósthólfi i léninu þínu.'; $PALANG['pEdit_mailbox_username'] = 'Auðkenni'; # XXX check / compare with pCreate_mailbox_username - should be "Username" @@ -225,6 +227,9 @@ $PALANG['pAdminCreate_domain_result_success'] = 'Lén hefur verið bætt inn! (%s)'; # XXX Text changed to: The domain %s has been added. $PALANG['pAdminDelete_admin_error'] = 'Unable to delete admin!'; # XXX $PALANG['domain_postdel_failed'] = 'The domain postdeletion script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postdel_failed'] = 'The mailbox postdeletion script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Unable to remove domain alias!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = 'Breyta léni'; Modified: trunk/languages/it.lang =================================================================== --- trunk/languages/it.lang 2013-11-16 19:10:15 UTC (rev 1584) +++ trunk/languages/it.lang 2013-11-16 19:49:40 UTC (rev 1585) @@ -131,6 +131,8 @@ $PALANG['pCreate_mailbox_result_error'] = 'Impossibile aggiungere la casella di posta alla tabella delle caselle di posta! (%s)'; # XXX Text changed to: Creating the mailbox %s failed! $PALANG['pCreate_mailbox_result_success'] = 'La casella di posta è stata aggiunta alla tabella! (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table! $PALANG['pCreate_mailbox_result_succes_nosubfolders'] = 'La casella è stata aggiunta, ma non sono riuscito ad aggiungere (tutte) le sottocartelle definite (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table, but none (or only some) of the predefined sub-folders could be created. +$PALANG['mailbox_updated'] = "The mailbox %s has been updated."; # XXX +$PALANG['mailbox_update_failed'] = "Updating the mailbox %s failed!"; # XXX $PALANG['pEdit_mailbox_welcome'] = 'Modifica una casella di posta per il tuo dominio.'; $PALANG['pEdit_mailbox_username'] = 'Nome utente'; @@ -226,6 +228,9 @@ $PALANG['pAdminCreate_domain_result_success'] = 'Il dominio è stato aggiunto! (%s)'; # XXX Text changed to: The domain %s has been added. $PALANG['pAdminDelete_admin_error'] = 'Unable to delete admin!'; # XXX $PALANG['domain_postdel_failed'] = 'Impossibile cancellare il dominio!'; # XXX Text changed to: The domain postdeletion script failed, check the error log for details! +$PALANG['mailbox_postdel_failed'] = 'The mailbox postdeletion script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Unable to remove domain alias!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = 'Modifica un domain'; Modified: trunk/languages/ja.lang =================================================================== --- trunk/languages/ja.lang 2013-11-16 19:10:15 UTC (rev 1584) +++ trunk/languages/ja.lang 2013-11-16 19:49:40 UTC (rev 1585) @@ -132,6 +132,8 @@ $PALANG['pCreate_mailbox_result_error'] = 'メールアドレスを追加できません! (%s)'; # XXX Text changed to: Creating the mailbox %s failed! $PALANG['pCreate_mailbox_result_success'] = 'メールアドレスを追加しました。 (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table! $PALANG['pCreate_mailbox_result_succes_nosubfolders'] = 'メールアドレスを追加しました。しかし、いくつかのサブフォルダの作成に失敗しました。 (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table, but none (or only some) of the predefined sub-folders could be created. +$PALANG['mailbox_updated'] = "The mailbox %s has been updated."; # XXX +$PALANG['mailbox_update_failed'] = "Updating the mailbox %s failed!"; # XXX $PALANG['pEdit_mailbox_welcome'] = 'メールアドレスの編集'; $PALANG['pEdit_mailbox_username'] = 'メールアドレス'; # XXX check / compare with pCreate_mailbox_username - should be "Username" @@ -231,6 +233,9 @@ $PALANG['pAdminDelete_admin_error'] = 'Unable to delete admin!'; # XXX $PALANG['domain_postdel_failed'] = 'ドメインが削除できません!'; # XXX Text changed to: The domain postdeletion script failed, check the error log for details! +$PALANG['mailbox_postdel_failed'] = 'The mailbox postdeletion script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Unable to remove domain alias!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = 'ドメインの修正'; Modified: trunk/languages/lt.lang =================================================================== --- trunk/languages/lt.lang 2013-11-16 19:10:15 UTC (rev 1584) +++ trunk/languages/lt.lang 2013-11-16 19:49:40 UTC (rev 1585) @@ -131,6 +131,8 @@ $PALANG['pCreate_mailbox_result_error'] = 'Pašto dėžutės užregistruoti nepavyko! (%s)'; # XXX Text changed to: Creating the mailbox %s failed! $PALANG['pCreate_mailbox_result_success'] = 'Pašto dėžutė užregistruota! (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table! $PALANG['pCreate_mailbox_result_succes_nosubfolders'] = 'Pašto dėžutė užregistruota, bet nepavyko sukurti (galbūt kai kurių) nustatytų subdirektorijų (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table, but none (or only some) of the predefined sub-folders could be created. +$PALANG['mailbox_updated'] = "The mailbox %s has been updated."; # XXX +$PALANG['mailbox_update_failed'] = "Updating the mailbox %s failed!"; # XXX $PALANG['pEdit_mailbox_welcome'] = 'Keisti pašto dėžutę.'; $PALANG['pEdit_mailbox_username'] = 'Vartotojas'; @@ -226,6 +228,9 @@ $PALANG['pAdminCreate_domain_result_success'] = 'Sritis užregistruota! (%s)'; # XXX Text changed to: The domain %s has been added. $PALANG['pAdminDelete_admin_error'] = 'Nepavyko panaikinti administratoriaus!'; $PALANG['domain_postdel_failed'] = 'Nepavyko panaikinti srities!'; # XXX Text changed to: The domain postdeletion script failed, check the error log for details! +$PALANG['mailbox_postdel_failed'] = 'The mailbox postdeletion script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Nepavyko panaikinti srities sinonimo!'; $PALANG['pAdminEdit_domain_welcome'] = 'Keisti sritį'; Modified: trunk/languages/mk.lang =================================================================== --- trunk/languages/mk.lang 2013-11-16 19:10:15 UTC (rev 1584) +++ trunk/languages/mk.lang 2013-11-16 19:49:40 UTC (rev 1585) @@ -130,6 +130,8 @@ $PALANG['pCreate_mailbox_result_error'] = 'Не можам да додадам ново сандаче на табелата! (%s)'; # XXX Text changed to: Creating the mailbox %s failed! $PALANG['pCreate_mailbox_result_success'] = 'Поштенското сандаче е додадено на табелата! (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table! $PALANG['pCreate_mailbox_result_succes_nosubfolders'] = 'The mailbox %s has been added to the mailbox table, but none (or only some) of the predefined sub-folders could be created.'; # XXX +$PALANG['mailbox_updated'] = "The mailbox %s has been updated."; # XXX +$PALANG['mailbox_update_failed'] = "Updating the mailbox %s failed!"; # XXX $PALANG['pEdit_mailbox_welcome'] = 'Измена на поштенско сандаче на доменот.'; $PALANG['pEdit_mailbox_username'] = 'Корисничко име'; @@ -226,6 +228,9 @@ $PALANG['pAdminCreate_domain_result_success'] = 'Доменот е додаден! (%s)'; # XXX Text changed to: The domain %s has been added. $PALANG['pAdminDelete_admin_error'] = 'Unable to delete admin!'; # XXX $PALANG['domain_postdel_failed'] = 'The domain postdeletion script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postdel_failed'] = 'The mailbox postdeletion script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Unable to remove domain alias!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = 'Измена на домен'; Modified: trunk/languages/nb.lang =================================================================== --- trunk/languages/nb.lang 2013-11-16 19:10:15 UTC (rev 1584) +++ trunk/languages/nb.lang 2013-11-16 19:49:40 UTC (rev 1585) @@ -131,6 +131,8 @@ $PALANG['pCreate_mailbox_result_error'] = 'Kunne ikke legge til e-postkontoen i mailbox-tabellen! (%s)'; # XXX Text changed to: Creating the mailbox %s failed! $PALANG['pCreate_mailbox_result_success'] = 'E-postkontoen er blitt opprettet i mailbox-tabellen! (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table! $PALANG['pCreate_mailbox_result_succes_nosubfolders'] = 'E-postkontoen er blitt opprettet i mailbox-tabellen, men ingen (eller kun noen) av de forhåndsdefinerte undermappene kunne opprettes. (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table, but none (or only some) of the predefined sub-folders could be created. +$PALANG['mailbox_updated'] = "The mailbox %s has been updated."; # XXX +$PALANG['mailbox_update_failed'] = "Updating the mailbox %s failed!"; # XXX $PALANG['pEdit_mailbox_welcome'] = 'Endre en e-postkonto.'; $PALANG['pEdit_mailbox_username'] = 'Brukernavn'; @@ -226,6 +228,9 @@ $PALANG['pAdminCreate_domain_result_success'] = 'Domenet er blitt opprettet! (%s)'; # XXX Text changed to: The domain %s has been added. $PALANG['pAdminDelete_admin_error'] = 'Unable to delete admin!'; # XXX $PALANG['domain_postdel_failed'] = 'Kunne ikke fjerne domenet!'; # XXX Text changed to: The domain postdeletion script failed, check the error log for details! +$PALANG['mailbox_postdel_failed'] = 'The mailbox postdeletion script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Kunne ikke fjerne domenealias!'; $PALANG['pAdminEdit_domain_welcome'] = 'Endre et domene'; Modified: trunk/languages/nl.lang =================================================================== --- trunk/languages/nl.lang 2013-11-16 19:10:15 UTC (rev 1584) +++ trunk/languages/nl.lang 2013-11-16 19:49:40 UTC (rev 1585) @@ -131,6 +131,8 @@ $PALANG['pCreate_mailbox_result_error'] = 'Mislukt om de mailbox toe te voegen. (%s)'; # XXX Text changed to: Creating the mailbox %s failed! $PALANG['pCreate_mailbox_result_success'] = 'De mailbox is toegevoegd. (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table! $PALANG['pCreate_mailbox_result_succes_nosubfolders'] = 'De mailbox is aan de mailbox tabel toegevoegd, maar geen (of sommige) van de vooraf gedefinieerde sub-folders kon aangemaakt worden (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table, but none (or only some) of the predefined sub-folders could be created. +$PALANG['mailbox_updated'] = "The mailbox %s has been updated."; # XXX +$PALANG['mailbox_update_failed'] = "Updating the mailbox %s failed!"; # XXX $PALANG['pEdit_mailbox_welcome'] = 'Bewerk een mailbox voor uw domein.'; $PALANG['pEdit_mailbox_username'] = 'Gebruikersnaam'; @@ -226,6 +228,9 @@ $PALANG['pAdminCreate_domain_result_success'] = 'Domein is toegevoegd! (%s)'; # XXX Text changed to: The domain %s has been added. $PALANG['pAdminDelete_admin_error'] = 'Niet in staat beheerder te verwijderen!'; $PALANG['domain_postdel_failed'] = 'Niet in staat domein te verwijderen!'; # XXX Text changed to: The domain postdeletion script failed, check the error log for details! +$PALANG['mailbox_postdel_failed'] = 'The mailbox postdeletion script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Niet in staat domein alias te verwijderen!'; $PALANG['pAdminEdit_domain_welcome'] = 'Bewerk een domein'; Modified: trunk/languages/nn.lang =================================================================== --- trunk/languages/nn.lang 2013-11-16 19:10:15 UTC (rev 1584) +++ trunk/languages/nn.lang 2013-11-16 19:49:40 UTC (rev 1585) @@ -129,6 +129,8 @@ $PALANG['pCreate_mailbox_result_error'] = 'Klarte ikke å legge til e-postkontoen! (%s)'; # XXX Text changed to: Creating the mailbox %s failed! $PALANG['pCreate_mailbox_result_success'] = 'E-postkontoen er opprettet! (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table! $PALANG['pCreate_mailbox_result_succes_nosubfolders'] = 'The mailbox %s has been added to the mailbox table, but none (or only some) of the predefined sub-folders could be created.'; # XXX +$PALANG['mailbox_updated'] = "The mailbox %s has been updated."; # XXX +$PALANG['mailbox_update_failed'] = "Updating the mailbox %s failed!"; # XXX $PALANG['pEdit_mailbox_welcome'] = 'Endre en e-postkonto.'; $PALANG['pEdit_mailbox_username'] = 'Brukernavn'; @@ -225,6 +227,9 @@ $PALANG['pAdminCreate_domain_result_success'] = 'Domenet er lagt til! (%s)'; # XXX Text changed to: The domain %s has been added. $PALANG['pAdminDelete_admin_error'] = 'Unable to delete admin!'; # XXX $PALANG['domain_postdel_failed'] = 'The domain postdeletion script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postdel_failed'] = 'The mailbox postdeletion script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Unable to remove domain alias!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = 'Endre domenet'; Modified: trunk/languages/pl.lang =================================================================== --- trunk/languages/pl.lang 2013-11-16 19:10:15 UTC (rev 1584) +++ trunk/languages/pl.lang 2013-11-16 19:49:40 UTC (rev 1585) @@ -132,6 +132,8 @@ $PALANG['pCreate_mailbox_result_error'] = 'Nie można dodać konta do tabeli kont! (%s)'; # XXX Text changed to: Creating the mailbox %s failed! $PALANG['pCreate_mailbox_result_success'] = 'Konto zostało dodane do tabeli kont! (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table! $PALANG['pCreate_mailbox_result_succes_nosubfolders'] = 'Konto zostało dodane do tabeli kont, ale żadne (lub tylko niektóre) z predefiniowanych folderów nie zostały utworzone (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table, but none (or only some) of the predefined sub-folders could be created. +$PALANG['mailbox_updated'] = "The mailbox %s has been updated."; # XXX +$PALANG['mailbox_update_failed'] = "Updating the mailbox %s failed!"; # XXX $PALANG['pEdit_mailbox_welcome'] = 'Edytuj konto w Twojej domenie.'; $PALANG['pEdit_mailbox_username'] = 'Nazwa użytkownika'; @@ -228,6 +230,9 @@ $PALANG['pAdminCreate_domain_result_success'] = 'Domena została dodana! (%s)'; # XXX Text changed to: The domain %s has been added. $PALANG['pAdminDelete_admin_error'] = 'Unable to delete admin!'; # XXX $PALANG['domain_postdel_failed'] = 'Nie można usunąć domeny!'; # XXX Text changed to: The domain postdeletion script failed, check the error log for details! +$PALANG['mailbox_postdel_failed'] = 'The mailbox postdeletion script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Nie można usunąć aliasu domeny!'; $PALANG['pAdminEdit_domain_welcome'] = 'Edytuj domenę'; Modified: trunk/languages/pt-br.lang =================================================================== --- trunk/languages/pt-br.lang 2013-11-16 19:10:15 UTC (rev 1584) +++ trunk/languages/pt-br.lang 2013-11-16 19:49:40 UTC (rev 1585) @@ -134,6 +134,8 @@ $PALANG['pCreate_mailbox_result_error'] = 'Não foi possível criar a conta de email! (%s)'; # XXX Text changed to: Creating the mailbox %s failed! $PALANG['pCreate_mailbox_result_success'] = 'Conta de email criada! (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table! $PALANG['pCreate_mailbox_result_succes_nosubfolders'] = 'Conta de email criada, mas nenhum (ou apenas alguns) dos subdiretórios pré-definidos puderam ser criados (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table, but none (or only some) of the predefined sub-folders could be created. +$PALANG['mailbox_updated'] = "The mailbox %s has been updated."; # XXX +$PALANG['mailbox_update_failed'] = "Updating the mailbox %s failed!"; # XXX $PALANG['pEdit_mailbox_welcome'] = 'Edição de conta de email do domínio.'; $PALANG['pEdit_mailbox_username'] = 'Usuário'; @@ -233,6 +235,9 @@ $PALANG['pAdminDelete_admin_error'] = 'Unable to delete admin!'; # XXX $PALANG['domain_postdel_failed'] = 'Não foi possível remover o domínio!'; # XXX Text changed to: The domain postdeletion script failed, check the error log for details! +$PALANG['mailbox_postdel_failed'] = 'The mailbox postdeletion script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Não foi possível remover o alias de domínio!'; $PALANG['pAdminEdit_domain_welcome'] = 'Edição de domínio.'; Modified: trunk/languages/ru.lang =================================================================== --- trunk/languages/ru.lang 2013-11-16 19:10:15 UTC (rev 1584) +++ trunk/languages/ru.lang 2013-11-16 19:49:40 UTC (rev 1585) @@ -134,6 +134,8 @@ $PALANG['pCreate_mailbox_result_error'] = 'Невозможно добавить ящик в список существующих ящиков! (%s)'; # XXX Text changed to: Creating the mailbox %s failed! $PALANG['pCreate_mailbox_result_success'] = 'Почтовый ящик был успешно создан! (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table! $PALANG['pCreate_mailbox_result_succes_nosubfolders'] = 'Почтовый ящик был успешно создан, но в нем не удалось создать (некоторые) стандартные папки (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table, but none (or only some) of the predefined sub-folders could be created. +$PALANG['mailbox_updated'] = "The mailbox %s has been updated."; # XXX +$PALANG['mailbox_update_failed'] = "Updating the mailbox %s failed!"; # XXX $PALANG['pEdit_mailbox_welcome'] = 'Редактирование ящика для вашего домена.'; $PALANG['pEdit_mailbox_username'] = 'Название'; @@ -233,6 +235,9 @@ $PALANG['pAdminDelete_admin_error'] = 'Невозможно удалить администратора!'; $PALANG['domain_postdel_failed'] = 'Невозможно удалить домен!'; # XXX Text changed to: The domain postdeletion script failed, check the error log for details! +$PALANG['mailbox_postdel_failed'] = 'The mailbox postdeletion script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Невозможно удалить домен-алиас!'; $PALANG['pAdminEdit_domain_welcome'] = 'Редактирование домена'; Modified: trunk/languages/sk.lang =================================================================== --- trunk/languages/sk.lang 2013-11-16 19:10:15 UTC (rev 1584) +++ trunk/languages/sk.lang 2013-11-16 19:49:40 UTC (rev 1585) @@ -131,6 +131,8 @@ $PALANG['pCreate_mailbox_result_error'] = 'Nepodarilo sa pridať schránku do tabuľky! (%s)'; # XXX Text changed to: Creating the mailbox %s failed! $PALANG['pCreate_mailbox_result_success'] = 'Schránka bola pridaná do tabuľky! (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table! $PALANG['pCreate_mailbox_result_succes_nosubfolders'] = 'Schránka bola pridaná do tabuľky, ale nepodarilo sa vytvoriť (niektoré) definované adresáre (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table, but none (or only some) of the predefined sub-folders could be created. +$PALANG['mailbox_updated'] = "The mailbox %s has been updated."; # XXX +$PALANG['mailbox_update_failed'] = "Updating the mailbox %s failed!"; # XXX $PALANG['pEdit_mailbox_welcome'] = 'Upraviť schránku v doméne'; $PALANG['pEdit_mailbox_username'] = 'Užívateľské meno'; @@ -226,6 +228,9 @@ $PALANG['pAdminCreate_domain_result_success'] = 'Doména bola pridaná! (%s)'; # XXX Text changed to: The domain %s has been added. $PALANG['pAdminDelete_admin_error'] = 'Unable to delete admin!'; # XXX $PALANG['domain_postdel_failed'] = 'Nepodarilo sa odstrániť doménu!'; # XXX Text changed to: The domain postdeletion script failed, check the error log for details! +$PALANG['mailbox_postdel_failed'] = 'The mailbox postdeletion script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Nepodario sa odstrániť alias domény!'; $PALANG['pAdminEdit_domain_welcome'] = 'Upraviť doménu'; Modified: trunk/languages/sl.lang =================================================================== --- trunk/languages/sl.lang 2013-11-16 19:10:15 UTC (rev 1584) +++ trunk/languages/sl.lang 2013-11-16 19:49:40 UTC (rev 1585) @@ -130,6 +130,8 @@ $PALANG['pCreate_mailbox_result_error'] = 'Predala ni bilo mogoče ustvariti! (%s)'; # XXX Text changed to: Creating the mailbox %s failed! $PALANG['pCreate_mailbox_result_success'] = 'Predal je bil uspešno ustvarjen! (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table! $PALANG['pCreate_mailbox_result_succes_nosubfolders'] = 'The mailbox %s has been added to the mailbox table, but none (or only some) of the predefined sub-folders could be created.'; # XXX +$PALANG['mailbox_updated'] = "The mailbox %s has been updated."; # XXX +$PALANG['mailbox_update_failed'] = "Updating the mailbox %s failed!"; # XXX $PALANG['pEdit_mailbox_welcome'] = 'Uredi določen predal za izbrano domeno.'; $PALANG['pEdit_mailbox_username'] = 'Uporabniško ime'; @@ -225,6 +227,9 @@ $PALANG['pAdminCreate_domain_result_success'] = 'Domena je bila uspešno dodana! (%s)'; # XXX Text changed to: The domain %s has been added. $PALANG['pAdminDelete_admin_error'] = 'Unable to delete admin!'; # XXX $PALANG['domain_postdel_failed'] = 'The domain postdeletion script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postdel_failed'] = 'The mailbox postdeletion script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Unable to remove domain alias!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = 'Uredi domeno'; Modified: trunk/languages/sv.lang =================================================================== --- trunk/languages/sv.lang 2013-11-16 19:10:15 UTC (rev 1584) +++ trunk/languages/sv.lang 2013-11-16 19:49:40 UTC (rev 1585) @@ -132,6 +132,8 @@ $PALANG['pCreate_mailbox_result_error'] = 'Kan ej lägga till brevlådat i tabellen för konton! (%s)'; # XXX Text changed to: Creating the mailbox %s failed! $PALANG['pCreate_mailbox_result_success'] = 'Mailkontot har lagts till! (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table! $PALANG['pCreate_mailbox_result_succes_nosubfolders'] = 'Brevlådan har lagts till i tabellen mailbox, men inga (eller få) av de fördefinierade underkatalogerna kunde skapas (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table, but none (or only some) of the predefined sub-folders could be created. +$PALANG['mailbox_updated'] = "The mailbox %s has been updated."; # XXX +$PALANG['mailbox_update_failed'] = "Updating the mailbox %s failed!"; # XXX $PALANG['pEdit_mailbox_welcome'] = 'Ändra ett brevlåda i din domän.'; $PALANG['pEdit_mailbox_username'] = 'Epostadress'; @@ -227,6 +229,9 @@ $PALANG['pAdminCreate_domain_result_success'] = 'Domänen har skapats! (%s)'; # XXX Text changed to: The domain %s has been added. $PALANG['pAdminDelete_admin_error'] = 'Unable to delete admin!'; # XXX $PALANG['domain_postdel_failed'] = 'Kunde inte tabort domän!'; # XXX Text changed to: The domain postdeletion script failed, check the error log for details! +$PALANG['mailbox_postdel_failed'] = 'The mailbox postdeletion script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Unable to remove domain alias!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = 'Ändra en domän'; Modified: trunk/languages/tr.lang =================================================================== --- trunk/languages/tr.lang 2013-11-16 19:10:15 UTC (rev 1584) +++ trunk/languages/tr.lang 2013-11-16 19:49:40 UTC (rev 1585) @@ -130,6 +130,8 @@ $PALANG['pCreate_mailbox_result_error'] = 'Posta kutusu posta kutusu tablosuna eklenemiyor! (%s)'; # XXX Text changed to: Creating the mailbox %s failed! $PALANG['pCreate_mailbox_result_success'] = 'Posta kutusu tabloya eklendi! (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table! $PALANG['pCreate_mailbox_result_succes_nosubfolders'] = 'The mailbox %s has been added to the mailbox table, but none (or only some) of the predefined sub-folders could be created.'; # XXX +$PALANG['mailbox_updated'] = "The mailbox %s has been updated."; # XXX +$PALANG['mailbox_update_failed'] = "Updating the mailbox %s failed!"; # XXX $PALANG['pEdit_mailbox_welcome'] = 'Domaninizdeki bir posta kutusunu düzenleyin.'; $PALANG['pEdit_mailbox_username'] = 'kullanýcý adý'; # XXX check / compare with pCreate_mailbox_username - should be "Username" @@ -225,6 +227,9 @@ $PALANG['pAdminCreate_domain_result_success'] = 'Domain eklendi! (%s)'; # XXX Text changed to: The domain %s has been added. $PALANG['pAdminDelete_admin_error'] = 'Unable to delete admin!'; # XXX $PALANG['domain_postdel_failed'] = 'The domain postdeletion script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postdel_failed'] = 'The mailbox postdeletion script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Unable to remove domain alias!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = 'Domain düzenle'; Modified: trunk/languages/tw.lang =================================================================== --- trunk/languages/tw.lang 2013-11-16 19:10:15 UTC (rev 1584) +++ trunk/languages/tw.lang 2013-11-16 19:49:40 UTC (rev 1585) @@ -130,6 +130,8 @@ $PALANG['pCreate_mailbox_result_error'] = '不能將郵箱增加到郵箱表中! (%s)'; # XXX Text changed to: Creating the mailbox %s failed! $PALANG['pCreate_mailbox_result_success'] = '增加郵箱成功! (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table! $PALANG['pCreate_mailbox_result_succes_nosubfolders'] = 'The mailbox %s has been added to the mailbox table, but none (or only some) of the predefined sub-folders could be created.'; # XXX +$PALANG['mailbox_updated'] = "The mailbox %s has been updated."; # XXX +$PALANG['mailbox_update_failed'] = "Updating the mailbox %s failed!"; # XXX $PALANG['pEdit_mailbox_welcome'] = '編輯你網域中的郵箱.'; $PALANG['pEdit_mailbox_username'] = '用戶名'; @@ -225,6 +227,9 @@ $PALANG['pAdminCreate_domain_result_success'] = '新增網域成功! (%s)'; # XXX Text changed to: The domain %s has been added. $PALANG['pAdminDelete_admin_error'] = 'Unable to delete admin!'; # XXX $PALANG['domain_postdel_failed'] = 'The domain postdeletion script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postdel_failed'] = 'The mailbox postdeletion script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX +$PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Unable ... [truncated message content] |
From: <chr...@us...> - 2013-11-16 20:20:53
|
Revision: 1587 http://sourceforge.net/p/postfixadmin/code/1587 Author: christian_boltz Date: 2013-11-16 20:20:50 +0000 (Sat, 16 Nov 2013) Log Message: ----------- AliasHandler: - only allow @domain as target if $this->id is a catchall - delete commented out version of delete() - better error messages languages/*.lang - add new texts needed for AliasHandler Modified Paths: -------------- trunk/languages/bg.lang trunk/languages/ca.lang trunk/languages/cn.lang trunk/languages/cs.lang trunk/languages/da.lang trunk/languages/de.lang trunk/languages/en.lang trunk/languages/es.lang trunk/languages/et.lang trunk/languages/eu.lang trunk/languages/fi.lang trunk/languages/fo.lang trunk/languages/fr.lang trunk/languages/hr.lang trunk/languages/hu.lang trunk/languages/is.lang trunk/languages/it.lang trunk/languages/ja.lang trunk/languages/lt.lang trunk/languages/mk.lang trunk/languages/nb.lang trunk/languages/nl.lang trunk/languages/nn.lang trunk/languages/pl.lang trunk/languages/pt-br.lang trunk/languages/ru.lang trunk/languages/sk.lang trunk/languages/sl.lang trunk/languages/sv.lang trunk/languages/tr.lang trunk/languages/tw.lang trunk/model/AliasHandler.php Modified: trunk/languages/bg.lang =================================================================== --- trunk/languages/bg.lang 2013-11-16 20:02:14 UTC (rev 1586) +++ trunk/languages/bg.lang 2013-11-16 20:20:50 UTC (rev 1587) @@ -105,13 +105,16 @@ $PALANG['delete_domain_aliasdomain_target'] = 'The domain %s is the target for one or more alias domains and can\'t be deleted! (Delete the alias domains first.)'; # XXX $PALANG['pCreate_alias_address_text_error1'] = 'Този ALIAS не е валиден!'; +$PALANG['alias_does_not_exist'] = 'This alias does not exist!'; # XXX $PALANG['email_address_already_exists'] = 'Този е-мейл адрес вече съществува, моля изберете различен!'; # XXX check text - should be 'This email address already exists, please choose a different one\!' $PALANG['pCreate_alias_address_text_error3'] = 'Достигнали сте лимита си за създаване на alias-и!'; $PALANG['pCreate_alias_goto_text'] = 'Накъде трябва да се изпраща писмото.'; $PALANG['pCreate_alias_goto_text_error'] = 'Избраният адрес в полето Към не е валиден!'; $PALANG['pCreate_alias_result_error'] = 'Не мога да добавя alias-а към таблицата! (%s)'; # XXX Text changed to: Creating the alias %s failed! $PALANG['pCreate_alias_result_success'] = 'Alias-а беше добавен успешно в таблицата!'; # XXX text change: 'The alias %s has been created!' +$PALANG['alias_updated'] = 'The alias %s has been updated!'; # XXX $PALANG['pCreate_alias_catchall_text'] = 'За да създадете catch-all използвайте "*" за alias. За пренасочване на домейн към домейн използвайте "*@domain.tld" в полето Към.'; # XXX check/beautify - was split in two lines before +$PALANG['mailbox_alias_cant_be_deleted'] = 'This alias belongs to a mailbox and can\'t be deleted!'; # XXX $PALANG['pEdit_alias_welcome'] = 'Редактиране на alias за вашия домейн.'; # XXX Text change to: 'Edit forwarding settings' $PALANG['pEdit_alias_help'] = 'Един запис на ред.'; # XXX Text change to: 'Accepts multiple targets, one entry per line.' Modified: trunk/languages/ca.lang =================================================================== --- trunk/languages/ca.lang 2013-11-16 20:02:14 UTC (rev 1586) +++ trunk/languages/ca.lang 2013-11-16 20:20:50 UTC (rev 1587) @@ -103,13 +103,16 @@ $PALANG['delete_domain_aliasdomain_target'] = 'The domain %s is the target for one or more alias domains and can\'t be deleted! (Delete the alias domains first.)'; # XXX $PALANG['pCreate_alias_address_text_error1'] = 'L\'àlies no és vàlid!'; +$PALANG['alias_does_not_exist'] = 'This alias does not exist!'; # XXX $PALANG['email_address_already_exists'] = 'Aquesta adreça ja existeix, escull una altra de diferent, si us plau!'; # XXX check text - should be 'This email address already exists, please choose a different one\!' $PALANG['pCreate_alias_address_text_error3'] = 'Has arribat al límit de creació d\'àlies!'; $PALANG['pCreate_alias_goto_text'] = 'A on ha de ser enviat l\'e-mail.'; $PALANG['pCreate_alias_goto_text_error'] = 'El destí no és vàlid!'; $PALANG['pCreate_alias_result_error'] = '¡No és posible afegir l\'àlies a la taula d\'àlies! (%s)'; # XXX Text changed to: Creating the alias %s failed! $PALANG['pCreate_alias_result_success'] = 'L\'àlies ha estat creat correctament!'; # XXX text change: 'The alias %s has been created!' +$PALANG['alias_updated'] = 'The alias %s has been updated!'; # XXX $PALANG['pCreate_alias_catchall_text'] = 'Per crear un àlies general usi "*" com a àlies. Per una redirecció de domini a domini, usi "*@domain.tld" com a Destí.'; # XXX check/beautify - was split in two lines before +$PALANG['mailbox_alias_cant_be_deleted'] = 'This alias belongs to a mailbox and can\'t be deleted!'; # XXX $PALANG['pEdit_alias_welcome'] = 'Editi un àlies pel seu domini.'; # XXX Text change to: 'Edit forwarding settings' $PALANG['pEdit_alias_help'] = 'Una entrada per línia.'; # XXX Text change to: 'Accepts multiple targets, one entry per line.' Modified: trunk/languages/cn.lang =================================================================== --- trunk/languages/cn.lang 2013-11-16 20:02:14 UTC (rev 1586) +++ trunk/languages/cn.lang 2013-11-16 20:20:50 UTC (rev 1587) @@ -104,13 +104,16 @@ $PALANG['delete_domain_aliasdomain_target'] = 'The domain %s is the target for one or more alias domains and can\'t be deleted! (Delete the alias domains first.)'; # XXX $PALANG['pCreate_alias_address_text_error1'] = '该别名非法!'; +$PALANG['alias_does_not_exist'] = 'This alias does not exist!'; # XXX $PALANG['email_address_already_exists'] = '邮件地址已经存在, 请重新选择!'; $PALANG['pCreate_alias_address_text_error3'] = '你的别名已经达到上限!'; $PALANG['pCreate_alias_goto_text'] = '邮件接收地址.'; $PALANG['pCreate_alias_goto_text_error'] = '接收地址不正确!'; $PALANG['pCreate_alias_result_error'] = '不能将别名添加到别名表中! (%s)'; # XXX Text changed to: Creating the alias %s failed! $PALANG['pCreate_alias_result_success'] = '添加别名成功!'; # XXX text change: 'The alias %s has been created!' +$PALANG['alias_updated'] = 'The alias %s has been updated!'; # XXX $PALANG['pCreate_alias_catchall_text'] = '要将所有的邮件全部转发请使用"*"作为别名. 域到域的转发请使用"*@domain.tld".'; # XXX check/beautify - was split in two lines before +$PALANG['mailbox_alias_cant_be_deleted'] = 'This alias belongs to a mailbox and can\'t be deleted!'; # XXX $PALANG['pEdit_alias_welcome'] = '编辑你域名中的别名.'; # XXX Text change to: 'Edit forwarding settings' $PALANG['pEdit_alias_help'] = '每行一条记录.'; # XXX # XXX Text change to: 'Accepts multiple targets, one entry per line.' Modified: trunk/languages/cs.lang =================================================================== --- trunk/languages/cs.lang 2013-11-16 20:02:14 UTC (rev 1586) +++ trunk/languages/cs.lang 2013-11-16 20:20:50 UTC (rev 1587) @@ -109,13 +109,16 @@ $PALANG['delete_domain_aliasdomain_target'] = 'The domain %s is the target for one or more alias domains and can\'t be deleted! (Delete the alias domains first.)'; # XXX $PALANG['pCreate_alias_address_text_error1'] = 'Adresa neni platná!'; +$PALANG['alias_does_not_exist'] = 'This alias does not exist!'; # XXX $PALANG['email_address_already_exists'] = 'Taková emailová adresa již existuje!'; # XXX check text - should be 'This email address already exists, please choose a different one\!' $PALANG['pCreate_alias_address_text_error3'] = 'Dosáhli jste limitu, nemůžete vytvářet další aliasy!'; $PALANG['pCreate_alias_goto_text'] = 'Kam má pošta chodit.'; $PALANG['pCreate_alias_goto_text_error'] = 'Cíl není platný!'; $PALANG['pCreate_alias_result_error'] = 'Nepodařilo se přidat přesměrování do tabulky aliasů! (%s)'; # XXX Text changed to: Creating the alias %s failed! $PALANG['pCreate_alias_result_success'] = 'Přesměrování bylo uspěšně přidáno do tabulky aliasů!'; # XXX text change: 'The alias %s has been created!' +$PALANG['alias_updated'] = 'The alias %s has been updated!'; # XXX $PALANG['pCreate_alias_catchall_text'] = 'Pro vytvoření doménového koše použijte * jako alias. Pro alias doména -> doména použijte *@domain.tld jako cíl.'; # XXX check/beautify - was split in two lines before +$PALANG['mailbox_alias_cant_be_deleted'] = 'This alias belongs to a mailbox and can\'t be deleted!'; # XXX $PALANG['pEdit_alias_welcome'] = 'Upravit přesměrování.'; # XXX Text change to: 'Edit forwarding settings' $PALANG['pEdit_alias_help'] = 'Jeden záznam na řádku.'; # XXX # XXX Text change to: 'Accepts multiple targets, one entry per line.' Modified: trunk/languages/da.lang =================================================================== --- trunk/languages/da.lang 2013-11-16 20:02:14 UTC (rev 1586) +++ trunk/languages/da.lang 2013-11-16 20:20:50 UTC (rev 1587) @@ -109,13 +109,16 @@ $PALANG['delete_domain_aliasdomain_target'] = 'The domain %s is the target for one or more alias domains and can\'t be deleted! (Delete the alias domains first.)'; # XXX $PALANG['pCreate_alias_address_text_error1'] = 'Aliaset er ikke gyldigt.'; +$PALANG['alias_does_not_exist'] = 'This alias does not exist!'; # XXX $PALANG['email_address_already_exists'] = 'Emailadressen eksisterer allerede, vælg venligst en anden.'; $PALANG['pCreate_alias_address_text_error3'] = 'Du har nået grænsen for antallet af aliases til domænet.'; $PALANG['pCreate_alias_goto_text'] = 'Hvor emailen skal videresendes til.'; $PALANG['pCreate_alias_goto_text_error'] = 'Modtageradressen er ikke gyldig!'; $PALANG['pCreate_alias_result_error'] = 'Kan ikke tilføje aliaset til alias-tabellen! (%s)'; # XXX Text changed to: Creating the alias %s failed! $PALANG['pCreate_alias_result_success'] = 'Aliaset er blevet tilføjet alias-tabellen!'; # XXX text change: 'The alias %s has been created!' +$PALANG['alias_updated'] = 'The alias %s has been updated!'; # XXX $PALANG['pCreate_alias_catchall_text'] = 'For at tilføje et stjerne-alias, brug en "*" som alias. For domæne til domæne-videresending brug "*@domæne.tld" som modtager.'; # XXX check/beautify - was split in two lines before +$PALANG['mailbox_alias_cant_be_deleted'] = 'This alias belongs to a mailbox and can\'t be deleted!'; # XXX $PALANG['pEdit_alias_welcome'] = 'Rediger alias.'; # XXX Text change to: 'Edit forwarding settings' $PALANG['pEdit_alias_help'] = 'En modtager pr. linje.'; # XXX # XXX Text change to: 'Accepts multiple targets, one entry per line.' Modified: trunk/languages/de.lang =================================================================== --- trunk/languages/de.lang 2013-11-16 20:02:14 UTC (rev 1586) +++ trunk/languages/de.lang 2013-11-16 20:20:50 UTC (rev 1587) @@ -106,13 +106,16 @@ $PALANG['delete_domain_aliasdomain_target'] = 'Die Domain %s ist das Ziel einer oder mehrerer Alias-Domains und kann nicht gelöscht werden! (Löschen Sie zuerst die Alias-Domains.)'; $PALANG['pCreate_alias_address_text_error1'] = 'Dieses ALIAS ist nicht erlaubt!'; +$PALANG['alias_does_not_exist'] = 'This alias does not exist!'; # XXX $PALANG['email_address_already_exists'] = '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_text'] = 'Wohin soll die eMail weitergeleitet werden?'; $PALANG['pCreate_alias_goto_text_error'] = 'Das An-Feld ist falsch!'; $PALANG['pCreate_alias_result_error'] = 'Das Erstellen des Aliases %s ist fehlgeschlagen!'; $PALANG['pCreate_alias_result_success'] = 'Der Alias %s wurde erstellt!'; +$PALANG['alias_updated'] = 'The alias %s has been updated!'; # XXX $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['mailbox_alias_cant_be_deleted'] = 'This alias belongs to a mailbox and can\'t be deleted!'; # XXX $PALANG['pEdit_alias_welcome'] = 'Weiterleitungs-Einstellungen ändern'; $PALANG['pEdit_alias_help'] = 'Angabe mehrerer Ziele möglich, ein Eintrag pro Zeile.'; Modified: trunk/languages/en.lang =================================================================== --- trunk/languages/en.lang 2013-11-16 20:02:14 UTC (rev 1586) +++ trunk/languages/en.lang 2013-11-16 20:20:50 UTC (rev 1587) @@ -107,13 +107,16 @@ $PALANG['delete_domain_aliasdomain_target'] = 'The domain %s is the target for one or more alias domains and can\'t be deleted! (Delete the alias domains first.)'; $PALANG['pCreate_alias_address_text_error1'] = 'The ALIAS is not valid!'; +$PALANG['alias_does_not_exist'] = 'This alias does not exist!'; $PALANG['email_address_already_exists'] = '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_text'] = 'Where the mail needs to be sent to.'; $PALANG['pCreate_alias_goto_text_error'] = 'The To: is not valid!'; $PALANG['pCreate_alias_result_error'] = 'Creating the alias %s failed!'; $PALANG['pCreate_alias_result_success'] = 'The alias %s has been created!'; +$PALANG['alias_updated'] = 'The alias %s has been updated!'; $PALANG['pCreate_alias_catchall_text'] = 'To create a catch-all use an "*" as alias.'; # XXX don't propagate usage of *@target-domain.com for domain-aliasing any longer +$PALANG['mailbox_alias_cant_be_deleted'] = 'This alias belongs to a mailbox and can\'t be deleted!'; $PALANG['pEdit_alias_welcome'] = 'Edit forwarding settings'; $PALANG['pEdit_alias_help'] = 'Accepts multiple targets, one entry per line.'; Modified: trunk/languages/es.lang =================================================================== --- trunk/languages/es.lang 2013-11-16 20:02:14 UTC (rev 1586) +++ trunk/languages/es.lang 2013-11-16 20:20:50 UTC (rev 1587) @@ -104,13 +104,16 @@ $PALANG['delete_domain_aliasdomain_target'] = 'The domain %s is the target for one or more alias domains and can\'t be deleted! (Delete the alias domains first.)'; # XXX $PALANG['pCreate_alias_address_text_error1'] = '¡El ALIAS no es válido!'; +$PALANG['alias_does_not_exist'] = 'This alias does not exist!'; # XXX $PALANG['email_address_already_exists'] = '¡Esta dirección ya existe, elija otra diferente por favor!'; # XXX check text - should be 'This email address already exists, please choose a different one\!' $PALANG['pCreate_alias_address_text_error3'] = '¡Ha llegado a su límite de creación de alias!'; $PALANG['pCreate_alias_goto_text'] = 'A donde debe de ser enviado el e-mail.'; $PALANG['pCreate_alias_goto_text_error'] = '¡El PARA no es válido!'; $PALANG['pCreate_alias_result_error'] = '¡No es posible añadir el alias a la tabla de alias! (%s)'; # XXX Text changed to: Creating the alias %s failed! $PALANG['pCreate_alias_result_success'] = '¡El alias ha sido añadido a la tabla de alias!'; # XXX text change: 'The alias %s has been created!' +$PALANG['alias_updated'] = 'The alias %s has been updated!'; # XXX $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.'; # XXX check/beautify - was split in two lines before +$PALANG['mailbox_alias_cant_be_deleted'] = 'This alias belongs to a mailbox and can\'t be deleted!'; # XXX $PALANG['pEdit_alias_welcome'] = 'Edite un alias para su dominio.'; # XXX Text change to: 'Edit forwarding settings' $PALANG['pEdit_alias_help'] = 'Una entrada por línea.'; # XXX # XXX Text change to: 'Accepts multiple targets, one entry per line.' Modified: trunk/languages/et.lang =================================================================== --- trunk/languages/et.lang 2013-11-16 20:02:14 UTC (rev 1586) +++ trunk/languages/et.lang 2013-11-16 20:20:50 UTC (rev 1587) @@ -104,13 +104,16 @@ $PALANG['delete_domain_aliasdomain_target'] = 'The domain %s is the target for one or more alias domains and can\'t be deleted! (Delete the alias domains first.)'; # XXX $PALANG['pCreate_alias_address_text_error1'] = 'ALIAS pole kehtiv!'; +$PALANG['alias_does_not_exist'] = 'This alias does not exist!'; # XXX $PALANG['email_address_already_exists'] = 'See e-posti aadress eksisteerib juba, palun vali erinev!'; # XXX check text - should be 'This email address already exists, please choose a different one\!' $PALANG['pCreate_alias_address_text_error3'] = 'Oled kasutanud kogu aliaste arvu!'; $PALANG['pCreate_alias_goto_text'] = 'Kuhu peab kirja saatma.'; $PALANG['pCreate_alias_goto_text_error'] = 'Kellele pole kehtiv!'; $PALANG['pCreate_alias_result_error'] = 'Aliase lisamine tabelisse ebaõnnestus! (%s)'; # XXX Text changed to: Creating the alias %s failed! $PALANG['pCreate_alias_result_success'] = 'Alias lisati aliaste tabelisse!'; # XXX text change: 'The alias %s has been created!' +$PALANG['alias_updated'] = 'The alias %s has been updated!'; # XXX $PALANG['pCreate_alias_catchall_text'] = 'Loomaks püüa-kõik aadressi kasuta aliasena "*". Domeenilt domeenile edasisaatmiseks kasuta kellele väljal "*@domeen.xx".'; # XXX check/beautify - was split in two lines before +$PALANG['mailbox_alias_cant_be_deleted'] = 'This alias belongs to a mailbox and can\'t be deleted!'; # XXX $PALANG['pEdit_alias_welcome'] = 'Muuda aliast.'; # XXX Text change to: 'Edit forwarding settings' $PALANG['pEdit_alias_help'] = 'Üks kirje rea kohta.'; # XXX Text change to: 'Accepts multiple targets, one entry per line.' Modified: trunk/languages/eu.lang =================================================================== --- trunk/languages/eu.lang 2013-11-16 20:02:14 UTC (rev 1586) +++ trunk/languages/eu.lang 2013-11-16 20:20:50 UTC (rev 1587) @@ -102,13 +102,16 @@ $PALANG['alias_domain_to_itsself'] = 'A domain can\'t be an alias domain to itsself!'; # XXX $PALANG['delete_domain_aliasdomain_target'] = 'The domain %s is the target for one or more alias domains and can\'t be deleted! (Delete the alias domains first.)'; # XXX $PALANG['pCreate_alias_address_text_error1'] = 'ALIASa okerra da!'; +$PALANG['alias_does_not_exist'] = 'This alias does not exist!'; # XXX $PALANG['email_address_already_exists'] = 'Helbide hau existitzen da, ezberdin bat aukera ezazu mesedez!'; # XXX check text - should be 'This email address already exists, please choose a different one\!' $PALANG['pCreate_alias_address_text_error3'] = 'Alias sortze mugara heldu zara!'; $PALANG['pCreate_alias_goto_text'] = 'Nora bidali behar den e-maila.'; $PALANG['pCreate_alias_goto_text_error'] = 'NORAKO okerra!'; $PALANG['pCreate_alias_result_error'] = 'Ezinezkoa aliasa alias taulan sartzea! (%s)'; # XXX Text changed to: Creating the alias %s failed! $PALANG['pCreate_alias_result_success'] = 'Aliasa alias taulan gehituta!'; # XXX text change: 'The alias %s has been created!' +$PALANG['alias_updated'] = 'The alias %s has been updated!'; # XXX $PALANG['pCreate_alias_catchall_text'] = 'Alias orokor bat sortzeko "*" erabil ezazu alias gisa. Domeinuz domeinurako birbideraketa baterako Norako gisa "*@domain.tld" erabil ezazu.'; # XXX check/beautify - was split in two lines before +$PALANG['mailbox_alias_cant_be_deleted'] = 'This alias belongs to a mailbox and can\'t be deleted!'; # XXX $PALANG['pEdit_alias_welcome'] = 'Domeinuarentzat aliasa aldatu.'; # XXX Text change to: 'Edit forwarding settings' $PALANG['pEdit_alias_help'] = 'Lerroko sarrera bat.'; # XXX # XXX Text change to: 'Accepts multiple targets, one entry per line.' Modified: trunk/languages/fi.lang =================================================================== --- trunk/languages/fi.lang 2013-11-16 20:02:14 UTC (rev 1586) +++ trunk/languages/fi.lang 2013-11-16 20:20:50 UTC (rev 1587) @@ -105,13 +105,16 @@ $PALANG['delete_domain_aliasdomain_target'] = 'The domain %s is the target for one or more alias domains and can\'t be deleted! (Delete the alias domains first.)'; # XXX $PALANG['pCreate_alias_address_text_error1'] = 'Alias ei ole oikean muotoinen!'; +$PALANG['alias_does_not_exist'] = 'This alias does not exist!'; # XXX $PALANG['email_address_already_exists'] = 'Tämä sähköpostiosoite on jo käytössä, ole hyvä ja valitse jokin toinen!'; # XXX check text - should be 'This email address already exists, please choose a different one\!' $PALANG['pCreate_alias_address_text_error3'] = 'Aliasten maksimimäärä saavutettu. Et voi lisätä aliaksia enää!'; $PALANG['pCreate_alias_goto_text'] = 'Minne posti lähetetään.'; $PALANG['pCreate_alias_goto_text_error'] = '"Kenelle" osoite ei ole oikean muotoinen!'; $PALANG['pCreate_alias_result_error'] = 'Aliaksen lisäys alias tauluun epäonnistui! (%s)'; # XXX Text changed to: Creating the alias %s failed! $PALANG['pCreate_alias_result_success'] = 'Alias on lisätty!'; # XXX text change: 'The alias %s has been created!' +$PALANG['alias_updated'] = 'The alias %s has been updated!'; # XXX $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.'; # XXX check/beautify - was split in two lines before +$PALANG['mailbox_alias_cant_be_deleted'] = 'This alias belongs to a mailbox and can\'t be deleted!'; # XXX $PALANG['pEdit_alias_welcome'] = 'Muokkaa aliasta.'; # XXX Text change to: 'Edit forwarding settings' $PALANG['pEdit_alias_help'] = 'Yksi kohta per rivi.'; # XXX # XXX Text change to: 'Accepts multiple targets, one entry per line.' $PALANG['alias'] = 'Alias'; Modified: trunk/languages/fo.lang =================================================================== --- trunk/languages/fo.lang 2013-11-16 20:02:14 UTC (rev 1586) +++ trunk/languages/fo.lang 2013-11-16 20:20:50 UTC (rev 1587) @@ -104,13 +104,16 @@ $PALANG['delete_domain_aliasdomain_target'] = 'The domain %s is the target for one or more alias domains and can\'t be deleted! (Delete the alias domains first.)'; # XXX $PALANG['pCreate_alias_address_text_error1'] = 'DULNEVNI er ógyldugt!'; +$PALANG['alias_does_not_exist'] = 'This alias does not exist!'; # XXX $PALANG['email_address_already_exists'] = '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_text'] = 'Har posturin skal sendast til.'; $PALANG['pCreate_alias_goto_text_error'] = 'TIL er ógyldugt!'; $PALANG['pCreate_alias_result_error'] = 'Fái ikki stovnað dulnevni! (%s)'; # XXX Text changed to: Creating the alias %s failed! $PALANG['pCreate_alias_result_success'] = 'Dulnevni er stovnað!'; # XXX text change: 'The alias %s has been created!' +$PALANG['alias_updated'] = 'The alias %s has been updated!'; # XXX $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.'; # XXX check/beautify - was split in two lines before +$PALANG['mailbox_alias_cant_be_deleted'] = 'This alias belongs to a mailbox and can\'t be deleted!'; # XXX $PALANG['pEdit_alias_welcome'] = 'Broyt eitt dulnevni á tínum navnaøki.'; # XXX Text change to: 'Edit forwarding settings' $PALANG['pEdit_alias_help'] = 'Eina adressu pr. linju.'; # XXX # XXX Text change to: 'Accepts multiple targets, one entry per line.' Modified: trunk/languages/fr.lang =================================================================== --- trunk/languages/fr.lang 2013-11-16 20:02:14 UTC (rev 1586) +++ trunk/languages/fr.lang 2013-11-16 20:20:50 UTC (rev 1587) @@ -105,13 +105,16 @@ $PALANG['alias_domain_to_itsself'] = 'A domain can\'t be an alias domain to itsself!'; # XXX $PALANG['delete_domain_aliasdomain_target'] = 'The domain %s is the target for one or more alias domains and can\'t be deleted! (Delete the alias domains first.)'; # XXX $PALANG['pCreate_alias_address_text_error1'] = 'Cet ALIAS n\'est pas valide!'; +$PALANG['alias_does_not_exist'] = 'This alias does not exist!'; # XXX $PALANG['email_address_already_exists'] = 'Ce compte courriel existe déjà, choisissez un autre libellé !'; # XXX check text - should be 'This email address already exists, please choose a different one\!' $PALANG['pCreate_alias_address_text_error3'] = 'Vous avez atteint votre limite d\'alias créés !'; $PALANG['pCreate_alias_goto_text'] = 'Destinataires des courriels.'; $PALANG['pCreate_alias_goto_text_error'] = 'le champ À contient des erreurs!'; $PALANG['pCreate_alias_result_error'] = 'Impossible d\'ajouter cet alias dans la table ! (%s)'; # XXX Text changed to: Creating the alias %s failed! $PALANG['pCreate_alias_result_success'] = 'L\'alias a été ajouté !'; # XXX text change: 'The alias %s has been created!' +$PALANG['alias_updated'] = 'The alias %s has been updated!'; # XXX $PALANG['pCreate_alias_catchall_text'] = 'Pour ajouter un alias global, utilisez "*". Pour un transfert de domaine à domaine, utilisez "*@domain.tld" dans le champs A.'; # XXX check/beautify - was split in two lines before +$PALANG['mailbox_alias_cant_be_deleted'] = 'This alias belongs to a mailbox and can\'t be deleted!'; # XXX $PALANG['pEdit_alias_welcome'] = 'Modifier un alias dans votre domaine.'; # XXX Text change to: 'Edit forwarding settings' $PALANG['pEdit_alias_help'] = 'Une entrée par ligne.'; # XXX # XXX Text change to: 'Accepts multiple targets, one entry per line.' Modified: trunk/languages/hr.lang =================================================================== --- trunk/languages/hr.lang 2013-11-16 20:02:14 UTC (rev 1586) +++ trunk/languages/hr.lang 2013-11-16 20:20:50 UTC (rev 1587) @@ -103,13 +103,16 @@ $PALANG['delete_domain_aliasdomain_target'] = 'The domain %s is the target for one or more alias domains and can\'t be deleted! (Delete the alias domains first.)'; # XXX $PALANG['pCreate_alias_address_text_error1'] = 'ALIAS nije valjan!'; +$PALANG['alias_does_not_exist'] = 'This alias does not exist!'; # XXX $PALANG['email_address_already_exists'] = 'Ova adresa e-pote već postoji, molimo izaberite drugu!'; $PALANG['pCreate_alias_address_text_error3'] = 'Postigli ste maksimalan broj vaih aliasa!'; $PALANG['pCreate_alias_goto_text'] = 'Kuda poslati e-potu.'; $PALANG['pCreate_alias_goto_text_error'] = 'Unos "Za" je nepravilan!'; # XXX check - should be The To: is not valid! $PALANG['pCreate_alias_result_error'] = 'Nije bilo moguće dodati alias u tablicu aliasa! (%s)'; # XXX Text changed to: Creating the alias %s failed! $PALANG['pCreate_alias_result_success'] = 'Alias je dodan u tablicu aliasa!'; # XXX text change: 'The alias %s has been created!' +$PALANG['alias_updated'] = 'The alias %s has been updated!'; # XXX $PALANG['pCreate_alias_catchall_text'] = 'Ukoliko elite stvoriti "sveprimajući" alias, upotrijebite "*" umjesto aliasa. Za preusmjeravanje iz domene na domenu, upotrijebite "*@domena.tld" u "Za" polju.'; # XXX check/beautify - was split in two lines before +$PALANG['mailbox_alias_cant_be_deleted'] = 'This alias belongs to a mailbox and can\'t be deleted!'; # XXX $PALANG['pEdit_alias_welcome'] = 'Uredi alias za domenu.'; # XXX Text change to: 'Edit forwarding settings' $PALANG['pEdit_alias_help'] = 'Jedan unos po liniji.'; # XXX # XXX Text change to: 'Accepts multiple targets, one entry per line.' Modified: trunk/languages/hu.lang =================================================================== --- trunk/languages/hu.lang 2013-11-16 20:02:14 UTC (rev 1586) +++ trunk/languages/hu.lang 2013-11-16 20:20:50 UTC (rev 1587) @@ -106,13 +106,16 @@ $PALANG['delete_domain_aliasdomain_target'] = 'The domain %s is the target for one or more alias domains and can\'t be deleted! (Delete the alias domains first.)'; # XXX $PALANG['pCreate_alias_address_text_error1'] = 'Az ALIAS érvénytelen!'; +$PALANG['alias_does_not_exist'] = 'This alias does not exist!'; # XXX $PALANG['email_address_already_exists'] = '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_text'] = 'Ahova a levélnek mennie kell.'; $PALANG['pCreate_alias_goto_text_error'] = 'Érvénytelen a HOVA mezõ!'; $PALANG['pCreate_alias_result_error'] = 'Nemsikerült hozzáadni az aliast az alias táblához! (%s)'; # XXX Text changed to: Creating the alias %s failed! $PALANG['pCreate_alias_result_success'] = 'Az aliast felvettük az alias táblába!'; # XXX text change: 'The alias %s has been created!' +$PALANG['alias_updated'] = 'The alias %s has been updated!'; # XXX $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.'; # XXX check/beautify - was split in two lines before +$PALANG['mailbox_alias_cant_be_deleted'] = 'This alias belongs to a mailbox and can\'t be deleted!'; # XXX $PALANG['pEdit_alias_welcome'] = 'Alias szerkesztése a domainhez.'; # XXX Text change to: 'Edit forwarding settings' $PALANG['pEdit_alias_help'] = 'Soronként egy.'; # XXX # XXX Text change to: 'Accepts multiple targets, one entry per line.' Modified: trunk/languages/is.lang =================================================================== --- trunk/languages/is.lang 2013-11-16 20:02:14 UTC (rev 1586) +++ trunk/languages/is.lang 2013-11-16 20:20:50 UTC (rev 1587) @@ -104,13 +104,16 @@ $PALANG['delete_domain_aliasdomain_target'] = 'The domain %s is the target for one or more alias domains and can\'t be deleted! (Delete the alias domains first.)'; # XXX $PALANG['pCreate_alias_address_text_error1'] = 'Aliasinn er ekki í lagi!'; +$PALANG['alias_does_not_exist'] = 'This alias does not exist!'; # XXX $PALANG['email_address_already_exists'] = 'Þetta pósthólf er nú þegar til, veldu annað!'; # XXX check text - should be 'This email address already exists, please choose a different one\!' $PALANG['pCreate_alias_address_text_error3'] = 'Þú hefur stofnað þann fjölda pósthólfa sem þú hefur heimild til!'; $PALANG['pCreate_alias_goto_text'] = 'Þangað sem pósturinn á að sendast.'; $PALANG['pCreate_alias_goto_text_error'] = 'Til línan er ekki gild!'; $PALANG['pCreate_alias_result_error'] = 'Get ekki bætt við alias í alias töflu! (%s)'; # XXX Text changed to: Creating the alias %s failed! $PALANG['pCreate_alias_result_success'] = 'Nýr alias hefur verið bætt við alias töfluna!'; # XXX text change: 'The alias %s has been created!' +$PALANG['alias_updated'] = 'The alias %s has been updated!'; # XXX $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.'; # XXX check/beautify - was split in two lines before +$PALANG['mailbox_alias_cant_be_deleted'] = 'This alias belongs to a mailbox and can\'t be deleted!'; # XXX $PALANG['pEdit_alias_welcome'] = 'Breyta alias í léninu.'; # XXX Text change to: 'Edit forwarding settings' $PALANG['pEdit_alias_help'] = 'Ein færsla í einu.'; # XXX # XXX Text change to: 'Accepts multiple targets, one entry per line.' Modified: trunk/languages/it.lang =================================================================== --- trunk/languages/it.lang 2013-11-16 20:02:14 UTC (rev 1586) +++ trunk/languages/it.lang 2013-11-16 20:20:50 UTC (rev 1587) @@ -105,13 +105,16 @@ $PALANG['delete_domain_aliasdomain_target'] = 'The domain %s is the target for one or more alias domains and can\'t be deleted! (Delete the alias domains first.)'; # XXX $PALANG['pCreate_alias_address_text_error1'] = 'L\' Alias non è valido!'; +$PALANG['alias_does_not_exist'] = 'This alias does not exist!'; # XXX $PALANG['email_address_already_exists'] = 'Questo indirizzo di posta esiste già, per favore sceglierne uno diverso!'; # XXX check text - should be 'This email address already exists, please choose a different one\!' $PALANG['pCreate_alias_address_text_error3'] = 'Hai raggiunto il tuo limite per creare alias!'; $PALANG['pCreate_alias_goto_text'] = 'Dove la mail deve essere spedita.'; $PALANG['pCreate_alias_goto_text_error'] = 'Il campo A non è valido!'; $PALANG['pCreate_alias_result_error'] = 'Non sono riuscito ad aggiungere l\'alias alla tabella degli alias! (%s)'; # XXX Text changed to: Creating the alias %s failed! $PALANG['pCreate_alias_result_success'] = 'L\'alias è stato aggiunto alla tabella degli alias!'; # XXX text change: 'The alias %s has been created!' +$PALANG['alias_updated'] = 'The alias %s has been updated!'; # XXX $PALANG['pCreate_alias_catchall_text'] = 'Per creare un account universale, usare "*" come alias. Per inoltri da dominio a dominio, usare "*@domain.tld" come campo "a".'; # XXX check/beautify - was split in two lines before +$PALANG['mailbox_alias_cant_be_deleted'] = 'This alias belongs to a mailbox and can\'t be deleted!'; # XXX $PALANG['pEdit_alias_welcome'] = 'Modifica un alias per il tuo dominio.'; # XXX Text change to: 'Edit forwarding settings' $PALANG['pEdit_alias_help'] = 'Un indirizzo per linea.'; # XXX # XXX Text change to: 'Accepts multiple targets, one entry per line.' Modified: trunk/languages/ja.lang =================================================================== --- trunk/languages/ja.lang 2013-11-16 20:02:14 UTC (rev 1586) +++ trunk/languages/ja.lang 2013-11-16 20:20:50 UTC (rev 1587) @@ -106,13 +106,16 @@ $PALANG['delete_domain_aliasdomain_target'] = 'The domain %s is the target for one or more alias domains and can\'t be deleted! (Delete the alias domains first.)'; # XXX $PALANG['pCreate_alias_address_text_error1'] = 'メールアドレスが無効です。'; +$PALANG['alias_does_not_exist'] = 'This alias does not exist!'; # XXX $PALANG['email_address_already_exists'] = 'このメールアドレスは既に存在するので、 別のアドレスを選択してください。'; # XXX check/beautify - was split in two lines before $PALANG['pCreate_alias_address_text_error3'] = '転送アドレスの制限数に達しました。'; $PALANG['pCreate_alias_goto_text'] = 'メールを転送するアドレス'; $PALANG['pCreate_alias_goto_text_error'] = '転送先が無効です。'; $PALANG['pCreate_alias_result_error'] = '転送先を追加できません! (%s)'; # XXX Text changed to: Creating the alias %s failed! $PALANG['pCreate_alias_result_success'] = '転送先を追加しました。'; # XXX text change: 'The alias %s has been created!' +$PALANG['alias_updated'] = 'The alias %s has been updated!'; # XXX $PALANG['pCreate_alias_catchall_text'] = 'すべてのメールを受け取るには、転送元に "*" を使います。 別のドメインにすべて転送するには、転送先に "*.domain.tld" を使います。'; # XXX check/beautify - was split in two lines before +$PALANG['mailbox_alias_cant_be_deleted'] = 'This alias belongs to a mailbox and can\'t be deleted!'; # XXX $PALANG['pEdit_alias_welcome'] = '転送先アドレスの編集'; # XXX Text change to: 'Edit forwarding settings' $PALANG['pEdit_alias_help'] = '1行に1エントリです。'; # XXX # XXX Text change to: 'Accepts multiple targets, one entry per line.' Modified: trunk/languages/lt.lang =================================================================== --- trunk/languages/lt.lang 2013-11-16 20:02:14 UTC (rev 1586) +++ trunk/languages/lt.lang 2013-11-16 20:20:50 UTC (rev 1587) @@ -104,13 +104,16 @@ $PALANG['delete_domain_aliasdomain_target'] = 'The domain %s is the target for one or more alias domains and can\'t be deleted! (Delete the alias domains first.)'; # XXX $PALANG['pCreate_alias_address_text_error1'] = 'Netinkamas sinonimas!'; +$PALANG['alias_does_not_exist'] = 'This alias does not exist!'; # XXX $PALANG['email_address_already_exists'] = 'Šis el.pašto adresas jau yra, pasirinkite kitą pavadinimą!'; $PALANG['pCreate_alias_address_text_error3'] = 'Išnaudota visa pašto sinonimų kvota!'; $PALANG['pCreate_alias_goto_text'] = 'Adresas, kuriuo persiųsti paštą.'; $PALANG['pCreate_alias_goto_text_error'] = 'Kam: įvestas neteisingai!'; $PALANG['pCreate_alias_result_error'] = 'Sinonimo registruoti nepavyko! (%s)'; # XXX Text changed to: Creating the alias %s failed! $PALANG['pCreate_alias_result_success'] = 'Sinonimas užregistruotas!'; # XXX text change: 'The alias %s has been created!' +$PALANG['alias_updated'] = 'The alias %s has been updated!'; # XXX $PALANG['pCreate_alias_catchall_text'] = 'Jei norite sukurti sinonimą, kuris gautų visas žinutes neegzistuojantiems adresatams, naudokite "*".'; +$PALANG['mailbox_alias_cant_be_deleted'] = 'This alias belongs to a mailbox and can\'t be deleted!'; # XXX $PALANG['pEdit_alias_welcome'] = 'Keisti persiuntimo nustatymus'; Modified: trunk/languages/mk.lang =================================================================== --- trunk/languages/mk.lang 2013-11-16 20:02:14 UTC (rev 1586) +++ trunk/languages/mk.lang 2013-11-16 20:20:50 UTC (rev 1587) @@ -104,13 +104,16 @@ $PALANG['delete_domain_aliasdomain_target'] = 'The domain %s is the target for one or more alias domains and can\'t be deleted! (Delete the alias domains first.)'; # XXX $PALANG['pCreate_alias_address_text_error1'] = 'Алијасот не е валиден!'; +$PALANG['alias_does_not_exist'] = 'This alias does not exist!'; # XXX $PALANG['email_address_already_exists'] = 'Оваа адреса веќе постои. Ве молам одберете друга!'; # XXX check text - should be 'This email address already exists, please choose a different one\!' $PALANG['pCreate_alias_address_text_error3'] = 'Го достигнавте вашиот лимит за креирање алијаси!'; $PALANG['pCreate_alias_goto_text'] = 'Каде треба да се испрати поштата.'; $PALANG['pCreate_alias_goto_text_error'] = 'Полето ДО не е валидно!'; $PALANG['pCreate_alias_result_error'] = 'Не можам да го додадам алијасот на табелата со алијаси! (%s)'; # XXX Text changed to: Creating the alias %s failed! $PALANG['pCreate_alias_result_success'] = 'Алијасот е додаден на табелата со алијаси!'; # XXX text change: 'The alias %s has been created!' +$PALANG['alias_updated'] = 'The alias %s has been updated!'; # XXX $PALANG['pCreate_alias_catchall_text'] = 'За да креираш catch-all користи "*" како алијас. За препраќање од домен на домен користи "*@domain.tld" како ДО.'; # XXX check/beautify - was split in two lines before +$PALANG['mailbox_alias_cant_be_deleted'] = 'This alias belongs to a mailbox and can\'t be deleted!'; # XXX $PALANG['pEdit_alias_welcome'] = 'Едитирање на алијас за вашиот домен.'; # XXX Text change to: 'Edit forwarding settings' $PALANG['pEdit_alias_help'] = 'Еден запис по линија.'; # XXX # XXX Text change to: 'Accepts multiple targets, one entry per line.' Modified: trunk/languages/nb.lang =================================================================== --- trunk/languages/nb.lang 2013-11-16 20:02:14 UTC (rev 1586) +++ trunk/languages/nb.lang 2013-11-16 20:20:50 UTC (rev 1587) @@ -106,13 +106,16 @@ $PALANG['delete_domain_aliasdomain_target'] = 'The domain %s is the target for one or more alias domains and can\'t be deleted! (Delete the alias domains first.)'; # XXX $PALANG['pCreate_alias_address_text_error1'] = 'Aliaset er ikke gyldig!'; +$PALANG['alias_does_not_exist'] = 'This alias does not exist!'; # XXX $PALANG['email_address_already_exists'] = 'Denne e-postadressen eksisterer allerede, vennligst velg en annen!'; # XXX check text - should be 'This email address already exists, please choose a different one\!' $PALANG['pCreate_alias_address_text_error3'] = 'Du har nådd grensen for antall aliaser under dette domenet!'; $PALANG['pCreate_alias_goto_text'] = 'Hvor e-postmeldingen skal videresendes til.'; $PALANG['pCreate_alias_goto_text_error'] = 'Til-adressen er ikke gyldig!'; $PALANG['pCreate_alias_result_error'] = 'Kunne ikke legge til aliaset i alias-tabellen! (%s)'; # XXX Text changed to: Creating the alias %s failed! $PALANG['pCreate_alias_result_success'] = 'Aliaset er blitt lagt til i alias-tabellen!'; # XXX text change: 'The alias %s has been created!' +$PALANG['alias_updated'] = 'The alias %s has been updated!'; # XXX $PALANG['pCreate_alias_catchall_text'] = 'For å opprette et "catch-all"-alias, bruk "*" som alias. For domene-til-domene-videresending, bruk "*@domene.tld" i Til-feltet.'; # XXX check/beautify - was split in two lines before +$PALANG['mailbox_alias_cant_be_deleted'] = 'This alias belongs to a mailbox and can\'t be deleted!'; # XXX $PALANG['pEdit_alias_welcome'] = 'Endre et alias.'; # XXX Text change to: 'Edit forwarding settings' $PALANG['pEdit_alias_help'] = 'Én e-postadresse per linje.'; # XXX # XXX Text change to: 'Accepts multiple targets, one entry per line.' $PALANG['alias'] = 'Alias'; Modified: trunk/languages/nl.lang =================================================================== --- trunk/languages/nl.lang 2013-11-16 20:02:14 UTC (rev 1586) +++ trunk/languages/nl.lang 2013-11-16 20:20:50 UTC (rev 1587) @@ -105,13 +105,16 @@ $PALANG['delete_domain_aliasdomain_target'] = 'The domain %s is the target for one or more alias domains and can\'t be deleted! (Delete the alias domains first.)'; # XXX $PALANG['pCreate_alias_address_text_error1'] = 'De Alias is niet geldig!'; +$PALANG['alias_does_not_exist'] = 'This alias does not exist!'; # XXX $PALANG['email_address_already_exists'] = 'Dit e-mail aders bestaat al, kies aub een andere.'; # XXX check text - should be 'This email address already exists, please choose a different one\!' $PALANG['pCreate_alias_address_text_error3'] = 'U bezit het maximum aantal aliassen.'; $PALANG['pCreate_alias_goto_text'] = 'Waar de e-mails heen gestuurd worden.'; $PALANG['pCreate_alias_goto_text_error'] = 'De NAAR is niet geldig.'; $PALANG['pCreate_alias_result_error'] = 'Mislukt om de alias toe te voegen. (%s)'; # XXX Text changed to: Creating the alias %s failed! $PALANG['pCreate_alias_result_success'] = 'De alias is toegevoegd.'; # XXX text change: 'The alias %s has been created!' +$PALANG['alias_updated'] = 'The alias %s has been updated!'; # XXX $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['mailbox_alias_cant_be_deleted'] = 'This alias belongs to a mailbox and can\'t be deleted!'; # XXX $PALANG['pEdit_alias_welcome'] = 'Bewerk een alias voor uw domein.'; $PALANG['pEdit_alias_help'] = 'Meerdere e-mailadressen toegestaan. Slechts één alias per regel.'; Modified: trunk/languages/nn.lang =================================================================== --- trunk/languages/nn.lang 2013-11-16 20:02:14 UTC (rev 1586) +++ trunk/languages/nn.lang 2013-11-16 20:20:50 UTC (rev 1587) @@ -104,13 +104,16 @@ $PALANG['delete_domain_aliasdomain_target'] = 'The domain %s is the target for one or more alias domains and can\'t be deleted! (Delete the alias domains first.)'; # XXX $PALANG['pCreate_alias_address_text_error1'] = 'Aliaset er ikke gyldig!'; +$PALANG['alias_does_not_exist'] = 'This alias does not exist!'; # XXX $PALANG['email_address_already_exists'] = 'Denne epostadressen eksisterer allerede, velg en annen!'; # XXX check text - should be 'This email address already exists, please choose a different one\!' $PALANG['pCreate_alias_address_text_error3'] = 'Du er over grensen for antall aliaser i ditt domene!'; $PALANG['pCreate_alias_goto_text'] = 'Hvor skal e-posten videresendes?'; $PALANG['pCreate_alias_goto_text_error'] = 'Mottakerfeltet er ikke gyldig!'; $PALANG['pCreate_alias_result_error'] = 'Klarte ikke legge til aliaset! (%s)'; # XXX Text changed to: Creating the alias %s failed! $PALANG['pCreate_alias_result_success'] = 'Aliaset er lagt til i alias-tabellen!'; # XXX text change: 'The alias %s has been created!' +$PALANG['alias_updated'] = 'The alias %s has been updated!'; # XXX $PALANG['pCreate_alias_catchall_text'] = 'For å opprette et alias som "mottar alt" bruk "*" som alias. For domene-til-domene videresending bruk "*@domene.tld" som mottaker.'; # XXX check/beautify - was split in two lines before +$PALANG['mailbox_alias_cant_be_deleted'] = 'This alias belongs to a mailbox and can\'t be deleted!'; # XXX $PALANG['pEdit_alias_welcome'] = 'Endre et alias.'; # XXX Text change to: 'Edit forwarding settings' $PALANG['pEdit_alias_help'] = 'En mottaker per linje.'; # XXX # XXX Text change to: 'Accepts multiple targets, one entry per line.' $PALANG['alias'] = 'Alias'; Modified: trunk/languages/pl.lang =================================================================== --- trunk/languages/pl.lang 2013-11-16 20:02:14 UTC (rev 1586) +++ trunk/languages/pl.lang 2013-11-16 20:20:50 UTC (rev 1587) @@ -107,13 +107,16 @@ $PALANG['delete_domain_aliasdomain_target'] = 'The domain %s is the target for one or more alias domains and can\'t be deleted! (Delete the alias domains first.)'; # XXX $PALANG['pCreate_alias_address_text_error1'] = 'Alias jest niepoprawny!'; +$PALANG['alias_does_not_exist'] = 'This alias does not exist!'; # XXX $PALANG['email_address_already_exists'] = 'Taki adres email juz istnieje, proszę wybrać inny!'; # XXX check text - should be 'This email address already exists, please choose a different one\!' $PALANG['pCreate_alias_address_text_error3'] = 'Twój limit aliasów został osiągniety!'; $PALANG['pCreate_alias_goto_text'] = 'Gdzie ten mail powinien być wysłany.'; $PALANG['pCreate_alias_goto_text_error'] = 'Pole TO jest niepoprawne!'; $PALANG['pCreate_alias_result_error'] = 'Nie można dodać aliasu do tabeli aliasów! (%s)'; # XXX Text changed to: Creating the alias %s failed! $PALANG['pCreate_alias_result_success'] = 'Alias został dodany do tabeli aliasów!'; # XXX text change: 'The alias %s has been created!' +$PALANG['alias_updated'] = 'The alias %s has been updated!'; # XXX $PALANG['pCreate_alias_catchall_text'] = 'Aby utworzyć domyślne konto dla domeny (catch-all) podaj "*" (gwiazdkę) jako alias. Jeśli chcesz przekazywać całość poczty do innej domeny, wpisz jako alias "*@domena.tld".'; # XXX check/beautify - was split in two lines before +$PALANG['mailbox_alias_cant_be_deleted'] = 'This alias belongs to a mailbox and can\'t be deleted!'; # XXX $PALANG['pEdit_alias_welcome'] = 'Edytuj alias dla Twojej domeny.'; # XXX Text change to: 'Edit forwarding settings' $PALANG['pEdit_alias_help'] = 'Jeden wpis na linię.'; # XXX # XXX Text change to: 'Accepts multiple targets, one entry per line.' $PALANG['alias'] = 'Alias'; Modified: trunk/languages/pt-br.lang =================================================================== --- trunk/languages/pt-br.lang 2013-11-16 20:02:14 UTC (rev 1586) +++ trunk/languages/pt-br.lang 2013-11-16 20:20:50 UTC (rev 1587) @@ -108,13 +108,16 @@ $PALANG['delete_domain_aliasdomain_target'] = 'The domain %s is the target for one or more alias domains and can\'t be deleted! (Delete the alias domains first.)'; # XXX $PALANG['pCreate_alias_address_text_error1'] = 'Alias inválido!'; +$PALANG['alias_does_not_exist'] = 'This alias does not exist!'; # XXX $PALANG['email_address_already_exists'] = 'Endereço de email fornecido já existe. Por favor, escolha outro endereço!'; $PALANG['pCreate_alias_address_text_error3'] = 'Você alcançou seu limite de aliases!'; $PALANG['pCreate_alias_goto_text'] = 'Para onde as mensagens serão enviadas.'; $PALANG['pCreate_alias_goto_text_error'] = 'O endereço no campo Para é inválido!'; $PALANG['pCreate_alias_result_error'] = 'Não foi possível criar o alias! (%s)'; # XXX Text changed to: Creating the alias %s failed! $PALANG['pCreate_alias_result_success'] = 'Alias criado!'; # XXX text change: 'The alias %s has been created!' +$PALANG['alias_updated'] = 'The alias %s has been updated!'; # XXX $PALANG['pCreate_alias_catchall_text'] = 'Para criar um alias global, use "*" no campo Alias. Para encaminhar de um domínio para outro, use "*@dominio.tld" no campo Para.'; # XXX check/beautify - was split in two lines before +$PALANG['mailbox_alias_cant_be_deleted'] = 'This alias belongs to a mailbox and can\'t be deleted!'; # XXX $PALANG['pEdit_alias_welcome'] = 'Edição de alias do domínio.'; # XXX Text change to: 'Edit forwarding settings' $PALANG['pEdit_alias_help'] = 'Uma entrada por linha.'; # XXX # XXX Text change to: 'Accepts multiple targets, one entry per line.' Modified: trunk/languages/ru.lang =================================================================== --- trunk/languages/ru.lang 2013-11-16 20:02:14 UTC (rev 1586) +++ trunk/languages/ru.lang 2013-11-16 20:20:50 UTC (rev 1587) @@ -108,13 +108,16 @@ $PALANG['delete_domain_aliasdomain_target'] = 'The domain %s is the target for one or more alias domains and can\'t be deleted! (Delete the alias domains first.)'; # XXX $PALANG['pCreate_alias_address_text_error1'] = 'Неверное имя алиаса!'; +$PALANG['alias_does_not_exist'] = 'This alias does not exist!'; # XXX $PALANG['email_address_already_exists'] = 'Этот почтовый адрес уже существует, пожалуйста, выберите другой.'; # XXX check text - should be 'This email address already exists, please choose a different one\!' $PALANG['pCreate_alias_address_text_error3'] = 'Вы достигли лимита по созданным алиасам!'; $PALANG['pCreate_alias_goto_text'] = 'Куда должна доставляться почта.'; $PALANG['pCreate_alias_goto_text_error'] = 'Неверное поле Кому!'; $PALANG['pCreate_alias_result_error'] = 'Невозможно добавить алиас в список! (%s)'; # XXX Text changed to: Creating the alias %s failed! $PALANG['pCreate_alias_result_success'] = 'Алиас был успешно создан!'; # XXX text change: 'The alias %s has been created!' +$PALANG['alias_updated'] = 'The alias %s has been updated!'; # XXX $PALANG['pCreate_alias_catchall_text'] = 'Для создания catch-all почтового ящика используйте "*" в качестве имени алиаса.'; # XXX don't propagate usage of *@target-domain.com for domain-aliasing any longer +$PALANG['mailbox_alias_cant_be_deleted'] = 'This alias belongs to a mailbox and can\'t be deleted!'; # XXX $PALANG['pEdit_alias_welcome'] = 'Редактирование настроек пересылки'; $PALANG['pEdit_alias_help'] = 'Можно указать несколько целей, одна запись на строку.'; Modified: trunk/languages/sk.lang =================================================================== --- trunk/languages/sk.lang 2013-11-16 20:02:14 UTC (rev 1586) +++ trunk/languages/sk.lang 2013-11-16 20:20:50 UTC (rev 1587) @@ -105,13 +105,16 @@ $PALANG['delete_domain_aliasdomain_target'] = 'The domain %s is the target for one or more alias domains and can\'t be deleted! (Delete the alias domains first.)'; # XXX $PALANG['pCreate_alias_address_text_error1'] = 'Adresa nie je platná!'; +$PALANG['alias_does_not_exist'] = 'This alias does not exist!'; # XXX $PALANG['email_address_already_exists'] = 'Takáto emailová adresa už existuje!'; # XXX check text - should be 'This email address already exists, please choose a different one\!' $PALANG['pCreate_alias_address_text_error3'] = 'Dosiahli ste limit, nemôžete vytvárať ďalšie aliasy!'; $PALANG['pCreate_alias_goto_text'] = 'Kam má pošta chodiť'; $PALANG['pCreate_alias_goto_text_error'] = 'Cieľ nie je platný!'; $PALANG['pCreate_alias_result_error'] = 'Nepodarilo sa pridať alias do tabuľky! (%s)'; # XXX Text changed to: Creating the alias %s failed! $PALANG['pCreate_alias_result_success'] = 'Alias bol pridaný do tabuľky!'; # XXX text change: 'The alias %s has been created!' +$PALANG['alias_updated'] = 'The alias %s has been updated!'; # XXX $PALANG['pCreate_alias_catchall_text'] = 'Pre vytvorenie doménového koša použite * ako alias. Pre alias doména-doména použite *@domain.tld ako cieľ.'; # XXX check/beautify - was split in two lines before +$PALANG['mailbox_alias_cant_be_deleted'] = 'This alias belongs to a mailbox and can\'t be deleted!'; # XXX $PALANG['pEdit_alias_welcome'] = 'Upraviť aliasy'; # XXX Text change to: 'Edit forwarding settings' $PALANG['pEdit_alias_help'] = 'Jeden záznam na riadku'; # XXX # XXX Text change to: 'Accepts multiple targets, one entry per line.' Modified: trunk/languages/sl.lang =================================================================== --- trunk/languages/sl.lang 2013-11-16 20:02:14 UTC (rev 1586) +++ trunk/languages/sl.lang 2013-11-16 20:20:50 UTC (rev 1587) @@ -104,13 +104,16 @@ $PALANG['delete_domain_aliasdomain_target'] = 'The domain %s is the target for one or more alias domains and can\'t be deleted! (Delete the alias domains first.)'; # XXX $PALANG['pCreate_alias_address_text_error1'] = 'Sintaksa aliasa je napačna!'; +$PALANG['alias_does_not_exist'] = 'This alias does not exist!'; # XXX $PALANG['email_address_already_exists'] = 'Ta e-poštni naslov že obstaja, prosimo izberite drugega!'; # XXX check text - should be 'This email address already exists, please choose a different one\!' $PALANG['pCreate_alias_address_text_error3'] = 'Maksimalno število aliasov je preseženo!'; $PALANG['pCreate_alias_goto_text'] = 'Kamor želite nasloviti pošto.'; $PALANG['pCreate_alias_goto_text_error'] = 'Vnos "Za" je napačen!'; # XXX check - should be The To: is not valid! $PALANG['pCreate_alias_result_error'] = 'Aliasa ni bilo mogoče dodati! (%s)'; # XXX Text changed to: Creating the alias %s failed! $PALANG['pCreate_alias_result_success'] = 'Alias je bil uspešno dodan!'; # XXX text change: 'The alias %s has been created!' +$PALANG['alias_updated'] = 'The alias %s has been updated!'; # XXX $PALANG['pCreate_alias_catchall_text'] = 'Če želite ustvariti "vseobsegajoči" alias, uporabite "*" namesto aliasa. Za posredovanje iz domene na domeno, uporabite "*@domena.si" v "Za" polju.'; # XXX check/beautify - was split in two lines before +$PALANG['mailbox_alias_cant_be_deleted'] = 'This alias belongs to a mailbox and can\'t be deleted!'; # XXX $PALANG['pEdit_alias_welcome'] = 'Uredi alias za določeno domeno.'; # XXX Text change to: 'Edit forwarding settings' $PALANG['pEdit_alias_help'] = 'V posamezni vrstici je lahko samo en naslov.'; # XXX # XXX Text change to: 'Accepts multiple targets, one entry per line.' Modified: trunk/languages/sv.lang =================================================================== --- trunk/languages/sv.lang 2013-11-16 20:02:14 UTC (rev 1586) +++ trunk/languages/sv.lang 2013-11-16 20:20:50 UTC (rev 1587) @@ -106,13 +106,16 @@ $PALANG['delete_domain_aliasdomain_target'] = 'The domain %s is the target for one or more alias domains and can\'t be deleted! (Delete the alias domains first.)'; # XXX $PALANG['pCreate_alias_address_text_error1'] = 'Detta ALIAS är inte giltigt!'; +$PALANG['alias_does_not_exist'] = 'This alias does not exist!'; # XXX $PALANG['email_address_already_exists'] = 'Denna epostadress existerar redan, välj en annan epostadress!'; # XXX check text - should be 'This email address already exists, please choose a different one\!' $PALANG['pCreate_alias_address_text_error3'] = 'Du har redan högsta tillåtna antal alias definierade!'; $PALANG['pCreate_alias_goto_text'] = 'Vart skall mailen skickas.'; $PALANG['pCreate_alias_goto_text_error'] = 'TILL data är felaktigt!'; $PALANG['pCreate_alias_result_error'] = 'Kan inte lägga till detta alias i aliastabellen! (%s)'; # XXX Text changed to: Creating the alias %s failed! $PALANG['pCreate_alias_result_success'] = 'Aliaset har lagts till i aliastabellen!'; # XXX text change: 'The alias %s has been created!' +$PALANG['alias_updated'] = 'The alias %s has been updated!'; # XXX $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.'; # XXX check/beautify - was split in two lines before +$PALANG['mailbox_alias_cant_be_deleted'] = 'This alias belongs to a mailbox and can\'t be deleted!'; # XXX $PALANG['pEdit_alias_welcome'] = 'Ändra ett alias för din domän.'; # XXX Text change to: 'Edit forwarding settings' $PALANG['pEdit_alias_help'] = 'Ett alias per rad.'; # XXX # XXX Text change to: 'Accepts multiple targets, one entry per line.' Modified: trunk/languages/tr.lang =================================================================== --- trunk/languages/tr.lang 2013-11-16 20:02:14 UTC (rev 1586) +++ trunk/languages/tr.lang 2013-11-16 20:20:50 UTC (rev 1587) @@ -104,13 +104,16 @@ $PALANG['delete_domain_aliasdomain_target'] = 'The domain %s is the target for one or more alias domains and can\'t be deleted! (Delete the alias domains first.)'; # XXX $PALANG['pCreate_alias_address_text_error1'] = 'ALIAS uygun deðil!'; +$PALANG['alias_does_not_exist'] = 'This alias does not exist!'; # XXX $PALANG['email_address_already_exists'] = 'Bu e-posta zaten kullanýlýyor, lütfen baþka bir tane seçin!'; # XXX check text - should be 'This email address already exists, please choose a different one\!' $PALANG['pCreate_alias_address_text_error3'] = 'Alias limitine ulaþtýnýz!'; $PALANG['pCreate_alias_goto_text'] = 'E-postanýn gitmesi gereken yer.'; $PALANG['pCreate_alias_goto_text_error'] = 'Kime alaný uygun deðil!'; $PALANG['pCreate_alias_result_error'] = 'Alias\'ý alias tabþlosuna eklenemedi! (%s)'; # XXX Text changed to: Creating the alias %s failed! $PALANG['pCreate_alias_result_success'] = 'Alias tabloya eklendi!'; # XXX text change: 'The alias %s has been created!' +$PALANG['alias_updated'] = 'The alias %s has been updated!'; # XXX $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.'; # XXX check/beautify - was split in two lines before +$PALANG['mailbox_alias_cant_be_deleted'] = 'This alias belongs to a mailbox and can\'t be deleted!'; # XXX $PALANG['pEdit_alias_welcome'] = 'domaniniz için bir domain\'i düzenleyin. '; # XXX Text change to: 'Edit forwarding settings' $PALANG['pEdit_alias_help'] = 'Satýr baþýna bir giriþ.'; # XXX # XXX Text change to: 'Accepts multiple targets, one entry per line.' Modified: trunk/languages/tw.lang =================================================================== --- trunk/languages/tw.lang 2013-11-16 20:02:14 UTC (rev 1586) +++ trunk/languages/tw.lang 2013-11-16 20:20:50 UTC (rev 1587) @@ -104,13 +104,16 @@ $PALANG['delete_domain_aliasdomain_target'] = 'The domain %s is the target for one or more alias domains and can\'t be deleted! (Delete the alias domains first.)'; # XXX $PALANG['pCreate_alias_address_text_error1'] = '該別名非法!'; +$PALANG['alias_does_not_exist'] = 'This alias does not exist!'; # XXX $PALANG['email_address_already_exists'] = '郵件地址已經存在, 請重新選擇!'; $PALANG['pCreate_alias_address_text_error3'] = '你的別名已經達到上限!'; $PALANG['pCreate_alias_goto_text'] = '郵件接收地址.'; $PALANG['pCreate_alias_goto_text_error'] = '接收地址不正確!'; $PALANG['pCreate_alias_result_error'] = '不能將別名添加到別名表中! (%s)'; # XXX Text changed to: Creating the alias %s failed! $PALANG['pCreate_alias_result_success'] = '添加別名成功!'; # XXX text change: 'The alias %s has been created!' +$PALANG['alias_updated'] = 'The alias %s has been updated!'; # XXX $PALANG['pCreate_alias_catchall_text'] = '要將所有的郵件全部轉發請使用"*"作為別名. 網域到網域的轉發請使用"*@domain.tld".'; # XXX check/beautify - was split in two lines before +$PALANG['mailbox_alias_cant_be_deleted'] = 'This alias belongs to a mailbox and can\'t be deleted!'; # XXX $PALANG['pEdit_alias_welcome'] = '編輯你網域名中的別名.'; # XXX Text change to: 'Edit forwarding settings' $PALANG['pEdit_alias_help'] = '每行一條記錄.'; # XXX # XXX Text change to: 'Accepts multiple targets, one entry per line.' Modified: trunk/model/AliasHandler.php =================================================================== --- trunk/model/AliasHandler.php 2013-11-16 20:02:14 UTC (rev 1586) +++ trunk/model/AliasHandler.php 2013-11-16 20:20:50 UTC (rev 1587) @@ -67,7 +67,7 @@ protected function initMsg() { $this->msg['error_already_exists'] = 'email_address_already_exists'; - $this->msg['error_does_not_exist'] = 'pCreate_alias_address_text_error1'; # TODO: better error message + $this->msg['error_does_not_exist'] = 'alias_does_not_exist'; if ($this->new) { $this->msg['logname'] = 'create_alias'; $this->msg['store_error'] = 'pCreate_alias_result_error'; @@ -75,7 +75,7 @@ } else { $this->msg['logname'] = 'edit_alias'; $this->msg['store_error'] = 'pEdit_alias_result_error'; - $this->msg['successmessage'] = 'pCreate_alias_result_success'; # TODO: better message for edit + $this->msg['successmessage'] = 'alias_updated'; } } @@ -282,14 +282,6 @@ return parent::getList( "__is_mailbox IS NULL AND ( $condition )", $limit, $offset); } -/* delete is already implemented in the "old functions" section - public function delete() { - $this->errormsg[] = '*** Alias domain deletion not implemented yet ***'; - return false; # XXX function aborts here until TODO below is implemented! XXX - # TODO: move the needed code from delete.php here - } -*/ - pro... [truncated message content] |
From: <chr...@us...> - 2013-11-16 20:32:40
|
Revision: 1588 http://sourceforge.net/p/postfixadmin/code/1588 Author: christian_boltz Date: 2013-11-16 20:32:37 +0000 (Sat, 16 Nov 2013) Log Message: ----------- DomainHandler.php: - better error/info messages - remove superfluous (and never displayed) success message in storemore() languages/*.lang: - add texts for DomainHandler - delete empty pAdminCreate_domain_defaultaliases_text Modified Paths: -------------- trunk/languages/en.lang trunk/model/DomainHandler.php Modified: trunk/languages/en.lang =================================================================== --- trunk/languages/en.lang 2013-11-16 20:20:50 UTC (rev 1587) +++ trunk/languages/en.lang 2013-11-16 20:32:37 UTC (rev 1588) @@ -232,13 +232,14 @@ $PALANG['domain_does_not_exist'] = 'This domain does not exist!'; $PALANG['pAdminCreate_domain_domain_text_error2'] = 'The domain is invalid!'; $PALANG['pAdminCreate_domain_defaultaliases'] = 'Add default mail aliases'; -$PALANG['pAdminCreate_domain_defaultaliases_text'] = ''; $PALANG['pAdminCreate_domain_button'] = 'Add Domain'; $PALANG['pAdminCreate_domain_result_error'] = 'Adding the domain %s failed!'; $PALANG['pAdminCreate_domain_result_success'] = 'The domain %s has been added.'; +$PALANG['domain_updated'] = 'The domain %s has been updated.'; $PALANG['pAdminDelete_admin_error'] = 'Unable to delete admin!'; $PALANG['domain_postdel_failed'] = 'The domain postdeletion script failed, check the error log for details!'; +$PALANG['domain_postcreate_failed'] = 'The domain postcreate script failed, check the error log for details!'; $PALANG['mailbox_postdel_failed'] = 'The mailbox postdeletion script failed, check the error log for details!'; $PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; $PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; Modified: trunk/model/DomainHandler.php =================================================================== --- trunk/model/DomainHandler.php 2013-11-16 20:20:50 UTC (rev 1587) +++ trunk/model/DomainHandler.php 2013-11-16 20:32:37 UTC (rev 1588) @@ -24,7 +24,6 @@ # init $this->struct, $this->db_table and $this->id_field protected function initStruct() { # TODO: shorter PALANG labels ;-) - # TODO: hardcode 'default' to Config::read in pacol()? $transp = Config::intbool('transport'); $quota = Config::intbool('quota'); @@ -79,7 +78,7 @@ } else { $this->msg['logname'] = 'edit_domain'; $this->msg['store_error'] = 'pAdminEdit_domain_result_error'; - $this->msg['successmessage'] = 'pAdminCreate_domain_result_success'; # TODO: better message for edit + $this->msg['successmessage'] = 'domain_updated'; } } @@ -115,15 +114,10 @@ # TODO: error checking } } - if ($this->new) { - $tMessage = Config::lang('pAdminCreate_domain_result_success') . " (" . $this->id . ")"; # TODO: tMessage is not used/returned anywhere - } else { - # TODO: success message for edit - } if ($this->new) { if (!$this->domain_postcreation()) { - $this->errormsg[] = Config::lang('pAdminCreate_domain_error'); + $this->errormsg[] = Config::lang('domain_postcreate_failed'); } } else { # we don't have domain_postedit() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2013-12-01 19:05:17
|
Revision: 1593 http://sourceforge.net/p/postfixadmin/code/1593 Author: christian_boltz Date: 2013-12-01 19:05:14 +0000 (Sun, 01 Dec 2013) Log Message: ----------- list-virtual.php: - remember domain and page browser offset in $_SESSION (fixes 50% of http://sourceforge.net/p/postfixadmin/bugs/298/ ) - various cleanups functions.inc.php: - add safesession() (like safeget(), but for $_SESSION) Modified Paths: -------------- trunk/functions.inc.php trunk/list-virtual.php Modified: trunk/functions.inc.php =================================================================== --- trunk/functions.inc.php 2013-11-18 22:57:37 UTC (rev 1592) +++ trunk/functions.inc.php 2013-12-01 19:05:14 UTC (rev 1593) @@ -362,6 +362,20 @@ } /** + * safesession + * @see safeget() + * @param String $param + * @param String $default (optional) + * @return String value from $_SESSION[$param] or $default + */ +function safesession ($param, $default="") { + $retval=$default; + if (isset($_SESSION[$param])) $retval=$_SESSION[$param]; + return $retval; +} + + +/** * pacol * @param int $allow_editing * @param int $display_in_form Modified: trunk/list-virtual.php =================================================================== --- trunk/list-virtual.php 2013-11-18 22:57:37 UTC (rev 1592) +++ trunk/list-virtual.php 2013-12-01 19:05:14 UTC (rev 1593) @@ -16,48 +16,32 @@ * * Template File: list-virtual.php * - * Template Variables: - * - * tAlias - * tMailbox - * * Form POST \ GET Variables: * * fDomain * fDisplay + * search */ require_once('common.php'); authentication_require_role('admin'); -$fDomain = false; $admin_username = authentication_get_username(); -if (authentication_has_role('global-admin')) { - $list_domains = list_domains (); - $is_superadmin = 1; -} else { - $list_domains = list_domains_for_admin(authentication_get_username()); - $is_superadmin = 0; -} -$tAlias = array(); -$tMailbox = array(); -$fDisplay = 0; +$list_domains = list_domains_for_admin($admin_username); + $page_size = $CONF['page_size']; -if ($_SERVER['REQUEST_METHOD'] == "GET") { - if (isset ($_GET['domain'])) $fDomain = escape_string ($_GET['domain']); - if (isset ($_GET['limit'])) $fDisplay = intval ($_GET['limit']); - $search = escape_string(safeget('search')); -} else { - if (isset ($_POST['fDomain'])) $fDomain = escape_string ($_POST['fDomain']); - if (isset ($_POST['limit'])) $fDisplay = intval ($_POST['limit']); - $search = escape_string(safepost('search')); +$fDomain = safepost('fDomain', safeget('domain', safesession('list-virtual:domain'))); +if (safesession('list-virtual:domain') != $fDomain) { + unset($_SESSION['list-virtual:limit']); } +$fDisplay = (int) safepost('limit', safeget('limit', safesession('list-virtual:limit'))); +$search = safepost('search', safeget('search', '')); # not remembered in the session if (count($list_domains) == 0) { - if ($is_superadmin) { + if (authentication_has_role('global-admin')) { flash_error($PALANG['no_domains_exist']); } else { flash_error($PALANG['no_domains_for_this_admin']); @@ -74,21 +58,22 @@ if(!in_array($fDomain, $list_domains)) { flash_error( $PALANG['invalid_parameter'] ); + unset($_SESSION['list-virtual:domain']); header("Location: list-domain.php"); # invalid domain, or not owned by this admin exit; } if (!check_owner(authentication_get_username(), $fDomain)) { flash_error( $PALANG['invalid_parameter'] . " If you see this message, please open a bugreport"); # this check is most probably obsoleted by the in_array() check above + unset($_SESSION['list-virtual:domain']); header("Location: list-domain.php"); # domain not owned by this admin exit(0); } -// store fDomain in $_SESSION so after adding/editing aliases/mailboxes we can -// take the user back to the appropriate domain listing. (see templates/menu.tpl) -if($fDomain) { - $_SESSION['list_virtual_sticky_domain'] = $fDomain; -} +// store domain and page browser offset in $_SESSION so after adding/editing aliases/mailboxes we can +// take the user back to the appropriate domain listing. +$_SESSION['list-virtual:domain'] = $fDomain; +$_SESSION['list-virtual:limit'] = $fDisplay; # # alias domain @@ -120,28 +105,17 @@ if ($search == "") { $list_param = "domain='$fDomain'"; - # sql_domain / sql_where only needed for pagebrowser $sql_domain = " $table_alias.domain='$fDomain' "; - $sql_where = ""; } else { $list_param = "(address LIKE '%$search%' OR goto LIKE '%$search%')"; - # sql_domain / sql_where only needed for pagebrowser $sql_domain = db_in_clause("$table_alias.domain", $list_domains); - $sql_where = " AND ( address LIKE '%$search%' OR goto LIKE '%$search%' ) "; } $alias_pagebrowser_query = " FROM $table_alias - WHERE $sql_domain AND NOT EXISTS(SELECT 1 FROM $table_mailbox WHERE username=$table_alias.address) $sql_where + WHERE $sql_domain AND NOT EXISTS(SELECT 1 FROM $table_mailbox WHERE username=$table_alias.address) AND ( $list_param ) ORDER BY address "; -/* -$query = " - SELECT address, goto, modified, active - $alias_pagebrowser_query - LIMIT $page_size OFFSET $fDisplay -"; -*/ $handler = new AliasHandler(0, $admin_username); $handler->getList($list_param, $page_size, $fDisplay); @@ -203,6 +177,7 @@ $delimiter = preg_quote($CONF['recipient_delimiter'], "/"); $goto_single_rec_del = ""; + $tMailbox = array(); while ($row = db_array ($result['result'])) { if ($display_mailbox_aliases) { $goto_split = explode(",", $row['goto']); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2013-12-01 20:45:21
|
Revision: 1594 http://sourceforge.net/p/postfixadmin/code/1594 Author: christian_boltz Date: 2013-12-01 20:45:17 +0000 (Sun, 01 Dec 2013) Log Message: ----------- edit.php: - use prefill values from $_SESSION (if not provided in GET/POST) - remember prefill values for next usage of the form list-virtual.php - set prefill values for edit.php PFAHandler.php: - let prefill() store the value in $struct if no prefill_$field() function exists This fixes the remaining parts of http://sourceforge.net/p/postfixadmin/bugs/298/ Modified Paths: -------------- trunk/edit.php trunk/list-virtual.php trunk/model/PFAHandler.php Modified: trunk/edit.php =================================================================== --- trunk/edit.php 2013-12-01 19:05:14 UTC (rev 1593) +++ trunk/edit.php 2013-12-01 20:45:17 UTC (rev 1594) @@ -60,13 +60,14 @@ if ($edit == '') { # new - prefill fields from URL parameters if allowed in $formconf['prefill'] if ( isset($formconf['prefill']) ) { foreach ($formconf['prefill'] as $field) { - if (isset ($_GET[$field])) { - $form_fields[$field]['default'] = safeget($field); - $handler->prefill($field, safeget($field)); + $prefillvalue = safeget($field, safesession("prefill:$table:$field")); + if ($prefillvalue != '') { + $form_fields[$field]['default'] = $prefillvalue; + $handler->prefill($field, $prefillvalue); } } } - $form_fields = $handler->getStruct(); # refresh $form_fields - a prefill field might have changed something + $form_fields = $handler->getStruct(); # refresh $form_fields - a prefill field might have changed something } else { # edit mode - read values from database if (!$handler->view()) { flash_error($handler->errormsg); @@ -104,9 +105,7 @@ } } } -} -if ($_SERVER['REQUEST_METHOD'] == "POST") { if (isset($formconf['hardcoded_edit']) && $formconf['hardcoded_edit']) { $values[$id_field] = $form_fields[$id_field]['default']; } elseif ($edit != "") { @@ -139,11 +138,20 @@ flash_error($handler->errormsg); } + # remember prefill values for next usage of the form + if ( isset($formconf['prefill']) ) { + foreach ($formconf['prefill'] as $field) { + if (isset($values[$field])) { + $_SESSION["prefill:$table:$field"] = $values[$field]; + } + } + } + if ($edit != "") { header ("Location: " . $formconf['listview']); exit; } else { - header("Location: edit.php?table=$table"); # TODO: hand over last used domain etc. ($formconf['prefill'] ?) + header("Location: edit.php?table=$table"); exit; } } Modified: trunk/list-virtual.php =================================================================== --- trunk/list-virtual.php 2013-12-01 19:05:14 UTC (rev 1593) +++ trunk/list-virtual.php 2013-12-01 20:45:17 UTC (rev 1594) @@ -73,8 +73,13 @@ // store domain and page browser offset in $_SESSION so after adding/editing aliases/mailboxes we can // take the user back to the appropriate domain listing. $_SESSION['list-virtual:domain'] = $fDomain; +$_SESSION['prefill:alias:domain'] = $fDomain; +$_SESSION['prefill:mailbox:domain'] = $fDomain; +$_SESSION['prefill:aliasdomain:target_domain'] = $fDomain; + $_SESSION['list-virtual:limit'] = $fDisplay; + # # alias domain # Modified: trunk/model/PFAHandler.php =================================================================== --- trunk/model/PFAHandler.php 2013-12-01 19:05:14 UTC (rev 1593) +++ trunk/model/PFAHandler.php 2013-12-01 20:45:17 UTC (rev 1594) @@ -220,7 +220,9 @@ $func="_prefill_".$field; if (method_exists($this, $func) ) { $this->{$func}($field, $val); # call _missing_$fieldname() - } + } else { + $this->struct[$field]['default'] = $val; + } } /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2013-12-01 21:48:17
|
Revision: 1595 http://sourceforge.net/p/postfixadmin/code/1595 Author: christian_boltz Date: 2013-12-01 21:48:14 +0000 (Sun, 01 Dec 2013) Log Message: ----------- functions.inc.php pacrypt(): - for 'system' encryption, use full hashed password as salt https://sourceforge.net/p/postfixadmin/bugs/2/ Modified Paths: -------------- trunk/CHANGELOG.TXT trunk/DOCUMENTS/DOVECOT.txt trunk/functions.inc.php trunk/model/VacationHandler.php Modified: trunk/CHANGELOG.TXT =================================================================== --- trunk/CHANGELOG.TXT 2013-12-01 20:45:17 UTC (rev 1594) +++ trunk/CHANGELOG.TXT 2013-12-01 21:48:14 UTC (rev 1595) @@ -13,14 +13,11 @@ Version ***svn*** - 2009/12/26 - SVN r*** ----------------------------------- -*** TODO: changelog for r1157 and r1163 -*** TODO: copy changelog from the 2.3 branch after 2.3.3 release to trunk - - NOTE: changes from the 2.3 branch also apply to this version - use smarty for templates - new command-line interface for PostfixAdmin (scripts/postfixadmin-cli) - (still incomplete) - - add ability to choose activation and end date for vacation message + - add ability to choose activation date, end date and reply interval for vacation message +*** reply interval needs rework, https://sourceforge.net/tracker/?func=detail&aid=3508083&group_id=191583&atid=937966 - add support for total quota per domain - $CONF[domain_quota] - redesign login page, list and edit pages (goodbye, green!) and made them wider - new config option $CONF['theme_custom_css'] - allows to add some custom CSS @@ -36,33 +33,67 @@ domains - or all in one page as in 2.3 - extreme speedup of page browser in list-virtual if a large number of mailboxes or aliases exist -*** TODO: totally broken for PostgreSQL :-( - see create_page_browser() in functions.inc.php *** - display alias domains less confusing (using From/To) *** TODO: make "all" the default? *** - merge search.php functionality into list-virtual.php (which brings various bug fixes for free) - don't mark mailboxes with vacation active as undeliverable -*** TODO: backport candidate? r1068 *** - fix: undeliverable targets were not flagged if another target pointed to a domain in $CONF[show_undeliverable_exceptions] -*** TODO: backport candidate? r1069 *** - - move lots of code into classes (model/*) which is then used by the - webinterface and the commandline interface (still incomplete) + - move lots of code into classes (model/*Handler) which is then used by the + webinterface and the commandline interface - supress warnings about PHP's date.timezone not set at various places -*** TODO: do it always for Smarty? *** - table_by_key function now always prepends $CONF['database_prefix'] even if $CONF['database_tables'][$table] is not set. If you have/had an incomplete database_tables array and use a database_prefix, you might need to rename/ add the database_prefix to the affected tables manually. *** TODO: add a check/warning in setup.php? *** - - cleanup of $PALANG - marked lots of duplicated texts as obsolete + - cleanup of $PALANG - removed lots of duplicated texts (which means less texts to translate) - - removed <span> and <br> tags from $PALANG texts (formatting is now done in - the templates) + - removed HTML tags from $PALANG texts - several translation updates - merged templates for "edit" and "create" forms and for user and admin mode - lots of code cleanup, removal of duplicated code etc. +Version 2.3.6 - 2013/01/02 - SVN r1417 (postfixadmin-2.3 branch) +---------------------------------------------------------------- + + - display domain and mailbox description with correct encoding + - fix footer link + - focus username input field in login form + - fix double inclusion of config.inc.php in setup.php + - fix bool and date handling in fetchmail + +Version 2.3.5 - 2012/01/16 - SVN r1335 (postfixadmin-2.3 branch) +---------------------------------------------------------------- + + - fix SQL injection in pacrypt() (if $CONF[encrypt] == 'mysql_encrypt') + - fix SQL injection in backup.php - the dump was not mysql_escape()d, + therefore users could inject SQL (for example in the vacation message) + which will be executed when restoring the database dump. + WARNING: database dumps created with backup.php from 2.3.4 or older might + contain malicious SQL. Double-check before using them! + - fix XSS with $_GET[domain] in templates/menu.php and edit-vacation + - fix XSS in some create-domain input fields + - fix XSS in create-alias and edit-alias error message + - fix XSS (by values stored in the database) in fetchmail list view, + list-domain and list-virtual + - create-domain: fix SQL injection (only exploitable by superadmins) + - add missing $LANG['pAdminDelete_admin_error'] + - don't mark mailbox targets with recipient delimiter as "forward only" + - wrap hex2bin with function_exists() - PHP 5.3.8 has it as native function + +Version 2.3.4 - 2011/09/16 - SVN r1180 (postfixadmin-2.3 branch) +---------------------------------------------------------------- + + - generate more secure random passwords + - squirrelmail plugin: fix typo in variable name + - list-domain: fix SELECT query to work with PgSQL even when using custom fields + - create-domain: force domain name to lowercase to avoid problems with PgSQL + foreign keys + - fix vacation.pl to log to "mail" syslog facility + - error_log() dovecotpw error messages + Version 2.3.3 - 2011/03/14 - SVN r1010 (postfixadmin-2.3 branch) ---------------------------------------------------------------- @@ -567,3 +598,6 @@ Version 1.3.7 -- 2002/12/24 ---------------------------- - Initial public release of Postfix Admin. + + +# vim: set expandtab softtabstop=2 tabstop=2 shiftwidth=2: Modified: trunk/DOCUMENTS/DOVECOT.txt =================================================================== --- trunk/DOCUMENTS/DOVECOT.txt 2013-12-01 20:45:17 UTC (rev 1594) +++ trunk/DOCUMENTS/DOVECOT.txt 2013-12-01 21:48:14 UTC (rev 1595) @@ -143,3 +143,6 @@ If you use dovecot 1.2 or newer, - use the 'quota2' table (also created by setup.php) - set $CONF['new_quota_table'] = 'YES' + + +*** TODO: Update based on chatlog 2012-05-02 *** Modified: trunk/functions.inc.php =================================================================== --- trunk/functions.inc.php 2013-12-01 20:45:17 UTC (rev 1594) +++ trunk/functions.inc.php 2013-12-01 21:48:14 UTC (rev 1595) @@ -861,17 +861,11 @@ } elseif ($CONF['encrypt'] == 'system') { - if (preg_match("/\\$1\\$/", $pw_db)) { - $split_salt = preg_split ('/\$/', $pw_db); - $salt = "\$1\$${split_salt[2]}\$"; + if ($pw_db) { + $password = crypt($pw, $pw_db); } else { - if (strlen($pw_db) == 0) { - $salt = substr (md5 (mt_rand ()), 0, 2); - } else { - $salt = substr ($pw_db, 0, 2); - } + $password = crypt($pw); } - $password = crypt ($pw, $salt); } elseif ($CONF['encrypt'] == 'cleartext') { Modified: trunk/model/VacationHandler.php =================================================================== --- trunk/model/VacationHandler.php 2013-12-01 20:45:17 UTC (rev 1594) +++ trunk/model/VacationHandler.php 2013-12-01 21:48:14 UTC (rev 1595) @@ -1,7 +1,74 @@ <?php # $Id$ -class VacationHandler { +class VacationHandler extends PFAHandler { + + protected $db_table = 'vacation'; + protected $id_field = 'email'; + protected $domain_field = 'domain'; + + # init $this->struct, $this->db_table and $this->id_field + protected function initStruct() { + $this->struct=array( + # field name allow display in... type $PALANG label $PALANG description default / options / ... + # editing? form list + 'email' => pacol( $this->new, 1, 1, 'text', 'pLogin_username' , '' , '' ), + 'domain' => pacol( 1, 0, 0, 'text', '' , '' , '' ), + 'subject' => pacol( 1, 1, 0, 'text', 'pUsersVacation_subject' , '' , '' ), + 'body' => pacol( 1, 1, 0, 'text', 'pUsersVacation_body' , '' , '' ), + 'activefrom' => pacol( 1, 1, 1, 'text', 'pUsersVacation_activefrom' , '' , '' ), + 'activeuntil' => pacol( 1, 1, 1, 'text', 'pUsersVacation_activeuntil' , '' , '' ), +# 'cache' => pacol( 0, 0, 0, 'text', '' , '' , '' ), # leftover from 2.2 + 'active' => pacol( 1, 1, 1, 'bool', 'active' , '' , 1 ), + 'created' => pacol( 0, 0, 1, 'ts', 'created' , '' ), + 'modified' => pacol( 0, 0, 1, 'ts', 'last_modified' , '' ), + # TODO: add virtual 'notified' column and allow to display who received a vacation response? + ); + } + + protected function initMsg() { + $this->msg['error_already_exists'] = 'pCreate_mailbox_username_text_error1'; # TODO: better error message + $this->msg['error_does_not_exist'] = 'pCreate_mailbox_username_text_error1'; # TODO: better error message + if ($this->new) { + $this->msg['logname'] = 'edit_vacation'; + $this->msg['store_error'] = 'pVacation_result_error'; + $this->msg['successmessage'] = 'pVacation_result_removed'; # TODO: or pVacation_result_added - depends on 'active'... -> we probably need a new message + } else { + $this->msg['logname'] = 'edit_vacation'; + $this->msg['store_error'] = 'pVacation_result_error'; + $this->msg['successmessage'] = 'pVacation_result_removed'; # TODO: or pVacation_result_added - depends on 'active'... -> we probably need a new message + } + } + + public function webformConfig() { + return array( + # $PALANG labels + 'formtitle_create' => 'pUsersVacation_welcome', + 'formtitle_edit' => 'pUsersVacation_welcome', + 'create_button' => 'save', + + # various settings + 'required_role' => 'admin', + 'listview' => 'list-virtual.php', + 'early_init' => 1, # 0 for create-domain + ); + } + + protected function validate_new_id() { + # vacation can only be enabled if a mailbox with this name exists + $handler = new MailboxHandler(); + return $handler->init($address); + } + + public function delete() { + $this->errormsg[] = '*** deletion not implemented yet ***'; + return false; # XXX function aborts here! XXX + + } + + + + protected $username = null; function __construct($username) { $this->username = $username; @@ -29,11 +96,9 @@ /** * @return boolean true indicates this server supports vacation messages, and users are able to change their own. - * @global array $CONF */ function vacation_supported() { - global $CONF; - return $CONF['vacation'] == 'YES' && $CONF['vacation_control'] == 'YES'; + return Config::bool('vacation') && Config::bool('vacation_control'); } /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2013-12-01 22:29:28
|
Revision: 1596 http://sourceforge.net/p/postfixadmin/code/1596 Author: christian_boltz Date: 2013-12-01 22:29:25 +0000 (Sun, 01 Dec 2013) Log Message: ----------- r1595 accidently included more changed files than it should. This commit contains some dummy changes to get a proper changelog attached to those files. VacationHandler: - (r1595) rewrite based on PFAHandler (not useable yet) - (this commit) add a dummy init() function that calls die() DOCUMENTS/DOVECOT.txt: - (r1595) TODO note - (this commit) remove the TODO note again CHANGELOG.TXT: - (r1595) include changes of 2.3.4, 2.3.5 and 2.3.6 (copied from 2.3 branch) - (r1595) update some notes about SVN version (still far from complete) Revision Links: -------------- http://sourceforge.net/p/postfixadmin/code/1595 http://sourceforge.net/p/postfixadmin/code/1595 http://sourceforge.net/p/postfixadmin/code/1595 http://sourceforge.net/p/postfixadmin/code/1595 http://sourceforge.net/p/postfixadmin/code/1595 Modified Paths: -------------- trunk/CHANGELOG.TXT trunk/DOCUMENTS/DOVECOT.txt trunk/model/VacationHandler.php Modified: trunk/CHANGELOG.TXT =================================================================== --- trunk/CHANGELOG.TXT 2013-12-01 21:48:14 UTC (rev 1595) +++ trunk/CHANGELOG.TXT 2013-12-01 22:29:25 UTC (rev 1596) @@ -13,6 +13,7 @@ Version ***svn*** - 2009/12/26 - SVN r*** ----------------------------------- + - NOTE: changes from the 2.3 branch also apply to this version - use smarty for templates - new command-line interface for PostfixAdmin (scripts/postfixadmin-cli) Modified: trunk/DOCUMENTS/DOVECOT.txt =================================================================== --- trunk/DOCUMENTS/DOVECOT.txt 2013-12-01 21:48:14 UTC (rev 1595) +++ trunk/DOCUMENTS/DOVECOT.txt 2013-12-01 22:29:25 UTC (rev 1596) @@ -144,5 +144,3 @@ - use the 'quota2' table (also created by setup.php) - set $CONF['new_quota_table'] = 'YES' - -*** TODO: Update based on chatlog 2012-05-02 *** Modified: trunk/model/VacationHandler.php =================================================================== --- trunk/model/VacationHandler.php 2013-12-01 21:48:14 UTC (rev 1595) +++ trunk/model/VacationHandler.php 2013-12-01 22:29:25 UTC (rev 1596) @@ -7,7 +7,10 @@ protected $id_field = 'email'; protected $domain_field = 'domain'; - # init $this->struct, $this->db_table and $this->id_field + function init($id) { + die('VacationHandler is not yet ready to be used with *Handler methods'); # obvious TODO: remove when it's ready ;-) + } + protected function initStruct() { $this->struct=array( # field name allow display in... type $PALANG label $PALANG description default / options / ... This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2013-12-08 18:45:30
|
Revision: 1600 http://sourceforge.net/p/postfixadmin/code/1600 Author: christian_boltz Date: 2013-12-08 18:45:26 +0000 (Sun, 08 Dec 2013) Log Message: ----------- login.php, users/login.php - error_log() failed login attemps https://sourceforge.net/p/postfixadmin/feature-requests/111/ Modified Paths: -------------- trunk/login.php trunk/users/login.php Modified: trunk/login.php =================================================================== --- trunk/login.php 2013-12-08 16:32:14 UTC (rev 1599) +++ trunk/login.php 2013-12-08 18:45:26 UTC (rev 1600) @@ -76,6 +76,7 @@ exit(0); } else { # $h->login failed + error_log("PostfixAdmin login failed (username: $fUsername)"); flash_error($PALANG['pLogin_failed']); } } Modified: trunk/users/login.php =================================================================== --- trunk/users/login.php 2013-12-08 16:32:14 UTC (rev 1599) +++ trunk/users/login.php 2013-12-08 18:45:26 UTC (rev 1600) @@ -52,11 +52,10 @@ $_SESSION['PFA_token'] = md5(uniqid(rand(), true)); header("Location: main.php"); exit; + } else { + error_log("PostfixAdmin login failed (username: $fUsername)"); + flash_error($PALANG['pLogin_failed']); } - else { - $error = 1; - flash_error($PALANG['pLogin_failed']);; - } } $smarty->assign ('language_selector', language_selector(), false); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2013-12-08 19:41:05
|
Revision: 1601 http://sourceforge.net/p/postfixadmin/code/1601 Author: christian_boltz Date: 2013-12-08 19:41:01 +0000 (Sun, 08 Dec 2013) Log Message: ----------- various files: - get rid of global $table_* variables, use table_by_key() instead Modified Paths: -------------- trunk/functions.inc.php trunk/list-virtual.php trunk/scripts/postfixadmin-cli.php trunk/viewlog.php Modified: trunk/functions.inc.php =================================================================== --- trunk/functions.inc.php 2013-12-08 18:45:26 UTC (rev 1600) +++ trunk/functions.inc.php 2013-12-08 19:41:01 UTC (rev 1601) @@ -538,7 +538,7 @@ // Call: check_owner (string admin, string domain) // function check_owner ($username, $domain) { - global $table_domain_admins; + $table_domain_admins = table_by_key('domain_admins'); $E_username = escape_string($username); $E_domain = escape_string($domain); $result = db_query ("SELECT 1 FROM $table_domain_admins WHERE username='$E_username' AND (domain='$E_domain' OR domain='ALL') AND active='1'"); @@ -580,7 +580,8 @@ * @return array of domain names. */ function list_domains_for_admin ($username) { - global $table_domain, $table_domain_admins; + $table_domain = table_by_key('domain'); + $table_domain_admins = table_by_key('domain_admins'); $E_username = escape_string($username); @@ -618,9 +619,9 @@ // Call: list_domains () // function list_domains () { - global $table_domain; $list = array(); + $table_domain = table_by_key('domain'); $result = db_query ("SELECT domain FROM $table_domain WHERE domain!='ALL' ORDER BY domain"); if ($result['rows'] > 0) { $i = 0; @@ -1535,7 +1536,7 @@ * Possible actions are defined in $action_list */ function db_log ($domain,$action,$data) { - global $table_log; + $table_log = table_by_key('log'); $REMOTE_ADDR = getRemoteAddr(); $username = authentication_get_username(); @@ -1663,7 +1664,8 @@ // Call: gen_show_status (string alias_address) // function gen_show_status ($show_alias) { - global $CONF, $table_alias; + global $CONF; + $table_alias = table_by_key('alias'); $stat_string = ""; $stat_goto = ""; @@ -1753,17 +1755,4 @@ return $REMOTE_ADDR; } - - -#$table_admin = table_by_key ('admin'); -$table_alias = table_by_key ('alias'); -#$table_alias_domain = table_by_key ('alias_domain'); -$table_domain = table_by_key ('domain'); -$table_domain_admins = table_by_key ('domain_admins'); -$table_log = table_by_key ('log'); -$table_mailbox = table_by_key ('mailbox'); -$table_vacation = table_by_key ('vacation'); -$table_vacation_notification = table_by_key('vacation_notification'); -$table_quota = table_by_key ('quota'); -$table_quota2 = table_by_key ('quota2'); /* vim: set expandtab softtabstop=4 tabstop=4 shiftwidth=4: */ Modified: trunk/list-virtual.php =================================================================== --- trunk/list-virtual.php 2013-12-08 18:45:26 UTC (rev 1600) +++ trunk/list-virtual.php 2013-12-08 19:41:01 UTC (rev 1601) @@ -108,6 +108,9 @@ # aliases # +$table_alias = table_by_key('alias'); +$table_mailbox = table_by_key('mailbox'); + if ($search == "") { $list_param = "domain='$fDomain'"; $sql_domain = " $table_alias.domain='$fDomain' "; @@ -158,16 +161,19 @@ } if (Config::bool('vacation_control_admin')) { + $table_vacation = table_by_key('vacation'); $sql_select .= ", $table_vacation.active AS v_active "; $sql_join .= " LEFT JOIN $table_vacation ON $table_mailbox.username=$table_vacation.email "; } if (Config::bool('used_quotas') && Config::bool('new_quota_table')) { + $table_quota2 = table_by_key('quota2'); $sql_select .= ", $table_quota2.bytes as current "; $sql_join .= " LEFT JOIN $table_quota2 ON $table_mailbox.username=$table_quota2.username "; } if (Config::bool('used_quotas') && ( ! Config::bool('new_quota_table') ) ) { + $table_quota = table_by_key('quota'); $sql_select .= ", $table_quota.current "; $sql_join .= " LEFT JOIN $table_quota ON $table_mailbox.username=$table_quota.username "; $sql_where .= " AND ( $table_quota.path='quota/storage' OR $table_quota.path IS NULL ) "; Modified: trunk/scripts/postfixadmin-cli.php =================================================================== --- trunk/scripts/postfixadmin-cli.php 2013-12-08 18:45:26 UTC (rev 1600) +++ trunk/scripts/postfixadmin-cli.php 2013-12-08 19:41:01 UTC (rev 1601) @@ -544,19 +544,7 @@ $CONF = Config::read('all'); -//bugfix shitty globals and OOP..... +$dispatcher->dispatch(); -#$table_admin = table_by_key ('admin'); -$table_alias = table_by_key ('alias'); -#$table_alias_domain = table_by_key ('alias_domain'); -$table_domain = table_by_key ('domain'); -$table_domain_admins = table_by_key ('domain_admins'); -$table_log = table_by_key ('log'); -$table_mailbox = table_by_key ('mailbox'); -$table_vacation = table_by_key ('vacation'); -$table_vacation_notification = table_by_key('vacation_notification'); -$table_quota = table_by_key ('quota'); -$table_quota2 = table_by_key ('quota2'); - -$dispatcher->dispatch(); +/* vim: set expandtab softtabstop=4 tabstop=4 shiftwidth=4: */ ?> Modified: trunk/viewlog.php =================================================================== --- trunk/viewlog.php 2013-12-08 18:45:26 UTC (rev 1600) +++ trunk/viewlog.php 2013-12-08 19:41:01 UTC (rev 1601) @@ -56,6 +56,7 @@ if ($error != 1) { + $table_log = table_by_key('log'); $query = "SELECT timestamp,username,domain,action,data FROM $table_log WHERE domain='$fDomain' ORDER BY timestamp DESC LIMIT 10"; if (db_pgsql()) { $query = "SELECT extract(epoch from timestamp) as timestamp,username,domain,action,data FROM $table_log WHERE domain='$fDomain' ORDER BY timestamp DESC LIMIT 10"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2013-12-22 16:51:00
|
Revision: 1610 http://sourceforge.net/p/postfixadmin/code/1610 Author: christian_boltz Date: 2013-12-22 16:50:55 +0000 (Sun, 22 Dec 2013) Log Message: ----------- vacation: restrict reply type to a list of options ($CONF[vacation_choice_of_reply]), remove input field for custom interval config.inc.php: - change $CONF['vacation_choice_of_reply'] to [seconds] => [$PALANG label] (note: reply to every mail is commented by default because it can be annoying. Admins will have to explicitely add/enable it in their config.) - remove $CONF[vacation_replytype_default] - update comment about dovecot:* for $CONF[encrypt] *.lang: - add texts for reply types VacationHandler.php: - remove reply_type at various places - set_away(): remove reply_type from list of function parameters templates/vacation.tpl: - update reply type dropdown for the changed $CONF['vacation_choice_of_reply'] - remove the input fields for custom reply delay vacation.php: - restrict reply type to a list of options ($CONF[vacation_choice_of_reply]) - if vacation is disabled, but old values are stored in the database, change the activeFrom and activeUntil date to today to avoid users have to scroll through the calendar a lot xmlrpc.php: - update set_away() call to match the removed parameter upgrade.php: - comment out upgrade_1345_mysql() which created the reply_type and interval_time fields in the vacation table in mysql - add upgrade_1610() to add the vacation.interval_time field Modified Paths: -------------- trunk/config.inc.php trunk/languages/bg.lang trunk/languages/ca.lang trunk/languages/cn.lang trunk/languages/cs.lang trunk/languages/da.lang trunk/languages/de.lang trunk/languages/en.lang trunk/languages/es.lang trunk/languages/et.lang trunk/languages/eu.lang trunk/languages/fi.lang trunk/languages/fo.lang trunk/languages/fr.lang trunk/languages/hr.lang trunk/languages/hu.lang trunk/languages/is.lang trunk/languages/it.lang trunk/languages/ja.lang trunk/languages/lt.lang trunk/languages/mk.lang trunk/languages/nb.lang trunk/languages/nl.lang trunk/languages/nn.lang trunk/languages/pl.lang trunk/languages/pt-br.lang trunk/languages/ru.lang trunk/languages/sk.lang trunk/languages/sl.lang trunk/languages/sv.lang trunk/languages/tr.lang trunk/languages/tw.lang trunk/model/VacationHandler.php trunk/templates/vacation.tpl trunk/upgrade.php trunk/vacation.php trunk/xmlrpc.php Modified: trunk/config.inc.php =================================================================== --- trunk/config.inc.php 2013-12-15 21:36:00 UTC (rev 1609) +++ trunk/config.inc.php 2013-12-22 16:50:55 UTC (rev 1610) @@ -131,7 +131,7 @@ // mysql_encrypt = useful for PAM integration // authlib = support for courier-authlib style passwords // dovecot:CRYPT-METHOD = use dovecotpw -s 'CRYPT-METHOD'. Example: dovecot:CRAM-MD5 -// (WARNING: do not use a dovecot:* method that includes a salt - you won't be able to login to PostfixAdmin in this case) +// (WARNING: don't use dovecot:* methods that include the username in the hash - you won't be able to login to PostfixAdmin in this case) $CONF['encrypt'] = 'md5crypt'; // In what flavor should courier-authlib style passwords be encrypted? @@ -337,16 +337,17 @@ // ReplyType options // If you want to define additional reply options put them in array below. +// The array has the format seconds between replies => $PALANG text +// Special values for seconds are: +// 0 => only reply to the first mail while on vacation +// 1 => reply on every mail $CONF['vacation_choice_of_reply'] = array ( - 'One Reply', // Sends only Once the message during Out of Office - 'Auto Reply', // Reply on every email but not within autoreplydelay - 'Interval Reply' // Reply on every email but not within intervaldelay_default + 0 => 'reply_once', // Sends only Once the message during Out of Office + # considered annoying - only send a reply on every mail if you really need it + # 1 => 'reply_every_mail', // Reply on every email + 60*60 *24*7 => 'reply_once_per_week' // Reply if last autoreply was at least a week ago ); -// ReplyType default -// You should define default replytype. It must be in array above. -$CONF['vacation_replytype_default'] = 'One Reply'; - // autoreplydelay // You should define autodefaultdelay is seconds // if a new message comes in within this delay it most likely that that the sender is Modified: trunk/languages/bg.lang =================================================================== --- trunk/languages/bg.lang 2013-12-15 21:36:00 UTC (rev 1609) +++ trunk/languages/bg.lang 2013-12-22 16:50:55 UTC (rev 1610) @@ -167,6 +167,9 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; # XXX +$PALANG['reply_once'] = 'Reply once'; # XXX +$PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = 'Разглеждане на последните 10 действия за '; $PALANG['pViewlog_timestamp'] = 'Дата'; Modified: trunk/languages/ca.lang =================================================================== --- trunk/languages/ca.lang 2013-12-15 21:36:00 UTC (rev 1609) +++ trunk/languages/ca.lang 2013-12-22 16:50:55 UTC (rev 1610) @@ -165,6 +165,9 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; # XXX +$PALANG['reply_once'] = 'Reply once'; # XXX +$PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = 'Veure les últimes 10 accions per '; $PALANG['pViewlog_timestamp'] = 'Data/Hora'; Modified: trunk/languages/cn.lang =================================================================== --- trunk/languages/cn.lang 2013-12-15 21:36:00 UTC (rev 1609) +++ trunk/languages/cn.lang 2013-12-22 16:50:55 UTC (rev 1610) @@ -166,6 +166,9 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; # XXX +$PALANG['reply_once'] = 'Reply once'; # XXX +$PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = '查看最新的10项操作日志 域名: '; $PALANG['pViewlog_timestamp'] = '时间'; Modified: trunk/languages/cs.lang =================================================================== --- trunk/languages/cs.lang 2013-12-15 21:36:00 UTC (rev 1609) +++ trunk/languages/cs.lang 2013-12-22 16:50:55 UTC (rev 1610) @@ -173,6 +173,9 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; # XXX +$PALANG['reply_once'] = 'Reply once'; # XXX +$PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = 'Prohlížet 10 posledních akcí pro '; $PALANG['pViewlog_timestamp'] = 'Časová značka'; Modified: trunk/languages/da.lang =================================================================== --- trunk/languages/da.lang 2013-12-15 21:36:00 UTC (rev 1609) +++ trunk/languages/da.lang 2013-12-22 16:50:55 UTC (rev 1610) @@ -173,6 +173,9 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; # XXX +$PALANG['reply_once'] = 'Reply once'; # XXX +$PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = 'Vis de sidste 10 poster for '; $PALANG['pViewlog_timestamp'] = 'Tidsstempel'; Modified: trunk/languages/de.lang =================================================================== --- trunk/languages/de.lang 2013-12-15 21:36:00 UTC (rev 1609) +++ trunk/languages/de.lang 2013-12-22 16:50:55 UTC (rev 1610) @@ -170,6 +170,9 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Zeit in Sekunden'; +$PALANG['reply_once'] = 'Einmal antworten'; +$PALANG['reply_every_mail'] = 'Jede Mail beantworten'; +$PALANG['reply_once_per_week'] = 'Einmal pro Woche antworten'; $PALANG['pViewlog_welcome'] = 'Zeigt die letzten 10 Aktionen für '; $PALANG['pViewlog_timestamp'] = 'Zeitpunkt'; Modified: trunk/languages/en.lang =================================================================== --- trunk/languages/en.lang 2013-12-15 21:36:00 UTC (rev 1609) +++ trunk/languages/en.lang 2013-12-22 16:50:55 UTC (rev 1610) @@ -171,6 +171,9 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; $PALANG['pVacation_reply_delay_time'] = 'Interval time'; $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; +$PALANG['reply_once'] = 'Reply once'; +$PALANG['reply_every_mail'] = 'Reply on every mail'; +$PALANG['reply_once_per_week'] = 'Reply once per week'; $PALANG['pViewlog_welcome'] = 'View the last 10 actions for '; $PALANG['pViewlog_timestamp'] = 'Timestamp'; Modified: trunk/languages/es.lang =================================================================== --- trunk/languages/es.lang 2013-12-15 21:36:00 UTC (rev 1609) +++ trunk/languages/es.lang 2013-12-22 16:50:55 UTC (rev 1610) @@ -167,6 +167,9 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; # XXX +$PALANG['reply_once'] = 'Reply once'; # XXX +$PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = 'Ver las últimas 10 acciones para '; $PALANG['pViewlog_timestamp'] = 'Fecha/Hora'; Modified: trunk/languages/et.lang =================================================================== --- trunk/languages/et.lang 2013-12-15 21:36:00 UTC (rev 1609) +++ trunk/languages/et.lang 2013-12-22 16:50:55 UTC (rev 1610) @@ -166,6 +166,9 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; # XXX +$PALANG['reply_once'] = 'Reply once'; # XXX +$PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = 'Vaata 10 viimast muudatust domeeniga '; $PALANG['pViewlog_timestamp'] = 'Ajatempel'; Modified: trunk/languages/eu.lang =================================================================== --- trunk/languages/eu.lang 2013-12-15 21:36:00 UTC (rev 1609) +++ trunk/languages/eu.lang 2013-12-22 16:50:55 UTC (rev 1610) @@ -164,6 +164,9 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; # XXX +$PALANG['reply_once'] = 'Reply once'; # XXX +$PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = 'Honen azken 10 ekintzak ikusi '; $PALANG['pViewlog_timestamp'] = 'Data/ordua'; Modified: trunk/languages/fi.lang =================================================================== --- trunk/languages/fi.lang 2013-12-15 21:36:00 UTC (rev 1609) +++ trunk/languages/fi.lang 2013-12-22 16:50:55 UTC (rev 1610) @@ -166,6 +166,9 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; # XXX +$PALANG['reply_once'] = 'Reply once'; # XXX +$PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = 'Näytä viimeiset kymmenen tapahtumaa domainille '; $PALANG['pViewlog_timestamp'] = 'Aikaleima'; Modified: trunk/languages/fo.lang =================================================================== --- trunk/languages/fo.lang 2013-12-15 21:36:00 UTC (rev 1609) +++ trunk/languages/fo.lang 2013-12-22 16:50:55 UTC (rev 1610) @@ -166,6 +166,9 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; # XXX +$PALANG['reply_once'] = 'Reply once'; # XXX +$PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = 'Vís seinastu 10 hendingarnar fyri '; $PALANG['pViewlog_timestamp'] = 'Tíðarstempul'; Modified: trunk/languages/fr.lang =================================================================== --- trunk/languages/fr.lang 2013-12-15 21:36:00 UTC (rev 1609) +++ trunk/languages/fr.lang 2013-12-22 16:50:55 UTC (rev 1610) @@ -167,6 +167,9 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; # XXX +$PALANG['reply_once'] = 'Reply once'; # XXX +$PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = 'Visualiser les 10 dernières action pour '; $PALANG['pViewlog_timestamp'] = 'Date/Heure'; Modified: trunk/languages/hr.lang =================================================================== --- trunk/languages/hr.lang 2013-12-15 21:36:00 UTC (rev 1609) +++ trunk/languages/hr.lang 2013-12-22 16:50:55 UTC (rev 1610) @@ -165,6 +165,9 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; # XXX +$PALANG['reply_once'] = 'Reply once'; # XXX +$PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = 'Pogledaj zadnjih 10 akcija za '; $PALANG['pViewlog_timestamp'] = 'Vrijeme'; Modified: trunk/languages/hu.lang =================================================================== --- trunk/languages/hu.lang 2013-12-15 21:36:00 UTC (rev 1609) +++ trunk/languages/hu.lang 2013-12-22 16:50:55 UTC (rev 1610) @@ -170,6 +170,9 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; # XXX +$PALANG['reply_once'] = 'Reply once'; # XXX +$PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = 'Az utolsó 10 esemény megtekintése: '; $PALANG['pViewlog_timestamp'] = 'Idõbélyeg'; Modified: trunk/languages/is.lang =================================================================== --- trunk/languages/is.lang 2013-12-15 21:36:00 UTC (rev 1609) +++ trunk/languages/is.lang 2013-12-22 16:50:55 UTC (rev 1610) @@ -166,6 +166,9 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; # XXX +$PALANG['reply_once'] = 'Reply once'; # XXX +$PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = 'Skoða síðustu 10 aðgerðir fyrir '; $PALANG['pViewlog_timestamp'] = 'Tími'; Modified: trunk/languages/it.lang =================================================================== --- trunk/languages/it.lang 2013-12-15 21:36:00 UTC (rev 1609) +++ trunk/languages/it.lang 2013-12-22 16:50:55 UTC (rev 1610) @@ -167,6 +167,9 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; # XXX +$PALANG['reply_once'] = 'Reply once'; # XXX +$PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = 'Elenca gli ultimi dieci eventi per '; $PALANG['pViewlog_timestamp'] = 'Orario'; Modified: trunk/languages/ja.lang =================================================================== --- trunk/languages/ja.lang 2013-12-15 21:36:00 UTC (rev 1609) +++ trunk/languages/ja.lang 2013-12-22 16:50:55 UTC (rev 1610) @@ -170,6 +170,9 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; # XXX +$PALANG['reply_once'] = 'Reply once'; # XXX +$PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = '過去10個のアクション '; $PALANG['pViewlog_timestamp'] = 'タイムスタンプ'; Modified: trunk/languages/lt.lang =================================================================== --- trunk/languages/lt.lang 2013-12-15 21:36:00 UTC (rev 1609) +++ trunk/languages/lt.lang 2013-12-22 16:50:55 UTC (rev 1610) @@ -167,6 +167,9 @@ $PALANG['pVacation_reply_type'] = 'Atsakymo tipas'; $PALANG['pVacation_reply_delay_time'] = 'Intervalas'; $PALANG['pVacation_reply_delay_time_text'] = 'Laikas sekundėmis'; +$PALANG['reply_once'] = 'Reply once'; # XXX +$PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = 'Peržiūrėti paskutinius 10 vartotojo veiksmų '; $PALANG['pViewlog_timestamp'] = 'Laikas'; Modified: trunk/languages/mk.lang =================================================================== --- trunk/languages/mk.lang 2013-12-15 21:36:00 UTC (rev 1609) +++ trunk/languages/mk.lang 2013-12-22 16:50:55 UTC (rev 1610) @@ -166,6 +166,9 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; # XXX +$PALANG['reply_once'] = 'Reply once'; # XXX +$PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = 'Преглед на последните 10 операции за: '; $PALANG['pViewlog_timestamp'] = 'Маркер (Timestamp)'; Modified: trunk/languages/nb.lang =================================================================== --- trunk/languages/nb.lang 2013-12-15 21:36:00 UTC (rev 1609) +++ trunk/languages/nb.lang 2013-12-22 16:50:55 UTC (rev 1610) @@ -167,6 +167,9 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; # XXX +$PALANG['reply_once'] = 'Reply once'; # XXX +$PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = 'Vis de 10 siste handlingene for '; $PALANG['pViewlog_timestamp'] = 'Klokkeslett'; Modified: trunk/languages/nl.lang =================================================================== --- trunk/languages/nl.lang 2013-12-15 21:36:00 UTC (rev 1609) +++ trunk/languages/nl.lang 2013-12-22 16:50:55 UTC (rev 1610) @@ -168,6 +168,9 @@ $PALANG['pVacation_reply_type'] = 'Keuze van beantwoording'; $PALANG['pVacation_reply_delay_time'] = 'Interval tijd'; $PALANG['pVacation_reply_delay_time_text'] = 'Tijd in seconds'; +$PALANG['reply_once'] = 'Reply once'; # XXX +$PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = 'Laat de laatste 10 actie\'s zien van '; $PALANG['pViewlog_timestamp'] = 'Tijd'; Modified: trunk/languages/nn.lang =================================================================== --- trunk/languages/nn.lang 2013-12-15 21:36:00 UTC (rev 1609) +++ trunk/languages/nn.lang 2013-12-22 16:50:55 UTC (rev 1610) @@ -165,6 +165,9 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; # XXX +$PALANG['reply_once'] = 'Reply once'; # XXX +$PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = 'Vis de 10 siste handlingene '; $PALANG['pViewlog_timestamp'] = 'Klokkeslett'; Modified: trunk/languages/pl.lang =================================================================== --- trunk/languages/pl.lang 2013-12-15 21:36:00 UTC (rev 1609) +++ trunk/languages/pl.lang 2013-12-22 16:50:55 UTC (rev 1610) @@ -169,6 +169,9 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; # XXX +$PALANG['reply_once'] = 'Reply once'; # XXX +$PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = 'Pokaż 10 ostatnich działań dla '; $PALANG['pViewlog_timestamp'] = 'Data'; Modified: trunk/languages/pt-br.lang =================================================================== --- trunk/languages/pt-br.lang 2013-12-15 21:36:00 UTC (rev 1609) +++ trunk/languages/pt-br.lang 2013-12-22 16:50:55 UTC (rev 1610) @@ -172,6 +172,9 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; # XXX +$PALANG['reply_once'] = 'Reply once'; # XXX +$PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = 'Últimas 10 ações para '; $PALANG['pViewlog_timestamp'] = 'Data/Hora'; Modified: trunk/languages/ru.lang =================================================================== --- trunk/languages/ru.lang 2013-12-15 21:36:00 UTC (rev 1609) +++ trunk/languages/ru.lang 2013-12-22 16:50:55 UTC (rev 1610) @@ -172,6 +172,9 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; # XXX +$PALANG['reply_once'] = 'Reply once'; # XXX +$PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = 'Просмотреть 10 последних действий для '; $PALANG['pViewlog_timestamp'] = 'Время создания/модификации'; Modified: trunk/languages/sk.lang =================================================================== --- trunk/languages/sk.lang 2013-12-15 21:36:00 UTC (rev 1609) +++ trunk/languages/sk.lang 2013-12-22 16:50:55 UTC (rev 1610) @@ -167,6 +167,9 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; # XXX +$PALANG['reply_once'] = 'Reply once'; # XXX +$PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = 'Prehľad 10 posledných akcií pre '; $PALANG['pViewlog_timestamp'] = 'Časová značka'; Modified: trunk/languages/sl.lang =================================================================== --- trunk/languages/sl.lang 2013-12-15 21:36:00 UTC (rev 1609) +++ trunk/languages/sl.lang 2013-12-22 16:50:55 UTC (rev 1610) @@ -166,6 +166,9 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; # XXX +$PALANG['reply_once'] = 'Reply once'; # XXX +$PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = 'Seznam zadnjih 10 operacij za '; $PALANG['pViewlog_timestamp'] = 'Čas'; Modified: trunk/languages/sv.lang =================================================================== --- trunk/languages/sv.lang 2013-12-15 21:36:00 UTC (rev 1609) +++ trunk/languages/sv.lang 2013-12-22 16:50:55 UTC (rev 1610) @@ -168,6 +168,9 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; # XXX +$PALANG['reply_once'] = 'Reply once'; # XXX +$PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = 'Visa dom senaste 10 åtgärderna för '; $PALANG['pViewlog_timestamp'] = 'Tidpunkt'; Modified: trunk/languages/tr.lang =================================================================== --- trunk/languages/tr.lang 2013-12-15 21:36:00 UTC (rev 1609) +++ trunk/languages/tr.lang 2013-12-22 16:50:55 UTC (rev 1610) @@ -166,6 +166,9 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; # XXX +$PALANG['reply_once'] = 'Reply once'; # XXX +$PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = 'Son 10 hareket:'; $PALANG['pViewlog_timestamp'] = 'Timestamp'; Modified: trunk/languages/tw.lang =================================================================== --- trunk/languages/tw.lang 2013-12-15 21:36:00 UTC (rev 1609) +++ trunk/languages/tw.lang 2013-12-22 16:50:55 UTC (rev 1610) @@ -166,6 +166,9 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; # XXX +$PALANG['reply_once'] = 'Reply once'; # XXX +$PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = '查看最新的10項操作日誌 網域名: '; $PALANG['pViewlog_timestamp'] = '時間'; Modified: trunk/model/VacationHandler.php =================================================================== --- trunk/model/VacationHandler.php 2013-12-15 21:36:00 UTC (rev 1609) +++ trunk/model/VacationHandler.php 2013-12-22 16:50:55 UTC (rev 1610) @@ -149,7 +149,6 @@ 'subject' => $row['subject'], 'body' => $row['body'], 'active' => $boolean , - 'reply_type' => $row['reply_type'], 'interval_time' => $row['interval_time'], 'activeFrom' => $row['activefrom'], 'activeUntil' => $row['activeuntil'], @@ -158,12 +157,11 @@ /** * @param string $subject * @param string $body - * @param string $reply_type * @param string $interval_time * @param date $activeFrom * @param date $activeUntil */ - function set_away($subject, $body, $reply_type, $interval_time, $activeFrom, $activeUntil) { + function set_away($subject, $body, $interval_time, $activeFrom, $activeUntil) { $this->remove(); // clean out any notifications that might already have been sent. $E_username = escape_string($this->username); @@ -176,7 +174,6 @@ 'domain' => $domain, 'subject' => $subject, 'body' => $body, - 'reply_type' => $reply_type, 'interval_time' => $interval_time, 'active' => db_get_boolean(true), 'activefrom' => $activeFrom, Modified: trunk/templates/vacation.tpl =================================================================== --- trunk/templates/vacation.tpl 2013-12-15 21:36:00 UTC (rev 1609) +++ trunk/templates/vacation.tpl 2013-12-22 16:50:55 UTC (rev 1610) @@ -45,16 +45,13 @@ <tr> <td class="label"><label>{$PALANG.pVacation_reply_type}:</label></td> - <td><select class="flat" name="fReply_Type">{$select_options}</select></td> + <td> + <select class="flat" name="fInterval_Time"> + {html_options options=$select_options selected=$tInterval_Time} + </select> + </td> <td> </td> </tr> - <tr> - <td class="label"><label>{$PALANG.pVacation_reply_delay_time}:</label></td> - <td><input class="flat" type="text" name="fInterval_Time" value="{$tInterval_Time}" /></td> - <td>{$PALANG.pVacation_reply_delay_time_text}</td> - <td> </td> - </tr> - <tr> <td class="label"><label>{$PALANG.subject}:</label></td> <td><textarea class="flat" rows="3" cols="60" name="fSubject" >{$tSubject}</textarea></td> Modified: trunk/upgrade.php =================================================================== --- trunk/upgrade.php 2013-12-15 21:36:00 UTC (rev 1609) +++ trunk/upgrade.php 2013-12-22 16:50:55 UTC (rev 1610) @@ -1329,9 +1329,11 @@ } function upgrade_1345_mysql() { - $table_vacation = table_by_key('vacation'); - db_query_parsed("ALTER TABLE `$table_vacation` ADD `reply_type` VARCHAR( 20 ) NOT NULL AFTER `domain` "); - db_query_parsed("ALTER TABLE `$table_vacation` ADD `interval_time` INT NOT NULL DEFAULT '0' AFTER `reply_type` "); + # $table_vacation = table_by_key('vacation'); + # adding and usage of reply_type field removed in r1610 + # db_query_parsed("ALTER TABLE `$table_vacation` ADD `reply_type` VARCHAR( 20 ) NOT NULL AFTER `domain` "); + # obsoleted by upgrade_1610() + # db_query_parsed("ALTER TABLE `$table_vacation` ADD `interval_time` INT NOT NULL DEFAULT '0' AFTER `reply_type` "); } function upgrade_1519() { @@ -1340,6 +1342,10 @@ _db_add_field('fetchmail', 'sslfingerprint', "VARCHAR(255) {LATIN1} DEFAULT ''", 'sslcertpath'); } +function upgrade_1610() { + # obsoletes upgrade_1345_mysql() - which means debug mode could print "field already exists" + _db_add_field('vacation', 'interval_time', '{INT}', 'domain'); +} # TODO MySQL: # - various varchar fields do not have a default value Modified: trunk/vacation.php =================================================================== --- trunk/vacation.php 2013-12-15 21:36:00 UTC (rev 1609) +++ trunk/vacation.php 2013-12-22 16:50:55 UTC (rev 1610) @@ -68,6 +68,10 @@ $vh = new VacationHandler($fUsername); +$choice_of_reply = Config::read('vacation_choice_of_reply'); +foreach (array_keys($choice_of_reply) as $key) { + $choice_of_reply[$key] = Config::Lang($choice_of_reply[$key]); +} if ($_SERVER['REQUEST_METHOD'] == "GET") { $tSubject = ''; @@ -75,14 +79,12 @@ $tActiveFrom = ''; $tActiveUntil = ''; $tUseremail = $fUsername; - $tReply_Type = ''; $tInterval_Time = ''; $details = $vh->get_details(); if($details != false) { $tSubject = $details['subject']; $tBody = $details['body']; - $tReply_Type = $details['reply_type']; $tInterval_Time = $details['interval_time']; $tActiveFrom = $details['activeFrom']; $tActiveUntil = $details['activeUntil']; @@ -97,12 +99,6 @@ if ($tSubject == '') { $tSubject = html_entity_decode($PALANG['pUsersVacation_subject_text'], ENT_QUOTES, 'UTF-8'); } if ($tBody == '') { $tBody = html_entity_decode($PALANG['pUsersVacation_body_text'], ENT_QUOTES, 'UTF-8'); } - if ($tReply_Type =='') { $tReply_Type = $CONF['vacation_replytype_default'];} - if ($tReply_Type =='One Reply') { $tInterval_Time = '0';} - if ($tReply_Type =='Auto Reply') { $tInterval_Time = $CONF['vacation_autoreplydelay_default'];} - if (($tReply_Type =='Interval Reply') and ($tInterval_Time =='')) { $tInterval_Time = $CONF['vacation_intervaldelay_default'];} - if (($tReply_Type =='Interval Reply') and ($tInterval_Time <= $CONF['vacation_autoreplydelay_default'])) { $tInterval_Time = $CONF['vacation_intervaldelay_default'];} - } if ($_SERVER['REQUEST_METHOD'] == "POST") @@ -120,7 +116,6 @@ $tBody = safepost('fBody'); $fBody = $tBody; - $tReply_Type = safepost('fReply_Type'); $tInterval_Time = safepost('fInterval_Time'); $fChange = escape_string (safepost('fChange')); @@ -131,14 +126,12 @@ //set a default, reset fields for coming back selection if ($tSubject == '') { $tSubject = html_entity_decode($PALANG['pUsersVacation_subject_text'], ENT_QUOTES, 'UTF-8'); } if ($tBody == '') { $tBody = html_entity_decode($PALANG['pUsersVacation_body_text'], ENT_QUOTES, 'UTF-8'); } - if ($tReply_Type =='') { $tReply_Type = $CONF['vacation_replytype_default'];} - if ($tReply_Type =='One Reply') { $tInterval_Time = '0';} - if ($tReply_Type =='Auto Reply') { $tInterval_Time = $CONF['vacation_autoreplydelay_default'];} - if (($tReply_Type =='Interval Reply') and ($tInterval_Time =='')) { $tInterval_Time = $CONF['vacation_intervaldelay_default'];} - if (($tReply_Type =='Interval Reply') and ($tInterval_Time <= $CONF['vacation_autoreplydelay_default'])) { $tInterval_Time = $CONF['vacation_intervaldelay_default'];} - $fReply_Type = $tReply_Type ; - $fInterval_Time = $tInterval_Time; + if (isset($choice_of_reply[$tInterval_Time])) { + $fInterval_Time = $tInterval_Time; + } else { + $fInterval_Time = 0; + } // if they've set themselves change OR back, delete any record of vacation emails. // the user is going away - set the goto alias and vacation table as necessary. @@ -146,7 +139,7 @@ //Set the vacation data for $fUsername if (!empty ($fChange)) { - if(!$vh->set_away($fSubject, $fBody, $fReply_Type, $fInterval_Time, $tActiveFrom, $tActiveUntil)) { + if(!$vh->set_away($fSubject, $fBody, $fInterval_Time, $tActiveFrom, $tActiveUntil)) { $error = 1; } } @@ -176,17 +169,25 @@ else { flash_error($PALANG['pVacation_result_error']); } -if (empty ($tActiveFrom)) - $tActiveFrom = date ("Y-m-d"); -if (empty ($tActiveUntil)) - $tActiveUntil = date ("Y-m-d"); +$today = date ("Y-m-d"); +if (empty ($tActiveFrom)) $tActiveFrom = $today; +if (empty ($tActiveUntil)) $tActiveUntil = $today; + +if ( ! $details['active']) { + # if vacation is disabled, there's no point in displaying the date of the last vacation ;-) + # (which also means users would have to scroll in the calendar a lot) + # so let's be user-friendly and set today's date (but only if the last vacation is in the past) + if ($tActiveFrom < $today) $tActiveFrom = $today; + if ($tActiveUntil < $today) $tActiveUntil = $today; +} + $smarty->assign ('tUseremail', $tUseremail); $smarty->assign ('tSubject', $tSubject); $smarty->assign ('tBody', $tBody); $smarty->assign ('tActiveFrom', date ("d.m.Y", strtotime ($tActiveFrom))); $smarty->assign ('tActiveUntil', date ("d.m.Y", strtotime ($tActiveUntil))); -$smarty->assign ('select_options', select_options ( $CONF ['vacation_choice_of_reply'], array ($tReply_Type)),false); +$smarty->assign ('select_options', $choice_of_reply); $smarty->assign ('tInterval_Time', $tInterval_Time); $smarty->assign ('smarty_template', 'vacation'); $smarty->display ('index.tpl'); Modified: trunk/xmlrpc.php =================================================================== --- trunk/xmlrpc.php 2013-12-15 21:36:00 UTC (rev 1609) +++ trunk/xmlrpc.php 2013-12-22 16:50:55 UTC (rev 1610) @@ -137,7 +137,7 @@ */ public function setAway($subject, $body, $interval_time = 0, $activeFrom = '2000-01-01', $activeUntil = '2099-12-31') { $vh = new VacationHandler($_SESSION['sessid']['username']); - return $vh->set_away($subject, $body, '', $interval_time, $activeFrom, $activeUntil); + return $vh->set_away($subject, $body, $interval_time, $activeFrom, $activeUntil); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2013-12-26 14:35:09
|
Revision: 1613 http://sourceforge.net/p/postfixadmin/code/1613 Author: christian_boltz Date: 2013-12-26 14:35:02 +0000 (Thu, 26 Dec 2013) Log Message: ----------- config.inc.php: - remove unused config options: - $CONF['vacation_replytype_control'] - $CONF['vacation_allow_user_reply']; - $CONF['vacation_autoreplydelay_default'] - $CONF['vacation_intervaldelay_default'] CHANGELOG.TXT - update with vacation changes Modified Paths: -------------- trunk/CHANGELOG.TXT trunk/config.inc.php Modified: trunk/CHANGELOG.TXT =================================================================== --- trunk/CHANGELOG.TXT 2013-12-26 14:27:45 UTC (rev 1612) +++ trunk/CHANGELOG.TXT 2013-12-26 14:35:02 UTC (rev 1613) @@ -9,7 +9,6 @@ # Last update: # $Id$ -# (last real update was in r1166 - the above Id: was a minor change) Version ***svn*** - 2013/12/09 - SVN r*** ----------------------------------- @@ -40,8 +39,7 @@ - at least 2 characters - at least 2 digits - $CONF['*_struct_hook'] - make $struct in the *Handler classes customizeable - - $CONF['vacation_replytype_control'] - allow selecting vacation reply interval -******* and various other options related to this feature *********** + - $CONF['vacation_choice_of_reply'] - list of reply interval options - $CONF[domain_quota] - total quota per domain - $CONF['theme_custom_css'] - to add some custom CSS without editing the default CSS file @@ -203,48 +201,17 @@ VacationHandler: - rewrite based on PFAHandler (not useable yet) - - ------------------------------------------------------------------------ - - vacation: - - add ability to choose activation date, end date and reply interval for - vacation message -*** reply interval needs rework, -*** http://sourceforge.net/p/postfixadmin/patches/111/ + vacation message - http://sourceforge.net/p/postfixadmin/patches/111/ - vacation.pl - - encode subject - https://sourceforge.net/p/postfixadmin/bugs/272/ + vacation.pl: + - encode subject - https://sourceforge.net/p/postfixadmin/bugs/272/ , https://sourceforge.net/p/postfixadmin/patches/119/ - - - - - r1373 | GingerDog | 2012-04-19 23:55:36 +0200 (Do, 19. Apr 2012) | 1 Zeile - M /trunk/VIRTUAL_VACATION/vacation.pl - M /trunk/config.inc.php - M /trunk/model/VacationHandler.php - M /trunk/templates/vacation.tpl - M /trunk/upgrade.php - M /trunk/vacation.php - - Merge jan-kruis's vacation interval reply behaviour - see - http://sourceforge.net/p/postfixadmin/patches/111/ - - M /trunk/VIRTUAL_VACATION/vacation.pl - - add a friendly from address to vacation messages ("Vacation Service"); - probably needs more work to beautify it though...; - - change error handling if we cannot - send the reply to be hopefully more robust - + - add a friendly from address to vacation messages ($friendly_from) + - make error handling if we cannot send the reply more robust - add $smtp_client config option to specify the helo name - - added custom noreply detection + - added custom noreply detection ($noreply_pattern, $custom_noreply_pattern) - ------------------------------------------------------------------------ - Config.php - new class to store $CONF - also used to store $PALANG texts (Config::Lang()) Modified: trunk/config.inc.php =================================================================== --- trunk/config.inc.php 2013-12-26 14:27:45 UTC (rev 1612) +++ trunk/config.inc.php 2013-12-26 14:35:02 UTC (rev 1613) @@ -324,17 +324,6 @@ // Set to 'YES' if your domain admins should be able to edit user vacation. $CONF['vacation_control_admin'] = 'YES'; -// Alllow ReplyType Control -// This varible will be checked in ./templates/vacation.tpl -// YES means it show the reply option, everything else means it will not show -$CONF['vacation_replytype_control'] = 'YES'; - -// AllowUser Reply -// You can Allow or Disable User control over Reply Type -// This variable will be checked in ./templates/vacation.tpl -// YES means it show the reply option, anything else means it will not show -$CONF['vacation_allow_user_reply'] = 'YES'; - // ReplyType options // If you want to define additional reply options put them in array below. // The array has the format seconds between replies => $PALANG text @@ -348,16 +337,6 @@ 60*60 *24*7 => 'reply_once_per_week' // Reply if last autoreply was at least a week ago ); -// autoreplydelay -// You should define autodefaultdelay is seconds -// if a new message comes in within this delay it most likely that that the sender is -// autoreplying on our autoreply message. -$CONF['vacation_autoreplydelay_default'] = '10'; - -// Replydelay default -// You should define default replydelay time here time in in seconds. -$CONF['vacation_intervaldelay_default'] = '86400'; // is 1 day = 60 sec * 60 min * 24 hours - // // End Vacation Stuff. // This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2013-12-28 21:01:47
|
Revision: 1617 http://sourceforge.net/p/postfixadmin/code/1617 Author: christian_boltz Date: 2013-12-28 21:01:44 +0000 (Sat, 28 Dec 2013) Log Message: ----------- setup.php: - recommend PHP >= 5.2.3 - beautify some mysql/pgsql messages CHANGELOG.TXT - add vacation.pl "$SUBJECT" - remove TODO for setup.php - add "Changes since 2.3.6 release" (from 2.3 branch) Modified Paths: -------------- trunk/CHANGELOG.TXT trunk/setup.php Modified: trunk/CHANGELOG.TXT =================================================================== --- trunk/CHANGELOG.TXT 2013-12-28 19:37:30 UTC (rev 1616) +++ trunk/CHANGELOG.TXT 2013-12-28 21:01:44 UTC (rev 1617) @@ -205,6 +205,8 @@ vacation message - http://sourceforge.net/p/postfixadmin/patches/111/ vacation.pl: + - allow to use original subject in vacation reply subject ("Re: $SUBJECT") + http://sourceforge.net/p/postfixadmin/patches/117/ - encode subject - https://sourceforge.net/p/postfixadmin/bugs/272/ , https://sourceforge.net/p/postfixadmin/patches/119/ - add a friendly from address to vacation messages ($friendly_from) @@ -248,11 +250,6 @@ Note: The ALL domain is not (yet) deleted to stay backwards-compatible for now (will be done in a later upgrade function) - setup.php: -****** TODO: fix the TODO ;-) - - add TODO note to check for PHP >= 5.2.3 because smarty uses - htmlentities with 4 parameters (4th param added in PHP 5.2.3) - login.php - when login.php is requested, logout the current admin/user https://sourceforge.net/p/postfixadmin/bugs/284/ @@ -293,6 +290,17 @@ - postfixadmin.docs: removed redundant changelog file - debian/postfixadmin.postrm: Call wwwconfig scripts only if they are existing +Changes since 2.3.6 release (from 2.3 branch) +---------------------------------------------------------------- + - lt.lang, da.lang translation update + - when enabling/disabling a mailbox, also update the corresponding alias + - fix creating superadmin in setup.php with MariaDB (more strict SQL) + - trim() localpart in create-mailbox to avoid mailbox names with leading space + - mark vacation_notification.notified field as latin1 to avoid overlong index + - vacation.pl: encode subject + - vacation.pl: disable use of TLS by default due to a bug in Mail::Sender 0.8.22 + (you can re-enable it with $smtp_tls_allowed) + Version 2.3.6 - 2013/01/02 - SVN r1417 (postfixadmin-2.3 branch) ---------------------------------------------------------------- Modified: trunk/setup.php =================================================================== --- trunk/setup.php 2013-12-28 19:37:30 UTC (rev 1616) +++ trunk/setup.php 2013-12-28 21:01:44 UTC (rev 1617) @@ -64,9 +64,13 @@ if (phpversion() < 5) { print "<li><b>Error: Depends on: PHP v5</b><br /></li>\n"; $error += 1; - } - if (phpversion() >= 5) { + } elseif (version_compare(phpversion(), '5.2.3') < 0) { + # smarty uses htmlentities() with 4 parameters, the 4th parameter was introduced in PHP 5.2.3 + # older PHP versions will cause warnings $phpversion = 5; + print "<li><b>Recommended PHP version: >= 5.2.3, you have " . phpversion () . "</b></li>\n"; + } else { + $phpversion = 5; print "<li>PHP version " . phpversion () . "</li>\n"; } # TODO: check for PHP >= 5.2.3 - smarty uses htmlentities with 4 parameters. The forth parameter was added in PHP 5.2.3, older versions will give a warning @@ -198,7 +202,7 @@ { print "<li>Depends on: MySQL 4.1 - OK\n"; if ( !($config_loaded && $CONF['database_type'] == 'mysqli') ) { - print "(change the database_type to 'mysqli' in config.inc.php!!)\n"; + print "<br>(change the database_type to 'mysqli' in config.inc.php if you want to use MySQL)\n"; } print "</li>"; } @@ -211,7 +215,7 @@ { print "<li>Depends on: PostgreSQL - OK \n"; if ( !($config_loaded && $CONF['database_type'] == 'pgsql') ) { - print "(change the database_type to 'pgsql' in config.inc.php!!)\n"; + print "<br>(change the database_type to 'pgsql' in config.inc.php if you want to use PostgreSQL)\n"; } print "</li>"; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2014-01-21 18:24:28
|
Revision: 1629 http://sourceforge.net/p/postfixadmin/code/1629 Author: christian_boltz Date: 2014-01-21 18:24:25 +0000 (Tue, 21 Jan 2014) Log Message: ----------- templates/editform.tpl: - change all field names to "value[$key]" instead of just "$key" to keep the main "namespace" clean edit.php: - adjust POST handling code to changed form field names ("value[$key]") Modified Paths: -------------- trunk/edit.php trunk/templates/editform.tpl Modified: trunk/edit.php =================================================================== --- trunk/edit.php 2014-01-21 15:38:11 UTC (rev 1628) +++ trunk/edit.php 2014-01-21 18:24:25 UTC (rev 1629) @@ -82,13 +82,17 @@ if ($_SERVER['REQUEST_METHOD'] == "POST") { + $inp_values = safepost('value', array() ); foreach($form_fields as $key => $field) { if ($field['editable'] && $field['display_in_form']) { - if($field['type'] == 'bool') { - $values[$key] = safepost($key, 0); # isset() for unchecked checkboxes is always false + if (!isset($inp_values[$key])) { + if($field['type'] == 'bool') { + $values[$key] = 0; # isset() for unchecked checkboxes is always false + } + # do nothing for other field types } elseif($field['type'] == 'txtl') { - $values[$key] = safepost($key); + $values[$key] = $inp_values[$key]; $values[$key] = preg_replace ('/\\\r\\\n/', ',', $values[$key]); $values[$key] = preg_replace ('/\r\n/', ',', $values[$key]); $values[$key] = preg_replace ('/,[\s]+/i', ',', $values[$key]); @@ -101,7 +105,7 @@ $values[$key] = explode(",", $values[$key]); } } else { - $values[$key] = safepost($key); + $values[$key] = $inp_values[$key]; } } } Modified: trunk/templates/editform.tpl =================================================================== --- trunk/templates/editform.tpl 2014-01-21 15:38:11 UTC (rev 1628) +++ trunk/templates/editform.tpl 2014-01-21 18:24:25 UTC (rev 1629) @@ -22,28 +22,28 @@ {if $table == 'foo' && $key == 'bar'} Special handling (td content) for {$table} / {$key} {elseif $field.type == 'bool'} - <input class="flat" type="checkbox" value='1' name="{$key}"{if {$value_{$key}} == 1} checked="checked"{/if}/> + <input class="flat" type="checkbox" value='1' name="value[{$key}]"{if {$value_{$key}} == 1} checked="checked"{/if}/> {elseif $field.type == 'enum'} - <select class="flat" name="{$key}"> + <select class="flat" name="value[{$key}]"> {html_options output=$struct.{$key}.options values=$struct.{$key}.options selected=$value_{$key}} </select> {elseif $field.type == 'list'} - <select class="flat" name="{$key}[]" size="10" multiple="multiple"> + <select class="flat" name="value[{$key}][]" size="10" multiple="multiple"> {html_options output=$struct.{$key}.options values=$struct.{$key}.options selected=$value_{$key}} </select> <!-- alternative: <div style='max-height:30em; overflow:auto;'> - {html_checkboxes name={$key} output=$struct.{$key}.options values=$struct.{$key}.options selected=$value_{$key} separator="<br />"} + {html_checkboxes name="value[{$key}]" output=$struct.{$key}.options values=$struct.{$key}.options selected=$value_{$key} separator="<br />"} </div> --> {elseif $field.type == 'pass'} - <input class="flat" type="password" name="{$key}" /> + <input class="flat" type="password" name="value[{$key}]" /> {elseif $field.type == 'txtl'} - <textarea class="flat" rows="10" cols="35" name="{$key}">{foreach key=key2 item=field2 from=$value_{$key}}{$field2} + <textarea class="flat" rows="10" cols="35" name="value[{$key}]">{foreach key=key2 item=field2 from=$value_{$key}}{$field2} {/foreach}</textarea> {else} - <input class="flat" type="text" name="{$key}" value="{$value_{$key}}" /> + <input class="flat" type="text" name="value[{$key}]" value="{$value_{$key}}" /> {/if} {/if} </td> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2014-05-06 19:46:30
|
Revision: 1670 http://sourceforge.net/p/postfixadmin/code/1670 Author: christian_boltz Date: 2014-05-06 19:46:27 +0000 (Tue, 06 May 2014) Log Message: ----------- version 2.91 aka 3.0 beta1 Modified Paths: -------------- trunk/CHANGELOG.TXT trunk/debian/changelog trunk/functions.inc.php Modified: trunk/CHANGELOG.TXT =================================================================== --- trunk/CHANGELOG.TXT 2014-05-02 16:48:21 UTC (rev 1669) +++ trunk/CHANGELOG.TXT 2014-05-06 19:46:27 UTC (rev 1670) @@ -9,8 +9,8 @@ # Last update: # $Id$ -Version ***svn*** - 2014/02/__ - SVN r*** ------------------------------------ +Version 3.0 beta1 (2.91) - 2014/05/06 - SVN r1670 +------------------------------------------------- Summary of major changes: - new command-line interface "postfixadmin-cli" @@ -23,6 +23,8 @@ (see $CONF['*_struct_hook']) - lots of code cleanup, remove/merge lots of duplicated code and templates - use smarty for templates + - add ability to choose activation date, end date and reply interval for + vacation message - various enhancements everywhere - redesign login page, list and edit pages (goodbye, green!) and make them wider - several new config options and changed defaults @@ -40,7 +42,7 @@ - at least 2 digits - $CONF['*_struct_hook'] - make $struct in the *Handler classes customizeable - $CONF['vacation_choice_of_reply'] - list of reply interval options - - $CONF[domain_quota] - total quota per domain + - $CONF['domain_quota'] - total quota per domain - $CONF['theme_custom_css'] - to add some custom CSS without editing the default CSS file - $CONF['motd_*'] - replaces motd*.txt @@ -65,7 +67,7 @@ removed config options: - $CONF['min_password_length'] - now handled in /.{5}/ in $CONF['password_validation'] - - $CONF[postfix_admin_url] - relative paths are now used everywhere + - $CONF['postfix_admin_url'] - relative paths are now used everywhere list-virtual.php: - display percentage of quota usage Modified: trunk/debian/changelog =================================================================== --- trunk/debian/changelog 2014-05-02 16:48:21 UTC (rev 1669) +++ trunk/debian/changelog 2014-05-06 19:46:27 UTC (rev 1670) @@ -1,8 +1,8 @@ -postfixadmin (2.9.1-1) unstable; urgency=low +postfixadmin (2.91-1) unstable; urgency=low * New upstream release (effectively beta for v3.0) - -- David Goodwin <da...@pa...> Mon, 28 Apr 2014 21:36:00 +0100 + -- David Goodwin <da...@pa...> Tue, 06 May 2014 21:36:00 +0100 postfixadmin (2.3.5-2) unstable; urgency=low Modified: trunk/functions.inc.php =================================================================== --- trunk/functions.inc.php 2014-05-02 16:48:21 UTC (rev 1669) +++ trunk/functions.inc.php 2014-05-06 19:46:27 UTC (rev 1670) @@ -15,7 +15,7 @@ * Contains re-usable code. */ -$version = '2.4 develop'; +$version = '2.91'; /** * check_session This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2014-09-28 10:39:51
|
Revision: 1690 http://sourceforge.net/p/postfixadmin/code/1690 Author: christian_boltz Date: 2014-09-28 10:39:42 +0000 (Sun, 28 Sep 2014) Log Message: ----------- DomainHandler: - $CONF[default_aliases] can now use the new domain as alias target http://sourceforge.net/p/postfixadmin/patches/124/ config.inc.php: - update comment for $CONF[default_aliases] Modified Paths: -------------- trunk/CHANGELOG.TXT trunk/config.inc.php trunk/model/DomainHandler.php Modified: trunk/CHANGELOG.TXT =================================================================== --- trunk/CHANGELOG.TXT 2014-09-12 11:19:09 UTC (rev 1689) +++ trunk/CHANGELOG.TXT 2014-09-28 10:39:42 UTC (rev 1690) @@ -21,6 +21,7 @@ - fix logging (run setup.php to fix old log entries) (bug#317) - fetchmail.php: change error_reporting() to exclude E_NOTICE (bug#322) - fr.lang translation update (patch#123) +- $CONF[default_aliases] can now use the new domain as alias target (patch#124) Version 3.0 beta1 (2.91) - 2014/05/06 - SVN r1670 ------------------------------------------------- Modified: trunk/config.inc.php =================================================================== --- trunk/config.inc.php 2014-09-12 11:19:09 UTC (rev 1689) +++ trunk/config.inc.php 2014-09-28 10:39:42 UTC (rev 1690) @@ -180,6 +180,9 @@ // Default Aliases // The default aliases that need to be created for all domains. +// You can specify the target address in two ways: +// a) a full mail address +// b) only a localpart ('postmaster' => 'admin') - the alias target will point to the same domain $CONF['default_aliases'] = array ( 'abuse' => 'ab...@ch...d', 'hostmaster' => 'hos...@ch...d', Modified: trunk/model/DomainHandler.php =================================================================== --- trunk/model/DomainHandler.php 2014-09-12 11:19:09 UTC (rev 1689) +++ trunk/model/DomainHandler.php 2014-09-28 10:39:42 UTC (rev 1690) @@ -104,6 +104,10 @@ if ($this->new && $this->values['default_aliases']) { foreach (Config::read('default_aliases') as $address=>$goto) { $address = $address . "@" . $this->id; + # if $goto doesn't contain @, let the alias point to the same domain + if(!strstr($goto, '@')) { + $goto = $goto . "@" . $this->id; + } # TODO: use AliasHandler->add instead of writing directly to the alias table $arr = array( 'address' => $address, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2014-10-07 16:11:52
|
Revision: 1694 http://sourceforge.net/p/postfixadmin/code/1694 Author: christian_boltz Date: 2014-10-07 16:11:49 +0000 (Tue, 07 Oct 2014) Log Message: ----------- config.inc.php: - add note that $CONF[vacation_domain] can't be used for "normal" mails model/DomainHandler.php: - validate_new_id(): - error out when trying to add $CONF[vacation_domain] - some whitespace fixes - remove superfluous comment on initStruct() *.lang: - add 'domain_conflict_vacation_domain' error message Modified Paths: -------------- trunk/config.inc.php trunk/languages/bg.lang trunk/languages/ca.lang trunk/languages/cn.lang trunk/languages/cs.lang trunk/languages/da.lang trunk/languages/de.lang trunk/languages/en.lang trunk/languages/es.lang trunk/languages/et.lang trunk/languages/eu.lang trunk/languages/fi.lang trunk/languages/fo.lang trunk/languages/fr.lang trunk/languages/hr.lang trunk/languages/hu.lang trunk/languages/is.lang trunk/languages/it.lang trunk/languages/ja.lang trunk/languages/lt.lang trunk/languages/mk.lang trunk/languages/nb.lang trunk/languages/nl.lang trunk/languages/nn.lang trunk/languages/pl.lang trunk/languages/pt-br.lang trunk/languages/ru.lang trunk/languages/sk.lang trunk/languages/sl.lang trunk/languages/sv.lang trunk/languages/tr.lang trunk/languages/tw.lang trunk/model/DomainHandler.php Modified: trunk/config.inc.php =================================================================== --- trunk/config.inc.php 2014-10-05 22:09:42 UTC (rev 1693) +++ trunk/config.inc.php 2014-10-07 16:11:49 UTC (rev 1694) @@ -317,6 +317,7 @@ // This is the autoreply domain that you will need to set in your Postfix // transport maps to handle virtual vacations. It does not need to be a // real domain (i.e. you don't need to setup DNS for it). +// This domain must exclusively be used for vacation. Do NOT use it for "normal" mail addresses. $CONF['vacation_domain'] = 'autoreply.change-this-to-your.domain.tld'; // Vacation Control Modified: trunk/languages/bg.lang =================================================================== --- trunk/languages/bg.lang 2014-10-05 22:09:42 UTC (rev 1693) +++ trunk/languages/bg.lang 2014-10-07 16:11:49 UTC (rev 1694) @@ -242,6 +242,7 @@ $PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX $PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Unable to remove domain alias!'; # XXX +$PALANG['domain_conflict_vacation_domain'] = 'You can\'t use the vacation domain as mail domain!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = 'Редактиране на домейн'; $PALANG['pAdminEdit_domain_aliases_text'] = '0 = изключени | -1 = неограничени'; Modified: trunk/languages/ca.lang =================================================================== --- trunk/languages/ca.lang 2014-10-05 22:09:42 UTC (rev 1693) +++ trunk/languages/ca.lang 2014-10-07 16:11:49 UTC (rev 1694) @@ -240,6 +240,7 @@ $PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX $PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Unable to remove domain alias!'; # XXX +$PALANG['domain_conflict_vacation_domain'] = 'You can\'t use the vacation domain as mail domain!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = 'Editar un domini'; $PALANG['pAdminEdit_domain_aliases_text'] = '-1 = ilimitat | 0 = deshabilitar'; Modified: trunk/languages/cn.lang =================================================================== --- trunk/languages/cn.lang 2014-10-05 22:09:42 UTC (rev 1693) +++ trunk/languages/cn.lang 2014-10-07 16:11:49 UTC (rev 1694) @@ -241,6 +241,7 @@ $PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX $PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Unable to remove domain alias!'; # XXX +$PALANG['domain_conflict_vacation_domain'] = 'You can\'t use the vacation domain as mail domain!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = '修改域'; $PALANG['pAdminEdit_domain_aliases_text'] = '-1 = 禁止 | 0 = 无限制'; # XXX check / compare with pAdminCreate_domain_aliases_text - should be "-1 = disable | ..." Modified: trunk/languages/cs.lang =================================================================== --- trunk/languages/cs.lang 2014-10-05 22:09:42 UTC (rev 1693) +++ trunk/languages/cs.lang 2014-10-07 16:11:49 UTC (rev 1694) @@ -250,6 +250,7 @@ $PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX $PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Unable to remove domain alias!'; # XXX +$PALANG['domain_conflict_vacation_domain'] = 'You can\'t use the vacation domain as mail domain!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = 'Upravit doménu'; $PALANG['pAdminEdit_domain_aliases_text'] = '-1 = znepřístupnit | 0 = neomezeně'; Modified: trunk/languages/da.lang =================================================================== --- trunk/languages/da.lang 2014-10-05 22:09:42 UTC (rev 1693) +++ trunk/languages/da.lang 2014-10-07 16:11:49 UTC (rev 1694) @@ -250,6 +250,7 @@ $PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX $PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Domæne-aliaset kunne ikke slettes!'; +$PALANG['domain_conflict_vacation_domain'] = 'You can\'t use the vacation domain as mail domain!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = 'Redigér et domæne'; $PALANG['pAdminEdit_domain_aliases_text'] = '-1 = annullér | 0 = uendeligt'; Modified: trunk/languages/de.lang =================================================================== --- trunk/languages/de.lang 2014-10-05 22:09:42 UTC (rev 1693) +++ trunk/languages/de.lang 2014-10-07 16:11:49 UTC (rev 1694) @@ -247,6 +247,7 @@ $PALANG['mailbox_postedit_failed'] = 'Fehler beim Ausführen des mailbox postedit-Scripts, überprüfen Sie das Error-Log für Details!'; $PALANG['mailbox_postcreate_failed'] = 'Fehler beim Ausführen des mailbox postcreate-Scripts, überprüfen Sie das Error-Log für Details!'; $PALANG['pAdminDelete_alias_domain_error'] = 'Alias-Domain konnte nicht gelöscht werden!'; +$PALANG['domain_conflict_vacation_domain'] = 'Sie können die Vacation-Domain nicht als Maildomain benutzen!'; $PALANG['pAdminEdit_domain_welcome'] = 'Domain bearbeiten'; $PALANG['pAdminEdit_domain_aliases_text'] = '-1 = ausschalten | 0 = kein Limit'; Modified: trunk/languages/en.lang =================================================================== --- trunk/languages/en.lang 2014-10-05 22:09:42 UTC (rev 1693) +++ trunk/languages/en.lang 2014-10-07 16:11:49 UTC (rev 1694) @@ -248,6 +248,7 @@ $PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; $PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; $PALANG['pAdminDelete_alias_domain_error'] = 'Unable to remove domain alias!'; +$PALANG['domain_conflict_vacation_domain'] = 'You can\'t use the vacation domain as mail domain!'; $PALANG['pAdminEdit_domain_welcome'] = 'Edit a domain'; $PALANG['pAdminEdit_domain_aliases_text'] = '-1 = disable | 0 = unlimited'; Modified: trunk/languages/es.lang =================================================================== --- trunk/languages/es.lang 2014-10-05 22:09:42 UTC (rev 1693) +++ trunk/languages/es.lang 2014-10-07 16:11:49 UTC (rev 1694) @@ -242,6 +242,7 @@ $PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX $PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = '¡No se pudo eliminar el alias de dominio!'; +$PALANG['domain_conflict_vacation_domain'] = 'You can\'t use the vacation domain as mail domain!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = 'Editar un dominio'; $PALANG['pAdminEdit_domain_aliases_text'] = '-1 = deshabilitar | 0 = ilimitado'; Modified: trunk/languages/et.lang =================================================================== --- trunk/languages/et.lang 2014-10-05 22:09:42 UTC (rev 1693) +++ trunk/languages/et.lang 2014-10-07 16:11:49 UTC (rev 1694) @@ -241,6 +241,7 @@ $PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX $PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Unable to remove domain alias!'; # XXX +$PALANG['domain_conflict_vacation_domain'] = 'You can\'t use the vacation domain as mail domain!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = 'Redigeeri domeeni'; $PALANG['pAdminEdit_domain_aliases_text'] = '-1 = keelatud | 0 = piiramatult'; Modified: trunk/languages/eu.lang =================================================================== --- trunk/languages/eu.lang 2014-10-05 22:09:42 UTC (rev 1693) +++ trunk/languages/eu.lang 2014-10-07 16:11:49 UTC (rev 1694) @@ -239,6 +239,7 @@ $PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX $PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Unable to remove domain alias!'; # XXX +$PALANG['domain_conflict_vacation_domain'] = 'You can\'t use the vacation domain as mail domain!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = 'Domeinu bat aldatu'; $PALANG['pAdminEdit_domain_aliases_text'] = '-1 = desegokitu | 0 = mugagabea'; Modified: trunk/languages/fi.lang =================================================================== --- trunk/languages/fi.lang 2014-10-05 22:09:42 UTC (rev 1693) +++ trunk/languages/fi.lang 2014-10-07 16:11:49 UTC (rev 1694) @@ -241,6 +241,7 @@ $PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX $PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Domainin aliasta ei voitu poistaa!'; +$PALANG['domain_conflict_vacation_domain'] = 'You can\'t use the vacation domain as mail domain!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = 'Muokkaa domainia'; $PALANG['pAdminEdit_domain_aliases_text'] = '-1 = ei käytössä | 0 = rajoittamaton'; Modified: trunk/languages/fo.lang =================================================================== --- trunk/languages/fo.lang 2014-10-05 22:09:42 UTC (rev 1693) +++ trunk/languages/fo.lang 2014-10-07 16:11:49 UTC (rev 1694) @@ -241,6 +241,7 @@ $PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX $PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Unable to remove domain alias!'; # XXX +$PALANG['domain_conflict_vacation_domain'] = 'You can\'t use the vacation domain as mail domain!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = 'Broyt navnaøki'; $PALANG['pAdminEdit_domain_aliases_text'] = '-1 = óvirkja | 0 = óavmarkað'; Modified: trunk/languages/fr.lang =================================================================== --- trunk/languages/fr.lang 2014-10-05 22:09:42 UTC (rev 1693) +++ trunk/languages/fr.lang 2014-10-07 16:11:49 UTC (rev 1694) @@ -243,6 +243,7 @@ $PALANG['mailbox_postedit_failed'] = 'Le script postedit du compte courriel a échoué, consultez la log!'; $PALANG['mailbox_postcreate_failed'] = 'Le script postcreate du compte courriel a échoué, consultez la log!'; $PALANG['pAdminDelete_alias_domain_error'] = 'Impossible de supprimé cet alias de domaine!'; +$PALANG['domain_conflict_vacation_domain'] = 'You can\'t use the vacation domain as mail domain!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = 'Modifier un domaine'; $PALANG['pAdminEdit_domain_aliases_text'] = '-1 = désactivé | 0 = illimité'; Modified: trunk/languages/hr.lang =================================================================== --- trunk/languages/hr.lang 2014-10-05 22:09:42 UTC (rev 1693) +++ trunk/languages/hr.lang 2014-10-07 16:11:49 UTC (rev 1694) @@ -240,6 +240,7 @@ $PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX $PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Unable to remove domain alias!'; # XXX +$PALANG['domain_conflict_vacation_domain'] = 'You can\'t use the vacation domain as mail domain!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = 'Uredi domenu'; $PALANG['pAdminEdit_domain_aliases_text'] = '-1 = onemogući | 0 = bezgranično'; Modified: trunk/languages/hu.lang =================================================================== --- trunk/languages/hu.lang 2014-10-05 22:09:42 UTC (rev 1693) +++ trunk/languages/hu.lang 2014-10-07 16:11:49 UTC (rev 1694) @@ -247,6 +247,7 @@ $PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX $PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Unable to remove domain alias!'; # XXX +$PALANG['domain_conflict_vacation_domain'] = 'You can\'t use the vacation domain as mail domain!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = 'Domain szerkesztése'; $PALANG['pAdminEdit_domain_aliases_text'] = '-1 = kikapcsol | 0 = végtelen'; Modified: trunk/languages/is.lang =================================================================== --- trunk/languages/is.lang 2014-10-05 22:09:42 UTC (rev 1693) +++ trunk/languages/is.lang 2014-10-07 16:11:49 UTC (rev 1694) @@ -241,6 +241,7 @@ $PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX $PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Unable to remove domain alias!'; # XXX +$PALANG['domain_conflict_vacation_domain'] = 'You can\'t use the vacation domain as mail domain!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = 'Breyta léni'; $PALANG['pAdminEdit_domain_aliases_text'] = '-1 = óvirkt | 0 = ótakmarkað'; Modified: trunk/languages/it.lang =================================================================== --- trunk/languages/it.lang 2014-10-05 22:09:42 UTC (rev 1693) +++ trunk/languages/it.lang 2014-10-07 16:11:49 UTC (rev 1694) @@ -242,6 +242,7 @@ $PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX $PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Unable to remove domain alias!'; # XXX +$PALANG['domain_conflict_vacation_domain'] = 'You can\'t use the vacation domain as mail domain!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = 'Modifica un domain'; $PALANG['pAdminEdit_domain_aliases_text'] = '-1 = disabilita | 0 = illimitati'; Modified: trunk/languages/ja.lang =================================================================== --- trunk/languages/ja.lang 2014-10-05 22:09:42 UTC (rev 1693) +++ trunk/languages/ja.lang 2014-10-07 16:11:49 UTC (rev 1694) @@ -247,6 +247,7 @@ $PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX $PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Unable to remove domain alias!'; # XXX +$PALANG['domain_conflict_vacation_domain'] = 'You can\'t use the vacation domain as mail domain!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = 'ドメインの修正'; $PALANG['pAdminEdit_domain_aliases_text'] = '-1 = 無効 | 0 = 無制限'; Modified: trunk/languages/lt.lang =================================================================== --- trunk/languages/lt.lang 2014-10-05 22:09:42 UTC (rev 1693) +++ trunk/languages/lt.lang 2014-10-07 16:11:49 UTC (rev 1694) @@ -242,6 +242,7 @@ $PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX $PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Nepavyko panaikinti srities sinonimo!'; +$PALANG['domain_conflict_vacation_domain'] = 'You can\'t use the vacation domain as mail domain!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = 'Keisti sritį'; $PALANG['pAdminEdit_domain_aliases_text'] = '-1 = išjungta(s) | 0 = neribota(s)'; Modified: trunk/languages/mk.lang =================================================================== --- trunk/languages/mk.lang 2014-10-05 22:09:42 UTC (rev 1693) +++ trunk/languages/mk.lang 2014-10-07 16:11:49 UTC (rev 1694) @@ -242,6 +242,7 @@ $PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX $PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Unable to remove domain alias!'; # XXX +$PALANG['domain_conflict_vacation_domain'] = 'You can\'t use the vacation domain as mail domain!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = 'Измена на домен'; $PALANG['pAdminEdit_domain_aliases_text'] = '0 = забрането | -1 = неограничено'; Modified: trunk/languages/nb.lang =================================================================== --- trunk/languages/nb.lang 2014-10-05 22:09:42 UTC (rev 1693) +++ trunk/languages/nb.lang 2014-10-07 16:11:49 UTC (rev 1694) @@ -242,6 +242,7 @@ $PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX $PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Kunne ikke fjerne domenealias!'; +$PALANG['domain_conflict_vacation_domain'] = 'You can\'t use the vacation domain as mail domain!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = 'Endre et domene'; $PALANG['pAdminEdit_domain_aliases_text'] = '-1 = deaktiver | 0 = ubegrenset'; Modified: trunk/languages/nl.lang =================================================================== --- trunk/languages/nl.lang 2014-10-05 22:09:42 UTC (rev 1693) +++ trunk/languages/nl.lang 2014-10-07 16:11:49 UTC (rev 1694) @@ -242,6 +242,7 @@ $PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX $PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Niet in staat domein alias te verwijderen!'; +$PALANG['domain_conflict_vacation_domain'] = 'You can\'t use the vacation domain as mail domain!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = 'Bewerk een domein'; $PALANG['pAdminEdit_domain_aliases_text'] = '-1 = uit | 0 = onbeperkt'; Modified: trunk/languages/nn.lang =================================================================== --- trunk/languages/nn.lang 2014-10-05 22:09:42 UTC (rev 1693) +++ trunk/languages/nn.lang 2014-10-07 16:11:49 UTC (rev 1694) @@ -241,6 +241,7 @@ $PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX $PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Unable to remove domain alias!'; # XXX +$PALANG['domain_conflict_vacation_domain'] = 'You can\'t use the vacation domain as mail domain!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = 'Endre domenet'; $PALANG['pAdminEdit_domain_aliases_text'] = '-1 = deaktivere | 0 = ubegrenset'; Modified: trunk/languages/pl.lang =================================================================== --- trunk/languages/pl.lang 2014-10-05 22:09:42 UTC (rev 1693) +++ trunk/languages/pl.lang 2014-10-07 16:11:49 UTC (rev 1694) @@ -244,6 +244,7 @@ $PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX $PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Nie można usunąć aliasu domeny!'; +$PALANG['domain_conflict_vacation_domain'] = 'You can\'t use the vacation domain as mail domain!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = 'Edytuj domenę'; $PALANG['pAdminEdit_domain_aliases_text'] = '-1 = wyłączone | 0 = bez limitów'; Modified: trunk/languages/pt-br.lang =================================================================== --- trunk/languages/pt-br.lang 2014-10-05 22:09:42 UTC (rev 1693) +++ trunk/languages/pt-br.lang 2014-10-07 16:11:49 UTC (rev 1694) @@ -249,6 +249,7 @@ $PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX $PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Não foi possível remover o alias de domínio!'; +$PALANG['domain_conflict_vacation_domain'] = 'You can\'t use the vacation domain as mail domain!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = 'Edição de domínio.'; $PALANG['pAdminEdit_domain_aliases_text'] = '-1 = desativar | 0 = ilimitado'; Modified: trunk/languages/ru.lang =================================================================== --- trunk/languages/ru.lang 2014-10-05 22:09:42 UTC (rev 1693) +++ trunk/languages/ru.lang 2014-10-07 16:11:49 UTC (rev 1694) @@ -249,6 +249,7 @@ $PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX $PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Невозможно удалить домен-алиас!'; +$PALANG['domain_conflict_vacation_domain'] = 'You can\'t use the vacation domain as mail domain!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = 'Редактирование домена'; $PALANG['pAdminEdit_domain_aliases_text'] = '-1 = отключить | 0 = неограниченное'; Modified: trunk/languages/sk.lang =================================================================== --- trunk/languages/sk.lang 2014-10-05 22:09:42 UTC (rev 1693) +++ trunk/languages/sk.lang 2014-10-07 16:11:49 UTC (rev 1694) @@ -242,6 +242,7 @@ $PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX $PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Nepodario sa odstrániť alias domény!'; +$PALANG['domain_conflict_vacation_domain'] = 'You can\'t use the vacation domain as mail domain!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = 'Upraviť doménu'; $PALANG['pAdminEdit_domain_aliases_text'] = '-1 = zakázať | 0 = neobmedzene'; Modified: trunk/languages/sl.lang =================================================================== --- trunk/languages/sl.lang 2014-10-05 22:09:42 UTC (rev 1693) +++ trunk/languages/sl.lang 2014-10-07 16:11:49 UTC (rev 1694) @@ -241,6 +241,7 @@ $PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX $PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Unable to remove domain alias!'; # XXX +$PALANG['domain_conflict_vacation_domain'] = 'You can\'t use the vacation domain as mail domain!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = 'Uredi domeno'; $PALANG['pAdminEdit_domain_aliases_text'] = '-1 = onemogoči | 0 = neomejeno'; Modified: trunk/languages/sv.lang =================================================================== --- trunk/languages/sv.lang 2014-10-05 22:09:42 UTC (rev 1693) +++ trunk/languages/sv.lang 2014-10-07 16:11:49 UTC (rev 1694) @@ -243,6 +243,7 @@ $PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX $PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Unable to remove domain alias!'; # XXX +$PALANG['domain_conflict_vacation_domain'] = 'You can\'t use the vacation domain as mail domain!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = 'Ändra en domän'; $PALANG['pAdminEdit_domain_aliases_text'] = '-1 = avaktivera | 0 = obegränsat'; Modified: trunk/languages/tr.lang =================================================================== --- trunk/languages/tr.lang 2014-10-05 22:09:42 UTC (rev 1693) +++ trunk/languages/tr.lang 2014-10-07 16:11:49 UTC (rev 1694) @@ -241,6 +241,7 @@ $PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX $PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Unable to remove domain alias!'; # XXX +$PALANG['domain_conflict_vacation_domain'] = 'You can\'t use the vacation domain as mail domain!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = 'Domain düzenle'; $PALANG['pAdminEdit_domain_aliases_text'] = '-1 = iptal | 0 = limitsiz'; # XXX check - "limisiz" or "limi_t_siz"? Modified: trunk/languages/tw.lang =================================================================== --- trunk/languages/tw.lang 2014-10-05 22:09:42 UTC (rev 1693) +++ trunk/languages/tw.lang 2014-10-07 16:11:49 UTC (rev 1694) @@ -241,6 +241,7 @@ $PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX $PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Unable to remove domain alias!'; # XXX +$PALANG['domain_conflict_vacation_domain'] = 'You can\'t use the vacation domain as mail domain!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = '修改網域'; $PALANG['pAdminEdit_domain_aliases_text'] = '-1 = 禁止 | 0 = 無限制'; # XXX check / compare with pAdminCreate_domain_aliases_text - should be "-1 = disable | ..." Modified: trunk/model/DomainHandler.php =================================================================== --- trunk/model/DomainHandler.php 2014-10-05 22:09:42 UTC (rev 1693) +++ trunk/model/DomainHandler.php 2014-10-07 16:11:49 UTC (rev 1694) @@ -10,18 +10,23 @@ protected $id_field = 'domain'; protected $domain_field = 'domain'; - protected function validate_new_id() { - $domain_check = check_domain($this->id); + protected function validate_new_id() { + $domain_check = check_domain($this->id); - if ($domain_check == '') { - return true; - } else { + if ($domain_check != '') { $this->errormsg[$this->id_field] = $domain_check; return false; - } - } + } - # init $this->struct, $this->db_table and $this->id_field + if (Config::read('vacation_domain') == $this->id) { + $this->errormsg[$this->id_field] = Config::Lang('domain_conflict_vacation_domain'); + return false; + } + + # still here? good. + return true; + } + protected function initStruct() { # TODO: shorter PALANG labels ;-) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2014-10-13 20:50:25
|
Revision: 1697 http://sourceforge.net/p/postfixadmin/code/1697 Author: christian_boltz Date: 2014-10-13 20:50:22 +0000 (Mon, 13 Oct 2014) Log Message: ----------- vacation.php: - check that $tActiveUntil >= today and $tActiveUntil >= $tActiveFrom - update header comments - display "vacation is active" notice also to admins (based on a patch by J.Kruis @SF, https://sourceforge.net/p/postfixadmin/patches/122/ ) *.lang: - add - pVacation_until_before_today - pVacation_until_before_from - reply_once_per_day - change pUsersVacation_welcome_text to 'Auto response for %s is active!' - remove "obsolete" marker from pUsersVacation_activefrom and pUsersVacation_activeuntil, they are still used nl.lang: - translation update by J.Kruis @SF https://sourceforge.net/p/postfixadmin/patches/122/ Modified Paths: -------------- trunk/languages/bg.lang trunk/languages/ca.lang trunk/languages/cn.lang trunk/languages/cs.lang trunk/languages/da.lang trunk/languages/de.lang trunk/languages/en.lang trunk/languages/es.lang trunk/languages/et.lang trunk/languages/eu.lang trunk/languages/fi.lang trunk/languages/fo.lang trunk/languages/fr.lang trunk/languages/hr.lang trunk/languages/hu.lang trunk/languages/is.lang trunk/languages/it.lang trunk/languages/ja.lang trunk/languages/lt.lang trunk/languages/mk.lang trunk/languages/nb.lang trunk/languages/nl.lang trunk/languages/nn.lang trunk/languages/pl.lang trunk/languages/pt-br.lang trunk/languages/ru.lang trunk/languages/sk.lang trunk/languages/sl.lang trunk/languages/sv.lang trunk/languages/tr.lang trunk/languages/tw.lang trunk/vacation.php Modified: trunk/languages/bg.lang =================================================================== --- trunk/languages/bg.lang 2014-10-13 19:33:45 UTC (rev 1696) +++ trunk/languages/bg.lang 2014-10-13 20:50:22 UTC (rev 1697) @@ -167,8 +167,11 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; # XXX +$PALANG['pVacation_until_before_today'] = 'The Date of [Active until] is set before Today'; # XXX +$PALANG['pVacation_until_before_from'] = 'The Date of [Active until] is set before [Active from]'; # XXX $PALANG['reply_once'] = 'Reply once'; # XXX $PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_day'] = 'Reply once a day'; # XXX $PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = 'Разглеждане на последните 10 действия за '; @@ -284,15 +287,15 @@ $PALANG['pUsersMain_password'] = 'Смяна на настоящата парола.'; $PALANG['pUsersVacation_welcome'] = 'Автоматичен отговор.'; -$PALANG['pUsersVacation_welcome_text'] = 'Вие вече си имате конфигриран автоматичен отговор!'; +$PALANG['pUsersVacation_welcome_text'] = 'Вие вече си имате конфигриран автоматичен отговор! (%s)'; # XXX Text changed to: 'Auto response for %s is active!' $PALANG['pUsersVacation_subject_text'] = 'Out of Office'; # XXX $PALANG['message'] = 'Текст'; # XXX text changed to 'Message' $PALANG['pUsersVacation_body_text'] = <<<EOM Няма да бъда на разположение от <date> до <date>. При спешност можете да се свържете с <contact person>. EOM; -$PALANG['pUsersVacation_activefrom'] = 'Active from'; # XXX # obsolete -$PALANG['pUsersVacation_activeuntil'] = 'Active until'; # XXX # obsolete +$PALANG['pUsersVacation_activefrom'] = 'Active from'; # XXX +$PALANG['pUsersVacation_activeuntil'] = 'Active until'; # XXX $PALANG['pEdit_dbLog_editactive'] = 'change active state'; # XXX Modified: trunk/languages/ca.lang =================================================================== --- trunk/languages/ca.lang 2014-10-13 19:33:45 UTC (rev 1696) +++ trunk/languages/ca.lang 2014-10-13 20:50:22 UTC (rev 1697) @@ -165,8 +165,11 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; # XXX +$PALANG['pVacation_until_before_today'] = 'The Date of [Active until] is set before Today'; # XXX +$PALANG['pVacation_until_before_from'] = 'The Date of [Active until] is set before [Active from]'; # XXX $PALANG['reply_once'] = 'Reply once'; # XXX $PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_day'] = 'Reply once a day'; # XXX $PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = 'Veure les últimes 10 accions per '; @@ -283,15 +286,15 @@ $PALANG['pUsersMain_password'] = 'Canvïi la seva contrasenya.'; $PALANG['pUsersVacation_welcome'] = 'Resposta automàtica.'; -$PALANG['pUsersVacation_welcome_text'] = 'Ja disposa d\'una resposta automàtica configurada!'; +$PALANG['pUsersVacation_welcome_text'] = 'Ja disposa d\'una resposta automàtica configurada! (%s)'; # XXX Text changed to: 'Auto response for %s is active!' $PALANG['pUsersVacation_subject_text'] = 'Fora de la feina'; $PALANG['message'] = 'Cos'; # XXX text changed to 'Message' $PALANG['pUsersVacation_body_text'] = <<<EOM Seré fora des del <date> fins al <date>. Per assumptes urgents pot contactar amb mi a <contact person>. EOM; -$PALANG['pUsersVacation_activefrom'] = 'Active from'; # XXX # obsolete -$PALANG['pUsersVacation_activeuntil'] = 'Active until'; # XXX # obsolete +$PALANG['pUsersVacation_activefrom'] = 'Active from'; # XXX +$PALANG['pUsersVacation_activeuntil'] = 'Active until'; # XXX $PALANG['pEdit_dbLog_editactive'] = 'change active state'; # XXX Modified: trunk/languages/cn.lang =================================================================== --- trunk/languages/cn.lang 2014-10-13 19:33:45 UTC (rev 1696) +++ trunk/languages/cn.lang 2014-10-13 20:50:22 UTC (rev 1697) @@ -166,8 +166,11 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; # XXX +$PALANG['pVacation_until_before_today'] = 'The Date of [Active until] is set before Today'; # XXX +$PALANG['pVacation_until_before_from'] = 'The Date of [Active until] is set before [Active from]'; # XXX $PALANG['reply_once'] = 'Reply once'; # XXX $PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_day'] = 'Reply once a day'; # XXX $PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = '查看最新的10项操作日志 域名: '; @@ -283,15 +286,15 @@ $PALANG['pUsersMain_password'] = '修改当前密码.'; $PALANG['pUsersVacation_welcome'] = '自动回复.'; -$PALANG['pUsersVacation_welcome_text'] = '你已经设置了自动回复!'; +$PALANG['pUsersVacation_welcome_text'] = '你已经设置了自动回复! (%s)'; # XXX Text changed to: 'Auto response for %s is active!' $PALANG['pUsersVacation_subject_text'] = '我现在无法回信'; $PALANG['message'] = '内容'; # XXX text changed to 'Message' $PALANG['pUsersVacation_body_text'] = <<<EOM 我在 <date> 到 <date> 这段时间内暂时无法回信. 如果你有急事请与 <contact person> 联系. EOM; -$PALANG['pUsersVacation_activefrom'] = 'Active from'; # XXX # obsolete -$PALANG['pUsersVacation_activeuntil'] = 'Active until'; # XXX # obsolete +$PALANG['pUsersVacation_activefrom'] = 'Active from'; # XXX +$PALANG['pUsersVacation_activeuntil'] = 'Active until'; # XXX $PALANG['pEdit_dbLog_editactive'] = '改变活动状态'; Modified: trunk/languages/cs.lang =================================================================== --- trunk/languages/cs.lang 2014-10-13 19:33:45 UTC (rev 1696) +++ trunk/languages/cs.lang 2014-10-13 20:50:22 UTC (rev 1697) @@ -173,8 +173,11 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; # XXX +$PALANG['pVacation_until_before_today'] = 'The Date of [Active until] is set before Today'; # XXX +$PALANG['pVacation_until_before_from'] = 'The Date of [Active until] is set before [Active from]'; # XXX $PALANG['reply_once'] = 'Reply once'; # XXX $PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_day'] = 'Reply once a day'; # XXX $PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = 'Prohlížet 10 posledních akcí pro '; @@ -292,15 +295,15 @@ $PALANG['pUsersMain_password'] = 'Změnit heslo'; $PALANG['pUsersVacation_welcome'] = 'Automatická odpověď'; -$PALANG['pUsersVacation_welcome_text'] = 'Již máte nastavenou automatickou odpověď!'; +$PALANG['pUsersVacation_welcome_text'] = 'Již máte nastavenou automatickou odpověď! (%s)'; # XXX Text changed to: 'Auto response for %s is active!' $PALANG['pUsersVacation_subject_text'] = 'Dovolená'; $PALANG['message'] = 'Obsah'; # XXX text changed to 'Message' $PALANG['pUsersVacation_body_text'] = <<<EOM Jsem na dovolené od <datum> od <datum>. S neodkladnými zprávami prosím kontaktujte <kontaktní osoba>. EOM; -$PALANG['pUsersVacation_activefrom'] = 'Active from'; # XXX # obsolete -$PALANG['pUsersVacation_activeuntil'] = 'Active until'; # XXX # obsolete +$PALANG['pUsersVacation_activefrom'] = 'Active from'; # XXX +$PALANG['pUsersVacation_activeuntil'] = 'Active until'; # XXX $PALANG['pEdit_dbLog_editactive'] = 'změnil aktivní stav'; Modified: trunk/languages/da.lang =================================================================== --- trunk/languages/da.lang 2014-10-13 19:33:45 UTC (rev 1696) +++ trunk/languages/da.lang 2014-10-13 20:50:22 UTC (rev 1697) @@ -173,8 +173,11 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; # XXX +$PALANG['pVacation_until_before_today'] = 'The Date of [Active until] is set before Today'; # XXX +$PALANG['pVacation_until_before_from'] = 'The Date of [Active until] is set before [Active from]'; # XXX $PALANG['reply_once'] = 'Reply once'; # XXX $PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_day'] = 'Reply once a day'; # XXX $PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = 'Vis de sidste 10 poster for '; @@ -292,15 +295,15 @@ $PALANG['pUsersMain_password'] = 'Ændr din nuværende adgangskode.'; $PALANG['pUsersVacation_welcome'] = 'Autosvar.'; -$PALANG['pUsersVacation_welcome_text'] = 'Du har allerede autosvar indstillet!'; +$PALANG['pUsersVacation_welcome_text'] = 'Du har allerede autosvar indstillet! (%s)'; # XXX Text changed to: 'Auto response for %s is active!' $PALANG['pUsersVacation_subject_text'] = 'Ikke tilstede'; $PALANG['message'] = 'Meddelelse'; # XXX text changed to 'Message' $PALANG['pUsersVacation_body_text'] = <<<EOM Jeg er ikke tilstede i perioden <dato> til <dato>. I nødstilfælde kan <kontaktperson> kontaktes. EOM; -$PALANG['pUsersVacation_activefrom'] = 'Aktiv fra'; # XXX # obsolete -$PALANG['pUsersVacation_activeuntil'] = 'Aktiv til'; # XXX # obsolete +$PALANG['pUsersVacation_activefrom'] = 'Aktiv fra'; # XXX +$PALANG['pUsersVacation_activeuntil'] = 'Aktiv til'; # XXX $PALANG['pEdit_dbLog_editactive'] = 'ændr aktivtilstand'; Modified: trunk/languages/de.lang =================================================================== --- trunk/languages/de.lang 2014-10-13 19:33:45 UTC (rev 1696) +++ trunk/languages/de.lang 2014-10-13 20:50:22 UTC (rev 1697) @@ -170,8 +170,11 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Zeit in Sekunden'; +$PALANG['pVacation_until_before_today'] = 'The Date of [Active until] is set before Today'; # XXX +$PALANG['pVacation_until_before_from'] = 'The Date of [Active until] is set before [Active from]'; # XXX $PALANG['reply_once'] = 'Einmal antworten'; $PALANG['reply_every_mail'] = 'Jede Mail beantworten'; +$PALANG['reply_once_per_day'] = 'Einmal pro Tag antworten'; $PALANG['reply_once_per_week'] = 'Einmal pro Woche antworten'; $PALANG['pViewlog_welcome'] = 'Zeigt die letzten 10 Aktionen für '; @@ -289,7 +292,7 @@ $PALANG['pUsersMain_password'] = 'Ändern Sie Ihr Passwort.'; $PALANG['pUsersVacation_welcome'] = 'Automatische Antwort.'; -$PALANG['pUsersVacation_welcome_text'] = 'Sie haben schon eine Automatische Antwort konfiguriert!'; +$PALANG['pUsersVacation_welcome_text'] = 'Automatische Antwort für %s ist aktiv!'; $PALANG['pUsersVacation_subject_text'] = 'Ich bin weg...'; $PALANG['message'] = 'Nachricht'; $PALANG['pUsersVacation_body_text'] = <<<EOM @@ -297,8 +300,8 @@ In dringenden Fällen setzen Sie sich bitte mit <contact person> in Verbindung. Vielen Dank für Ihr Verständnis. EOM; -$PALANG['pUsersVacation_activefrom'] = 'Aktiv ab dem'; # obsolete -$PALANG['pUsersVacation_activeuntil'] = 'Aktiv bis zum'; # obsolete +$PALANG['pUsersVacation_activefrom'] = 'Aktiv ab dem'; +$PALANG['pUsersVacation_activeuntil'] = 'Aktiv bis zum'; $PALANG['pEdit_dbLog_editactive'] = 'Aktiv-Status ändern'; Modified: trunk/languages/en.lang =================================================================== --- trunk/languages/en.lang 2014-10-13 19:33:45 UTC (rev 1696) +++ trunk/languages/en.lang 2014-10-13 20:50:22 UTC (rev 1697) @@ -171,9 +171,12 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; $PALANG['pVacation_reply_delay_time'] = 'Interval time'; $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; +$PALANG['pVacation_until_before_today'] = 'The Date of [Active until] is set before Today'; +$PALANG['pVacation_until_before_from'] = 'The Date of [Active until] is set before [Active from]'; $PALANG['reply_once'] = 'Reply once'; $PALANG['reply_every_mail'] = 'Reply on every mail'; -$PALANG['reply_once_per_week'] = 'Reply once per week'; +$PALANG['reply_once_per_day'] = 'Reply once a day'; +$PALANG['reply_once_per_week'] = 'Reply once a week'; $PALANG['pViewlog_welcome'] = 'View the last 10 actions for '; $PALANG['pViewlog_timestamp'] = 'Timestamp'; @@ -290,15 +293,15 @@ $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_welcome_text'] = 'Auto response for %s is active!'; $PALANG['pUsersVacation_subject_text'] = 'Out of Office'; $PALANG['message'] = 'Message'; $PALANG['pUsersVacation_body_text'] = <<<EOM I will be away from <date> until <date>. For urgent matters you can contact <contact person>. EOM; -$PALANG['pUsersVacation_activefrom'] = 'Active from'; # obsolete -$PALANG['pUsersVacation_activeuntil'] = 'Active until'; # obsolete +$PALANG['pUsersVacation_activefrom'] = 'Active from'; +$PALANG['pUsersVacation_activeuntil'] = 'Active until'; $PALANG['pEdit_dbLog_editactive'] = 'change active state'; Modified: trunk/languages/es.lang =================================================================== --- trunk/languages/es.lang 2014-10-13 19:33:45 UTC (rev 1696) +++ trunk/languages/es.lang 2014-10-13 20:50:22 UTC (rev 1697) @@ -167,8 +167,11 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; # XXX +$PALANG['pVacation_until_before_today'] = 'The Date of [Active until] is set before Today'; # XXX +$PALANG['pVacation_until_before_from'] = 'The Date of [Active until] is set before [Active from]'; # XXX $PALANG['reply_once'] = 'Reply once'; # XXX $PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_day'] = 'Reply once a day'; # XXX $PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = 'Ver las últimas 10 acciones para '; @@ -285,15 +288,15 @@ $PALANG['pUsersMain_password'] = 'Cambie su contraseña.'; $PALANG['pUsersVacation_welcome'] = 'Respuesta automática.'; -$PALANG['pUsersVacation_welcome_text'] = '¡Ya dispone de una respuesta automática configurada!'; +$PALANG['pUsersVacation_welcome_text'] = '¡Ya dispone de una respuesta automática configurada! (%s)'; # XXX Text changed to: 'Auto response for %s is active!' $PALANG['pUsersVacation_subject_text'] = 'Fuera del trabajo'; $PALANG['message'] = 'Mensaje'; $PALANG['pUsersVacation_body_text'] = <<<EOM Estaré fuera desde <date> hasta <date>. Para asuntos urgentes, puede contactar conmigo en <contact person>. EOM; -$PALANG['pUsersVacation_activefrom'] = 'Active from'; # XXX # obsolete -$PALANG['pUsersVacation_activeuntil'] = 'Active until'; # XXX # obsolete +$PALANG['pUsersVacation_activefrom'] = 'Active from'; # XXX +$PALANG['pUsersVacation_activeuntil'] = 'Active until'; # XXX $PALANG['pEdit_dbLog_editactive'] = 'cambiar estado activo'; Modified: trunk/languages/et.lang =================================================================== --- trunk/languages/et.lang 2014-10-13 19:33:45 UTC (rev 1696) +++ trunk/languages/et.lang 2014-10-13 20:50:22 UTC (rev 1697) @@ -166,8 +166,11 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; # XXX +$PALANG['pVacation_until_before_today'] = 'The Date of [Active until] is set before Today'; # XXX +$PALANG['pVacation_until_before_from'] = 'The Date of [Active until] is set before [Active from]'; # XXX $PALANG['reply_once'] = 'Reply once'; # XXX $PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_day'] = 'Reply once a day'; # XXX $PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = 'Vaata 10 viimast muudatust domeeniga '; @@ -283,7 +286,7 @@ $PALANG['pUsersMain_password'] = 'Muuda praegust parooli.'; $PALANG['pUsersVacation_welcome'] = 'Automaatne vastus.'; -$PALANG['pUsersVacation_welcome_text'] = 'Automaatne vastus on juba seadistatud!'; +$PALANG['pUsersVacation_welcome_text'] = 'Automaatne vastus on juba seadistatud! (%s)'; # XXX Text changed to: 'Auto response for %s is active!' $PALANG['pUsersVacation_subject_text'] = 'Kontorist väljas'; $PALANG['message'] = 'Põhitekst'; # XXX text changed to 'Message' $PALANG['pUsersVacation_body_text'] = <<<EOM @@ -293,8 +296,8 @@ I will be away from <date> until <date>. For urgent matters you can contact <contact person>. EOM; -$PALANG['pUsersVacation_activefrom'] = 'Active from'; # XXX # obsolete -$PALANG['pUsersVacation_activeuntil'] = 'Active until'; # XXX # obsolete +$PALANG['pUsersVacation_activefrom'] = 'Active from'; # XXX +$PALANG['pUsersVacation_activeuntil'] = 'Active until'; # XXX $PALANG['pEdit_dbLog_editactive'] = 'aktiivne staatuse muutmine'; Modified: trunk/languages/eu.lang =================================================================== --- trunk/languages/eu.lang 2014-10-13 19:33:45 UTC (rev 1696) +++ trunk/languages/eu.lang 2014-10-13 20:50:22 UTC (rev 1697) @@ -164,8 +164,11 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; # XXX +$PALANG['pVacation_until_before_today'] = 'The Date of [Active until] is set before Today'; # XXX +$PALANG['pVacation_until_before_from'] = 'The Date of [Active until] is set before [Active from]'; # XXX $PALANG['reply_once'] = 'Reply once'; # XXX $PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_day'] = 'Reply once a day'; # XXX $PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = 'Honen azken 10 ekintzak ikusi '; @@ -282,15 +285,15 @@ $PALANG['pUsersMain_password'] = 'Alda ezazu pasahitza.'; $PALANG['pUsersVacation_welcome'] = 'Erantzun automatikoa.'; -$PALANG['pUsersVacation_welcome_text'] = 'Erantzun automatiko bat konfiguratuta duzu!'; +$PALANG['pUsersVacation_welcome_text'] = 'Erantzun automatiko bat konfiguratuta duzu! (%s)'; # XXX Text changed to: 'Auto response for %s is active!' $PALANG['pUsersVacation_subject_text'] = 'Lanetik kanpo'; $PALANG['message'] = 'Gorputza'; # XXX text changed to 'Message' $PALANG['pUsersVacation_body_text'] = <<<EOM <date>-tik <date> arte kanpoan egongo naiz. Larrialdiko gaientzat, hemen <contact person> kontakta dezakezu nirekin. EOM; -$PALANG['pUsersVacation_activefrom'] = 'Active from'; # XXX # obsolete -$PALANG['pUsersVacation_activeuntil'] = 'Active until'; # XXX # obsolete +$PALANG['pUsersVacation_activefrom'] = 'Active from'; # XXX +$PALANG['pUsersVacation_activeuntil'] = 'Active until'; # XXX $PALANG['pEdit_dbLog_editactive'] = 'change active state'; # XXX Modified: trunk/languages/fi.lang =================================================================== --- trunk/languages/fi.lang 2014-10-13 19:33:45 UTC (rev 1696) +++ trunk/languages/fi.lang 2014-10-13 20:50:22 UTC (rev 1697) @@ -166,8 +166,11 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; # XXX +$PALANG['pVacation_until_before_today'] = 'The Date of [Active until] is set before Today'; # XXX +$PALANG['pVacation_until_before_from'] = 'The Date of [Active until] is set before [Active from]'; # XXX $PALANG['reply_once'] = 'Reply once'; # XXX $PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_day'] = 'Reply once a day'; # XXX $PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = 'Näytä viimeiset kymmenen tapahtumaa domainille '; @@ -283,15 +286,15 @@ $PALANG['pUsersMain_password'] = 'Vaihda nykyinen salasanasi.'; $PALANG['pUsersVacation_welcome'] = 'Automaattivastaus.'; -$PALANG['pUsersVacation_welcome_text'] = 'Sinulla on jo automaattivastaus päällä!'; +$PALANG['pUsersVacation_welcome_text'] = 'Sinulla on jo automaattivastaus päällä! (%s)'; # XXX Text changed to: 'Auto response for %s is active!' $PALANG['pUsersVacation_subject_text'] = 'Lomalla'; $PALANG['message'] = 'Viesti'; # XXX text changed to 'Message' $PALANG['pUsersVacation_body_text'] = <<<EOM Olen lomalla <päiväys> <päiväys> välisen ajan. Kiireellisissä asioissa voitte ottaa yhteyttä <sähköpostiosoite>. EOM; -$PALANG['pUsersVacation_activefrom'] = 'Active from'; # XXX # obsolete -$PALANG['pUsersVacation_activeuntil'] = 'Active until'; # XXX # obsolete +$PALANG['pUsersVacation_activefrom'] = 'Active from'; # XXX +$PALANG['pUsersVacation_activeuntil'] = 'Active until'; # XXX $PALANG['pEdit_dbLog_editactive'] = 'vaihda aktiivisuus tilaa'; Modified: trunk/languages/fo.lang =================================================================== --- trunk/languages/fo.lang 2014-10-13 19:33:45 UTC (rev 1696) +++ trunk/languages/fo.lang 2014-10-13 20:50:22 UTC (rev 1697) @@ -166,8 +166,11 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; # XXX +$PALANG['pVacation_until_before_today'] = 'The Date of [Active until] is set before Today'; # XXX +$PALANG['pVacation_until_before_from'] = 'The Date of [Active until] is set before [Active from]'; # XXX $PALANG['reply_once'] = 'Reply once'; # XXX $PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_day'] = 'Reply once a day'; # XXX $PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = 'Vís seinastu 10 hendingarnar fyri '; @@ -283,7 +286,7 @@ $PALANG['pUsersMain_password'] = 'Broyt títt núverandi loyniorð.'; $PALANG['pUsersVacation_welcome'] = 'Sjálvvirkið svar.'; -$PALANG['pUsersVacation_welcome_text'] = 'Tú hevur longu eini frítíðarboð uppsett!'; +$PALANG['pUsersVacation_welcome_text'] = 'Tú hevur longu eini frítíðarboð uppsett! (%s)'; # XXX Text changed to: 'Auto response for %s is active!' $PALANG['pUsersVacation_subject_text'] = 'Out of Office'; $PALANG['message'] = 'Boð'; # XXX text changed to 'Message' $PALANG['pUsersVacation_body_text'] = <<<EOM @@ -295,8 +298,8 @@ Títt navn EOM; -$PALANG['pUsersVacation_activefrom'] = 'Active from'; # XXX # obsolete -$PALANG['pUsersVacation_activeuntil'] = 'Active until'; # XXX # obsolete +$PALANG['pUsersVacation_activefrom'] = 'Active from'; # XXX +$PALANG['pUsersVacation_activeuntil'] = 'Active until'; # XXX $PALANG['pEdit_dbLog_editactive'] = 'change active state'; # XXX Modified: trunk/languages/fr.lang =================================================================== --- trunk/languages/fr.lang 2014-10-13 19:33:45 UTC (rev 1696) +++ trunk/languages/fr.lang 2014-10-13 20:50:22 UTC (rev 1697) @@ -167,8 +167,11 @@ $PALANG['pVacation_reply_type'] = 'Type de réponse'; $PALANG['pVacation_reply_delay_time'] = 'Intervalle'; $PALANG['pVacation_reply_delay_time_text'] = 'Durée en secondes'; +$PALANG['pVacation_until_before_today'] = 'The Date of [Active until] is set before Today'; # XXX +$PALANG['pVacation_until_before_from'] = 'The Date of [Active until] is set before [Active from]'; # XXX $PALANG['reply_once'] = 'Répondre une fois'; $PALANG['reply_every_mail'] = 'Répondre à chaque message'; +$PALANG['reply_once_per_day'] = 'Reply once a day'; # XXX $PALANG['reply_once_per_week'] = 'Répondre une fois par semaine'; $PALANG['pViewlog_welcome'] = 'Visualiser les 10 dernières actions pour '; @@ -285,15 +288,15 @@ $PALANG['pUsersMain_password'] = 'Changer votre mot de passe.'; $PALANG['pUsersVacation_welcome'] = 'Répondeur Automatique.'; -$PALANG['pUsersVacation_welcome_text'] = 'Votre repondeur automatique est déjà configuré!'; +$PALANG['pUsersVacation_welcome_text'] = 'Votre repondeur automatique est déjà configuré! (%s)'; # XXX Text changed to: 'Auto response for %s is active!' $PALANG['pUsersVacation_subject_text'] = 'Notification d\'absence'; $PALANG['message'] = 'Message'; $PALANG['pUsersVacation_body_text'] = <<<EOM Je suis absent du au . Pour toute urgence, merci de contacter. EOM; -$PALANG['pUsersVacation_activefrom'] = 'Depuis'; # obsolete -$PALANG['pUsersVacation_activeuntil'] = 'Jusqu\'au'; # obsolete +$PALANG['pUsersVacation_activefrom'] = 'Depuis'; +$PALANG['pUsersVacation_activeuntil'] = 'Jusqu\'au'; $PALANG['pEdit_dbLog_editactive'] = 'Changement du statut d\'activation'; Modified: trunk/languages/hr.lang =================================================================== --- trunk/languages/hr.lang 2014-10-13 19:33:45 UTC (rev 1696) +++ trunk/languages/hr.lang 2014-10-13 20:50:22 UTC (rev 1697) @@ -165,8 +165,11 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; # XXX +$PALANG['pVacation_until_before_today'] = 'The Date of [Active until] is set before Today'; # XXX +$PALANG['pVacation_until_before_from'] = 'The Date of [Active until] is set before [Active from]'; # XXX $PALANG['reply_once'] = 'Reply once'; # XXX $PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_day'] = 'Reply once a day'; # XXX $PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = 'Pogledaj zadnjih 10 akcija za '; @@ -282,15 +285,15 @@ $PALANG['pUsersMain_password'] = 'Promijenite lozinku.'; $PALANG['pUsersVacation_welcome'] = 'Ovdje moete promijeniti obvijest o odsutnosti.'; -$PALANG['pUsersVacation_welcome_text'] = 'Obvijest o odsutnosti je već postavljena!'; +$PALANG['pUsersVacation_welcome_text'] = 'Obvijest o odsutnosti je već postavljena! (%s)'; # XXX Text changed to: 'Auto response for %s is active!' $PALANG['pUsersVacation_subject_text'] = 'Odsutnost'; $PALANG['message'] = 'Tekst'; # XXX text changed to 'Message' $PALANG['pUsersVacation_body_text'] = <<<EOM Od <datum> do <datum> sam odsutan. Za hitne stvari molim vas da kontaktirate <kontaktna osoba>. EOM; -$PALANG['pUsersVacation_activefrom'] = 'Active from'; # XXX # obsolete -$PALANG['pUsersVacation_activeuntil'] = 'Active until'; # XXX # obsolete +$PALANG['pUsersVacation_activefrom'] = 'Active from'; # XXX +$PALANG['pUsersVacation_activeuntil'] = 'Active until'; # XXX $PALANG['pEdit_dbLog_editactive'] = 'promijeni stanje aktivnosti'; Modified: trunk/languages/hu.lang =================================================================== --- trunk/languages/hu.lang 2014-10-13 19:33:45 UTC (rev 1696) +++ trunk/languages/hu.lang 2014-10-13 20:50:22 UTC (rev 1697) @@ -170,8 +170,11 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; # XXX +$PALANG['pVacation_until_before_today'] = 'The Date of [Active until] is set before Today'; # XXX +$PALANG['pVacation_until_before_from'] = 'The Date of [Active until] is set before [Active from]'; # XXX $PALANG['reply_once'] = 'Reply once'; # XXX $PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_day'] = 'Reply once a day'; # XXX $PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = 'Az utolsó 10 esemény megtekintése: '; @@ -289,7 +292,7 @@ $PALANG['pUsersMain_password'] = 'Jelenlegi jelszó megváltoztatása.'; $PALANG['pUsersVacation_welcome'] = 'Automatikus válasz.'; -$PALANG['pUsersVacation_welcome_text'] = 'Már van be állítva automatikus válasz !'; +$PALANG['pUsersVacation_welcome_text'] = 'Már van be állítva automatikus válasz ! (%s)'; # XXX Text changed to: 'Auto response for %s is active!' $PALANG['pUsersVacation_subject_text'] = 'Sajnálom, de jelenleg nem vagyok email közelben!'; $PALANG['message'] = 'Üzenet'; # XXX text changed to 'Message' $PALANG['pUsersVacation_body_text'] = <<<EOM @@ -298,8 +301,8 @@ Ez egy automatikus üzenet. EOM; -$PALANG['pUsersVacation_activefrom'] = 'Active from'; # XXX # obsolete -$PALANG['pUsersVacation_activeuntil'] = 'Active until'; # XXX # obsolete +$PALANG['pUsersVacation_activefrom'] = 'Active from'; # XXX +$PALANG['pUsersVacation_activeuntil'] = 'Active until'; # XXX $PALANG['pEdit_dbLog_editactive'] = 'aktív státusz megváltoztatása'; Modified: trunk/languages/is.lang =================================================================== --- trunk/languages/is.lang 2014-10-13 19:33:45 UTC (rev 1696) +++ trunk/languages/is.lang 2014-10-13 20:50:22 UTC (rev 1697) @@ -166,8 +166,11 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; # XXX +$PALANG['pVacation_until_before_today'] = 'The Date of [Active until] is set before Today'; # XXX +$PALANG['pVacation_until_before_from'] = 'The Date of [Active until] is set before [Active from]'; # XXX $PALANG['reply_once'] = 'Reply once'; # XXX $PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_day'] = 'Reply once a day'; # XXX $PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = 'Skoða síðustu 10 aðgerðir fyrir '; @@ -283,15 +286,15 @@ $PALANG['pUsersMain_password'] = 'Breyta núverandi lykilorði.'; $PALANG['pUsersVacation_welcome'] = 'sjálfvirk skilaboð.'; -$PALANG['pUsersVacation_welcome_text'] = 'Þú hefur nú þegar skilgreint sjálfvirk skilaboð!'; +$PALANG['pUsersVacation_welcome_text'] = 'Þú hefur nú þegar skilgreint sjálfvirk skilaboð! (%s)'; # XXX Text changed to: 'Auto response for %s is active!' $PALANG['pUsersVacation_subject_text'] = 'Er ekki við - Out of Office'; $PALANG['message'] = 'Meginmál'; # XXX text changed to 'Message' $PALANG['pUsersVacation_body_text'] = <<<EOM Ég er ekki við frá <date> og til <date>. I will be away from <date> until <date>. Ef mikið liggur við, geturðu haft samaband við <contact person>. For urgent matters you can contact <contact person>. EOM; -$PALANG['pUsersVacation_activefrom'] = 'Active from'; # XXX # obsolete -$PALANG['pUsersVacation_activeuntil'] = 'Active until'; # XXX # obsolete +$PALANG['pUsersVacation_activefrom'] = 'Active from'; # XXX +$PALANG['pUsersVacation_activeuntil'] = 'Active until'; # XXX $PALANG['pEdit_dbLog_editactive'] = 'change active state'; # XXX Modified: trunk/languages/it.lang =================================================================== --- trunk/languages/it.lang 2014-10-13 19:33:45 UTC (rev 1696) +++ trunk/languages/it.lang 2014-10-13 20:50:22 UTC (rev 1697) @@ -167,8 +167,11 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; # XXX +$PALANG['pVacation_until_before_today'] = 'The Date of [Active until] is set before Today'; # XXX +$PALANG['pVacation_until_before_from'] = 'The Date of [Active until] is set before [Active from]'; # XXX $PALANG['reply_once'] = 'Reply once'; # XXX $PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_day'] = 'Reply once a day'; # XXX $PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = 'Elenca gli ultimi dieci eventi per '; @@ -284,15 +287,15 @@ $PALANG['pUsersMain_password'] = 'Cambia la tua password corrente.'; $PALANG['pUsersVacation_welcome'] = 'Autorisponditore.'; -$PALANG['pUsersVacation_welcome_text'] = 'Hai già un autorisponditore configurato'; +$PALANG['pUsersVacation_welcome_text'] = 'Hai già un autorisponditore configurato (%s)'; # XXX Text changed to: 'Auto response for %s is active!' $PALANG['pUsersVacation_subject_text'] = 'Assente dall\'ufficio'; $PALANG['message'] = 'Corpo'; # XXX text changed to 'Message' $PALANG['pUsersVacation_body_text'] = <<<EOM Sarò assente dal <data> al <data>. Per problemi urgenti potete contattare <persona da contattare>. EOM; -$PALANG['pUsersVacation_activefrom'] = 'Active from'; # XXX # obsolete -$PALANG['pUsersVacation_activeuntil'] = 'Active until'; # XXX # obsolete +$PALANG['pUsersVacation_activefrom'] = 'Active from'; # XXX +$PALANG['pUsersVacation_activeuntil'] = 'Active until'; # XXX $PALANG['pEdit_dbLog_editactive'] = 'attiva o disattiva'; Modified: trunk/languages/ja.lang =================================================================== --- trunk/languages/ja.lang 2014-10-13 19:33:45 UTC (rev 1696) +++ trunk/languages/ja.lang 2014-10-13 20:50:22 UTC (rev 1697) @@ -170,8 +170,11 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; # XXX +$PALANG['pVacation_until_before_today'] = 'The Date of [Active until] is set before Today'; # XXX +$PALANG['pVacation_until_before_from'] = 'The Date of [Active until] is set before [Active from]'; # XXX $PALANG['reply_once'] = 'Reply once'; # XXX $PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_day'] = 'Reply once a day'; # XXX $PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = '過去10個のアクション '; @@ -289,15 +292,15 @@ $PALANG['pUsersMain_password'] = 'パスワードを変更します。'; $PALANG['pUsersVacation_welcome'] = '自動応答'; -$PALANG['pUsersVacation_welcome_text'] = '既に自動応答を構成してあります。'; +$PALANG['pUsersVacation_welcome_text'] = '既に自動応答を構成してあります。 (%s)'; # XXX Text changed to: 'Auto response for %s is active!' $PALANG['pUsersVacation_subject_text'] = '不在'; $PALANG['message'] = '本文'; # XXX text changed to 'Message' $PALANG['pUsersVacation_body_text'] = <<<EOM 私は <date> から <date> まで不在です。 緊急事項は <contact person> まで連絡してください。 EOM; -$PALANG['pUsersVacation_activefrom'] = 'Active from'; # XXX # obsolete -$PALANG['pUsersVacation_activeuntil'] = 'Active until'; # XXX # obsolete +$PALANG['pUsersVacation_activefrom'] = 'Active from'; # XXX +$PALANG['pUsersVacation_activeuntil'] = 'Active until'; # XXX $PALANG['pEdit_dbLog_editactive'] = 'change active state'; # XXX Modified: trunk/languages/lt.lang =================================================================== --- trunk/languages/lt.lang 2014-10-13 19:33:45 UTC (rev 1696) +++ trunk/languages/lt.lang 2014-10-13 20:50:22 UTC (rev 1697) @@ -167,8 +167,11 @@ $PALANG['pVacation_reply_type'] = 'Atsakymo tipas'; $PALANG['pVacation_reply_delay_time'] = 'Intervalas'; $PALANG['pVacation_reply_delay_time_text'] = 'Laikas sekundėmis'; +$PALANG['pVacation_until_before_today'] = 'The Date of [Active until] is set before Today'; # XXX +$PALANG['pVacation_until_before_from'] = 'The Date of [Active until] is set before [Active from]'; # XXX $PALANG['reply_once'] = 'Reply once'; # XXX $PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_day'] = 'Reply once a day'; # XXX $PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = 'Peržiūrėti paskutinius 10 vartotojo veiksmų '; @@ -284,7 +287,7 @@ $PALANG['pUsersMain_password'] = 'Pakeisti slaptažodį.'; $PALANG['pUsersVacation_welcome'] = 'Automatinis (atostogų) atsakymas.'; -$PALANG['pUsersVacation_welcome_text'] = 'Auto atsakiklis jau nustatytas!'; +$PALANG['pUsersVacation_welcome_text'] = 'Auto atsakiklis jau nustatytas! (%s)'; # XXX Text changed to: 'Auto response for %s is active!' $PALANG['pUsersVacation_subject_text'] = 'Esu išvykęs'; $PALANG['message'] = 'Žinutė'; $PALANG['pUsersVacation_body_text'] = <<<EOM Modified: trunk/languages/mk.lang =================================================================== --- trunk/languages/mk.lang 2014-10-13 19:33:45 UTC (rev 1696) +++ trunk/languages/mk.lang 2014-10-13 20:50:22 UTC (rev 1697) @@ -166,8 +166,11 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; # XXX +$PALANG['pVacation_until_before_today'] = 'The Date of [Active until] is set before Today'; # XXX +$PALANG['pVacation_until_before_from'] = 'The Date of [Active until] is set before [Active from]'; # XXX $PALANG['reply_once'] = 'Reply once'; # XXX $PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_day'] = 'Reply once a day'; # XXX $PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = 'Преглед на последните 10 операции за: '; @@ -284,15 +287,15 @@ $PALANG['pUsersMain_password'] = 'Промена на лозинка.'; $PALANG['pUsersVacation_welcome'] = 'Автоматски одговор.'; -$PALANG['pUsersVacation_welcome_text'] = 'Веќе имате конфигуриран автоматски одговор!'; +$PALANG['pUsersVacation_welcome_text'] = 'Веќе имате конфигуриран автоматски одговор! (%s)'; # XXX Text changed to: 'Auto response for %s is active!' $PALANG['pUsersVacation_subject_text'] = 'Отсутен'; $PALANG['message'] = 'Содржина'; # XXX text changed to 'Message' $PALANG['pUsersVacation_body_text'] = <<<EOM Ќе бидам отсутен од <date> до <date>. За итни случаи контактирајте со <contact person>. EOM; -$PALANG['pUsersVacation_activefrom'] = 'Active from'; # XXX # obsolete -$PALANG['pUsersVacation_activeuntil'] = 'Active until'; # XXX # obsolete +$PALANG['pUsersVacation_activefrom'] = 'Active from'; # XXX +$PALANG['pUsersVacation_activeuntil'] = 'Active until'; # XXX $PALANG['pEdit_dbLog_editactive'] = 'change active state'; # XXX Modified: trunk/languages/nb.lang =================================================================== --- trunk/languages/nb.lang 2014-10-13 19:33:45 UTC (rev 1696) +++ trunk/languages/nb.lang 2014-10-13 20:50:22 UTC (rev 1697) @@ -167,8 +167,11 @@ $PALANG['pVacation_reply_type'] = 'Choice of reply'; # XXX $PALANG['pVacation_reply_delay_time'] = 'Interval time'; # XXX $PALANG['pVacation_reply_delay_time_text'] = 'Time in seconds'; # XXX +$PALANG['pVacation_until_before_today'] = 'The Date of [Active until] is set before Today'; # XXX +$PALANG['pVacation_until_before_from'] = 'The Date of [Active until] is set before [Active from]'; # XXX $PALANG['reply_once'] = 'Reply once'; # XXX $PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX +$PALANG['reply_once_per_day'] = 'Reply once a day'; # XXX $PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX $PALANG['pViewlog_welcome'] = 'Vis de 10 siste handlingene for '; @@ -284,15 +287,15 @@ $PALANG['pUsersMain_password'] = 'Endre passordet ditt.'; $PALANG['pUsersVacation_welcome'] = 'Automatisk svar.'; -$PALANG['pUsersVacation_welcome_text'] = 'Du har allerede et autosvar aktivert!'; +$PALANG['pUsersVacation_welcome_text'] = 'Du har allerede et autosvar aktivert! (%s)'; # XXX Text changed to: 'Auto response for %s is active!' $PALANG['pUsersVacation_subject_text'] = 'Fraværsmelding'; $PALANG['message'] = 'Meldingstekst'; # XXX check text - should be 'Message' $PALANG['pUsersVacation_body_text'] = <<<EOM Jeg er utilgjengelig fra (dato) til (dato). Dersom det gjelder noe viktig kan du kontakte (kontaktperson). EOM; -$PALANG['pUsersVacation_activefrom'] = 'Aktiv fra'; # obsolete -$PALANG['pUsersVacation_activeuntil'] = 'Aktiv til'; # obsolete +$PALANG['pUsersVacation_activefrom'] = 'Aktiv fra'; +$PALANG['pUsersVacation_activeuntil'] = 'Aktiv til'; $PALANG['pEdit_dbLog_editactive'] = 'endre status'; Modified: trunk/languages/nl.lang =================================================================== --- trunk/languages/nl.lang 2014-10-13 19:33:45 UTC (rev 1696) +++ trunk/languages/nl.lang 2014-10-13 20:50:22 UTC (rev 1697) @@ -19,12 +19,12 @@ $PALANG['invalid_parameter'] = 'ongeldige parameter!'; $PALANG['show'] = 'Toon:'; $PALANG['all'] = 'Alle'; -$PALANG['created'] = 'Created'; # XXX -$PALANG['unknown'] = 'unknown'; # XXX -$PALANG['missing_field'] = 'Field %s is missing'; # XXX -$PALANG['must_be_numeric'] = '%s must be numeric'; # XXX -$PALANG['must_be_boolean'] = '%s must be boolean'; # XXX -$PALANG['invalid_value_given'] = 'Invalid value given for %s'; # XXX +$PALANG['created'] = 'Aangemaakt'; #XXX +$PALANG['unknown'] = 'onbekend'; #XXX +$PALANG['missing_field'] = 'Veld %s is niet aanwezig'; #XXX +$PALANG['must_be_numeric'] = '%s moet een getal zijn'; #XXX +$PALANG['must_be_boolean'] = '%s moet een boolean zijn'; #XXX +$PALANG['invalid_value_given'] = 'Foutief waarde ingevooerd %s'; # XXX $PALANG['pFooter_logged_as'] = 'aangemeld als %s'; $PALANG['pLogin_welcome'] = 'Mail beheerders log hier in om uw domeinen te beheren.'; @@ -75,8 +75,8 @@ $PALANG['pOverview_mailbox_quota'] = 'Quota (MB)'; $PALANG['pOverview_vacation_edit'] = 'AUTOMATISCH BEANTWOORDEN IS ACTIEF'; $PALANG['pOverview_vacation_option'] = 'Activeer automatisch beantwoorden'; -$PALANG['no_domains_for_this_admin'] = 'You don\'t have permissions for any domains.'; # XXX -$PALANG['no_domains_exist'] = 'You have to create at least one domain before you can use virtual list.'; # "virtual list" should match $PALANG['pAdminMenu_list_virtual'] # XXX +$PALANG['no_domains_for_this_admin'] = 'Je hebt geen elke domein toesteming.'; # XXX +$PALANG['no_domains_exist'] = 'Je moet tenminste een domein aanmaken voordat je Virtueel overzicht kunt gebruiken.'; # "virtual list" should match $PALANG['pAdminMenu_list_virtual'] # XXX $PALANG['domain'] = 'Domein'; $PALANG['pOverview_get_alias_domains'] = 'Domein aliasen'; @@ -94,27 +94,27 @@ $PALANG['pCreate_alias_domain_target_text'] = 'Domein waar de mail naar toe moet.'; $PALANG['pCreate_alias_domain_error1'] = 'U heeft niet genoeg rechten om de huidige configuratie te maken.'; $PALANG['pCreate_alias_domain_error2'] = 'De huidige configuratie is ongeldig, slecteer een andere!'; -$PALANG['alias_domain_already_exists'] = 'This domain is already an alias domain!'; # XXX -$PALANG['alias_domain_does_not_exist'] = 'This domain isn\'t an alias domain!'; # XXX -$PALANG['alias_domain_create_failed'] = 'Fout bij vullen database. (%s)'; # XXX Text changed to: Creating the alias domain %s failed! -$PALANG['alias_domain_change_failed'] = 'Changing the alias domain %s failed!'; # XXX +$PALANG['alias_domain_already_exists'] = 'Dit domein is al een alias domein!'; # XXX +$PALANG['alias_domain_does_not_exist'] = 'Dit domein is geen alias domein!'; # XXX +$PALANG['alias_domain_create_failed'] = 'Het aanmaken van het alias domein %s is niet gelukt!'; # XXX Text changed to: Creating the alias domain %s failed! +$PALANG['alias_domain_change_failed'] = 'Het aanpassen van het alias domein %s is niet gelukt!'; # XXX $PALANG['pCreate_alias_domain_error4'] = 'Alle domeinen hebben al een alias!'; -$PALANG['pCreate_alias_domain_success'] = 'De domein alias is toegevoegd aan de alias domein tabel! (%s)'; # XXX Text changed to: The alias domain %s has been created. -$PALANG['alias_domain_changed'] = 'The alias domain %s has been changed.'; # XXX -$PALANG['alias_domain_to_itsself'] = 'A domain can\'t be an alias domain to itsself!'; # XXX -$PALANG['delete_domain_aliasdomain_target'] = 'The domain %s is the target for one or more alias domains and can\'t be deleted! (Delete the alias domains first.)'; # XXX +$PALANG['pCreate_alias_domain_success'] = 'Het alias domein %s is aangemaakt'; # XXX Text changed to: The alias domain %s has been created. +$PALANG['alias_domain_changed'] = 'Het alias domein %s is aangepast.'; # XXX +$PALANG['alias_domain_to_itsself'] = 'Een domein kan niet een alias domein van zich zelf!'; # XXX +$PALANG['delete_domain_aliasdomain_target'] = 'Het domein %s is onderdeel van een of meerdere domeinen en kan niet worden verwijderd! (Verwijder het alias domeins eerst.)'; # XXX $PALANG['pCreate_alias_address_text_error1'] = 'De Alias is niet geldig!'; -$PALANG['alias_does_not_exist'] = 'This alias does not exist!'; # XXX -$PALANG['email_address_already_exists'] = 'Dit e-mail aders bestaat al, kies aub een andere.'; # XXX check text - should be 'This email address already exists, please choose a different one\!' +$PALANG['alias_does_not_exist'] = 'Deze alias bestaat niet!'; # XXX +$PALANG['email_address_already_exists'] = 'Dit e-mail adres bestaat al, kies aub een andere.'; # XXX check text - should be 'This email address already exists, please choose a different one\!' $PALANG['pCreate_alias_address_text_error3'] = 'U bezit het maximum aantal aliassen.'; $PALANG['pCreate_alias_goto_text'] = 'Waar de e-mails heen gestuurd worden.'; $PALANG['pCreate_alias_goto_text_error'] = 'De NAAR is niet geldig.'; -$PALANG['pCreate_alias_result_error'] = 'Mislukt om de alias toe te voegen. (%s)'; # XXX Text changed to: Creating the alias %s failed! -$PALANG['pCreate_alias_result_success'] = 'De alias is toegevoegd.'; # XXX text change: 'The alias %s has been created!' -$PALANG['alias_updated'] = 'The alias %s has been updated!'; # XXX +$PALANG['pCreate_alias_result_error'] = 'Mislukt om de alias %s toe te voegen.!'; # XXX Text changed to: Creating the alias %s failed! +$PALANG['pCreate_alias_result_success'] = 'De alias %s is toegevoegd.'; # XXX text change: 'The alias %s has been created!' +$PALANG['alias_updated'] = 'De alias %s is bijgewerkt!'; # XXX $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['mailbox_alias_cant_be_deleted'] = 'This alias belongs to a mailbox and can\'t be deleted!'; # XXX +$PALANG['mailbox_alias_cant_be_deleted'] = 'De alias maakt onderdeel uit van mailbox en kan niet worden verwijderd!'; # XXX $PALANG['pEdit_alias_welcome'] = 'Bewerk een alias voor uw domein.'; $PALANG['pEdit_alias_help'] = 'Meerdere e-mailadressen toegestaan. Slechts één alias per regel.'; @@ -125,7 +125,7 @@ $PALANG['pEdit_alias_domain_result_error'] = 'Niet in staat de domein alias te bewerken!'; $PALANG['pEdit_alias_forward_and_store'] = 'Lever af op de lokale mailbox.'; $PALANG['pEdit_alias_forward_only'] = 'Alleen op opgegeven email adres afleveren.'; -$PALANG['pEdit_alias_result_error'] = 'Mislukt om de alias te bewerken! (%s)'; # XXX Text changed to: Modifying the alias %s failed! +$PALANG['pEdit_alias_result_error'] = 'Mislukt om de alias %s te bewerken!'; # XXX Text changed to: Modifying the alias %s failed! $PALANG['pCreate_mailbox_welcome'] = 'Maak een nieuw lokale mailbox voor uw domein.'; $PALANG['pCreate_mailbox_username_text_error1'] = 'Het e-mail adres is niet geldig.'; @@ -133,11 +133,11 @@ $PALANG['pCreate_mailbox_password_text'] = 'Wachtwoord voor POP3/IMAP'; $PALANG['pCreate_mailbox_name_text'] = 'Volledige naam'; $PALANG['pCreate_mailbox_mail'] = 'Mailbox toevoegen'; # XXX Text change to 'Send Welcome mail' -$PALANG['pCreate_mailbox_result_error'] = 'Mislukt om de mailbox toe te voegen. (%s)'; # XXX Text changed to: Creating the mailbox %s failed! -$PALANG['pCreate_mailbox_result_success'] = 'De mailbox is toegevoegd. (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table! +$PALANG['pCreate_mailbox_result_error'] = 'Mislukt om de mailbox %s toe te voegen!'; # XXX Text changed to: Creating the mailbox %s failed! +$PALANG['pCreate_mailbox_result_success'] = 'De mailbox %s is toegevoegd aan de mailbox tabel!'; # XXX Text changed to: The mailbox %s has been added to the mailbox table! $PALANG['pCreate_mailbox_result_succes_nosubfolders'] = 'De mailbox is aan de mailbox tabel toegevoegd, maar geen (of sommige) van de vooraf gedefinieerde sub-folders kon aangemaakt worden (%s)'; # XXX Text changed to: The mailbox %s has been added to the mailbox table, but none (or only some) of the predefined sub-folders could be created. -$PALANG['mailbox_updated'] = "The mailbox %s has been updated."; # XXX -$PALANG['mailbox_update_failed'] = "Updating the mailbox %s failed!"; # XXX +$PALANG['mailbox_updated'] = "De mailbox %s is bijgewerkt."; # XXX +$PALANG['mailbox_update_failed'] = "Bijwerken van mailbox %s is mislukt!"; # XXX $PALANG['pEdit_mailbox_welcome'] = 'Bewerk een mailbox voor uw domein.'; $PALANG['pEdit_mailbox_username'] = 'Gebruikersnaam'; @@ -157,20 +157,23 @@ $PALANG['pPassword_password2'] = 'Nieuw wachtwoord (nogmaals)'; $PALANG['pPassword_password_text_error'] = 'De wachtwoorden die u opgaf komen niet overeen of zijn leeg.'; $PALANG['change_password'] = 'Wijzig wachtwoord'; -$PALANG['pPassword_result_error'] = 'Mislukt om uw wachtwoord te veranderen. (%s)'; # XXX Text changed to: Changing the password for %s failed! -$PALANG['pPassword_result_success'] = 'Uw wachtwoord is veranderd. (%s)'; # XXX Text changed to: The password for %s has been changed. +$PALANG['pPassword_result_error'] = 'Het veranderen van het wachtwoord voor %s is mislukt!'; # XXX Text changed to: Changing the password for %s failed! +$PALANG['pPassword_result_success'] = 'Uw wachtwoord voor %s is veranderd.'; # XXX Text changed to: The password for %s has been changed. -$PALANG['pEdit_vacation_set'] = 'Verander / Activeer beantwoorden tekst'; -$PALANG['pEdit_vacation_remove'] = 'Verwijder beantwoorden tekst'; +$PALANG['pEdit_vacation_set'] = 'Verander / Activeer Automatisch beantwoorden'; +$PALANG['pEdit_vacation_remove'] = 'Deactiveer Automatisch beantwoorden'; $PALANG['pVacation_result_error'] = 'Niet in staat automatisch beantwoorden te wijzigen! (%s)'; # XXX Text changed to: Updating the auto response settings for %s failed $PALANG['pVacation_result_removed'] = 'Automatisch beantwoorden is voor %s gedeactiveerd!'; $PALANG['pVacation_result_added'] = 'Automatisch beantwoorden is voor %s geactiveerd!'; $PALANG['pVacation_reply_type'] = 'Keuze van beantwoording'; $PALANG['pVacation_reply_delay_time'] = 'Interval tijd'; $PALANG['pVacation_reply_delay_time_text'] = 'Tijd in seconds'; -$PALANG['reply_once'] = 'Reply once'; # XXX -$PALANG['reply_every_mail'] = 'Reply on every mail'; # XXX -$PALANG['reply_once_per_week'] = 'Reply once per week'; # XXX +$PALANG['pVacation_until_before_today'] = 'De datum van [Actief t/m] ligt voor vandaag'; +$PALANG['pVacation_until_before_from'] = 'De datum van [Actief t/m] ligt voor [Actief vanaf]'; +$PALANG['reply_once'] = 'eenmalige beantwoording'; # XXX +$PALANG['reply_every_mail'] = 'Beantwoord elke keer'; # XXX +$PALANG['reply_once_per_day'] = 'Beantwoord een keer per dag'; # XXX +$PALANG['reply_once_per_week'] = 'Beantwoord een keer per week'; # XXX $PALANG['pViewlog_welcome'] = 'Laat de laatste 10 actie\'s zien van '; $PALANG['pViewlog_timestamp'] = 'Tijd'; @@ -185,7 +188,7 @@ $PALANG['pViewlog_action_edit_mailbox_state'] = 'status actieve mailbox bewerkt'; $PALANG['pViewlog_action_create_alias'] = 'alias toegevoegd'; $PALANG['pViewlog_action_create_alias_domain'] = 'maak domein alias'; -$PALANG['pViewlog_action_edit_alias_domain'] = 'edit alias domain'; # XXX +$PALANG['pViewlog_action_edit_alias_domain'] = 'Bewerk alias domein'; # XXX $PALANG['pViewlog_action_delete_alias'] = 'alias verwijderd'; $PALANG['pViewlog_action_delete_alias_domain'] = 'verwijder alias domein'; $PALANG['pViewlog_action_edit_alias'] = 'alias bewerkt'; @@ -228,19 +231,19 @@ $PALANG['pAdminCreate_domain_welcome'] = 'Voeg een nieuw domein toe'; $PALANG['pAdminCreate_domain_domain_text_error'] = 'Het domein bestaat al.'; -$PALANG['domain_does_not_exist'] = 'This domain does not exist!'; # XXX +$PALANG['domain_does_not_exist'] = 'Dit domein bestaat niet!'; # XXX $PALANG['pAdminCreate_domain_domain_text_error2'] = 'Het domein is niet geldig!'; $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. (%s)'; # XXX Text changed to: Adding the domain %s failed! $PALANG['pAdminCreate_domain_result_success'] = 'Domein is toegevoegd! (%s)'; # XXX Text changed to: The domain %s has been added. -$PALANG['domain_updated'] = 'The domain %s has been updated.'; # XXX +$PALANG['domain_updated'] = 'Het domein %s is bijgewerkt.'; # XXX $PALANG['pAdminDelete_admin_error'] = 'Niet in staat beheerder te verwijderen!'; $PALANG['domain_postdel_failed'] = 'Niet in staat domein te verwijderen!'; # XXX Text changed to: The domain postdeletion script failed, check the error log for details! -$PALANG['domain_postcreate_failed'] = 'The domain postcreate script failed, check the error log for details!'; # XXX -$PALANG['mailbox_postdel_failed'] = 'The mailbox postdeletion script failed, check the error log for details!'; # XXX -$PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX -$PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX +$PALANG['domain_postcreate_failed'] = 'Het domein vooraanmaak script is mislukt, controleer de log file voor meer informatie!'; # XXX +$PALANG['mailbox_postdel_failed'] = 'Het mailbox postdeletion script is mislukt, controleer de log file voor meer informatie!'; # XXX +$PALANG['mailbox_postedit_failed'] = 'Het mailbox postedit script is mislukt, controleer de log file voor meer informatie'; # XXX +$PALANG['mailbox_postcreate_failed'] = 'Het mailbox postcreate script is mislukt, controleer de log file voor meer informatie!'; # XXX $PALANG['pAdminDelete_alias_domain_error'] = 'Niet in staat domein alias te verwijderen!'; $PALANG['domain_conflict_vacation_domain'] = 'You can\'t use the vacation domain as mail domain!'; # XXX @@ -252,13 +255,13 @@ $PALANG['transport'] = 'Transport'; $PALANG['pAdminEdit_domain_transport_text'] = 'Definieer transport'; $PALANG['pAdminEdit_domain_backupmx'] = 'Mail server is back-up MX'; -$PALANG['pAdminEdit_domain_result_error'] = 'Mislukt het domein te bewerken. (%s)'; # XXX Text changed to: Modifying the domain %s failed! +$PALANG['pAdminEdit_domain_result_error'] = 'Het bewerken van domein %s is mislukt!'; # XXX Text changed to: Modifying the domain %s failed! $PALANG['pAdminCreate_admin_welcome'] = 'Voeg een nieuw domein beheerder toe'; $PALANG['email_address'] = 'E-mail adres'; $PALANG['pAdminCreate_admin_username_text_error1'] = 'Beheerder is geen geldig e-mail adres!'; $PALANG['admin_already_exists'] = 'De beheerder bestaat al of is niet geldig'; # XXX Text changed to: The admin already exists! -$PALANG['admin_does_not_exist'] = 'The admin does not exist!'; # XXX +$PALANG['admin_does_not_exist'] = 'De Beheerder bestaat niet!'; # XXX $PALANG['pAdminCreate_admin_button'] = 'Voeg beheerder toe'; $PALANG['pAdminCreate_admin_result_error'] = 'Mislukt om beheerder toe te voegen! (%s)'; # XXX Text changed to: Adding the admin %s failed! $PALANG['pAdminCreate_admin_result_success'] = 'Beheerder is toegevoegd. (%s)'; # XXX Text changed to: The admin %s has been added. @@ -266,10 +269,10 @@ $PALANG['pAdminEdit_admin_welcome'] = 'Bewerk een domein beheerder'; $PALANG['admin'] = 'Beheerder'; $PALANG['password_again'] = 'Wachtwoord (nogmaals)'; -$PALANG['super_admin'] = 'Super administrator'; -$PALANG['super_admin_desc'] = 'Super admins have access to all domains, can manage domains and admin accounts.'; # XXX -$PALANG['pAdminEdit_admin_result_error'] = 'Mislukt om beheerder te bewerken (%s)'; # XXX Text changed to: Modifying the admin %s failed! -$PALANG['pAdminEdit_admin_result_success'] = 'Beheerder is bewerkt! (%s)'; # XXX Text changed to: The admin %s has been modified. +$PALANG['super_admin'] = 'Hoofd Beheerder'; +$PALANG['super_admin_desc'] = 'De hoofd Beheerder heeft toegang tot alle doameinen en kan alle domeinen en beheeraccounts aanpassen.'; # XXX +$PALANG['pAdminEdit_admin_result_error'] = 'Het bewerken van beheerder %s is mislukt!'; # XXX Text changed to: Modifying the admin %s failed! +$PALANG['pAdminEdit_admin_result_success'] = 'De beheerder %s is aangepast'; # XXX Text changed to: The admin %s has been modified. $PALANG['pUsersLogin_welcome'] = 'Mailbox gebruikers login om uw wachtwoord en aliassen te bewerken.'; $PALANG['pUsersLogin_username_incorrect'] = 'Uw login is niet correct. U dient in te loggen met uw e-mail adres.'; @@ -284,15 +287,15 @@ $PALANG['pUsersMain_password'] = 'Wijzig uw huidige wachtwoord.'; $PALANG['pUsersVacation_welcome'] = 'Automatisch beantwoorden.'; -$PALANG['pUsersVacation_welcome_text'] = 'U heeft uw automatisch beantwoorden ingesteld.'; +$PALANG['pUsersVacation_welcome_text'] = 'Automatisch beantwoorden voor %s is active. (%s)'; # XXX Text changed to: 'Auto response for %s is active!' $PALANG['pUsersVacation_subject_text'] = 'Out of Office'; $PALANG['message'] = 'Bericht'; $PALANG['pUsersVacation_body_text'] = <<<EOM Ik zal afwezig zijn van <date> tot <date>. Voor belangrijke punten kunt u contact opnemen met <contact person>. EOM; -$PALANG['pUsersVacation_activefrom'] = 'Actief vanaf'; # obsolete -$PALANG['pUsersVacation_activeuntil'] = 'Actief t/m'; # obsolete +$PALANG['pUsersVacation_activefrom'] = 'Actief vanaf'; # -> NOT OBSOLETE <- +$PALANG['pUsersVacation_activeuntil'] = 'Actief t/m'; # -> NOT OBSOLETE <- $PALANG['pEdit_dbLog_editactive'] = 'status verandert'; @@ -309,11 +312,11 @@ $PALANG['pStatus_custom'] = 'Bezorgen op '; $PALANG['pStatus_popimap'] = 'POP/IMAP '; $PALANG['password_too_short'] = "Wachtwoord is te kort - moet minimaal %s karakters bevatten"; -$PALANG['password_no_characters'] = "Your password must contain at least %s character(s)."; # XXX -$PALANG['password_no_digits'] = "Your password must contain at least %s digit(s)."; # XXX +$PALANG['password_no_characters'] = "Je wachtwoord moet minimaal %s karakter(s) bevatten."; # XXX +$PALANG['password_no_digits'] = "Je wachtwoord moet minimaal %s getal(len) bevatten."; # XXX $PALANG['pInvalidDomainRegex'] = "Ongeldig domein naam %s"; $PALANG['pInvalidDomainDNS'] = "Ongeldig domein %s"; -$PALANG['pInvalidMailRegex'] = "Ongeldig email adres %s"; # XXX text change to: "Invalid email address %s, fails regexp check" +$PALANG['pInvalidMailRegex'] = "Ongeldig email adres %s komt niet door de limietcheck"; # XXX text change to: "Invalid email address %s, fails regexp check" $PALANG['pFetchmail_welcome'] = 'Haal mail op voor:'; $PALANG['pFetchmail_new_entry'] = 'Nieuw item'; $PALANG['pFetchmail_database_save_error'] = 'Niet in staat dit item toe te voegen aan database!'; @@ -335,7 +338,7 @@ $PALANG['pFetchmail_field_keep'] = 'behouden'; $PALANG['pFetchmail_field_protocol'] = 'protocol'; $PALANG['pFetchmail_f... [truncated message content] |
From: <chr...@us...> - 2014-10-20 21:24:02
|
Revision: 1699 http://sourceforge.net/p/postfixadmin/code/1699 Author: christian_boltz Date: 2014-10-20 21:23:54 +0000 (Mon, 20 Oct 2014) Log Message: ----------- INSTALL.TXT, ADDITIONS/squirrelmail-plugin/INSTALL - add required version of Zend Framework (1.12.x) and a warning that 2.x won't work (reported by seboulba on IRC) Modified Paths: -------------- trunk/ADDITIONS/squirrelmail-plugin/INSTALL trunk/INSTALL.TXT Modified: trunk/ADDITIONS/squirrelmail-plugin/INSTALL =================================================================== --- trunk/ADDITIONS/squirrelmail-plugin/INSTALL 2014-10-20 08:31:57 UTC (rev 1698) +++ trunk/ADDITIONS/squirrelmail-plugin/INSTALL 2014-10-20 21:23:54 UTC (rev 1699) @@ -12,6 +12,7 @@ wget https://packages.zendframework.com/releases/ZendFramework-1.12.3/ZendFramework-1.12.3-minimal.tar.gz tar -zxf ZendFramework-1.12.3-minimal.tar.gz mv ZendFramework-1.12.3-minimal/library/Zend . ) + NOTE: This plugin is _not compatible_ with Zend Framework version 2.x. Installation : ============== Modified: trunk/INSTALL.TXT =================================================================== --- trunk/INSTALL.TXT 2014-10-20 08:31:57 UTC (rev 1698) +++ trunk/INSTALL.TXT 2014-10-20 21:23:54 UTC (rev 1699) @@ -159,7 +159,9 @@ See xmlrpc.php - only a subset of Postfixadmin's functionality is currently exposed. See config.inc.php - see xmlrpc_enabled key (defaults to off). -You'll need to install a copy of the Zend Framework within Postfixadmin (see header within xmlrpc.php) +You'll need to install a copy of the Zend Framework (version 1.12.x) within Postfixadmin +or your PHP include_path (see header within xmlrpc.php). +NOTE: The XMLRPC interface is _not compatible_ with Zend Framework version 2.x. You'll need to enable the xmlrpc link (see config.inc.php) 8. More information This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2014-10-22 16:30:34
|
Revision: 1702 http://sourceforge.net/p/postfixadmin/code/1702 Author: christian_boltz Date: 2014-10-22 16:30:25 +0000 (Wed, 22 Oct 2014) Log Message: ----------- AliasHandler: - initStruct(): revert the MariaDB workaround because PostfixAdmin now "thinks" none of the aliases belong to a mailbox (and displays all of them in the alias list, even the mailbox aliases) - reverts r1699 + the CHANGELOG entry (part of r1700) - reopened https://sourceforge.net/p/postfixadmin/bugs/325/ Revision Links: -------------- http://sourceforge.net/p/postfixadmin/code/1699 http://sourceforge.net/p/postfixadmin/code/1700 Modified Paths: -------------- trunk/CHANGELOG.TXT trunk/model/AliasHandler.php Modified: trunk/CHANGELOG.TXT =================================================================== --- trunk/CHANGELOG.TXT 2014-10-22 15:33:33 UTC (rev 1701) +++ trunk/CHANGELOG.TXT 2014-10-22 16:30:25 UTC (rev 1702) @@ -15,8 +15,8 @@ - AliasHandler: don't clean goto field when making alias inactive (bug#316) - list-virtual: display quota even if $CONF[used_quotas] == NO (bug#307) - vacation.pl: fix postgresql queries in vacation.pl (bug#315) -- fix query in AliasHandler getList() which caused an empty list and init() - which breaks deleting aliases in MariaDB (bug#313, bug#325) +- fix query in AliasHandler getList() which caused an empty list in MariaDB + (bug#313, bug#325) - fetchmail.pl: fix ssl extra options (cert check, cert path, fingerprint) - fix logging (run setup.php to fix old log entries) (bug#317) - fetchmail.php: change error_reporting() to exclude E_NOTICE (bug#322) Modified: trunk/model/AliasHandler.php =================================================================== --- trunk/model/AliasHandler.php 2014-10-22 15:33:33 UTC (rev 1701) +++ trunk/model/AliasHandler.php 2014-10-22 16:30:25 UTC (rev 1702) @@ -40,9 +40,8 @@ /*not_in_db*/ 0, /*dont_write_to_db*/ 1, /*select*/ 'coalesce(__is_mailbox,0) as is_mailbox', - # "COUNT(1)" instead of just "1" needed for MariaDB, see https://sourceforge.net/p/postfixadmin/bugs/325/ /*extrafrom*/ 'LEFT JOIN ( ' . - ' SELECT COUNT(1) as __is_mailbox, username as __mailbox_username ' . + ' SELECT 1 as __is_mailbox, username as __mailbox_username ' . ' FROM ' . table_by_key('mailbox') . ' WHERE username IS NOT NULL ' . ' ) AS __mailbox ON __mailbox_username = address' ), This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2014-10-23 18:26:57
|
Revision: 1703 http://sourceforge.net/p/postfixadmin/code/1703 Author: christian_boltz Date: 2014-10-23 18:26:54 +0000 (Thu, 23 Oct 2014) Log Message: ----------- AliasHandler: - finally fix alias deletion when using MariaDB. The workaround is to add another field from the subquery to the outer SELECT so that MariaDB can't optimize the subquery to "always 1" http://sourceforge.net/p/postfixadmin/bugs/325/ (I'll open a MariaDB bugreport and add the link to the bugtracker) Modified Paths: -------------- trunk/CHANGELOG.TXT trunk/model/AliasHandler.php Modified: trunk/CHANGELOG.TXT =================================================================== --- trunk/CHANGELOG.TXT 2014-10-22 16:30:25 UTC (rev 1702) +++ trunk/CHANGELOG.TXT 2014-10-23 18:26:54 UTC (rev 1703) @@ -15,8 +15,8 @@ - AliasHandler: don't clean goto field when making alias inactive (bug#316) - list-virtual: display quota even if $CONF[used_quotas] == NO (bug#307) - vacation.pl: fix postgresql queries in vacation.pl (bug#315) -- fix query in AliasHandler getList() which caused an empty list in MariaDB - (bug#313, bug#325) +- fix query in AliasHandler getList() which caused an empty list and breaks + deletion of aliases in MariaDB (bug#313, bug#325) - fetchmail.pl: fix ssl extra options (cert check, cert path, fingerprint) - fix logging (run setup.php to fix old log entries) (bug#317) - fetchmail.php: change error_reporting() to exclude E_NOTICE (bug#322) Modified: trunk/model/AliasHandler.php =================================================================== --- trunk/model/AliasHandler.php 2014-10-22 16:30:25 UTC (rev 1702) +++ trunk/model/AliasHandler.php 2014-10-23 18:26:54 UTC (rev 1703) @@ -39,7 +39,8 @@ /*options*/ '', /*not_in_db*/ 0, /*dont_write_to_db*/ 1, - /*select*/ 'coalesce(__is_mailbox,0) as is_mailbox', + /*select*/ 'coalesce(__is_mailbox,0) as is_mailbox, __mailbox_username', + # __mailbox_username is unused, but needed as workaround for a MariaDB bug /*extrafrom*/ 'LEFT JOIN ( ' . ' SELECT 1 as __is_mailbox, username as __mailbox_username ' . ' FROM ' . table_by_key('mailbox') . This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2014-10-23 22:24:09
|
Revision: 1704 http://sourceforge.net/p/postfixadmin/code/1704 Author: christian_boltz Date: 2014-10-23 22:23:53 +0000 (Thu, 23 Oct 2014) Log Message: ----------- update Smarty to 3.1.21 Modified Paths: -------------- trunk/CHANGELOG.TXT trunk/smarty/libs/Smarty.class.php trunk/smarty/libs/SmartyBC.class.php trunk/smarty/libs/debug.tpl trunk/smarty/libs/plugins/block.textformat.php trunk/smarty/libs/plugins/function.counter.php trunk/smarty/libs/plugins/function.cycle.php trunk/smarty/libs/plugins/function.fetch.php trunk/smarty/libs/plugins/function.html_checkboxes.php trunk/smarty/libs/plugins/function.html_image.php trunk/smarty/libs/plugins/function.html_options.php trunk/smarty/libs/plugins/function.html_radios.php trunk/smarty/libs/plugins/function.html_select_date.php trunk/smarty/libs/plugins/function.html_select_time.php trunk/smarty/libs/plugins/function.html_table.php trunk/smarty/libs/plugins/function.mailto.php trunk/smarty/libs/plugins/function.math.php trunk/smarty/libs/plugins/modifier.capitalize.php trunk/smarty/libs/plugins/modifier.date_format.php trunk/smarty/libs/plugins/modifier.debug_print_var.php trunk/smarty/libs/plugins/modifier.escape.php trunk/smarty/libs/plugins/modifier.regex_replace.php trunk/smarty/libs/plugins/modifier.replace.php trunk/smarty/libs/plugins/modifier.spacify.php trunk/smarty/libs/plugins/modifier.truncate.php trunk/smarty/libs/plugins/modifiercompiler.cat.php trunk/smarty/libs/plugins/modifiercompiler.count_characters.php trunk/smarty/libs/plugins/modifiercompiler.count_paragraphs.php trunk/smarty/libs/plugins/modifiercompiler.count_sentences.php trunk/smarty/libs/plugins/modifiercompiler.count_words.php trunk/smarty/libs/plugins/modifiercompiler.default.php trunk/smarty/libs/plugins/modifiercompiler.escape.php trunk/smarty/libs/plugins/modifiercompiler.from_charset.php trunk/smarty/libs/plugins/modifiercompiler.indent.php trunk/smarty/libs/plugins/modifiercompiler.lower.php trunk/smarty/libs/plugins/modifiercompiler.noprint.php trunk/smarty/libs/plugins/modifiercompiler.string_format.php trunk/smarty/libs/plugins/modifiercompiler.strip.php trunk/smarty/libs/plugins/modifiercompiler.strip_tags.php trunk/smarty/libs/plugins/modifiercompiler.to_charset.php trunk/smarty/libs/plugins/modifiercompiler.unescape.php trunk/smarty/libs/plugins/modifiercompiler.upper.php trunk/smarty/libs/plugins/modifiercompiler.wordwrap.php trunk/smarty/libs/plugins/outputfilter.trimwhitespace.php trunk/smarty/libs/plugins/shared.escape_special_chars.php trunk/smarty/libs/plugins/shared.literal_compiler_param.php trunk/smarty/libs/plugins/shared.make_timestamp.php trunk/smarty/libs/plugins/shared.mb_str_replace.php trunk/smarty/libs/plugins/shared.mb_unicode.php trunk/smarty/libs/plugins/shared.mb_wordwrap.php trunk/smarty/libs/plugins/variablefilter.htmlspecialchars.php trunk/smarty/libs/sysplugins/smarty_cacheresource.php trunk/smarty/libs/sysplugins/smarty_cacheresource_custom.php trunk/smarty/libs/sysplugins/smarty_cacheresource_keyvaluestore.php trunk/smarty/libs/sysplugins/smarty_config_source.php trunk/smarty/libs/sysplugins/smarty_internal_cacheresource_file.php trunk/smarty/libs/sysplugins/smarty_internal_compile_append.php trunk/smarty/libs/sysplugins/smarty_internal_compile_assign.php trunk/smarty/libs/sysplugins/smarty_internal_compile_block.php trunk/smarty/libs/sysplugins/smarty_internal_compile_break.php trunk/smarty/libs/sysplugins/smarty_internal_compile_call.php trunk/smarty/libs/sysplugins/smarty_internal_compile_capture.php trunk/smarty/libs/sysplugins/smarty_internal_compile_config_load.php trunk/smarty/libs/sysplugins/smarty_internal_compile_continue.php trunk/smarty/libs/sysplugins/smarty_internal_compile_debug.php trunk/smarty/libs/sysplugins/smarty_internal_compile_eval.php trunk/smarty/libs/sysplugins/smarty_internal_compile_extends.php trunk/smarty/libs/sysplugins/smarty_internal_compile_for.php trunk/smarty/libs/sysplugins/smarty_internal_compile_foreach.php trunk/smarty/libs/sysplugins/smarty_internal_compile_function.php trunk/smarty/libs/sysplugins/smarty_internal_compile_if.php trunk/smarty/libs/sysplugins/smarty_internal_compile_include.php trunk/smarty/libs/sysplugins/smarty_internal_compile_include_php.php trunk/smarty/libs/sysplugins/smarty_internal_compile_insert.php trunk/smarty/libs/sysplugins/smarty_internal_compile_ldelim.php trunk/smarty/libs/sysplugins/smarty_internal_compile_nocache.php trunk/smarty/libs/sysplugins/smarty_internal_compile_private_block_plugin.php trunk/smarty/libs/sysplugins/smarty_internal_compile_private_function_plugin.php trunk/smarty/libs/sysplugins/smarty_internal_compile_private_modifier.php trunk/smarty/libs/sysplugins/smarty_internal_compile_private_object_block_function.php trunk/smarty/libs/sysplugins/smarty_internal_compile_private_object_function.php trunk/smarty/libs/sysplugins/smarty_internal_compile_private_print_expression.php trunk/smarty/libs/sysplugins/smarty_internal_compile_private_registered_block.php trunk/smarty/libs/sysplugins/smarty_internal_compile_private_registered_function.php trunk/smarty/libs/sysplugins/smarty_internal_compile_private_special_variable.php trunk/smarty/libs/sysplugins/smarty_internal_compile_rdelim.php trunk/smarty/libs/sysplugins/smarty_internal_compile_section.php trunk/smarty/libs/sysplugins/smarty_internal_compile_setfilter.php trunk/smarty/libs/sysplugins/smarty_internal_compile_while.php trunk/smarty/libs/sysplugins/smarty_internal_compilebase.php trunk/smarty/libs/sysplugins/smarty_internal_config.php trunk/smarty/libs/sysplugins/smarty_internal_config_file_compiler.php trunk/smarty/libs/sysplugins/smarty_internal_configfilelexer.php trunk/smarty/libs/sysplugins/smarty_internal_configfileparser.php trunk/smarty/libs/sysplugins/smarty_internal_data.php trunk/smarty/libs/sysplugins/smarty_internal_debug.php trunk/smarty/libs/sysplugins/smarty_internal_filter_handler.php trunk/smarty/libs/sysplugins/smarty_internal_function_call_handler.php trunk/smarty/libs/sysplugins/smarty_internal_get_include_path.php trunk/smarty/libs/sysplugins/smarty_internal_nocache_insert.php trunk/smarty/libs/sysplugins/smarty_internal_parsetree.php trunk/smarty/libs/sysplugins/smarty_internal_resource_eval.php trunk/smarty/libs/sysplugins/smarty_internal_resource_extends.php trunk/smarty/libs/sysplugins/smarty_internal_resource_file.php trunk/smarty/libs/sysplugins/smarty_internal_resource_php.php trunk/smarty/libs/sysplugins/smarty_internal_resource_registered.php trunk/smarty/libs/sysplugins/smarty_internal_resource_stream.php trunk/smarty/libs/sysplugins/smarty_internal_resource_string.php trunk/smarty/libs/sysplugins/smarty_internal_smartytemplatecompiler.php trunk/smarty/libs/sysplugins/smarty_internal_template.php trunk/smarty/libs/sysplugins/smarty_internal_templatebase.php trunk/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php trunk/smarty/libs/sysplugins/smarty_internal_templatelexer.php trunk/smarty/libs/sysplugins/smarty_internal_templateparser.php trunk/smarty/libs/sysplugins/smarty_internal_utility.php trunk/smarty/libs/sysplugins/smarty_internal_write_file.php trunk/smarty/libs/sysplugins/smarty_resource.php trunk/smarty/libs/sysplugins/smarty_resource_custom.php trunk/smarty/libs/sysplugins/smarty_resource_recompiled.php trunk/smarty/libs/sysplugins/smarty_resource_uncompiled.php trunk/smarty/libs/sysplugins/smarty_security.php trunk/smarty/smarty_version Modified: trunk/CHANGELOG.TXT =================================================================== --- trunk/CHANGELOG.TXT 2014-10-23 18:26:54 UTC (rev 1703) +++ trunk/CHANGELOG.TXT 2014-10-23 22:23:53 UTC (rev 1704) @@ -24,6 +24,7 @@ - $CONF[default_aliases] can now use the new domain as alias target (patch#124) - check that vacation start/end date are not in the past (patch#122) - update vacation INSTALL.TXT with more secure locations +- update Smarty to 3.1.21 Version 3.0 beta1 (2.91) - 2014/05/06 - SVN r1670 ------------------------------------------------- Modified: trunk/smarty/libs/Smarty.class.php =================================================================== --- trunk/smarty/libs/Smarty.class.php 2014-10-23 18:26:54 UTC (rev 1703) +++ trunk/smarty/libs/Smarty.class.php 2014-10-23 22:23:53 UTC (rev 1704) @@ -2,33 +2,29 @@ /** * Project: Smarty: the PHP compiling template engine * File: Smarty.class.php - * SVN: $Id: Smarty.class.php 4800 2013-12-15 15:19:01Z Uwe...@go... $ - * + * SVN: $Id: Smarty.class.php 4897 2014-10-14 22:29:58Z Uwe...@go... $ * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. - * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. - * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * * For questions, help, comments, discussion, etc., please join the * Smarty mailing list. Send a blank e-mail to * sma...@go... * - * @link http://www.smarty.net/ + * @link http://www.smarty.net/ * @copyright 2008 New Digital Group, Inc. - * @author Monte Ohrt <monte at ohrt dot com> - * @author Uwe Tews - * @author Rodney Rehm - * @package Smarty - * @version 3.1-DEV + * @author Monte Ohrt <monte at ohrt dot com> + * @author Uwe Tews + * @author Rodney Rehm + * @package Smarty + * @version 3.1.21 */ /** @@ -92,16 +88,17 @@ /** * Load always needed external class files */ -include_once SMARTY_SYSPLUGINS_DIR.'smarty_internal_data.php'; -include_once SMARTY_SYSPLUGINS_DIR.'smarty_internal_templatebase.php'; -include_once SMARTY_SYSPLUGINS_DIR.'smarty_internal_template.php'; -include_once SMARTY_SYSPLUGINS_DIR.'smarty_resource.php'; -include_once SMARTY_SYSPLUGINS_DIR.'smarty_internal_resource_file.php'; -include_once SMARTY_SYSPLUGINS_DIR.'smarty_cacheresource.php'; -include_once SMARTY_SYSPLUGINS_DIR.'smarty_internal_cacheresource_file.php'; +include_once SMARTY_SYSPLUGINS_DIR . 'smarty_internal_data.php'; +include_once SMARTY_SYSPLUGINS_DIR . 'smarty_internal_templatebase.php'; +include_once SMARTY_SYSPLUGINS_DIR . 'smarty_internal_template.php'; +include_once SMARTY_SYSPLUGINS_DIR . 'smarty_resource.php'; +include_once SMARTY_SYSPLUGINS_DIR . 'smarty_internal_resource_file.php'; +include_once SMARTY_SYSPLUGINS_DIR . 'smarty_cacheresource.php'; +include_once SMARTY_SYSPLUGINS_DIR . 'smarty_internal_cacheresource_file.php'; /** * This is the main Smarty class + * * @package Smarty */ class Smarty extends Smarty_Internal_TemplateBase @@ -113,7 +110,7 @@ /** * smarty version */ - const SMARTY_VERSION = 'Smarty-3.1.16'; + const SMARTY_VERSION = 'Smarty-3.1.21-dev'; /** * define variable scopes @@ -131,7 +128,7 @@ /** * define constant for clearing cache files be saved expiration datees */ - const CLEAR_EXPIRED = -1; + const CLEAR_EXPIRED = - 1; /** * define compile check modes @@ -206,111 +203,133 @@ /** * auto literal on delimiters with whitspace + * * @var boolean */ public $auto_literal = true; /** * display error on not assigned variables + * * @var boolean */ public $error_unassigned = false; /** * look up relative filepaths in include_path + * * @var boolean */ public $use_include_path = false; /** * template directory + * * @var array */ private $template_dir = array(); /** * joined template directory string used in cache keys + * * @var string */ public $joined_template_dir = null; /** * joined config directory string used in cache keys + * * @var string */ public $joined_config_dir = null; /** * default template handler + * * @var callable */ public $default_template_handler_func = null; /** * default config handler + * * @var callable */ public $default_config_handler_func = null; /** * default plugin handler + * * @var callable */ public $default_plugin_handler_func = null; /** * compile directory + * * @var string */ private $compile_dir = null; /** * plugins directory + * * @var array */ private $plugins_dir = array(); /** * cache directory + * * @var string */ private $cache_dir = null; /** * config directory + * * @var array */ private $config_dir = array(); /** * force template compiling? + * * @var boolean */ public $force_compile = false; /** * check template for modifications? + * * @var boolean */ public $compile_check = true; /** * use sub dirs for compiled/cached files? + * * @var boolean */ public $use_sub_dirs = false; /** * allow ambiguous resources (that are made unique by the resource handler) + * * @var boolean */ public $allow_ambiguous_resources = false; /** * caching enabled + * * @var boolean */ public $caching = false; /** * merge compiled includes + * * @var boolean */ public $merge_compiled_includes = false; /** * template inheritance merge compiled includes + * * @var boolean - */ + */ public $inheritance_merge_compiled_includes = true; /** * cache lifetime in seconds + * * @var integer */ public $cache_lifetime = 3600; /** * force cache file creation + * * @var boolean */ public $force_cache = false; @@ -330,11 +349,13 @@ public $compile_id = null; /** * template left-delimiter + * * @var string */ public $left_delimiter = "{"; /** * template right-delimiter + * * @var string */ public $right_delimiter = "}"; @@ -343,7 +364,6 @@ */ /** * class name - * * This should be instance of Smarty_Security. * * @var string @@ -370,7 +390,6 @@ public $allow_php_templates = false; /** * Should compiled-templates be prevented from being called directly? - * * {@internal * Currently used by Smarty_Internal_Template only. * }} @@ -381,7 +400,6 @@ /**#@-*/ /** * debug mode - * * Setting this to true enables the debug-console. * * @var boolean @@ -393,12 +411,12 @@ * <li>NONE => no debugging control allowed</li> * <li>URL => enable debugging when SMARTY_DEBUG is found in the URL.</li> * </ul> + * * @var string */ public $debugging_ctrl = 'NONE'; /** * Name of debugging URL-param. - * * Only used when $debugging_ctrl is set to 'URL'. * The name of the URL-parameter that activates debugging. * @@ -407,16 +425,19 @@ public $smarty_debug_id = 'SMARTY_DEBUG'; /** * Path of debug template. + * * @var string */ public $debug_tpl = null; /** * When set, smarty uses this value as error_reporting-level. + * * @var int */ public $error_reporting = null; /** * Internal flag for getTags() + * * @var boolean */ public $get_used_tags = false; @@ -427,16 +448,19 @@ /** * Controls whether variables with the same name overwrite each other. + * * @var boolean */ public $config_overwrite = true; /** * Controls whether config values of on/true/yes and off/false/no get converted to boolean. + * * @var boolean */ public $config_booleanize = true; /** * Controls whether hidden config sections/vars are read from the file. + * * @var boolean */ public $config_read_hidden = false; @@ -449,16 +473,19 @@ /** * locking concurrent compiles + * * @var boolean */ public $compile_locking = true; /** * Controls whether cache resources should emply locking mechanism + * * @var boolean */ public $cache_locking = false; /** * seconds to wait for acquiring a lock before ignoring the write lock + * * @var float */ public $locking_timeout = 10; @@ -467,19 +494,19 @@ /** * global template functions + * * @var array */ public $template_functions = array(); /** * resource type used if none given + * Must be an valid key of $registered_resources. * - * Must be an valid key of $registered_resources. * @var string */ public $default_resource_type = 'file'; /** * caching type - * * Must be an element of $cache_resource_types. * * @var string @@ -487,121 +514,145 @@ public $caching_type = 'file'; /** * internal config properties + * * @var array */ public $properties = array(); /** * config type + * * @var string */ public $default_config_type = 'file'; /** * cached template objects + * * @var array */ public $template_objects = array(); /** * check If-Modified-Since headers + * * @var boolean */ public $cache_modified_check = false; /** * registered plugins + * * @var array */ public $registered_plugins = array(); /** * plugin search order + * * @var array */ public $plugin_search_order = array('function', 'block', 'compiler', 'class'); /** * registered objects + * * @var array */ public $registered_objects = array(); /** * registered classes + * * @var array */ public $registered_classes = array(); /** * registered filters + * * @var array */ public $registered_filters = array(); /** * registered resources + * * @var array */ public $registered_resources = array(); /** * resource handler cache + * * @var array */ public $_resource_handlers = array(); /** * registered cache resources + * * @var array */ public $registered_cache_resources = array(); /** * cache resource handler cache + * * @var array */ public $_cacheresource_handlers = array(); /** * autoload filter + * * @var array */ public $autoload_filters = array(); /** * default modifier + * * @var array */ public $default_modifiers = array(); /** * autoescape variable output + * * @var boolean */ public $escape_html = false; /** * global internal smarty vars + * * @var array */ public static $_smarty_vars = array(); /** * start time for execution time calculation + * * @var int */ public $start_time = 0; /** * default file permissions + * * @var int */ public $_file_perms = 0644; /** * default dir permissions + * * @var int */ public $_dir_perms = 0771; /** * block tag hierarchy + * * @var array */ public $_tag_stack = array(); /** * self pointer to Smarty object + * * @var Smarty */ public $smarty; /** * required by the compiler for BC + * * @var string */ public $_current_file = null; /** * internal flag to enable parser debugging + * * @var bool */ public $_parserdebug = false; @@ -611,11 +662,19 @@ * @var array */ public $merged_templates_func = array(); + + /** + * Cache of is_file results of loadPlugin() + * + * @var array + */ + public static $_is_file_cache= array(); + /**#@-*/ /** * Initialize new Smarty object - * + */ public function __construct() { @@ -656,33 +715,32 @@ /** * <<magic>> Generic getter. - * * Calls the appropriate getter function. * Issues an E_USER_NOTICE if no valid getter is found. * * @param string $name property name + * * @return mixed */ public function __get($name) { $allowed = array( - 'template_dir' => 'getTemplateDir', - 'config_dir' => 'getConfigDir', - 'plugins_dir' => 'getPluginsDir', - 'compile_dir' => 'getCompileDir', - 'cache_dir' => 'getCacheDir', + 'template_dir' => 'getTemplateDir', + 'config_dir' => 'getConfigDir', + 'plugins_dir' => 'getPluginsDir', + 'compile_dir' => 'getCompileDir', + 'cache_dir' => 'getCacheDir', ); if (isset($allowed[$name])) { return $this->{$allowed[$name]}(); } else { - trigger_error('Undefined property: '. get_class($this) .'::$'. $name, E_USER_NOTICE); + trigger_error('Undefined property: ' . get_class($this) . '::$' . $name, E_USER_NOTICE); } } /** * <<magic>> Generic setter. - * * Calls the appropriate setter function. * Issues an E_USER_NOTICE if no valid setter is found. * @@ -692,11 +750,11 @@ public function __set($name, $value) { $allowed = array( - 'template_dir' => 'setTemplateDir', - 'config_dir' => 'setConfigDir', - 'plugins_dir' => 'setPluginsDir', - 'compile_dir' => 'setCompileDir', - 'cache_dir' => 'setCacheDir', + 'template_dir' => 'setTemplateDir', + 'config_dir' => 'setConfigDir', + 'plugins_dir' => 'setPluginsDir', + 'compile_dir' => 'setCompileDir', + 'cache_dir' => 'setCacheDir', ); if (isset($allowed[$name])) { @@ -709,7 +767,8 @@ /** * Check if a template resource exists * - * @param string $resource_name template name + * @param string $resource_name template name + * * @return boolean status */ public function templateExists($resource_name) @@ -727,8 +786,8 @@ /** * Returns a single or all global variables * - * @param object $smarty * @param string $varname variable name or null + * * @return string variable value or or array of variables */ public function getGlobal($varname = null) @@ -754,6 +813,7 @@ * * @param integer $exp_time expiration time * @param string $type resource type + * * @return integer number of cache files deleted */ public function clearAllCache($exp_time = null, $type = null) @@ -773,6 +833,7 @@ * @param string $compile_id compile id * @param integer $exp_time expiration time * @param string $type resource type + * * @return integer number of cache files deleted */ public function clearCache($template_name, $cache_id = null, $compile_id = null, $exp_time = null, $type = null) @@ -788,6 +849,7 @@ * Loads security class and enables security * * @param string|Smarty_Security $security_class if a string is used, it must be class-name + * * @return Smarty current Smarty instance for chaining * @throws SmartyException when an invalid class name is provided */ @@ -816,6 +878,7 @@ /** * Disable security + * * @return Smarty current Smarty instance for chaining */ public function disableSecurity() @@ -829,13 +892,14 @@ * Set template directory * * @param string|array $template_dir directory(s) of template sources + * * @return Smarty current Smarty instance for chaining */ public function setTemplateDir($template_dir) { $this->template_dir = array(); foreach ((array) $template_dir as $k => $v) { - $this->template_dir[$k] = rtrim($v, '/\\') . DS; + $this->template_dir[$k] = preg_replace('#(\w+)(/|\\\\){1,}#', '$1$2', rtrim($v, '/\\')) . DS; } $this->joined_template_dir = join(DIRECTORY_SEPARATOR, $this->template_dir); @@ -846,32 +910,37 @@ /** * Add template directory(s) * - * @param string|array $template_dir directory(s) of template sources - * @param string $key of the array element to assign the template dir to + * @param string|array $template_dir directory(s) of template sources + * @param string $key of the array element to assign the template dir to + * * @return Smarty current Smarty instance for chaining * @throws SmartyException when the given template directory is not valid */ - public function addTemplateDir($template_dir, $key=null) + public function addTemplateDir($template_dir, $key = null) { // make sure we're dealing with an array $this->template_dir = (array) $this->template_dir; if (is_array($template_dir)) { foreach ($template_dir as $k => $v) { + $v = preg_replace('#(\w+)(/|\\\\){1,}#', '$1$2', rtrim($v, '/\\')) . DS; if (is_int($k)) { // indexes are not merged but appended - $this->template_dir[] = rtrim($v, '/\\') . DS; + $this->template_dir[] = $v; } else { // string indexes are overridden - $this->template_dir[$k] = rtrim($v, '/\\') . DS; + $this->template_dir[$k] = $v; } } - } elseif ($key !== null) { - // override directory at specified index - $this->template_dir[$key] = rtrim($template_dir, '/\\') . DS; } else { - // append new directory - $this->template_dir[] = rtrim($template_dir, '/\\') . DS; + $v = preg_replace('#(\w+)(/|\\\\){1,}#', '$1$2', rtrim($template_dir, '/\\')) . DS; + if ($key !== null) { + // override directory at specified index + $this->template_dir[$key] = $v; + } else { + // append new directory + $this->template_dir[] = $v; + } } $this->joined_template_dir = join(DIRECTORY_SEPARATOR, $this->template_dir); @@ -881,10 +950,11 @@ /** * Get template directories * - * @param mixed index of directory to get, null to get all + * @param mixed $index index of directory to get, null to get all + * * @return array|string list of template directories, or directory of $index */ - public function getTemplateDir($index=null) + public function getTemplateDir($index = null) { if ($index !== null) { return isset($this->template_dir[$index]) ? $this->template_dir[$index] : null; @@ -896,14 +966,15 @@ /** * Set config directory * - * @param string|array $template_dir directory(s) of configuration sources + * @param $config_dir + * * @return Smarty current Smarty instance for chaining */ public function setConfigDir($config_dir) { $this->config_dir = array(); foreach ((array) $config_dir as $k => $v) { - $this->config_dir[$k] = rtrim($v, '/\\') . DS; + $this->config_dir[$k] = preg_replace('#(\w+)(/|\\\\){1,}#', '$1$2', rtrim($v, '/\\')) . DS; } $this->joined_config_dir = join(DIRECTORY_SEPARATOR, $this->config_dir); @@ -914,31 +985,36 @@ /** * Add config directory(s) * - * @param string|array $config_dir directory(s) of config sources - * @param string key of the array element to assign the config dir to + * @param string|array $config_dir directory(s) of config sources + * @param mixed $key key of the array element to assign the config dir to + * * @return Smarty current Smarty instance for chaining */ - public function addConfigDir($config_dir, $key=null) + public function addConfigDir($config_dir, $key = null) { // make sure we're dealing with an array $this->config_dir = (array) $this->config_dir; if (is_array($config_dir)) { foreach ($config_dir as $k => $v) { + $v = preg_replace('#(\w+)(/|\\\\){1,}#', '$1$2', rtrim($v, '/\\')) . DS; if (is_int($k)) { // indexes are not merged but appended - $this->config_dir[] = rtrim($v, '/\\') . DS; + $this->config_dir[] = $v; } else { // string indexes are overridden - $this->config_dir[$k] = rtrim($v, '/\\') . DS; + $this->config_dir[$k] = $v; } } - } elseif ($key !== null) { - // override directory at specified index - $this->config_dir[$key] = rtrim($config_dir, '/\\') . DS; } else { - // append new directory - $this->config_dir[] = rtrim($config_dir, '/\\') . DS; + $v = preg_replace('#(\w+)(/|\\\\){1,}#', '$1$2', rtrim($config_dir, '/\\')) . DS; + if ($key !== null) { + // override directory at specified index + $this->config_dir[$key] = rtrim($v, '/\\') . DS; + } else { + // append new directory + $this->config_dir[] = rtrim($v, '/\\') . DS; + } } $this->joined_config_dir = join(DIRECTORY_SEPARATOR, $this->config_dir); @@ -949,10 +1025,11 @@ /** * Get config directory * - * @param mixed index of directory to get, null to get all + * @param mixed $index index of directory to get, null to get all + * * @return array|string configuration directory */ - public function getConfigDir($index=null) + public function getConfigDir($index = null) { if ($index !== null) { return isset($this->config_dir[$index]) ? $this->config_dir[$index] : null; @@ -965,6 +1042,7 @@ * Set plugins directory * * @param string|array $plugins_dir directory(s) of plugins + * * @return Smarty current Smarty instance for chaining */ public function setPluginsDir($plugins_dir) @@ -980,8 +1058,8 @@ /** * Adds directory of plugin files * - * @param object $smarty - * @param string $ |array $ plugins folder + * @param $plugins_dir + * * @return Smarty current Smarty instance for chaining */ public function addPluginsDir($plugins_dir) @@ -1023,6 +1101,7 @@ * Set compile directory * * @param string $compile_dir directory to store compiled templates in + * * @return Smarty current Smarty instance for chaining */ public function setCompileDir($compile_dir) @@ -1049,6 +1128,7 @@ * Set cache directory * * @param string $cache_dir directory to store cached templates in + * * @return Smarty current Smarty instance for chaining */ public function setCacheDir($cache_dir) @@ -1075,6 +1155,7 @@ * Set default modifiers * * @param array|string $modifiers modifier or list of modifiers to set + * * @return Smarty current Smarty instance for chaining */ public function setDefaultModifiers($modifiers) @@ -1088,6 +1169,7 @@ * Add default modifiers * * @param array|string $modifiers modifier or list of modifiers to add + * * @return Smarty current Smarty instance for chaining */ public function addDefaultModifiers($modifiers) @@ -1111,15 +1193,15 @@ return $this->default_modifiers; } - /** * Set autoload filters * * @param array $filters filters to load automatically * @param string $type "pre", "output", … specify the filter type to set. Defaults to none treating $filters' keys as the appropriate types + * * @return Smarty current Smarty instance for chaining */ - public function setAutoloadFilters($filters, $type=null) + public function setAutoloadFilters($filters, $type = null) { if ($type !== null) { $this->autoload_filters[$type] = (array) $filters; @@ -1135,9 +1217,10 @@ * * @param array $filters filters to load automatically * @param string $type "pre", "output", … specify the filter type to set. Defaults to none treating $filters' keys as the appropriate types + * * @return Smarty current Smarty instance for chaining */ - public function addAutoloadFilters($filters, $type=null) + public function addAutoloadFilters($filters, $type = null) { if ($type !== null) { if (!empty($this->autoload_filters[$type])) { @@ -1162,9 +1245,10 @@ * Get autoload filters * * @param string $type type of filter to get autoloads for. Defaults to all autoload filters + * * @return array array( 'type1' => array( 'filter1', 'filter2', … ) ) or array( 'filter1', 'filter2', …) if $type was specified */ - public function getAutoloadFilters($type=null) + public function getAutoloadFilters($type = null) { if ($type !== null) { return isset($this->autoload_filters[$type]) ? $this->autoload_filters[$type] : array(); @@ -1186,7 +1270,8 @@ /** * set the debug template * - * @param string $tpl_name + * @param string $tpl_name + * * @return Smarty current Smarty instance for chaining * @throws SmartyException if file is not readable */ @@ -1208,15 +1293,16 @@ * @param mixed $compile_id compile id to be used with this template * @param object $parent next higher level of Smarty variables * @param boolean $do_clone flag is Smarty object shall be cloned + * * @return object template object */ public function createTemplate($template, $cache_id = null, $compile_id = null, $parent = null, $do_clone = true) { - if (!empty($cache_id) && (is_object($cache_id) || is_array($cache_id))) { + if ($cache_id !== null && (is_object($cache_id) || is_array($cache_id))) { $parent = $cache_id; $cache_id = null; } - if (!empty($parent) && is_array($parent)) { + if ($parent !== null && is_array($parent)) { $data = $parent; $parent = null; } else { @@ -1267,7 +1353,6 @@ return $tpl; } - /** * Takes unknown classes and loads plugin files for them * class name format: Smarty_PluginType_PluginName @@ -1275,6 +1360,8 @@ * * @param string $plugin_name class plugin name to load * @param bool $check check if already loaded + * + * @throws SmartyException * @return string |boolean filepath of loaded file or false */ public function loadPlugin($plugin_name, $check = true) @@ -1289,15 +1376,12 @@ // count($_name_parts) < 3 === !isset($_name_parts[2]) if (!isset($_name_parts[2]) || strtolower($_name_parts[0]) !== 'smarty') { throw new SmartyException("plugin {$plugin_name} is not a valid name format"); - - return false; } // if type is "internal", get plugin from sysplugins if (strtolower($_name_parts[1]) == 'internal') { $file = SMARTY_SYSPLUGINS_DIR . strtolower($plugin_name) . '.php'; - if (file_exists($file)) { + if (isset(self::$_is_file_cache[$file]) ? self::$_is_file_cache[$file] : self::$_is_file_cache[$file] = is_file($file)) { require_once($file); - return $file; } else { return false; @@ -1315,9 +1399,8 @@ $_plugin_dir . strtolower($_plugin_filename), ); foreach ($names as $file) { - if (file_exists($file)) { + if (isset(self::$_is_file_cache[$file]) ? self::$_is_file_cache[$file] : self::$_is_file_cache[$file] = is_file($file)) { require_once($file); - return $file; } if ($this->use_include_path && !preg_match('/^([\/\\\\]|[a-zA-Z]:[\/\\\\])/', $_plugin_dir)) { @@ -1343,10 +1426,11 @@ /** * Compile all template files * - * @param string $extension file extension - * @param bool $force_compile force all to recompile - * @param int $time_limit - * @param int $max_errors + * @param string $extension file extension + * @param bool $force_compile force all to recompile + * @param int $time_limit + * @param int $max_errors + * * @return integer number of template files recompiled */ public function compileAllTemplates($extension = '.tpl', $force_compile = false, $time_limit = 0, $max_errors = null) @@ -1357,10 +1441,11 @@ /** * Compile all config files * - * @param string $extension file extension - * @param bool $force_compile force all to recompile - * @param int $time_limit - * @param int $max_errors + * @param string $extension file extension + * @param bool $force_compile force all to recompile + * @param int $time_limit + * @param int $max_errors + * * @return integer number of template files recompiled */ public function compileAllConfig($extension = '.conf', $force_compile = false, $time_limit = 0, $max_errors = null) @@ -1374,6 +1459,7 @@ * @param string $resource_name template name * @param string $compile_id compile id * @param integer $exp_time expiration time + * * @return integer number of template files deleted */ public function clearCompiledTemplate($resource_name = null, $compile_id = null, $exp_time = null) @@ -1381,11 +1467,11 @@ return Smarty_Internal_Utility::clearCompiledTemplate($resource_name, $compile_id, $exp_time, $this); } - /** * Return array of tag/attributes of all tags used by an template * - * @param object $templae template object + * @param Smarty_Internal_Template $template + * * @return array of tag/attributes */ public function getTags(Smarty_Internal_Template $template) @@ -1396,10 +1482,11 @@ /** * Run installation test * - * @param array $errors Array to write errors into, rather than outputting them + * @param array $errors Array to write errors into, rather than outputting them + * * @return boolean true if setup is fine, false if something is wrong */ - public function testInstall(&$errors=null) + public function testInstall(&$errors = null) { return Smarty_Internal_Utility::testInstall($this, $errors); } @@ -1408,7 +1495,13 @@ * Error Handler to mute expected messages * * @link http://php.net/set_error_handler + * * @param integer $errno Error level + * @param $errstr + * @param $errfile + * @param $errline + * @param $errcontext + * * @return boolean */ public static function mutingErrorHandler($errno, $errstr, $errfile, $errline, $errcontext) @@ -1420,7 +1513,7 @@ $smarty_dir = realpath(SMARTY_DIR); if ($smarty_dir !== false) { Smarty::$_muted_directories[SMARTY_DIR] = array( - 'file' => $smarty_dir, + 'file' => $smarty_dir, 'length' => strlen($smarty_dir), ); } @@ -1437,7 +1530,7 @@ continue; } $dir = array( - 'file' => $file, + 'file' => $file, 'length' => strlen($file), ); } @@ -1511,6 +1604,7 @@ /** * Smarty exception class + * * @package Smarty */ class SmartyException extends Exception @@ -1519,12 +1613,13 @@ public function __toString() { - return ' --> Smarty: ' . (self::$escape ? htmlentities($this->message) : $this->message) . ' <-- '; + return ' --> Smarty: ' . (self::$escape ? htmlentities($this->message) : $this->message) . ' <-- '; } } /** * Smarty compiler exception class + * * @package Smarty */ class SmartyCompilerException extends SmartyException @@ -1533,23 +1628,28 @@ { return ' --> Smarty Compiler: ' . $this->message . ' <-- '; } + /** * The line number of the template error + * * @type int|null */ public $line = null; /** * The template source snippet relating to the error + * * @type string|null */ public $source = null; /** * The raw text of the error message + * * @type string|null */ public $desc = null; /** * The resource identifier or template name + * * @type string|null */ public $template = null; @@ -1562,16 +1662,16 @@ { $_class = strtolower($class); static $_classes = array( - 'smarty_config_source' => true, - 'smarty_config_compiled' => true, - 'smarty_security' => true, - 'smarty_cacheresource' => true, - 'smarty_cacheresource_custom' => true, + 'smarty_config_source' => true, + 'smarty_config_compiled' => true, + 'smarty_security' => true, + 'smarty_cacheresource' => true, + 'smarty_cacheresource_custom' => true, 'smarty_cacheresource_keyvaluestore' => true, - 'smarty_resource' => true, - 'smarty_resource_custom' => true, - 'smarty_resource_uncompiled' => true, - 'smarty_resource_recompiled' => true, + 'smarty_resource' => true, + 'smarty_resource_custom' => true, + 'smarty_resource_uncompiled' => true, + 'smarty_resource_recompiled' => true, ); if (!strncmp($_class, 'smarty_internal_', 16) || isset($_classes[$_class])) { Modified: trunk/smarty/libs/SmartyBC.class.php =================================================================== --- trunk/smarty/libs/SmartyBC.class.php 2014-10-23 18:26:54 UTC (rev 1703) +++ trunk/smarty/libs/SmartyBC.class.php 2014-10-23 22:23:53 UTC (rev 1704) @@ -3,36 +3,32 @@ * Project: Smarty: the PHP compiling template engine * File: SmartyBC.class.php * SVN: $Id$ - * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. - * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. - * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * * For questions, help, comments, discussion, etc., please join the * Smarty mailing list. Send a blank e-mail to * sma...@go... * - * @link http://www.smarty.net/ + * @link http://www.smarty.net/ * @copyright 2008 New Digital Group, Inc. - * @author Monte Ohrt <monte at ohrt dot com> - * @author Uwe Tews - * @author Rodney Rehm - * @package Smarty + * @author Monte Ohrt <monte at ohrt dot com> + * @author Uwe Tews + * @author Rodney Rehm + * @package Smarty */ /** * @ignore */ -require(dirname(__FILE__) . '/Smarty.class.php'); +require_once(dirname(__FILE__) . '/Smarty.class.php'); /** * Smarty Backward Compatability Wrapper Class @@ -43,6 +39,7 @@ { /** * Smarty 2 BC + * * @var string */ public $_version = self::SMARTY_VERSION; @@ -52,7 +49,7 @@ * * @param array $options options to set during initialization, e.g. array( 'forceCompile' => false ) */ - public function __construct(array $options=array()) + public function __construct(array $options = array()) { parent::__construct($options); // register {php} tag @@ -100,7 +97,7 @@ * @param bool $cacheable * @param mixed $cache_attrs */ - public function register_function($function, $function_impl, $cacheable=true, $cache_attrs=null) + public function register_function($function, $function_impl, $cacheable = true, $cache_attrs = null) { $this->registerPlugin('function', $function, $function_impl, $cacheable, $cache_attrs); } @@ -118,11 +115,14 @@ /** * Registers object to be used in templates * - * @param string $object name of template object - * @param object $object_impl the referenced PHP object to register - * @param array $allowed list of allowed methods (empty = all) - * @param boolean $smarty_args smarty argument format, else traditional - * @param array $block_functs list of methods that are block format + * @param string $object name of template object + * @param object $object_impl the referenced PHP object to register + * @param array $allowed list of allowed methods (empty = all) + * @param boolean $smarty_args smarty argument format, else traditional + * @param array $block_methods list of methods that are block format + * + * @throws SmartyException + * @internal param array $block_functs list of methods that are block format */ public function register_object($object, $object_impl, $allowed = array(), $smarty_args = true, $block_methods = array()) { @@ -144,12 +144,12 @@ /** * Registers block function to be used in templates * - * @param string $block name of template block - * @param string $block_impl PHP function to register + * @param string $block name of template block + * @param string $block_impl PHP function to register * @param bool $cacheable * @param mixed $cache_attrs */ - public function register_block($block, $block_impl, $cacheable=true, $cache_attrs=null) + public function register_block($block, $block_impl, $cacheable = true, $cache_attrs = null) { $this->registerPlugin('block', $block, $block_impl, $cacheable, $cache_attrs); } @@ -171,7 +171,7 @@ * @param string $function_impl name of PHP function to register * @param bool $cacheable */ - public function register_compiler_function($function, $function_impl, $cacheable=true) + public function register_compiler_function($function, $function_impl, $cacheable = true) { $this->registerPlugin('compiler', $function, $function_impl, $cacheable); } @@ -305,10 +305,11 @@ /** * clear cached content for the given template and cache id * - * @param string $tpl_file name of template file - * @param string $cache_id name of cache_id - * @param string $compile_id name of compile_id - * @param string $exp_time expiration time + * @param string $tpl_file name of template file + * @param string $cache_id name of cache_id + * @param string $compile_id name of compile_id + * @param string $exp_time expiration time + * * @return boolean */ public function clear_cache($tpl_file = null, $cache_id = null, $compile_id = null, $exp_time = null) @@ -319,7 +320,8 @@ /** * clear the entire contents of cache (all templates) * - * @param string $exp_time expire time + * @param string $exp_time expire time + * * @return boolean */ public function clear_all_cache($exp_time = null) @@ -330,9 +332,10 @@ /** * test to see if valid cache exists for this template * - * @param string $tpl_file name of template file - * @param string $cache_id - * @param string $compile_id + * @param string $tpl_file name of template file + * @param string $cache_id + * @param string $compile_id + * * @return boolean */ public function is_cached($tpl_file, $cache_id = null, $compile_id = null) @@ -353,9 +356,10 @@ * or all compiled template files if one is not specified. * This function is for advanced use only, not normally needed. * - * @param string $tpl_file - * @param string $compile_id - * @param string $exp_time + * @param string $tpl_file + * @param string $compile_id + * @param string $exp_time + * * @return boolean results of {@link smarty_core_rm_auto()} */ public function clear_compiled_tpl($tpl_file = null, $compile_id = null, $exp_time = null) @@ -366,7 +370,8 @@ /** * Checks whether requested template exists. * - * @param string $tpl_file + * @param string $tpl_file + * * @return boolean */ public function template_exists($tpl_file) @@ -378,9 +383,10 @@ * Returns an array containing template variables * * @param string $name + * * @return array */ - public function get_template_vars($name=null) + public function get_template_vars($name = null) { return $this->getTemplateVars($name); } @@ -389,9 +395,10 @@ * Returns an array containing config variables * * @param string $name + * * @return array */ - public function get_config_vars($name=null) + public function get_config_vars($name = null) { return $this->getConfigVars($name); } @@ -412,6 +419,7 @@ * return a reference to a registered object * * @param string $name + * * @return object */ public function get_registered_object($name) @@ -439,7 +447,6 @@ { trigger_error("Smarty error: $error_msg", $error_type); } - } /** @@ -449,6 +456,7 @@ * @param string $content contents of the block * @param object $template template object * @param boolean &$repeat repeat flag + * * @return string content re-formatted */ function smarty_php_tag($params, $content, $template, &$repeat) Modified: trunk/smarty/libs/debug.tpl =================================================================== --- trunk/smarty/libs/debug.tpl 2014-10-23 18:26:54 UTC (rev 1703) +++ trunk/smarty/libs/debug.tpl 2014-10-23 22:23:53 UTC (rev 1704) @@ -1,133 +1,137 @@ {capture name='_smarty_debug' assign=debug_output} -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> -<head> - <title>Smarty Debug Console</title> -<style type="text/css"> -{literal} -body, h1, h2, td, th, p { - font-family: sans-serif; - font-weight: normal; - font-size: 0.9em; - margin: 1px; - padding: 0; -} + <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> + <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> + <head> + <title>Smarty Debug Console</title> + <style type="text/css"> + {literal} + body, h1, h2, td, th, p { + font-family: sans-serif; + font-weight: normal; + font-size: 0.9em; + margin: 1px; + padding: 0; + } -h1 { - margin: 0; - text-align: left; - padding: 2px; - background-color: #f0c040; - color: black; - font-weight: bold; - font-size: 1.2em; - } + h1 { + margin: 0; + text-align: left; + padding: 2px; + background-color: #f0c040; + color: black; + font-weight: bold; + font-size: 1.2em; + } -h2 { - background-color: #9B410E; - color: white; - text-align: left; - font-weight: bold; - padding: 2px; - border-top: 1px solid black; -} + h2 { + background-color: #9B410E; + color: white; + text-align: left; + font-weight: bold; + padding: 2px; + border-top: 1px solid black; + } -body { - background: black; -} + body { + background: black; + } -p, table, div { - background: #f0ead8; -} + p, table, div { + background: #f0ead8; + } -p { - margin: 0; - font-style: italic; - text-align: center; -} + p { + margin: 0; + font-style: italic; + text-align: center; + } -table { - width: 100%; -} + table { + width: 100%; + } -th, td { - font-family: monospace; - vertical-align: top; - text-align: left; - width: 50%; -} + th, td { + font-family: monospace; + vertical-align: top; + text-align: left; + width: 50%; + } -td { - color: green; -} + td { + color: green; + } -.odd { - background-color: #eeeeee; -} + .odd { + background-color: #eeeeee; + } -.even { - background-color: #fafafa; -} + .even { + background-color: #fafafa; + } -.exectime { - font-size: 0.8em; - font-style: italic; -} + .exectime { + font-size: 0.8em; + font-style: italic; + } -#table_assigned_vars th { - color: blue; -} + #table_assigned_vars th { + color: blue; + } -#table_config_vars th { - color: maroon; -} -{/literal} -</style> -</head> -<body> + #table_config_vars th { + color: maroon; + } -<h1>Smarty Debug Console - {if isset($template_name)}{$template_name|debug_print_var nofilter}{else}Total Time {$execution_time|string_format:"%.5f"}{/if}</h1> + {/literal} + </style> + </head> + <body> -{if !empty($template_data)} -<h2>included templates & config files (load time in seconds)</h2> + <h1>Smarty Debug Console + - {if isset($template_name)}{$template_name|debug_print_var nofilter}{else}Total Time {$execution_time|string_format:"%.5f"}{/if}</h1> -<div> -{foreach $template_data as $template} - <font color=brown>{$template.name}</font> - <span class="exectime"> - (compile {$template['compile_time']|string_format:"%.5f"}) (render {$template['render_time']|string_format:"%.5f"}) (cache {$template['cache_time']|string_format:"%.5f"}) + {if !empty($template_data)} + <h2>included templates & config files (load time in seconds)</h2> + <div> + {foreach $template_data as $template} + <font color=brown>{$template.name}</font> + <span class="exectime"> + (compile {$template['compile_time']|string_format:"%.5f"}) (render {$template['render_time']|string_format:"%.5f"}) (cache {$template['cache_time']|string_format:"%.5f"} + ) </span> - <br> -{/foreach} -</div> -{/if} + <br> + {/foreach} + </div> + {/if} -<h2>assigned template variables</h2> + <h2>assigned template variables</h2> -<table id="table_assigned_vars"> - {foreach $assigned_vars as $vars} - <tr class="{if $vars@iteration % 2 eq 0}odd{else}even{/if}"> - <th>${$vars@key|escape:'html'}</th> - <td>{$vars|debug_print_var nofilter}</td></tr> - {/foreach} -</table> + <table id="table_assigned_vars"> + {foreach $assigned_vars as $vars} + <tr class="{if $vars@iteration % 2 eq 0}odd{else}even{/if}"> + <th>${$vars@key|escape:'html'}</th> + <td>{$vars|debug_print_var nofilter}</td> + </tr> + {/foreach} + </table> -<h2>assigned config file variables (outer template scope)</h2> + <h2>assigned config file variables (outer template scope)</h2> -<table id="table_config_vars"> - {foreach $config_vars as $vars} - <tr class="{if $vars@iteration % 2 eq 0}odd{else}even{/if}"> - <th>{$vars@key|escape:'html'}</th> - <td>{$vars|debug_print_var nofilter}</td></tr> - {/foreach} + <table id="table_config_vars"> + {foreach $config_vars as $vars} + <tr class="{if $vars@iteration % 2 eq 0}odd{else}even{/if}"> + <th>{$vars@key|escape:'html'}</th> + <td>{$vars|debug_print_var nofilter}</td> + </tr> + {/foreach} -</table> -</body> -</html> + </table> + </body> + </html> {/capture} <script type="text/javascript"> -{$id = $template_name|default:''|md5} - _smarty_console = window.open("","console{$id}","width=680,height=600,resizable,scrollbars=yes"); + {$id = $template_name|default:''|md5} + _smarty_console = window.open("", "console{$id}", "width=680,height=600,resizable,scrollbars=yes"); _smarty_console.document.write("{$debug_output|escape:'javascript' nofilter}"); _smarty_console.document.close(); </script> Modified: trunk/smarty/libs/plugins/block.textformat.php =================================================================== --- trunk/smarty/libs/plugins/block.textformat.php 2014-10-23 18:26:54 UTC (rev 1703) +++ trunk/smarty/libs/plugins/block.textformat.php 2014-10-23 22:23:53 UTC (rev 1704) @@ -2,13 +2,12 @@ /** * Smarty plugin to format text blocks * - * @package Smarty + * @package Smarty * @subpackage PluginsBlock */ /** * Smarty {textformat}{/textformat} block plugin - * * Type: block function<br> * Name: textformat<br> * Purpose: format text a certain way with preset styles @@ -23,12 +22,14 @@ * - wrap_boundary - boolean (true) * </pre> * - * @link http://www.smarty.net/manual/en/language.function.textformat.php {textformat} - * (Smarty online manual) + * @link http://www.smarty.net/manual/en/language.function.textformat.php {textformat} + * (Smarty online manual) + * * @param array $params parameters * @param string $content contents of the block * @param Smarty_Internal_Template $template template object * @param boolean &$repeat repeat flag + * * @return string content re-formatted * @author Monte Ohrt <monte at ohrt dot com> */ @@ -76,7 +77,6 @@ } // split into paragraphs $_paragraphs = preg_split('![\r\n]{2}!', $content); - $_output = ''; foreach ($_... [truncated message content] |
From: <chr...@us...> - 2014-10-28 20:05:50
|
Revision: 1706 http://sourceforge.net/p/postfixadmin/code/1706 Author: christian_boltz Date: 2014-10-28 20:05:46 +0000 (Tue, 28 Oct 2014) Log Message: ----------- 2.92 (aka 3.0 beta2) release Modified Paths: -------------- trunk/CHANGELOG.TXT trunk/debian/changelog trunk/functions.inc.php Modified: trunk/CHANGELOG.TXT =================================================================== --- trunk/CHANGELOG.TXT 2014-10-25 22:21:45 UTC (rev 1705) +++ trunk/CHANGELOG.TXT 2014-10-28 20:05:46 UTC (rev 1706) @@ -9,8 +9,8 @@ # Last update: # $Id$ -SVN changes since 3.0 beta1 (2.91) ----------------------------------- +Version 3.0 beta2 (2.92) - 2014/10/28 - SVN r1706 +------------------------------------------------- - AliasHandler: don't clean goto field when making alias inactive (bug#316) - list-virtual: display quota even if $CONF[used_quotas] == NO (bug#307) Modified: trunk/debian/changelog =================================================================== --- trunk/debian/changelog 2014-10-25 22:21:45 UTC (rev 1705) +++ trunk/debian/changelog 2014-10-28 20:05:46 UTC (rev 1706) @@ -1,3 +1,9 @@ +postfixadmin (2.92-1) unstable; urgency=low + + * New upstream release (effectively beta2 for v3.0) + + -- David Goodwin <da...@pa...> Wed, 28 Oct 2014 21:02:00 +0100 + postfixadmin (2.91-1) unstable; urgency=low * New upstream release (effectively beta for v3.0) Modified: trunk/functions.inc.php =================================================================== --- trunk/functions.inc.php 2014-10-25 22:21:45 UTC (rev 1705) +++ trunk/functions.inc.php 2014-10-28 20:05:46 UTC (rev 1706) @@ -15,7 +15,7 @@ * Contains re-usable code. */ -$version = '2.91'; +$version = '2.92'; /** * check_session This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2014-11-01 18:08:14
|
Revision: 1710 http://sourceforge.net/p/postfixadmin/code/1710 Author: christian_boltz Date: 2014-11-01 18:08:11 +0000 (Sat, 01 Nov 2014) Log Message: ----------- Add CliScheme.php: - displays the database scheme (for usage in upgrade.php) PFAHandler: - add "Scheme" to the list of available tasks postfixadmin-cli.php: - add "scheme" to help This is the first patch of a series sponsored by Bund der Deutschen Landjugend (german rural youth) http://bdl.landjugend.info/ Modified Paths: -------------- trunk/model/PFAHandler.php trunk/scripts/postfixadmin-cli.php Added Paths: ----------- trunk/model/CliScheme.php Added: trunk/model/CliScheme.php =================================================================== --- trunk/model/CliScheme.php (rev 0) +++ trunk/model/CliScheme.php 2014-11-01 18:08:11 UTC (rev 1710) @@ -0,0 +1,104 @@ +<?php +# $Id$ +/** + * class to display the database scheme (for usage in upgrade.php) in Cli + * + * extends the "Shell" class + */ + +class CliScheme extends Shell { + + public $handler_to_use = ""; + public $new = 0; + + + /** + * Execution method always used for tasks + */ + public function execute() { + + $module = preg_replace('/Handler$/', '', $this->handler_to_use); + $module = strtolower($module); + + $handler = new $this->handler_to_use($this->new); + $struct = $handler->getStruct(); + + foreach (array_keys($struct) as $field) { + if ($field == 'created') { + $struct[$field]['db_code'] = '{DATE}'; + } elseif ($field == 'modified') { + $struct[$field]['db_code'] = '{DATECURRENT}'; + } else { + switch ($struct[$field]['type']) { + case 'int': + $struct[$field]['db_code'] = '{BIGINT}'; + break; + case 'bool': + $struct[$field]['db_code'] = '{BOOLEAN}'; + break; + default: + $struct[$field]['db_code'] = 'VARCHAR(255) {LATIN1} NOT NULL'; + } + } + } + + $this->out("For creating a new table with upgrade.php:"); + $this->out(""); + + $this->out('db_query_parsed("'); + $this->out(' CREATE TABLE {IF_NOT_EXISTS} " . table_by_key("' . $module . '") . " ('); + # TODO: $module is not really correct - $handler->db_table would be + + foreach (array_keys($struct) as $field) { + if ($struct[$field]['not_in_db'] == 0 && $struct[$field]['dont_write_to_db'] == 0) { + $this->out(" $field " . $struct[$field]['db_code'] . ","); + } + } + + $this->out(" INDEX domain(domain,username), // <--- change as needed"); + $this->out(" PRIMARY KEY (" . $handler->getId_field() . ")"); + $this->out(' ) {MYISAM} '); + $this->out('");'); + + $this->out(''); + $this->hr(); + $this->out('For adding fields with upgrade.php:'); + $this->out(''); + + $prev_field = ''; + foreach (array_keys($struct) as $field) { + if ($struct[$field]['not_in_db'] == 0 && $struct[$field]['dont_write_to_db'] == 0) { + $this->out(" _db_add_field('$module', '$field',\t'" . $struct[$field]['db_code'] . "',\t'$prev_field');"); + $prev_field = $field; + } + } + + $this->out(''); + $this->hr(); + $this->out('Note that the above is only a template.'); + $this->out('You might need to adjust some parts.'); + return; + } + + /** + * Displays help contents + */ + public function help() { + $module = preg_replace('/Handler$/', '', $this->handler_to_use); + $module = strtolower($module); + + $this->out( +"Usage: + + postfixadmin-cli $module scheme + + Print the $module database scheme in a way that can be + pasted into upgrade.php. + +"); + + $this->_stop(); + } + +} +/* vim: set expandtab softtabstop=4 tabstop=4 shiftwidth=4: */ Property changes on: trunk/model/CliScheme.php ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Modified: trunk/model/PFAHandler.php =================================================================== --- trunk/model/PFAHandler.php 2014-11-01 18:05:39 UTC (rev 1709) +++ trunk/model/PFAHandler.php 2014-11-01 18:08:11 UTC (rev 1710) @@ -12,7 +12,7 @@ public $infomsg = array(); # array of tasks available in CLI - public $taskNames = array('Help', 'Add', 'Update', 'Delete', 'View'); + public $taskNames = array('Help', 'Add', 'Update', 'Delete', 'View', 'Scheme'); /** * variables that must be defined in all *Handler classes Modified: trunk/scripts/postfixadmin-cli.php =================================================================== --- trunk/scripts/postfixadmin-cli.php 2014-11-01 18:05:39 UTC (rev 1709) +++ trunk/scripts/postfixadmin-cli.php 2014-11-01 18:08:11 UTC (rev 1710) @@ -472,6 +472,7 @@ $this->stdout(" add Add an item"); $this->stdout(" update Update an item"); $this->stdout(" delete Delete an item"); + $this->stdout(" scheme Print database scheme (useful for developers only)"); $this->stdout(" help Print help output"); $this->stdout(""); $this->stdout(""); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <chr...@us...> - 2014-11-01 20:58:06
|
Revision: 1718 http://sourceforge.net/p/postfixadmin/code/1718 Author: christian_boltz Date: 2014-11-01 20:58:01 +0000 (Sat, 01 Nov 2014) Log Message: ----------- DomainHandler: - initStruct: - set column write permissions depending on superadmin status - add _can_edit and _can_delete (also depending on superadmin status) - webformConfig(): reduce required permissions to 'admin' - add beforestore() - aborts writing for non-superadmins - delete: allow deletion only for superadmins *.lang: - new text 'no_delete_permissions' Modified Paths: -------------- trunk/languages/bg.lang trunk/languages/ca.lang trunk/languages/cn.lang trunk/languages/cs.lang trunk/languages/da.lang trunk/languages/de.lang trunk/languages/en.lang trunk/languages/es.lang trunk/languages/et.lang trunk/languages/eu.lang trunk/languages/fi.lang trunk/languages/fo.lang trunk/languages/fr.lang trunk/languages/hr.lang trunk/languages/hu.lang trunk/languages/is.lang trunk/languages/it.lang trunk/languages/ja.lang trunk/languages/lt.lang trunk/languages/mk.lang trunk/languages/nb.lang trunk/languages/nl.lang trunk/languages/nn.lang trunk/languages/pl.lang trunk/languages/pt-br.lang trunk/languages/ru.lang trunk/languages/sk.lang trunk/languages/sl.lang trunk/languages/sv.lang trunk/languages/tr.lang trunk/languages/tw.lang trunk/model/DomainHandler.php Modified: trunk/languages/bg.lang =================================================================== --- trunk/languages/bg.lang 2014-11-01 20:10:25 UTC (rev 1717) +++ trunk/languages/bg.lang 2014-11-01 20:58:01 UTC (rev 1718) @@ -15,6 +15,7 @@ $PALANG['save'] = 'Запази'; # XXX Text change: "Save" -> "Save Changes" $PALANG['confirm'] = 'Сигурни ли сте, че желаете да изтрието това?\n'; $PALANG['confirm_domain'] = 'Наистина ли искате да изтриете всички записи за този домейн? Това действие е необратимо!\n'; +$PALANG['no_delete_permissions'] = 'You are not allowed to delete %s!'; # XXX $PALANG['check_update'] = 'Check for update'; $PALANG['invalid_parameter'] = 'Невалиден параметър!'; # XXX $PALANG['show'] = 'Show:'; # XXX Modified: trunk/languages/ca.lang =================================================================== --- trunk/languages/ca.lang 2014-11-01 20:10:25 UTC (rev 1717) +++ trunk/languages/ca.lang 2014-11-01 20:58:01 UTC (rev 1718) @@ -14,6 +14,7 @@ $PALANG['save'] = 'Save changes'; # XXX $PALANG['confirm'] = '¿Segur que vols esborrar-lo?\n'; $PALANG['confirm_domain'] = 'Estas segur que vols borrar tots els registres d\'aquest domini? Això no podrà ser desfet!\n'; +$PALANG['no_delete_permissions'] = 'You are not allowed to delete %s!'; # XXX $PALANG['check_update'] = 'Check for update'; $PALANG['invalid_parameter'] = 'Invalid parameter!'; # XXX $PALANG['show'] = 'Show:'; # XXX Modified: trunk/languages/cn.lang =================================================================== --- trunk/languages/cn.lang 2014-11-01 20:10:25 UTC (rev 1717) +++ trunk/languages/cn.lang 2014-11-01 20:58:01 UTC (rev 1718) @@ -14,6 +14,7 @@ $PALANG['save'] = 'Save changes'; # XXX $PALANG['confirm'] = '是否确定删除?\n'; $PALANG['confirm_domain'] = '你是否确定要删除该域中的所有记录? 删除后不可恢复!\n'; +$PALANG['no_delete_permissions'] = 'You are not allowed to delete %s!'; # XXX $PALANG['check_update'] = '检查新版本'; $PALANG['invalid_parameter'] = 'Invalid parameter!'; # XXX $PALANG['show'] = 'Show:'; # XXX Modified: trunk/languages/cs.lang =================================================================== --- trunk/languages/cs.lang 2014-11-01 20:10:25 UTC (rev 1717) +++ trunk/languages/cs.lang 2014-11-01 20:58:01 UTC (rev 1718) @@ -18,6 +18,7 @@ $PALANG['save'] = 'Uložit'; # XXX Text change: "Save" -> "Save changes" $PALANG['confirm'] = 'Jste si jistí?\n'; $PALANG['confirm_domain'] = 'Opravdu chcete smazat všechny záznamy v této doméně Tohle nelze vrátit!\n'; +$PALANG['no_delete_permissions'] = 'You are not allowed to delete %s!'; # XXX $PALANG['check_update'] = 'Zkontrolovat aktualizace'; $PALANG['invalid_parameter'] = 'Neplatný parametr!'; $PALANG['show'] = 'Show:'; # XXX Modified: trunk/languages/da.lang =================================================================== --- trunk/languages/da.lang 2014-11-01 20:10:25 UTC (rev 1717) +++ trunk/languages/da.lang 2014-11-01 20:58:01 UTC (rev 1718) @@ -17,6 +17,7 @@ $PALANG['save'] = 'Gem'; # XXX Text change: "Save" -> "Save changes" $PALANG['confirm'] = 'Er du sikker på du vil slette dette?\n'; $PALANG['confirm_domain'] = 'Vil du virkelig slette alle adresser for dette domæne? Dette kan ikke fortrydes!\n'; +$PALANG['no_delete_permissions'] = 'You are not allowed to delete %s!'; # XXX $PALANG['check_update'] = 'Søg efter opdateringer'; $PALANG['invalid_parameter'] = 'Ugyldig parameter.'; $PALANG['show'] = 'Show:'; # XXX Modified: trunk/languages/de.lang =================================================================== --- trunk/languages/de.lang 2014-11-01 20:10:25 UTC (rev 1717) +++ trunk/languages/de.lang 2014-11-01 20:58:01 UTC (rev 1718) @@ -15,6 +15,7 @@ $PALANG['save'] = 'Änderungen speichern'; $PALANG['confirm'] = 'Sind Sie sicher dass Sie das löschen wollen?\n'; $PALANG['confirm_domain'] = 'Wollen Sie wirklich alle Einträge dieser Domain löschen? Dies kann NICHT rückgängig gemacht werden!\n'; +$PALANG['no_delete_permissions'] = 'You are not allowed to delete %s!'; # XXX $PALANG['check_update'] = 'Auf Updates überprüfen'; $PALANG['invalid_parameter'] = 'Ungültiger Parameter!'; $PALANG['show'] = 'Anzeigen:'; Modified: trunk/languages/en.lang =================================================================== --- trunk/languages/en.lang 2014-11-01 20:10:25 UTC (rev 1717) +++ trunk/languages/en.lang 2014-11-01 20:58:01 UTC (rev 1718) @@ -15,6 +15,7 @@ $PALANG['save'] = 'Save changes'; $PALANG['confirm'] = 'Are you sure you want to delete this?\n'; $PALANG['confirm_domain'] = 'Do you really want to delete all records for this domain? This can not be undone!\n'; +$PALANG['no_delete_permissions'] = 'You are not allowed to delete %s!'; $PALANG['check_update'] = 'Check for update'; $PALANG['invalid_parameter'] = 'Invalid parameter!'; $PALANG['show'] = 'Show:'; Modified: trunk/languages/es.lang =================================================================== --- trunk/languages/es.lang 2014-11-01 20:10:25 UTC (rev 1717) +++ trunk/languages/es.lang 2014-11-01 20:58:01 UTC (rev 1718) @@ -15,6 +15,7 @@ $PALANG['save'] = 'Salvar'; # XXX Text change: "Save" -> "Save changes" $PALANG['confirm'] = '¿Está seguro de que desea borrarlo?\n'; $PALANG['confirm_domain'] = '¿Está seguro de que desea borrar todos los registros de este dominio? ¡Esto no puede ser deshecho!\n'; +$PALANG['no_delete_permissions'] = 'You are not allowed to delete %s!'; # XXX $PALANG['check_update'] = 'Check for update'; # XXX $PALANG['invalid_parameter'] = '¡Parámetro inválido!'; $PALANG['show'] = 'Show:'; # XXX Modified: trunk/languages/et.lang =================================================================== --- trunk/languages/et.lang 2014-11-01 20:10:25 UTC (rev 1717) +++ trunk/languages/et.lang 2014-11-01 20:58:01 UTC (rev 1718) @@ -14,6 +14,7 @@ $PALANG['save'] = 'Save changes'; # XXX $PALANG['confirm'] = 'Oled kindel, et soovid seda kustutada?\n'; $PALANG['confirm_domain'] = 'Oled tõesti kindel, et tahad kustutada kõik kirjed sellele domeenile? Seda tegevust ei saa tagasi võtta!\n'; +$PALANG['no_delete_permissions'] = 'You are not allowed to delete %s!'; # XXX $PALANG['check_update'] = 'Check for update'; # XXX $PALANG['invalid_parameter'] = 'Invalid parameter!'; # XXX $PALANG['show'] = 'Show:'; # XXX Modified: trunk/languages/eu.lang =================================================================== --- trunk/languages/eu.lang 2014-11-01 20:10:25 UTC (rev 1717) +++ trunk/languages/eu.lang 2014-11-01 20:58:01 UTC (rev 1718) @@ -14,6 +14,7 @@ $PALANG['save'] = 'Save changes'; # XXX $PALANG['confirm'] = 'Ziur al zaude ezabatu nahi duzula?\n'; $PALANG['confirm_domain'] = 'Ziur al zaude domeinu honetako erregistro guztiak ezbatu nahi dituzula? Hau ezin izango da desegin!\n'; +$PALANG['no_delete_permissions'] = 'You are not allowed to delete %s!'; # XXX $PALANG['check_update'] = 'Check for update'; $PALANG['invalid_parameter'] = 'Invalid parameter!'; # XXX $PALANG['show'] = 'Show:'; # XXX Modified: trunk/languages/fi.lang =================================================================== --- trunk/languages/fi.lang 2014-11-01 20:10:25 UTC (rev 1717) +++ trunk/languages/fi.lang 2014-11-01 20:58:01 UTC (rev 1718) @@ -15,6 +15,7 @@ $PALANG['save'] = 'Tallenna'; # XXX Text change: "Save" -> "Save changes" $PALANG['confirm'] = 'Oletko varma että haluat poistaa tämän?\n'; $PALANG['confirm_domain'] = 'Oletko varma että haluat poistaa kaikki tietueet tästä domainista? Tätä komentoa ei voi perua!\n'; +$PALANG['no_delete_permissions'] = 'You are not allowed to delete %s!'; # XXX $PALANG['check_update'] = 'Tarkista päivitykset'; $PALANG['invalid_parameter'] = 'Viallinen parametri!'; $PALANG['show'] = 'Show:'; # XXX Modified: trunk/languages/fo.lang =================================================================== --- trunk/languages/fo.lang 2014-11-01 20:10:25 UTC (rev 1717) +++ trunk/languages/fo.lang 2014-11-01 20:58:01 UTC (rev 1718) @@ -14,6 +14,7 @@ $PALANG['save'] = 'Save changes'; # XXX $PALANG['confirm'] = 'Ert tú vís(ur) í at tú vilt strika hetta?\n'; $PALANG['confirm_domain'] = 'Vilt tú veruliga strika allar upplýsingar fyri hetta navnaøki? Her kann ikki vendast aftur!\n'; +$PALANG['no_delete_permissions'] = 'You are not allowed to delete %s!'; # XXX $PALANG['check_update'] = 'Check for update'; # XXX $PALANG['invalid_parameter'] = 'Invalid parameter!'; # XXX $PALANG['show'] = 'Show:'; # XXX Modified: trunk/languages/fr.lang =================================================================== --- trunk/languages/fr.lang 2014-11-01 20:10:25 UTC (rev 1717) +++ trunk/languages/fr.lang 2014-11-01 20:58:01 UTC (rev 1718) @@ -16,6 +16,7 @@ $PALANG['save'] = 'Enregistrer les modifications'; $PALANG['confirm'] = 'Etes vous sur de vouloir supprimer cet enregistrement\n'; $PALANG['confirm_domain'] = 'Etes-vous sur de vouloir effacer tous les enregistrements dans ce domaine ? Cette opération ne pourra pas être annulée.\n'; +$PALANG['no_delete_permissions'] = 'You are not allowed to delete %s!'; # XXX $PALANG['check_update'] = 'Vérifier les mises à jour'; $PALANG['invalid_parameter'] = 'Paramètres invalides!'; $PALANG['show'] = 'Afficher:'; Modified: trunk/languages/hr.lang =================================================================== --- trunk/languages/hr.lang 2014-11-01 20:10:25 UTC (rev 1717) +++ trunk/languages/hr.lang 2014-11-01 20:58:01 UTC (rev 1718) @@ -13,6 +13,7 @@ $PALANG['save'] = 'Save changes'; # XXX $PALANG['confirm'] = 'Da li ste sigurni da elite ovo pobrisati?\n'; $PALANG['confirm_domain'] = 'Da li ste sigurni da elite pobrisati sve zapise za tu domenu? Zapisi ce biti zauvijek pobrisani!\n'; +$PALANG['no_delete_permissions'] = 'You are not allowed to delete %s!'; # XXX $PALANG['check_update'] = 'Provjeri da li postoji novija inačica'; $PALANG['invalid_parameter'] = 'Invalid parameter!'; # XXX $PALANG['show'] = 'Show:'; # XXX Modified: trunk/languages/hu.lang =================================================================== --- trunk/languages/hu.lang 2014-11-01 20:10:25 UTC (rev 1717) +++ trunk/languages/hu.lang 2014-11-01 20:58:01 UTC (rev 1718) @@ -14,6 +14,7 @@ $PALANG['save'] = 'Save changes'; # XXX $PALANG['confirm'] = 'Biztos vagy benne hogy törlöd ezt?\n'; $PALANG['confirm_domain'] = 'Biztos hogy törölni akarod az összes bejegyzést ez alól a domain alól? Nem lehet visszahozni késõbb!\n'; +$PALANG['no_delete_permissions'] = 'You are not allowed to delete %s!'; # XXX $PALANG['check_update'] = 'Check for update'; # XXX $PALANG['invalid_parameter'] = 'Invalid parameter!'; # XXX $PALANG['show'] = 'Show:'; # XXX Modified: trunk/languages/is.lang =================================================================== --- trunk/languages/is.lang 2014-11-01 20:10:25 UTC (rev 1717) +++ trunk/languages/is.lang 2014-11-01 20:58:01 UTC (rev 1718) @@ -14,6 +14,7 @@ $PALANG['save'] = 'Save changes'; # XXX $PALANG['confirm'] = 'Ertu viss um að þú viljir eyða þessu?\n'; $PALANG['confirm_domain'] = 'Ertu viss um að þú viljir eyða öllu sem tengist þessu léni? Það er ekki hægt að bakka með aðgerðina!\n'; +$PALANG['no_delete_permissions'] = 'You are not allowed to delete %s!'; # XXX $PALANG['check_update'] = 'Check for update'; # XXX $PALANG['invalid_parameter'] = 'Invalid parameter!'; # XXX $PALANG['show'] = 'Show:'; # XXX Modified: trunk/languages/it.lang =================================================================== --- trunk/languages/it.lang 2014-11-01 20:10:25 UTC (rev 1717) +++ trunk/languages/it.lang 2014-11-01 20:58:01 UTC (rev 1718) @@ -15,6 +15,7 @@ $PALANG['save'] = 'registra'; # XXX Text change: "Save" -> "Save changes" $PALANG['confirm'] = 'Sei certo di volerlo cancellare?\n'; $PALANG['confirm_domain'] = 'Sei sicuro di voler cancellare tutti gli indirizzi di questo dominio? Questa modifica sarà permanente!\n'; +$PALANG['no_delete_permissions'] = 'You are not allowed to delete %s!'; # XXX $PALANG['check_update'] = 'Verifica gli aggiornamenti'; $PALANG['invalid_parameter'] = 'Parametro non valido!'; $PALANG['show'] = 'Show:'; # XXX Modified: trunk/languages/ja.lang =================================================================== --- trunk/languages/ja.lang 2014-11-01 20:10:25 UTC (rev 1717) +++ trunk/languages/ja.lang 2014-11-01 20:58:01 UTC (rev 1718) @@ -15,6 +15,7 @@ $PALANG['save'] = '変更を保存'; $PALANG['confirm'] = '本当に削除してもよろしいですか?\n'; $PALANG['confirm_domain'] = '本当にこのドメインのすべての情報を削除してもよろしいですか?これを元に戻すことはできません。\n'; +$PALANG['no_delete_permissions'] = 'You are not allowed to delete %s!'; # XXX $PALANG['check_update'] = '更新の確認'; $PALANG['invalid_parameter'] = '無効なパラメータです。'; $PALANG['show'] = '閲覧:'; Modified: trunk/languages/lt.lang =================================================================== --- trunk/languages/lt.lang 2014-11-01 20:10:25 UTC (rev 1717) +++ trunk/languages/lt.lang 2014-11-01 20:58:01 UTC (rev 1718) @@ -14,6 +14,7 @@ $PALANG['save'] = 'Išsaugoti'; $PALANG['confirm'] = 'Tikrai norite šalinti?\n'; $PALANG['confirm_domain'] = 'Tikrai norite šalinti visus šios srities įrašus? Operacija negrįžtama!\n'; +$PALANG['no_delete_permissions'] = 'You are not allowed to delete %s!'; # XXX $PALANG['check_update'] = 'Patikrinti versiją'; $PALANG['invalid_parameter'] = 'Neteisingas parametras!'; $PALANG['show'] = 'Rodyti:'; Modified: trunk/languages/mk.lang =================================================================== --- trunk/languages/mk.lang 2014-11-01 20:10:25 UTC (rev 1717) +++ trunk/languages/mk.lang 2014-11-01 20:58:01 UTC (rev 1718) @@ -14,6 +14,7 @@ $PALANG['save'] = 'Save changes'; # XXX $PALANG['confirm'] = 'Дали сте сигурни дека сакате да го избришете ова?\n'; $PALANG['confirm_domain'] = 'Дали сакате да ги избришете сите записи од овој домен? Ова не може да се поправи покасно!\n'; +$PALANG['no_delete_permissions'] = 'You are not allowed to delete %s!'; # XXX $PALANG['check_update'] = 'Check for update'; # XXX $PALANG['invalid_parameter'] = 'Invalid parameter!'; # XXX $PALANG['show'] = 'Show:'; # XXX Modified: trunk/languages/nb.lang =================================================================== --- trunk/languages/nb.lang 2014-11-01 20:10:25 UTC (rev 1717) +++ trunk/languages/nb.lang 2014-11-01 20:58:01 UTC (rev 1718) @@ -16,6 +16,7 @@ $PALANG['save'] = 'Lagre'; # XXX Text change: "Save" -> "Save changes" $PALANG['confirm'] = 'Er du sikker på at du ønsker å slette dette?\n'; $PALANG['confirm_domain'] = 'Ønsker du virkelig å slette alle oppføringer for dette domenet? Dette kan ikke angres!\n'; +$PALANG['no_delete_permissions'] = 'You are not allowed to delete %s!'; # XXX $PALANG['check_update'] = 'Se etter oppdatering'; $PALANG['invalid_parameter'] = 'Ugyldig parameter!'; $PALANG['show'] = 'Show:'; # XXX Modified: trunk/languages/nl.lang =================================================================== --- trunk/languages/nl.lang 2014-11-01 20:10:25 UTC (rev 1717) +++ trunk/languages/nl.lang 2014-11-01 20:58:01 UTC (rev 1718) @@ -15,6 +15,7 @@ $PALANG['save'] = 'Wijzigingen opslaan'; $PALANG['confirm'] = 'Weet u het zeker dat u wilt verwijderen?\n'; $PALANG['confirm_domain'] = 'Weet u zeker dat u ALLE data van het domein wilt verwijderen? Dit kan niet ongedaan worden gemaakt!\n'; +$PALANG['no_delete_permissions'] = 'You are not allowed to delete %s!'; # XXX $PALANG['check_update'] = 'Zoeken naar nieuwe versie'; $PALANG['invalid_parameter'] = 'ongeldige parameter!'; $PALANG['show'] = 'Toon:'; Modified: trunk/languages/nn.lang =================================================================== --- trunk/languages/nn.lang 2014-11-01 20:10:25 UTC (rev 1717) +++ trunk/languages/nn.lang 2014-11-01 20:58:01 UTC (rev 1718) @@ -14,6 +14,7 @@ $PALANG['save'] = 'Save changes'; # XXX $PALANG['confirm'] = 'Vil du slette dette?\n'; $PALANG['confirm_domain'] = 'Vil du virkelig slette alle poster og domenet?\n'; +$PALANG['no_delete_permissions'] = 'You are not allowed to delete %s!'; # XXX $PALANG['check_update'] = 'Se etter oppdatering'; $PALANG['invalid_parameter'] = 'Invalid parameter!'; # XXX $PALANG['show'] = 'Show:'; # XXX Modified: trunk/languages/pl.lang =================================================================== --- trunk/languages/pl.lang 2014-11-01 20:10:25 UTC (rev 1717) +++ trunk/languages/pl.lang 2014-11-01 20:58:01 UTC (rev 1718) @@ -17,6 +17,7 @@ $PALANG['save'] = 'Zapisz'; # XXX Text change: "Save" -> "Save changes" $PALANG['confirm'] = 'Jesteś przekonany, że chcesz to usunąć?\n'; $PALANG['confirm_domain'] = 'Czy rzeczywiście chcesz usunąć wszystkie wpisy dla tej domeny? To jest proces nieodwracalny!\n'; +$PALANG['no_delete_permissions'] = 'You are not allowed to delete %s!'; # XXX $PALANG['check_update'] = 'Sprawdź aktualizację'; $PALANG['invalid_parameter'] = 'Błędny parametr!'; $PALANG['show'] = 'Show:'; # XXX Modified: trunk/languages/pt-br.lang =================================================================== --- trunk/languages/pt-br.lang 2014-11-01 20:10:25 UTC (rev 1717) +++ trunk/languages/pt-br.lang 2014-11-01 20:58:01 UTC (rev 1718) @@ -15,6 +15,7 @@ $PALANG['save'] = 'Gravar'; # XXX Text change: "Save" -> "Save changes" $PALANG['confirm'] = 'Tem certeza de que deseja remover?\n'; $PALANG['confirm_domain'] = 'Tem certeza de que deseja remover todos os registros deste domínio? Essa ação não pode ser desfeita!\n'; +$PALANG['no_delete_permissions'] = 'You are not allowed to delete %s!'; # XXX $PALANG['check_update'] = 'Checar por atualização'; $PALANG['invalid_parameter'] = 'Parâmetro inválido!'; $PALANG['show'] = 'Show:'; # XXX Modified: trunk/languages/ru.lang =================================================================== --- trunk/languages/ru.lang 2014-11-01 20:10:25 UTC (rev 1717) +++ trunk/languages/ru.lang 2014-11-01 20:58:01 UTC (rev 1718) @@ -16,6 +16,7 @@ $PALANG['save'] = 'Сохранить изменения'; $PALANG['confirm'] = 'Вы уверены, что хотите удалить это?\n'; $PALANG['confirm_domain'] = 'Вы действительно хотите удалить все настройки для домена? Это действие нельзя будет отменить!\n'; +$PALANG['no_delete_permissions'] = 'You are not allowed to delete %s!'; # XXX $PALANG['check_update'] = 'Проверить обновление'; $PALANG['invalid_parameter'] = 'Некорректный параметр!'; $PALANG['show'] = 'Показать:'; Modified: trunk/languages/sk.lang =================================================================== --- trunk/languages/sk.lang 2014-11-01 20:10:25 UTC (rev 1717) +++ trunk/languages/sk.lang 2014-11-01 20:58:01 UTC (rev 1718) @@ -15,6 +15,7 @@ $PALANG['save'] = 'Uložiť'; # XXX Text change: "Save" -> "Save changes" $PALANG['confirm'] = 'Ste si istí?\n'; $PALANG['confirm_domain'] = 'Naozaj chcete zmazať všetky záznamy v tejto doméne? Toto nie je možné vrátiť!\n'; +$PALANG['no_delete_permissions'] = 'You are not allowed to delete %s!'; # XXX $PALANG['check_update'] = 'Skontrolovať aktualizácie'; $PALANG['invalid_parameter'] = 'Neplatný parameter!'; $PALANG['show'] = 'Show:'; # XXX Modified: trunk/languages/sl.lang =================================================================== --- trunk/languages/sl.lang 2014-11-01 20:10:25 UTC (rev 1717) +++ trunk/languages/sl.lang 2014-11-01 20:58:01 UTC (rev 1718) @@ -14,6 +14,7 @@ $PALANG['save'] = 'Save'; # XXX # XXX Text change: "Save" -> "Save changes" $PALANG['confirm'] = 'Ali ste prepričani, da želite brisati?\n'; $PALANG['confirm_domain'] = 'Ali ste prepričani, da želite brisati vse zapise za to domeno? Zapisi bodo izgubljeni za vedno!\n'; +$PALANG['no_delete_permissions'] = 'You are not allowed to delete %s!'; # XXX $PALANG['check_update'] = 'Preveri, če obstaja novejša različica'; $PALANG['invalid_parameter'] = 'Invalid parameter!'; # XXX $PALANG['show'] = 'Show:'; # XXX Modified: trunk/languages/sv.lang =================================================================== --- trunk/languages/sv.lang 2014-11-01 20:10:25 UTC (rev 1717) +++ trunk/languages/sv.lang 2014-11-01 20:58:01 UTC (rev 1718) @@ -16,6 +16,7 @@ $PALANG['save'] = 'Spara'; # XXX Text change: "Save" -> "Save changes" $PALANG['confirm'] = 'Är du säker på att du vill radera denna?\n'; $PALANG['confirm_domain'] = 'Vill du verkligen radera all data för denna domän? Kan ej ångras!\n'; +$PALANG['no_delete_permissions'] = 'You are not allowed to delete %s!'; # XXX $PALANG['check_update'] = 'Senaste versionen?'; $PALANG['invalid_parameter'] = 'Felaktig parameter!'; $PALANG['show'] = 'Show:'; # XXX Modified: trunk/languages/tr.lang =================================================================== --- trunk/languages/tr.lang 2014-11-01 20:10:25 UTC (rev 1717) +++ trunk/languages/tr.lang 2014-11-01 20:58:01 UTC (rev 1718) @@ -14,6 +14,7 @@ $PALANG['save'] = 'Save changes'; # XXX $PALANG['confirm'] = 'Bunu silmek istediðinizden emin misiniz?\n'; $PALANG['confirm_domain'] = 'Bu domain için tüm kayýtlarý silmek istediðinizden emin misiniz? Bu iþlem geri alýnamaz!\n'; +$PALANG['no_delete_permissions'] = 'You are not allowed to delete %s!'; # XXX $PALANG['check_update'] = 'Check for update'; # XXX $PALANG['invalid_parameter'] = 'Invalid parameter!'; # XXX $PALANG['show'] = 'Show:'; # XXX Modified: trunk/languages/tw.lang =================================================================== --- trunk/languages/tw.lang 2014-11-01 20:10:25 UTC (rev 1717) +++ trunk/languages/tw.lang 2014-11-01 20:58:01 UTC (rev 1718) @@ -14,6 +14,7 @@ $PALANG['save'] = 'Save changes'; # XXX $PALANG['confirm'] = '是否確定刪除?\n'; $PALANG['confirm_domain'] = '你是否確定要刪除該網域中的所有記錄? 刪除後不可恢復!\n'; +$PALANG['no_delete_permissions'] = 'You are not allowed to delete %s!'; # XXX $PALANG['check_update'] = '檢查新版本'; $PALANG['invalid_parameter'] = 'Invalid parameter!'; # XXX $PALANG['show'] = 'Show:'; # XXX Modified: trunk/model/DomainHandler.php =================================================================== --- trunk/model/DomainHandler.php 2014-11-01 20:10:25 UTC (rev 1717) +++ trunk/model/DomainHandler.php 2014-11-01 20:58:01 UTC (rev 1718) @@ -30,10 +30,12 @@ protected function initStruct() { # TODO: shorter PALANG labels ;-) - $transp = Config::intbool('transport'); - $quota = Config::intbool('quota'); - $dom_q = Config::intbool('domain_quota'); + $super = $this->is_superadmin; + $transp = min($super, Config::intbool('transport')); + $quota = min($super, Config::intbool('quota')); + $dom_q = min($super, Config::intbool('domain_quota')); + # NOTE: There are dependencies between alias_count, mailbox_count and total_quota. # NOTE: If you disable "display in list" for one of them, the SQL query for the others might break. # NOTE: (Disabling all of them shouldn't be a problem.) @@ -42,15 +44,15 @@ # field name allow display in... type $PALANG label $PALANG description default / options / ... # editing? form list 'domain' => pacol( $this->new, 1, 1, 'text', 'domain' , '' ), - 'description' => pacol( 1, 1, 1, 'text', 'description' , '' ), - 'aliases' => pacol( 1, 1, 1, 'num' , 'aliases' , 'pAdminEdit_domain_aliases_text' , Config::read('aliases') ), + 'description' => pacol( $super, 1, 1, 'text', 'description' , '' ), + 'aliases' => pacol( $super, $super, 1, 'num' , 'aliases' , 'pAdminEdit_domain_aliases_text' , Config::read('aliases') ), 'alias_count' => pacol( 0, 0, 1, 'vnum', '' , '' , '', '', /*not_in_db*/ 0, /*dont_write_to_db*/ 1, /*select*/ 'coalesce(__alias_count,0) - coalesce(__mailbox_count,0) as alias_count', /*extrafrom*/ 'left join ( select count(*) as __alias_count, domain as __alias_domain from ' . table_by_key('alias') . ' group by domain) as __alias on domain = __alias_domain'), - 'mailboxes' => pacol( 1, 1, 1, 'num' , 'mailboxes' , 'pAdminEdit_domain_aliases_text' , Config::read('mailboxes') ), + 'mailboxes' => pacol( $super, $super, 1, 'num' , 'mailboxes' , 'pAdminEdit_domain_aliases_text' , Config::read('mailboxes') ), 'mailbox_count' => pacol( 0, 0, 1, 'vnum', '' , '' , '', '', /*not_in_db*/ 0, /*dont_write_to_db*/ 1, @@ -65,11 +67,21 @@ 'quota' => pacol( $dom_q, $dom_q, $dom_q, 'num' , 'pAdminEdit_domain_quota' , 'pAdminEdit_domain_maxquota_text' , Config::read('domain_quota_default') ), 'transport' => pacol( $transp, $transp,$transp,'enum', 'transport' , 'pAdminEdit_domain_transport_text' , Config::read('transport_default') , /*options*/ Config::read('transport_options') ), - 'backupmx' => pacol( 1, 1, 1, 'bool', 'pAdminEdit_domain_backupmx' , '' , 0), - 'active' => pacol( 1, 1, 1, 'bool', 'active' , '' , 1 ), + 'backupmx' => pacol( $super, $super, 1, 'bool', 'pAdminEdit_domain_backupmx' , '' , 0), + 'active' => pacol( $super, $super, 1, 'bool', 'active' , '' , 1 ), 'default_aliases' => pacol( $this->new, $this->new, 0, 'bool', 'pAdminCreate_domain_defaultaliases', '' , 1,'', /*not in db*/ 1 ), 'created' => pacol( 0, 0, 1, 'ts', 'created' , '' ), 'modified' => pacol( 0, 0, 1, 'ts', 'last_modified' , '' ), + '_can_edit' => pacol( 0, 0, 1, 'int', '' , '' , 0 , + /*options*/ '', + /*not_in_db*/ 0, + /*dont_write_to_db*/ 1, + /*select*/ $this->is_superadmin . ' as _can_edit' ), + '_can_delete' => pacol( 0, 0, 1, 'int', '' , '' , 0 , + /*options*/ '', + /*not_in_db*/ 0, + /*dont_write_to_db*/ 1, + /*select*/ $this->is_superadmin . ' as _can_delete' ), ); } @@ -95,12 +107,23 @@ 'create_button' => 'pAdminCreate_domain_button', # various settings - 'required_role' => 'global-admin', + 'required_role' => 'admin', 'listview' => 'list-domain.php', 'early_init' => 0, ); } + + protected function beforestore() { + # TODO: is this function superfluous? _can_edit should already cover this + if ($this->is_superadmin) { + return true; + } + + $this->errormsg[] = Config::Lang('edit_not_allowed', $this->id); + return false; + } + /** * called by $this->store() after storing $this->values in the database * can be used to update additional tables, call scripts etc. @@ -138,6 +161,12 @@ * @return true on success false on failure */ public function delete() { + # TODO: check for _can_delete instead + if (! $this->is_superadmin) { + $this->errormsg[] = Config::Lang_f('no_delete_permissions', $this->id); + return false; + } + if ( ! $this->view() ) { $this->errormsg[] = Config::Lang('domain_does_not_exist'); # TODO: can users hit this message at all? init() should already fail... return false; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |