From b2034fdfec040a67988e543a911208ef2491ce7a Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Sun, 22 Feb 2015 12:58:46 +0100 Subject: New RoundCube Plugins Git folder --- new_user_dialog/composer.json | 24 +++++ new_user_dialog/localization/ar.inc | 20 ++++ new_user_dialog/localization/ar_SA.inc | 20 ++++ new_user_dialog/localization/ast.inc | 20 ++++ new_user_dialog/localization/az_AZ.inc | 20 ++++ new_user_dialog/localization/be_BE.inc | 20 ++++ new_user_dialog/localization/bg_BG.inc | 20 ++++ new_user_dialog/localization/br.inc | 20 ++++ new_user_dialog/localization/bs_BA.inc | 20 ++++ new_user_dialog/localization/ca_ES.inc | 20 ++++ new_user_dialog/localization/cs_CZ.inc | 20 ++++ new_user_dialog/localization/cy_GB.inc | 20 ++++ new_user_dialog/localization/da_DK.inc | 20 ++++ new_user_dialog/localization/de_CH.inc | 20 ++++ new_user_dialog/localization/de_DE.inc | 20 ++++ new_user_dialog/localization/el_GR.inc | 20 ++++ new_user_dialog/localization/en_CA.inc | 20 ++++ new_user_dialog/localization/en_GB.inc | 20 ++++ new_user_dialog/localization/en_US.inc | 23 +++++ new_user_dialog/localization/eo.inc | 20 ++++ new_user_dialog/localization/es_419.inc | 20 ++++ new_user_dialog/localization/es_AR.inc | 20 ++++ new_user_dialog/localization/es_ES.inc | 20 ++++ new_user_dialog/localization/et_EE.inc | 20 ++++ new_user_dialog/localization/eu_ES.inc | 20 ++++ new_user_dialog/localization/fa_AF.inc | 20 ++++ new_user_dialog/localization/fa_IR.inc | 20 ++++ new_user_dialog/localization/fi_FI.inc | 20 ++++ new_user_dialog/localization/fo_FO.inc | 20 ++++ new_user_dialog/localization/fr_FR.inc | 20 ++++ new_user_dialog/localization/gl_ES.inc | 20 ++++ new_user_dialog/localization/he_IL.inc | 20 ++++ new_user_dialog/localization/hr_HR.inc | 20 ++++ new_user_dialog/localization/hu_HU.inc | 20 ++++ new_user_dialog/localization/hy_AM.inc | 20 ++++ new_user_dialog/localization/ia.inc | 20 ++++ new_user_dialog/localization/id_ID.inc | 20 ++++ new_user_dialog/localization/it_IT.inc | 20 ++++ new_user_dialog/localization/ja_JP.inc | 20 ++++ new_user_dialog/localization/km_KH.inc | 20 ++++ new_user_dialog/localization/ko_KR.inc | 20 ++++ new_user_dialog/localization/ku.inc | 20 ++++ new_user_dialog/localization/lb_LU.inc | 20 ++++ new_user_dialog/localization/lt_LT.inc | 20 ++++ new_user_dialog/localization/lv_LV.inc | 20 ++++ new_user_dialog/localization/ml_IN.inc | 20 ++++ new_user_dialog/localization/mr_IN.inc | 20 ++++ new_user_dialog/localization/nb_NO.inc | 20 ++++ new_user_dialog/localization/nl_NL.inc | 20 ++++ new_user_dialog/localization/nn_NO.inc | 20 ++++ new_user_dialog/localization/pl_PL.inc | 20 ++++ new_user_dialog/localization/pt_BR.inc | 20 ++++ new_user_dialog/localization/pt_PT.inc | 20 ++++ new_user_dialog/localization/ro_RO.inc | 20 ++++ new_user_dialog/localization/ru_RU.inc | 20 ++++ new_user_dialog/localization/sk_SK.inc | 20 ++++ new_user_dialog/localization/sl_SI.inc | 20 ++++ new_user_dialog/localization/sr_CS.inc | 20 ++++ new_user_dialog/localization/sv_SE.inc | 20 ++++ new_user_dialog/localization/tr_TR.inc | 20 ++++ new_user_dialog/localization/uk_UA.inc | 20 ++++ new_user_dialog/localization/vi_VN.inc | 20 ++++ new_user_dialog/localization/zh_CN.inc | 20 ++++ new_user_dialog/localization/zh_TW.inc | 20 ++++ new_user_dialog/new_user_dialog.php | 174 ++++++++++++++++++++++++++++++++ new_user_dialog/newuserdialog.css | 39 +++++++ new_user_dialog/tests/NewUserDialog.php | 23 +++++ 67 files changed, 1523 insertions(+) create mode 100644 new_user_dialog/composer.json create mode 100644 new_user_dialog/localization/ar.inc create mode 100644 new_user_dialog/localization/ar_SA.inc create mode 100644 new_user_dialog/localization/ast.inc create mode 100644 new_user_dialog/localization/az_AZ.inc create mode 100644 new_user_dialog/localization/be_BE.inc create mode 100644 new_user_dialog/localization/bg_BG.inc create mode 100644 new_user_dialog/localization/br.inc create mode 100644 new_user_dialog/localization/bs_BA.inc create mode 100644 new_user_dialog/localization/ca_ES.inc create mode 100644 new_user_dialog/localization/cs_CZ.inc create mode 100644 new_user_dialog/localization/cy_GB.inc create mode 100644 new_user_dialog/localization/da_DK.inc create mode 100644 new_user_dialog/localization/de_CH.inc create mode 100644 new_user_dialog/localization/de_DE.inc create mode 100644 new_user_dialog/localization/el_GR.inc create mode 100644 new_user_dialog/localization/en_CA.inc create mode 100644 new_user_dialog/localization/en_GB.inc create mode 100644 new_user_dialog/localization/en_US.inc create mode 100644 new_user_dialog/localization/eo.inc create mode 100644 new_user_dialog/localization/es_419.inc create mode 100644 new_user_dialog/localization/es_AR.inc create mode 100644 new_user_dialog/localization/es_ES.inc create mode 100644 new_user_dialog/localization/et_EE.inc create mode 100644 new_user_dialog/localization/eu_ES.inc create mode 100644 new_user_dialog/localization/fa_AF.inc create mode 100644 new_user_dialog/localization/fa_IR.inc create mode 100644 new_user_dialog/localization/fi_FI.inc create mode 100644 new_user_dialog/localization/fo_FO.inc create mode 100644 new_user_dialog/localization/fr_FR.inc create mode 100644 new_user_dialog/localization/gl_ES.inc create mode 100644 new_user_dialog/localization/he_IL.inc create mode 100644 new_user_dialog/localization/hr_HR.inc create mode 100644 new_user_dialog/localization/hu_HU.inc create mode 100644 new_user_dialog/localization/hy_AM.inc create mode 100644 new_user_dialog/localization/ia.inc create mode 100644 new_user_dialog/localization/id_ID.inc create mode 100644 new_user_dialog/localization/it_IT.inc create mode 100644 new_user_dialog/localization/ja_JP.inc create mode 100644 new_user_dialog/localization/km_KH.inc create mode 100644 new_user_dialog/localization/ko_KR.inc create mode 100644 new_user_dialog/localization/ku.inc create mode 100644 new_user_dialog/localization/lb_LU.inc create mode 100644 new_user_dialog/localization/lt_LT.inc create mode 100644 new_user_dialog/localization/lv_LV.inc create mode 100644 new_user_dialog/localization/ml_IN.inc create mode 100644 new_user_dialog/localization/mr_IN.inc create mode 100644 new_user_dialog/localization/nb_NO.inc create mode 100644 new_user_dialog/localization/nl_NL.inc create mode 100644 new_user_dialog/localization/nn_NO.inc create mode 100644 new_user_dialog/localization/pl_PL.inc create mode 100644 new_user_dialog/localization/pt_BR.inc create mode 100644 new_user_dialog/localization/pt_PT.inc create mode 100644 new_user_dialog/localization/ro_RO.inc create mode 100644 new_user_dialog/localization/ru_RU.inc create mode 100644 new_user_dialog/localization/sk_SK.inc create mode 100644 new_user_dialog/localization/sl_SI.inc create mode 100644 new_user_dialog/localization/sr_CS.inc create mode 100644 new_user_dialog/localization/sv_SE.inc create mode 100644 new_user_dialog/localization/tr_TR.inc create mode 100644 new_user_dialog/localization/uk_UA.inc create mode 100644 new_user_dialog/localization/vi_VN.inc create mode 100644 new_user_dialog/localization/zh_CN.inc create mode 100644 new_user_dialog/localization/zh_TW.inc create mode 100644 new_user_dialog/new_user_dialog.php create mode 100644 new_user_dialog/newuserdialog.css create mode 100644 new_user_dialog/tests/NewUserDialog.php (limited to 'new_user_dialog') diff --git a/new_user_dialog/composer.json b/new_user_dialog/composer.json new file mode 100644 index 0000000..78ea064 --- /dev/null +++ b/new_user_dialog/composer.json @@ -0,0 +1,24 @@ +{ + "name": "roundcube/new_user_dialog", + "type": "roundcube-plugin", + "description": "When a new user is created, this plugin checks the default identity and sets a session flag in case it is incomplete. An overlay box will appear on the screen until the user has reviewed/completed his identity.", + "license": "GPLv3+", + "version": "2.1", + "authors": [ + { + "name": "Thomas Bruederli", + "email": "roundcube@gmail.com", + "role": "Lead" + } + ], + "repositories": [ + { + "type": "composer", + "url": "http://plugins.roundcube.net" + } + ], + "require": { + "php": ">=5.3.0", + "roundcube/plugin-installer": ">=0.1.3" + } +} diff --git a/new_user_dialog/localization/ar.inc b/new_user_dialog/localization/ar.inc new file mode 100644 index 0000000..110b6c4 --- /dev/null +++ b/new_user_dialog/localization/ar.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'يرجى إكمال هوية المرسل'; +$labels['identitydialoghint'] = 'يظهر هذا المربع مرة واحدة فقط عند تسجيل الدخول أول مرة .'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/ar_SA.inc b/new_user_dialog/localization/ar_SA.inc new file mode 100644 index 0000000..bdaf226 --- /dev/null +++ b/new_user_dialog/localization/ar_SA.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'يرجى اكمال هوية المُرسل.'; +$labels['identitydialoghint'] = 'يظهر هذا المربع مرة واحدة فقط عند أول الدخول'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/ast.inc b/new_user_dialog/localization/ast.inc new file mode 100644 index 0000000..11868bc --- /dev/null +++ b/new_user_dialog/localization/ast.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Por favor, completa la to identidá de remitente'; +$labels['identitydialoghint'] = 'Esta caxa namái apaecerá una vegada nel primer aniciu de sesión.'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/az_AZ.inc b/new_user_dialog/localization/az_AZ.inc new file mode 100644 index 0000000..c5196dd --- /dev/null +++ b/new_user_dialog/localization/az_AZ.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Lütfən, adınızı yazın.'; +$labels['identitydialoghint'] = 'Bu məlumat yalnız ilk girişdə göstərilir.'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/be_BE.inc b/new_user_dialog/localization/be_BE.inc new file mode 100644 index 0000000..9986d43 --- /dev/null +++ b/new_user_dialog/localization/be_BE.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Калі ласка, запоўніце тоеснасць адпраўніка'; +$labels['identitydialoghint'] = 'Гэтае акно з\'яўляецца толькі аднойчы, у час першага ўваходу.'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/bg_BG.inc b/new_user_dialog/localization/bg_BG.inc new file mode 100644 index 0000000..38b2c3a --- /dev/null +++ b/new_user_dialog/localization/bg_BG.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Моля попълнете Вашите данни за идентичност на подател'; +$labels['identitydialoghint'] = 'Този диалог се появява само при първоначално регистриране.'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/br.inc b/new_user_dialog/localization/br.inc new file mode 100644 index 0000000..9654452 --- /dev/null +++ b/new_user_dialog/localization/br.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Bizskrivit hoc\'h anv kaser mar plij'; +$labels['identitydialoghint'] = 'Diskouezet eo ar boest e-pad ar c\'hentañ kennask.'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/bs_BA.inc b/new_user_dialog/localization/bs_BA.inc new file mode 100644 index 0000000..ade75f2 --- /dev/null +++ b/new_user_dialog/localization/bs_BA.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Molimo vas da kompletirate vaš identitet pošiljaoca'; +$labels['identitydialoghint'] = 'Ovaj okvir se pojavljuje samo jednom prilikom prve prijave.'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/ca_ES.inc b/new_user_dialog/localization/ca_ES.inc new file mode 100644 index 0000000..148bd44 --- /dev/null +++ b/new_user_dialog/localization/ca_ES.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Si us plau, completeu la identitat del vostre remitent'; +$labels['identitydialoghint'] = 'Aquest quadre només apareix un cop a la primera entrada.'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/cs_CZ.inc b/new_user_dialog/localization/cs_CZ.inc new file mode 100644 index 0000000..ccc9b10 --- /dev/null +++ b/new_user_dialog/localization/cs_CZ.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Prosím doplňte své jméno a e-mail'; +$labels['identitydialoghint'] = 'Tento dialog se objeví pouze při prvním přihlášení.'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/cy_GB.inc b/new_user_dialog/localization/cy_GB.inc new file mode 100644 index 0000000..33eb284 --- /dev/null +++ b/new_user_dialog/localization/cy_GB.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Cwblhewch eich enw danfonwr'; +$labels['identitydialoghint'] = 'Mae\'r bocs hwn yn ymddangos unwaith ar eich mewngofnodiad cyntaf.'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/da_DK.inc b/new_user_dialog/localization/da_DK.inc new file mode 100644 index 0000000..a34282a --- /dev/null +++ b/new_user_dialog/localization/da_DK.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Udfyld din afsender identitet'; +$labels['identitydialoghint'] = 'Denne boks vises kun én gang ved første login'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/de_CH.inc b/new_user_dialog/localization/de_CH.inc new file mode 100644 index 0000000..b5aed05 --- /dev/null +++ b/new_user_dialog/localization/de_CH.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Bitte vervollständigen Sie Ihre Absender-Informationen'; +$labels['identitydialoghint'] = 'Dieser Dialog erscheint nur einmal beim ersten Login.'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/de_DE.inc b/new_user_dialog/localization/de_DE.inc new file mode 100644 index 0000000..b5aed05 --- /dev/null +++ b/new_user_dialog/localization/de_DE.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Bitte vervollständigen Sie Ihre Absender-Informationen'; +$labels['identitydialoghint'] = 'Dieser Dialog erscheint nur einmal beim ersten Login.'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/el_GR.inc b/new_user_dialog/localization/el_GR.inc new file mode 100644 index 0000000..761ec36 --- /dev/null +++ b/new_user_dialog/localization/el_GR.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Παρακαλώ συμπληρώστε την ταυτότητα του αποστολέα'; +$labels['identitydialoghint'] = 'Αυτό το πλαίσιο εμφανίζεται μια φορά κατά την πρώτη σύνδεση'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/en_CA.inc b/new_user_dialog/localization/en_CA.inc new file mode 100644 index 0000000..4b4e48b --- /dev/null +++ b/new_user_dialog/localization/en_CA.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Please complete your sender identity'; +$labels['identitydialoghint'] = 'This box only appears once at the first login.'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/en_GB.inc b/new_user_dialog/localization/en_GB.inc new file mode 100644 index 0000000..37043cb --- /dev/null +++ b/new_user_dialog/localization/en_GB.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Please complete your sender identity.'; +$labels['identitydialoghint'] = 'This box only appears once at the first login.'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/en_US.inc b/new_user_dialog/localization/en_US.inc new file mode 100644 index 0000000..d508cfc --- /dev/null +++ b/new_user_dialog/localization/en_US.inc @@ -0,0 +1,23 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ + +$labels = array(); +$labels['identitydialogtitle'] = 'Please complete your sender identity'; +$labels['identitydialoghint'] = 'This box only appears once at the first login.'; + +?> \ No newline at end of file diff --git a/new_user_dialog/localization/eo.inc b/new_user_dialog/localization/eo.inc new file mode 100644 index 0000000..5eff253 --- /dev/null +++ b/new_user_dialog/localization/eo.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Bonvole plenumu vian identon pri sendanto'; +$labels['identitydialoghint'] = 'Ĉi tiu kesto aperas nur unufoje je la unua ensaluto.'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/es_419.inc b/new_user_dialog/localization/es_419.inc new file mode 100644 index 0000000..145c5d5 --- /dev/null +++ b/new_user_dialog/localization/es_419.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Por favor completa tu información de remitente'; +$labels['identitydialoghint'] = 'Esta sección solo aparece un vez en el primer login.'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/es_AR.inc b/new_user_dialog/localization/es_AR.inc new file mode 100644 index 0000000..bda1c74 --- /dev/null +++ b/new_user_dialog/localization/es_AR.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Por favor, seleccione una identidad para los mensajes salientes'; +$labels['identitydialoghint'] = 'Este diálogo aparecerá sólo una vez durante el primer ingreso'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/es_ES.inc b/new_user_dialog/localization/es_ES.inc new file mode 100644 index 0000000..b4275b5 --- /dev/null +++ b/new_user_dialog/localization/es_ES.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Por favor, complete su identidad de remitente'; +$labels['identitydialoghint'] = 'Este diálogo sólo aparece la primera vez que inicia su sesión.'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/et_EE.inc b/new_user_dialog/localization/et_EE.inc new file mode 100644 index 0000000..2f2d5e7 --- /dev/null +++ b/new_user_dialog/localization/et_EE.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Palun täida oma saatja identiteet'; +$labels['identitydialoghint'] = 'See kast ilmub ainult esimesel sisselogimisel.'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/eu_ES.inc b/new_user_dialog/localization/eu_ES.inc new file mode 100644 index 0000000..1276ea7 --- /dev/null +++ b/new_user_dialog/localization/eu_ES.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Osatu zure bidaltzaile-identitatea'; +$labels['identitydialoghint'] = 'Kutxa hau behin bakarri agertzen da lehenengoz sartzean.'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/fa_AF.inc b/new_user_dialog/localization/fa_AF.inc new file mode 100644 index 0000000..d66d4cb --- /dev/null +++ b/new_user_dialog/localization/fa_AF.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'لطفا مشخصات فرستنده را کامل کنید'; +$labels['identitydialoghint'] = 'این متن تنها هنگام اولین ورود نمایش داده خواهد شد'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/fa_IR.inc b/new_user_dialog/localization/fa_IR.inc new file mode 100644 index 0000000..d9008d5 --- /dev/null +++ b/new_user_dialog/localization/fa_IR.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'لطفا شناسه ارسالی‌تان را کامل کنید'; +$labels['identitydialoghint'] = 'این جعبه فقط یک بار در اولین ورود ظاهر می‌شود.'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/fi_FI.inc b/new_user_dialog/localization/fi_FI.inc new file mode 100644 index 0000000..882df96 --- /dev/null +++ b/new_user_dialog/localization/fi_FI.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Täydennä lähettäjätietosi'; +$labels['identitydialoghint'] = 'Tämä kohta näkyy vain ensimmäisellä kirjautumiskerralla.'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/fo_FO.inc b/new_user_dialog/localization/fo_FO.inc new file mode 100644 index 0000000..5a7a8d4 --- /dev/null +++ b/new_user_dialog/localization/fo_FO.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Vinarliga fill út tín sendara samleika'; +$labels['identitydialoghint'] = 'Hesin kassin sæðst einans á fyrstu innriting.'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/fr_FR.inc b/new_user_dialog/localization/fr_FR.inc new file mode 100644 index 0000000..d9ceb73 --- /dev/null +++ b/new_user_dialog/localization/fr_FR.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Veuillez saisir votre identité d\'expéditeur'; +$labels['identitydialoghint'] = 'Ce champs n\'apparaît que lors de la première connexion.'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/gl_ES.inc b/new_user_dialog/localization/gl_ES.inc new file mode 100644 index 0000000..859855e --- /dev/null +++ b/new_user_dialog/localization/gl_ES.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Por favor, completa os teus datos persoais'; +$labels['identitydialoghint'] = 'Este diálogo só aparecerá a primera vez que te conectes ao correo.'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/he_IL.inc b/new_user_dialog/localization/he_IL.inc new file mode 100644 index 0000000..e4a7472 --- /dev/null +++ b/new_user_dialog/localization/he_IL.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'נא להשלים את פרטי זהותך'; +$labels['identitydialoghint'] = 'תיבה זו מופיעה פעם אחת בזמן הכניסה הראשונה למערכת'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/hr_HR.inc b/new_user_dialog/localization/hr_HR.inc new file mode 100644 index 0000000..136d9c5 --- /dev/null +++ b/new_user_dialog/localization/hr_HR.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Molim dovršite vaš identitet za slanje poruka'; +$labels['identitydialoghint'] = 'Ova poruka će se pojaviti samo kod prve prijave.'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/hu_HU.inc b/new_user_dialog/localization/hu_HU.inc new file mode 100644 index 0000000..b793b4b --- /dev/null +++ b/new_user_dialog/localization/hu_HU.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Kérem töltse ki a küldő azonosítóját'; +$labels['identitydialoghint'] = 'Ez az ablak csak az első belépéskor jelenik meg.'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/hy_AM.inc b/new_user_dialog/localization/hy_AM.inc new file mode 100644 index 0000000..be3a1d9 --- /dev/null +++ b/new_user_dialog/localization/hy_AM.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Լրացրեք Ձեր ինքնությունը'; +$labels['identitydialoghint'] = 'Այս նշումը երևում է միայն առաջին մուտքի ժամանակ մեկ անգամ'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/ia.inc b/new_user_dialog/localization/ia.inc new file mode 100644 index 0000000..bf5b749 --- /dev/null +++ b/new_user_dialog/localization/ia.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Per favor, completa vostre identitate de expeditor'; +$labels['identitydialoghint'] = 'Iste quadro solmente appare un vice al prime apertura de session.'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/id_ID.inc b/new_user_dialog/localization/id_ID.inc new file mode 100644 index 0000000..e0b2e7b --- /dev/null +++ b/new_user_dialog/localization/id_ID.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Tolong lengkapi identitas pengirim Anda'; +$labels['identitydialoghint'] = 'Kotak ini hanya muncul sekali saat masuk pertama kali.'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/it_IT.inc b/new_user_dialog/localization/it_IT.inc new file mode 100644 index 0000000..b8f8df5 --- /dev/null +++ b/new_user_dialog/localization/it_IT.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Per favore completa le informazioni riguardo la tua identità'; +$labels['identitydialoghint'] = 'Questa finestra comparirà una volta sola al primo accesso'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/ja_JP.inc b/new_user_dialog/localization/ja_JP.inc new file mode 100644 index 0000000..5f24301 --- /dev/null +++ b/new_user_dialog/localization/ja_JP.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = '送信者情報の入力を完了してください。'; +$labels['identitydialoghint'] = 'このボックスは最初のログイン時に一度だけ表示されます。'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/km_KH.inc b/new_user_dialog/localization/km_KH.inc new file mode 100644 index 0000000..f7e7ffb --- /dev/null +++ b/new_user_dialog/localization/km_KH.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'សូម​បំពេញ​អត្តសញ្ញាណ​របស់​អ្នក​ផ្ញើ​របស់​អ្នក'; +$labels['identitydialoghint'] = 'ប្រអប់​នេះ​បង្ហាញ​តែ​ម្ដង​នៅ​ពេល​ចូល​​ដំបូង​ប៉ុណ្ណោះ។'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/ko_KR.inc b/new_user_dialog/localization/ko_KR.inc new file mode 100644 index 0000000..6e27e7c --- /dev/null +++ b/new_user_dialog/localization/ko_KR.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = '발송자의 신원을 완성해주세요.'; +$labels['identitydialoghint'] = '이 상자는 최초로 로그인할 때만 나타납니다.'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/ku.inc b/new_user_dialog/localization/ku.inc new file mode 100644 index 0000000..2ca2654 --- /dev/null +++ b/new_user_dialog/localization/ku.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'tkaya nawnişani nenar ba tawawi bnwsa'; +$labels['identitydialoghint'] = 'am qtwia wadiara yak jar la sarata krawatawa'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/lb_LU.inc b/new_user_dialog/localization/lb_LU.inc new file mode 100644 index 0000000..4fe5554 --- /dev/null +++ b/new_user_dialog/localization/lb_LU.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Vervollstänneg w.e.gl deng Sender-Identitéit'; +$labels['identitydialoghint'] = 'Dës Këscht erschéngt just beim éischte Login.'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/lt_LT.inc b/new_user_dialog/localization/lt_LT.inc new file mode 100644 index 0000000..dc982ba --- /dev/null +++ b/new_user_dialog/localization/lt_LT.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Prašom užpildyti trūkstamą informaciją apie save'; +$labels['identitydialoghint'] = 'Šis langas rodomas tik prisijungus pirmąjį kartą.'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/lv_LV.inc b/new_user_dialog/localization/lv_LV.inc new file mode 100644 index 0000000..037f7cb --- /dev/null +++ b/new_user_dialog/localization/lv_LV.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Lūdzu aizpildiet Jūsu, kā sūtītāja, identitātes informāciju'; +$labels['identitydialoghint'] = 'Šis logs parādīsies tikai pirmajā autorizācijas reizē.'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/ml_IN.inc b/new_user_dialog/localization/ml_IN.inc new file mode 100644 index 0000000..d97ad99 --- /dev/null +++ b/new_user_dialog/localization/ml_IN.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'സ്വീകര്‍ത്താവിന്റെ വ്യക്തിത്വം പൂര്‍ത്തീകരിക്കുക'; +$labels['identitydialoghint'] = 'ആദ്യത്തെ പ്രവേശനത്തില്‍ മാത്രമേ ഈ പെട്ടി വരികയുള്ളു'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/mr_IN.inc b/new_user_dialog/localization/mr_IN.inc new file mode 100644 index 0000000..d78f2b0 --- /dev/null +++ b/new_user_dialog/localization/mr_IN.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'कृपया पाठवणा-याची ओळख पूर्ण करा'; +$labels['identitydialoghint'] = 'हा चौकोन पहिल्यांदा लॉगिन करताना एकदाच दिसेल.'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/nb_NO.inc b/new_user_dialog/localization/nb_NO.inc new file mode 100644 index 0000000..320bd9a --- /dev/null +++ b/new_user_dialog/localization/nb_NO.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Vennligst fullfør din avvsender identitet.'; +$labels['identitydialoghint'] = 'Denne boksen kommer kun ved første pålogging.'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/nl_NL.inc b/new_user_dialog/localization/nl_NL.inc new file mode 100644 index 0000000..450b4f6 --- /dev/null +++ b/new_user_dialog/localization/nl_NL.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Vul alstublieft uw afzendergegevens in.'; +$labels['identitydialoghint'] = 'Dit scherm verschijnt eenmalig bij uw eerste aanmelding.'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/nn_NO.inc b/new_user_dialog/localization/nn_NO.inc new file mode 100644 index 0000000..a1122bc --- /dev/null +++ b/new_user_dialog/localization/nn_NO.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Fullfør avsendaridentiteten din.'; +$labels['identitydialoghint'] = 'Denne boksen kjem berre fram ved første pålogging.'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/pl_PL.inc b/new_user_dialog/localization/pl_PL.inc new file mode 100644 index 0000000..be7ed19 --- /dev/null +++ b/new_user_dialog/localization/pl_PL.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Uzupełnij tożsamość nadawcy'; +$labels['identitydialoghint'] = 'To okno pojawia się tylko przy pierwszym logowaniu.'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/pt_BR.inc b/new_user_dialog/localization/pt_BR.inc new file mode 100644 index 0000000..32640f4 --- /dev/null +++ b/new_user_dialog/localization/pt_BR.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Por favor complete a sua identidade'; +$labels['identitydialoghint'] = 'Esta tela aparece somente no primeiro acesso.'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/pt_PT.inc b/new_user_dialog/localization/pt_PT.inc new file mode 100644 index 0000000..5eeff7e --- /dev/null +++ b/new_user_dialog/localization/pt_PT.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Por favor, complete a sua identidade'; +$labels['identitydialoghint'] = 'Esta caixa aparece apenas uma vez no primeiro acesso.'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/ro_RO.inc b/new_user_dialog/localization/ro_RO.inc new file mode 100644 index 0000000..e765212 --- /dev/null +++ b/new_user_dialog/localization/ro_RO.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Te rog completează identitatea expeditorului.'; +$labels['identitydialoghint'] = 'Această căsuţă apare doar la prima autentificare.'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/ru_RU.inc b/new_user_dialog/localization/ru_RU.inc new file mode 100644 index 0000000..0b40885 --- /dev/null +++ b/new_user_dialog/localization/ru_RU.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Пожалуйста, укажите Ваше имя.'; +$labels['identitydialoghint'] = 'Данное сообщение отображается только при первом входе.'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/sk_SK.inc b/new_user_dialog/localization/sk_SK.inc new file mode 100644 index 0000000..32feebc --- /dev/null +++ b/new_user_dialog/localization/sk_SK.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Doplňte prosím svoju identifikáciu odosielateľa'; +$labels['identitydialoghint'] = 'Toto okno sa zobrazí len raz, pri prvom prihlásení.'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/sl_SI.inc b/new_user_dialog/localization/sl_SI.inc new file mode 100644 index 0000000..12d115a --- /dev/null +++ b/new_user_dialog/localization/sl_SI.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Izberite identiteto za pošiljanje'; +$labels['identitydialoghint'] = 'To okno se prikaže le ob prvi prijavi v spletno pošto.'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/sr_CS.inc b/new_user_dialog/localization/sr_CS.inc new file mode 100644 index 0000000..25298a1 --- /dev/null +++ b/new_user_dialog/localization/sr_CS.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Молимо вас да попуните свој идентитет пошиљаоца'; +$labels['identitydialoghint'] = 'Ово поље се појављује само једном у првом логовању'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/sv_SE.inc b/new_user_dialog/localization/sv_SE.inc new file mode 100644 index 0000000..2fb0180 --- /dev/null +++ b/new_user_dialog/localization/sv_SE.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Fyll i namn och avsändaradress under personliga inställningar'; +$labels['identitydialoghint'] = 'Informationen visas endast vid första inloggningen.'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/tr_TR.inc b/new_user_dialog/localization/tr_TR.inc new file mode 100644 index 0000000..982a5b6 --- /dev/null +++ b/new_user_dialog/localization/tr_TR.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Lütfen gönderici kimliğinizi tamamlayın'; +$labels['identitydialoghint'] = 'Bu ekran ilk girişte bir kereliğine gözükür'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/uk_UA.inc b/new_user_dialog/localization/uk_UA.inc new file mode 100644 index 0000000..b6caef0 --- /dev/null +++ b/new_user_dialog/localization/uk_UA.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Будь ласка, вкажіть Ваше ім’я'; +$labels['identitydialoghint'] = 'Це повідомлення відображається тільки під час першого заходу'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/vi_VN.inc b/new_user_dialog/localization/vi_VN.inc new file mode 100644 index 0000000..a694781 --- /dev/null +++ b/new_user_dialog/localization/vi_VN.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Xin điền nhận diện người gửi của bạn'; +$labels['identitydialoghint'] = 'Hộp này chỉ xuất hiện 1 lần khi đăng nhập lần đầu tiên'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/zh_CN.inc b/new_user_dialog/localization/zh_CN.inc new file mode 100644 index 0000000..16fc0d4 --- /dev/null +++ b/new_user_dialog/localization/zh_CN.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = '请填写发送人身份'; +$labels['identitydialoghint'] = '本提示仅在第一次登录时显示。'; +?> \ No newline at end of file diff --git a/new_user_dialog/localization/zh_TW.inc b/new_user_dialog/localization/zh_TW.inc new file mode 100644 index 0000000..25f5883 --- /dev/null +++ b/new_user_dialog/localization/zh_TW.inc @@ -0,0 +1,20 @@ +.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = '請完成您的身份資訊'; +$labels['identitydialoghint'] = '此視窗只會於第一次登入時出現。'; +?> \ No newline at end of file diff --git a/new_user_dialog/new_user_dialog.php b/new_user_dialog/new_user_dialog.php new file mode 100644 index 0000000..1cef680 --- /dev/null +++ b/new_user_dialog/new_user_dialog.php @@ -0,0 +1,174 @@ +add_hook('identity_create', array($this, 'create_identity')); + $this->register_action('plugin.newusersave', array($this, 'save_data')); + + // register additional hooks if session flag is set + if ($_SESSION['plugin.newuserdialog']) { + $this->add_hook('render_page', array($this, 'render_page')); + } + } + + /** + * Check newly created identity at first login + */ + function create_identity($p) + { + // set session flag when a new user was created and the default identity seems to be incomplete + if ($p['login'] && !$p['complete']) { + $_SESSION['plugin.newuserdialog'] = true; + } + } + + /** + * Callback function when HTML page is rendered + * We'll add an overlay box here. + */ + function render_page($p) + { + if ($_SESSION['plugin.newuserdialog'] && $p['template'] == 'mail') { + $this->add_texts('localization'); + + $rcmail = rcmail::get_instance(); + $identity = $rcmail->user->get_identity(); + $identities_level = intval($rcmail->config->get('identities_level', 0)); + + // compose user-identity dialog + $table = new html_table(array('cols' => 2)); + + $table->add('title', $this->gettext('name')); + $table->add(null, html::tag('input', array( + 'type' => 'text', + 'name' => '_name', + 'value' => $identity['name'], + 'disabled' => $identities_level == 4 + ))); + + $table->add('title', $this->gettext('email')); + $table->add(null, html::tag('input', array( + 'type' => 'text', + 'name' => '_email', + 'value' => rcube_utils::idn_to_utf8($identity['email']), + 'disabled' => in_array($identities_level, array(1, 3, 4)) + ))); + + $table->add('title', $this->gettext('organization')); + $table->add(null, html::tag('input', array( + 'type' => 'text', + 'name' => '_organization', + 'value' => $identity['organization'], + 'disabled' => $identities_level == 4 + ))); + + $table->add('title', $this->gettext('signature')); + $table->add(null, html::tag('textarea', array( + 'name' => '_signature', + 'rows' => '3', + ), + $identity['signature'] + )); + + // add overlay input box to html page + $rcmail->output->add_footer(html::tag('form', array( + 'id' => 'newuserdialog', + 'action' => $rcmail->url('plugin.newusersave'), + 'method' => 'post' + ), + html::p('hint', rcube::Q($this->gettext('identitydialoghint'))) . + $table->show() . + html::p(array('class' => 'formbuttons'), + html::tag('input', array('type' => 'submit', + 'class' => 'button mainaction', 'value' => $this->gettext('save')))) + )); + + $title = rcube::JQ($this->gettext('identitydialogtitle')); + $script = " +$('#newuserdialog').show() + .dialog({modal:true, resizable:false, closeOnEscape:false, width:450, title:'$title'}) + .submit(function() { + var i, request = {}, form = $(this).serializeArray(); + for (i in form) + request[form[i].name] = form[i].value; + + rcmail.http_post('plugin.newusersave', request, true); + return false; + }); + +$('input[name=_name]').focus(); +rcube_webmail.prototype.new_user_dialog_close = function() { $('#newuserdialog').dialog('close'); } +"; + // disable keyboard events for messages list (#1486726) + $rcmail->output->add_script($script, 'docready'); + + $this->include_stylesheet('newuserdialog.css'); + } + } + + /** + * Handler for submitted form (ajax request) + * + * Check fields and save to default identity if valid. + * Afterwards the session flag is removed and we're done. + */ + function save_data() + { + $rcmail = rcmail::get_instance(); + $identity = $rcmail->user->get_identity(); + $ident_level = intval($rcmail->config->get('identities_level', 0)); + $disabled = array(); + + $save_data = array( + 'name' => rcube_utils::get_input_value('_name', rcube_utils::INPUT_POST), + 'email' => rcube_utils::get_input_value('_email', rcube_utils::INPUT_POST), + 'organization' => rcube_utils::get_input_value('_organization', rcube_utils::INPUT_POST), + 'signature' => rcube_utils::get_input_value('_signature', rcube_utils::INPUT_POST), + ); + + if ($ident_level == 4) { + $disabled = array('name', 'email', 'organization'); + } + else if (in_array($ident_level, array(1, 3))) { + $disabled = array('email'); + } + + foreach ($disabled as $key) { + $save_data[$key] = $identity[$key]; + } + + if (empty($save_data['name']) || empty($save_data['email'])) { + $rcmail->output->show_message('formincomplete', 'error'); + } + else if (!rcube_utils::check_email($save_data['email'] = rcube_utils::idn_to_ascii($save_data['email']))) { + $rcmail->output->show_message('emailformaterror', 'error', array('email' => $save_data['email'])); + } + else { + // save data + $rcmail->user->update_identity($identity['identity_id'], $save_data); + $rcmail->session->remove('plugin.newuserdialog'); + // hide dialog + $rcmail->output->command('new_user_dialog_close'); + $rcmail->output->show_message('successfullysaved', 'confirmation'); + } + + $rcmail->output->send(); + } +} diff --git a/new_user_dialog/newuserdialog.css b/new_user_dialog/newuserdialog.css new file mode 100644 index 0000000..207604d --- /dev/null +++ b/new_user_dialog/newuserdialog.css @@ -0,0 +1,39 @@ +/** Styles for the new-user-dialog box */ + +#newuserdialog { + display: none; +} + +#newuserdialog h3 { + color: #333; + font-size: normal; + margin-top: 0; + margin-bottom: 0; +} + +#newuserdialog p.hint { + margin-top: 0.5em; + margin-bottom: 1em; + font-style: italic; +} + +#newuserdialog table td.title { + color: #666; + text-align: right; + padding-right: 1em; + white-space: nowrap; +} + +#newuserdialog table td input, +#newuserdialog table td textarea { + width: 20em; +} + +#newuserdialog .formbuttons { + margin-top: 1.5em; + text-align: center; +} + +.ui-dialog-titlebar-close { + display: none; +} \ No newline at end of file diff --git a/new_user_dialog/tests/NewUserDialog.php b/new_user_dialog/tests/NewUserDialog.php new file mode 100644 index 0000000..e58489a --- /dev/null +++ b/new_user_dialog/tests/NewUserDialog.php @@ -0,0 +1,23 @@ +api); + + $this->assertInstanceOf('new_user_dialog', $plugin); + $this->assertInstanceOf('rcube_plugin', $plugin); + } +} + -- cgit v1.2.3