provide a way to disable mailbox integration

This commit is contained in:
Friendika 2011-04-18 20:20:04 -07:00
parent 2afd4c9d5a
commit a0179235d2
9 changed files with 198 additions and 161 deletions

View file

@ -270,7 +270,11 @@ function notifier_run($argv, $argc){
// If this is a public message and pubmail is set on the parent, include all your email contacts // If this is a public message and pubmail is set on the parent, include all your email contacts
if((! strlen($parent_item['allow_cid'])) && (! strlen($parent_item['allow_gid'])) && (! strlen($parent_item['deny_cid'])) && (! strlen($parent_item['deny_gid'])) $mail_disabled = ((function_exists('imap_open') && (! get_config('system','imap_disabled'))) ? 0 : 1);
if(! $mail_disabled) {
if((! strlen($parent_item['allow_cid'])) && (! strlen($parent_item['allow_gid']))
&& (! strlen($parent_item['deny_cid'])) && (! strlen($parent_item['deny_gid']))
&& (intval($parent_item['pubmail']))) { && (intval($parent_item['pubmail']))) {
$r = q("SELECT * FROM `contact` WHERE `uid` = %d AND `network` = '%s'", $r = q("SELECT * FROM `contact` WHERE `uid` = %d AND `network` = '%s'",
intval($uid), intval($uid),
@ -281,6 +285,7 @@ function notifier_run($argv, $argc){
$recipients[] = $rr['id']; $recipients[] = $rr['id'];
} }
} }
}
if($followup) if($followup)
$recip_str = $parent['contact-id']; $recip_str = $parent['contact-id'];

View file

@ -287,6 +287,11 @@ function poller_run($argv, $argc){
$xml = fetch_url($contact['poll']); $xml = fetch_url($contact['poll']);
} }
elseif($contact['network'] === NETWORK_MAIL) { elseif($contact['network'] === NETWORK_MAIL) {
$mail_disabled = ((function_exists('imap_open') && (! get_config('system','imap_disabled'))) ? 0 : 1);
if($mail_disabled)
continue;
$mbox = null; $mbox = null;
$x = q("SELECT `prvkey` FROM `user` WHERE `uid` = %d LIMIT 1", $x = q("SELECT `prvkey` FROM `user` WHERE `uid` = %d LIMIT 1",
intval($importer_uid) intval($importer_uid)

View file

@ -52,10 +52,12 @@ function editpost_content(&$a) {
$jotplugins = ''; $jotplugins = '';
$jotnets = ''; $jotnets = '';
$mail_disabled = ((function_exists('imap_open') && (! get_config('system','imap_disabled'))) ? 0 : 1);
$mail_enabled = false; $mail_enabled = false;
$pubmail_enabled = false; $pubmail_enabled = false;
if(! $mail_disabled) {
$r = q("SELECT * FROM `mailacct` WHERE `uid` = %d AND `server` != '' LIMIT 1", $r = q("SELECT * FROM `mailacct` WHERE `uid` = %d AND `server` != '' LIMIT 1",
intval(local_user()) intval(local_user())
); );
@ -64,6 +66,7 @@ function editpost_content(&$a) {
if(intval($r[0]['pubmail'])) if(intval($r[0]['pubmail']))
$pubmail_enabled = true; $pubmail_enabled = true;
} }
}
if($mail_enabled) { if($mail_enabled) {
$selected = (($pubmail_enabled) ? ' checked="checked" ' : ''); $selected = (($pubmail_enabled) ? ' checked="checked" ' : '');

View file

@ -95,11 +95,12 @@ function network_content(&$a, $update = 0) {
$jotplugins = ''; $jotplugins = '';
$jotnets = ''; $jotnets = '';
$mail_disabled = ((function_exists('imap_open') && (! get_config('system','imap_disabled'))) ? 0 : 1);
$mail_enabled = false; $mail_enabled = false;
$pubmail_enabled = false; $pubmail_enabled = false;
if(! $mail_disabled) {
$r = q("SELECT * FROM `mailacct` WHERE `uid` = %d AND `server` != '' LIMIT 1", $r = q("SELECT * FROM `mailacct` WHERE `uid` = %d AND `server` != '' LIMIT 1",
intval(local_user()) intval(local_user())
); );
@ -108,6 +109,7 @@ function network_content(&$a, $update = 0) {
if(intval($r[0]['pubmail'])) if(intval($r[0]['pubmail']))
$pubmail_enabled = true; $pubmail_enabled = true;
} }
}
if($mail_enabled) { if($mail_enabled) {
$selected = (($pubmail_enabled) ? ' checked="checked" ' : ''); $selected = (($pubmail_enabled) ? ' checked="checked" ' : '');

View file

@ -148,10 +148,12 @@ function profile_content(&$a, $update = 0) {
$jotplugins = ''; $jotplugins = '';
$jotnets = ''; $jotnets = '';
$mail_disabled = ((function_exists('imap_open') && (! get_config('system','imap_disabled'))) ? 0 : 1);
$mail_enabled = false; $mail_enabled = false;
$pubmail_enabled = false; $pubmail_enabled = false;
if($is_owner) { if(($is_owner) && (! $mail_disabled)) {
$r = q("SELECT * FROM `mailacct` WHERE `uid` = %d AND `server` != '' LIMIT 1", $r = q("SELECT * FROM `mailacct` WHERE `uid` = %d AND `server` != '' LIMIT 1",
intval(local_user()) intval(local_user())
); );

View file

@ -81,6 +81,10 @@ function settings_post(&$a) {
$mail_replyto = ((x($_POST,'mail_replyto')) ? $_POST['mail_replyto'] : ''); $mail_replyto = ((x($_POST,'mail_replyto')) ? $_POST['mail_replyto'] : '');
$mail_pubmail = ((x($_POST,'mail_pubmail')) ? $_POST['mail_pubmail'] : ''); $mail_pubmail = ((x($_POST,'mail_pubmail')) ? $_POST['mail_pubmail'] : '');
$mail_disabled = ((function_exists('imap_open') && (! get_config('system','imap_disabled'))) ? 0 : 1);
if(! $mail_disabled) {
$r = q("SELECT * FROM `mailacct` WHERE `uid` = %d LIMIT 1", $r = q("SELECT * FROM `mailacct` WHERE `uid` = %d LIMIT 1",
intval(local_user()) intval(local_user())
); );
@ -107,6 +111,7 @@ function settings_post(&$a) {
intval($mail_pubmail), intval($mail_pubmail),
intval(local_user()) intval(local_user())
); );
}
$notify = 0; $notify = 0;
@ -285,9 +290,17 @@ function settings_content(&$a) {
$timezone = date_default_timezone_get(); $timezone = date_default_timezone_get();
$mail_disabled = ((function_exists('imap_open') && (! get_config('system','imap_disabled'))) ? 0 : 1);
if(! $mail_disabled) {
$r = q("SELECT * FROM `mailacct` WHERE `uid` = %d LIMIT 1", $r = q("SELECT * FROM `mailacct` WHERE `uid` = %d LIMIT 1",
local_user() local_user()
); );
}
else {
$r = null;
$imap_disabled = (($mail_disabled) ? ' disabled="disabled" ' : '');
}
$mail_server = ((count($r)) ? $r[0]['server'] : ''); $mail_server = ((count($r)) ? $r[0]['server'] : '');
$mail_port = ((count($r) && intval($r[0]['port'])) ? intval($r[0]['port']) : ''); $mail_port = ((count($r) && intval($r[0]['port'])) ? intval($r[0]['port']) : '');
@ -472,7 +485,8 @@ function settings_content(&$a) {
'$imap_replyto' => $mail_replyto, '$imap_replyto' => $mail_replyto,
'$lbl_imap7' => t('Send public posts to all email contacts:'), '$lbl_imap7' => t('Send public posts to all email contacts:'),
'$pubmail_checked' => (($mail_pubmail) ? ' checked="checked" ' : ''), '$pubmail_checked' => (($mail_pubmail) ? ' checked="checked" ' : ''),
'$mail_disabled' => (($mail_disabled) ? '<div class="error-message">' . t('Email access is disabled on this site.') . '</div>' : ''),
'$imap_disabled' => $imap_disabled
)); ));
call_hooks('settings_form',$o); call_hooks('settings_form',$o);

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: 2.1.953\n" "Project-Id-Version: 2.1.953\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-04-18 15:51-0700\n" "POT-Creation-Date: 2011-04-18 20:13-0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -33,7 +33,7 @@ msgstr ""
#: ../../mod/editpost.php:10 ../../mod/install.php:93 #: ../../mod/editpost.php:10 ../../mod/install.php:93
#: ../../mod/notifications.php:56 ../../mod/contacts.php:106 #: ../../mod/notifications.php:56 ../../mod/contacts.php:106
#: ../../mod/settings.php:15 ../../mod/settings.php:20 #: ../../mod/settings.php:15 ../../mod/settings.php:20
#: ../../mod/settings.php:246 ../../mod/manage.php:75 ../../mod/network.php:6 #: ../../mod/settings.php:251 ../../mod/manage.php:75 ../../mod/network.php:6
#: ../../mod/group.php:19 ../../mod/viewcontacts.php:13 #: ../../mod/group.php:19 ../../mod/viewcontacts.php:13
#: ../../mod/register.php:25 ../../mod/regmod.php:16 ../../mod/item.php:57 #: ../../mod/register.php:25 ../../mod/regmod.php:16 ../../mod/item.php:57
#: ../../mod/item.php:678 ../../mod/profile_photo.php:19 #: ../../mod/item.php:678 ../../mod/profile_photo.php:19
@ -101,7 +101,7 @@ msgstr ""
#: ../../mod/crepair.php:100 ../../mod/photos.php:805 ../../mod/photos.php:862 #: ../../mod/crepair.php:100 ../../mod/photos.php:805 ../../mod/photos.php:862
#: ../../mod/photos.php:1069 ../../mod/photos.php:1112 #: ../../mod/photos.php:1069 ../../mod/photos.php:1112
#: ../../mod/install.php:133 ../../mod/contacts.php:264 #: ../../mod/install.php:133 ../../mod/contacts.php:264
#: ../../mod/settings.php:413 ../../mod/manage.php:106 ../../mod/group.php:76 #: ../../mod/settings.php:426 ../../mod/manage.php:106 ../../mod/group.php:76
#: ../../mod/group.php:159 ../../mod/profiles.php:370 ../../mod/invite.php:68 #: ../../mod/group.php:159 ../../mod/profiles.php:370 ../../mod/invite.php:68
#: ../../addon/facebook/facebook.php:151 #: ../../addon/facebook/facebook.php:151
#: ../../addon/randplace/randplace.php:179 #: ../../addon/randplace/randplace.php:179
@ -343,14 +343,14 @@ msgstr ""
msgid "I don't like this (toggle)" msgid "I don't like this (toggle)"
msgstr "" msgstr ""
#: ../../mod/photos.php:1089 ../../mod/network.php:127 #: ../../mod/photos.php:1089 ../../mod/network.php:129
#: ../../mod/profile.php:179 ../../include/conversation.php:347 #: ../../mod/profile.php:181 ../../include/conversation.php:347
msgid "Share" msgid "Share"
msgstr "" msgstr ""
#: ../../mod/photos.php:1090 ../../mod/editpost.php:92 #: ../../mod/photos.php:1090 ../../mod/editpost.php:95
#: ../../mod/network.php:136 ../../mod/message.php:190 #: ../../mod/network.php:138 ../../mod/message.php:190
#: ../../mod/message.php:324 ../../mod/profile.php:188 #: ../../mod/message.php:324 ../../mod/profile.php:190
#: ../../include/conversation.php:348 #: ../../include/conversation.php:348
msgid "Please wait" msgid "Please wait"
msgstr "" msgstr ""
@ -397,65 +397,65 @@ msgstr ""
msgid "Edit post" msgid "Edit post"
msgstr "" msgstr ""
#: ../../mod/editpost.php:71 ../../mod/network.php:115 #: ../../mod/editpost.php:74 ../../mod/network.php:117
#: ../../mod/profile.php:167 #: ../../mod/profile.php:169
msgid "Post to Email" msgid "Post to Email"
msgstr "" msgstr ""
#: ../../mod/editpost.php:84 ../../include/group.php:169 #: ../../mod/editpost.php:87 ../../include/group.php:169
#: ../../include/conversation.php:372 #: ../../include/conversation.php:372
msgid "Edit" msgid "Edit"
msgstr "" msgstr ""
#: ../../mod/editpost.php:85 ../../mod/network.php:128 #: ../../mod/editpost.php:88 ../../mod/network.php:130
#: ../../mod/message.php:188 ../../mod/message.php:322 #: ../../mod/message.php:188 ../../mod/message.php:322
#: ../../mod/profile.php:180 #: ../../mod/profile.php:182
msgid "Upload photo" msgid "Upload photo"
msgstr "" msgstr ""
#: ../../mod/editpost.php:86 ../../mod/network.php:129 #: ../../mod/editpost.php:89 ../../mod/network.php:131
#: ../../mod/message.php:189 ../../mod/message.php:323 #: ../../mod/message.php:189 ../../mod/message.php:323
#: ../../mod/profile.php:181 #: ../../mod/profile.php:183
msgid "Insert web link" msgid "Insert web link"
msgstr "" msgstr ""
#: ../../mod/editpost.php:87 ../../mod/network.php:130 #: ../../mod/editpost.php:90 ../../mod/network.php:132
#: ../../mod/profile.php:182 #: ../../mod/profile.php:184
msgid "Insert YouTube video" msgid "Insert YouTube video"
msgstr "" msgstr ""
#: ../../mod/editpost.php:88 ../../mod/network.php:131 #: ../../mod/editpost.php:91 ../../mod/network.php:133
#: ../../mod/profile.php:183 #: ../../mod/profile.php:185
msgid "Insert Vorbis [.ogg] video" msgid "Insert Vorbis [.ogg] video"
msgstr "" msgstr ""
#: ../../mod/editpost.php:89 ../../mod/network.php:132 #: ../../mod/editpost.php:92 ../../mod/network.php:134
#: ../../mod/profile.php:184 #: ../../mod/profile.php:186
msgid "Insert Vorbis [.ogg] audio" msgid "Insert Vorbis [.ogg] audio"
msgstr "" msgstr ""
#: ../../mod/editpost.php:90 ../../mod/network.php:133 #: ../../mod/editpost.php:93 ../../mod/network.php:135
#: ../../mod/profile.php:185 #: ../../mod/profile.php:187
msgid "Set your location" msgid "Set your location"
msgstr "" msgstr ""
#: ../../mod/editpost.php:91 ../../mod/network.php:134 #: ../../mod/editpost.php:94 ../../mod/network.php:136
#: ../../mod/profile.php:186 #: ../../mod/profile.php:188
msgid "Clear browser location" msgid "Clear browser location"
msgstr "" msgstr ""
#: ../../mod/editpost.php:93 ../../mod/network.php:137 #: ../../mod/editpost.php:96 ../../mod/network.php:139
#: ../../mod/profile.php:189 #: ../../mod/profile.php:191
msgid "Permission settings" msgid "Permission settings"
msgstr "" msgstr ""
#: ../../mod/editpost.php:99 ../../mod/network.php:143 #: ../../mod/editpost.php:102 ../../mod/network.php:145
#: ../../mod/profile.php:196 #: ../../mod/profile.php:198
msgid "CC: email addresses" msgid "CC: email addresses"
msgstr "" msgstr ""
#: ../../mod/editpost.php:101 ../../mod/network.php:145 #: ../../mod/editpost.php:104 ../../mod/network.php:147
#: ../../mod/profile.php:198 #: ../../mod/profile.php:200
msgid "Example: bob@example.com, mary@example.com" msgid "Example: bob@example.com, mary@example.com"
msgstr "" msgstr ""
@ -599,14 +599,14 @@ msgstr ""
msgid "Does $name know you?" msgid "Does $name know you?"
msgstr "" msgstr ""
#: ../../mod/dfrn_request.php:624 ../../mod/settings.php:337 #: ../../mod/dfrn_request.php:624 ../../mod/settings.php:350
#: ../../mod/settings.php:349 ../../mod/register.php:444 #: ../../mod/settings.php:362 ../../mod/register.php:444
#: ../../mod/profiles.php:355 #: ../../mod/profiles.php:355
msgid "Yes" msgid "Yes"
msgstr "" msgstr ""
#: ../../mod/dfrn_request.php:625 ../../mod/settings.php:338 #: ../../mod/dfrn_request.php:625 ../../mod/settings.php:351
#: ../../mod/settings.php:350 ../../mod/register.php:445 #: ../../mod/settings.php:363 ../../mod/register.php:445
#: ../../mod/profiles.php:356 #: ../../mod/profiles.php:356
msgid "No" msgid "No"
msgstr "" msgstr ""
@ -1216,248 +1216,252 @@ msgstr ""
msgid "Password update failed. Please try again." msgid "Password update failed. Please try again."
msgstr "" msgstr ""
#: ../../mod/settings.php:133 #: ../../mod/settings.php:138
msgid " Please use a shorter name." msgid " Please use a shorter name."
msgstr "" msgstr ""
#: ../../mod/settings.php:135 #: ../../mod/settings.php:140
msgid " Name too short." msgid " Name too short."
msgstr "" msgstr ""
#: ../../mod/settings.php:141 #: ../../mod/settings.php:146
msgid " Not valid email." msgid " Not valid email."
msgstr "" msgstr ""
#: ../../mod/settings.php:143 #: ../../mod/settings.php:148
msgid " Cannot change to that email." msgid " Cannot change to that email."
msgstr "" msgstr ""
#: ../../mod/settings.php:201 #: ../../mod/settings.php:206
msgid "Settings updated." msgid "Settings updated."
msgstr "" msgstr ""
#: ../../mod/settings.php:251 ../../mod/settings.php:405 #: ../../mod/settings.php:256 ../../mod/settings.php:418
msgid "Plugin Settings" msgid "Plugin Settings"
msgstr "" msgstr ""
#: ../../mod/settings.php:252 ../../mod/settings.php:404 #: ../../mod/settings.php:257 ../../mod/settings.php:417
msgid "Account Settings" msgid "Account Settings"
msgstr "" msgstr ""
#: ../../mod/settings.php:258 #: ../../mod/settings.php:263
msgid "No Plugin settings configured" msgid "No Plugin settings configured"
msgstr "" msgstr ""
#: ../../mod/settings.php:310 #: ../../mod/settings.php:323
msgid "Normal Account" msgid "Normal Account"
msgstr "" msgstr ""
#: ../../mod/settings.php:311 #: ../../mod/settings.php:324
msgid "This account is a normal personal profile" msgid "This account is a normal personal profile"
msgstr "" msgstr ""
#: ../../mod/settings.php:312 #: ../../mod/settings.php:325
msgid "Soapbox Account" msgid "Soapbox Account"
msgstr "" msgstr ""
#: ../../mod/settings.php:313 #: ../../mod/settings.php:326
msgid "Automatically approve all connection/friend requests as read-only fans" msgid "Automatically approve all connection/friend requests as read-only fans"
msgstr "" msgstr ""
#: ../../mod/settings.php:314 #: ../../mod/settings.php:327
msgid "Community/Celebrity Account" msgid "Community/Celebrity Account"
msgstr "" msgstr ""
#: ../../mod/settings.php:315 #: ../../mod/settings.php:328
msgid "Automatically approve all connection/friend requests as read-write fans" msgid "Automatically approve all connection/friend requests as read-write fans"
msgstr "" msgstr ""
#: ../../mod/settings.php:316 #: ../../mod/settings.php:329
msgid "Automatic Friend Account" msgid "Automatic Friend Account"
msgstr "" msgstr ""
#: ../../mod/settings.php:317 #: ../../mod/settings.php:330
msgid "Automatically approve all connection/friend requests as friends" msgid "Automatically approve all connection/friend requests as friends"
msgstr "" msgstr ""
#: ../../mod/settings.php:326 #: ../../mod/settings.php:339
msgid "OpenID: " msgid "OpenID: "
msgstr "" msgstr ""
#: ../../mod/settings.php:326 #: ../../mod/settings.php:339
msgid "&nbsp;(Optional) Allow this OpenID to login to this account." msgid "&nbsp;(Optional) Allow this OpenID to login to this account."
msgstr "" msgstr ""
#: ../../mod/settings.php:336 #: ../../mod/settings.php:349
msgid "Publish your default profile in site directory?" msgid "Publish your default profile in site directory?"
msgstr "" msgstr ""
#: ../../mod/settings.php:348 #: ../../mod/settings.php:361
msgid "Publish your default profile in global social directory?" msgid "Publish your default profile in global social directory?"
msgstr "" msgstr ""
#: ../../mod/settings.php:364 #: ../../mod/settings.php:377
msgid "Profile is <strong>not published</strong>." msgid "Profile is <strong>not published</strong>."
msgstr "" msgstr ""
#: ../../mod/settings.php:385 ../../mod/profile_photo.php:191 #: ../../mod/settings.php:398 ../../mod/profile_photo.php:191
msgid "or" msgid "or"
msgstr "" msgstr ""
#: ../../mod/settings.php:390 #: ../../mod/settings.php:403
msgid "Your Identity Address is" msgid "Your Identity Address is"
msgstr "" msgstr ""
#: ../../mod/settings.php:400 #: ../../mod/settings.php:413
msgid "Export Personal Data" msgid "Export Personal Data"
msgstr "" msgstr ""
#: ../../mod/settings.php:406 #: ../../mod/settings.php:419
msgid "Basic Settings" msgid "Basic Settings"
msgstr "" msgstr ""
#: ../../mod/settings.php:407 ../../include/profile_advanced.php:10 #: ../../mod/settings.php:420 ../../include/profile_advanced.php:10
msgid "Full Name:" msgid "Full Name:"
msgstr "" msgstr ""
#: ../../mod/settings.php:408 #: ../../mod/settings.php:421
msgid "Email Address:" msgid "Email Address:"
msgstr "" msgstr ""
#: ../../mod/settings.php:409 #: ../../mod/settings.php:422
msgid "Your Timezone:" msgid "Your Timezone:"
msgstr "" msgstr ""
#: ../../mod/settings.php:410 #: ../../mod/settings.php:423
msgid "Default Post Location:" msgid "Default Post Location:"
msgstr "" msgstr ""
#: ../../mod/settings.php:411 #: ../../mod/settings.php:424
msgid "Use Browser Location:" msgid "Use Browser Location:"
msgstr "" msgstr ""
#: ../../mod/settings.php:412 #: ../../mod/settings.php:425
msgid "Display Theme:" msgid "Display Theme:"
msgstr "" msgstr ""
#: ../../mod/settings.php:414 #: ../../mod/settings.php:427
msgid "Security and Privacy Settings" msgid "Security and Privacy Settings"
msgstr "" msgstr ""
#: ../../mod/settings.php:415 #: ../../mod/settings.php:428
msgid "Maximum Friend Requests/Day:" msgid "Maximum Friend Requests/Day:"
msgstr "" msgstr ""
#: ../../mod/settings.php:416 #: ../../mod/settings.php:429
msgid "(to prevent spam abuse)" msgid "(to prevent spam abuse)"
msgstr "" msgstr ""
#: ../../mod/settings.php:417 #: ../../mod/settings.php:430
msgid "Allow friends to post to your profile page:" msgid "Allow friends to post to your profile page:"
msgstr "" msgstr ""
#: ../../mod/settings.php:418 #: ../../mod/settings.php:431
msgid "Automatically expire (delete) posts older than" msgid "Automatically expire (delete) posts older than"
msgstr "" msgstr ""
#: ../../mod/settings.php:419 ../../include/datetime.php:154 #: ../../mod/settings.php:432 ../../include/datetime.php:154
msgid "days" msgid "days"
msgstr "" msgstr ""
#: ../../mod/settings.php:420 #: ../../mod/settings.php:433
msgid "Notification Settings" msgid "Notification Settings"
msgstr "" msgstr ""
#: ../../mod/settings.php:421 #: ../../mod/settings.php:434
msgid "Send a notification email when:" msgid "Send a notification email when:"
msgstr "" msgstr ""
#: ../../mod/settings.php:422 #: ../../mod/settings.php:435
msgid "You receive an introduction" msgid "You receive an introduction"
msgstr "" msgstr ""
#: ../../mod/settings.php:423 #: ../../mod/settings.php:436
msgid "Your introductions are confirmed" msgid "Your introductions are confirmed"
msgstr "" msgstr ""
#: ../../mod/settings.php:424 #: ../../mod/settings.php:437
msgid "Someone writes on your profile wall" msgid "Someone writes on your profile wall"
msgstr "" msgstr ""
#: ../../mod/settings.php:425 #: ../../mod/settings.php:438
msgid "Someone writes a followup comment" msgid "Someone writes a followup comment"
msgstr "" msgstr ""
#: ../../mod/settings.php:426 #: ../../mod/settings.php:439
msgid "You receive a private message" msgid "You receive a private message"
msgstr "" msgstr ""
#: ../../mod/settings.php:427 #: ../../mod/settings.php:440
msgid "Password Settings" msgid "Password Settings"
msgstr "" msgstr ""
#: ../../mod/settings.php:428 #: ../../mod/settings.php:441
msgid "Leave password fields blank unless changing" msgid "Leave password fields blank unless changing"
msgstr "" msgstr ""
#: ../../mod/settings.php:429 #: ../../mod/settings.php:442
msgid "New Password:" msgid "New Password:"
msgstr "" msgstr ""
#: ../../mod/settings.php:430 #: ../../mod/settings.php:443
msgid "Confirm:" msgid "Confirm:"
msgstr "" msgstr ""
#: ../../mod/settings.php:431 #: ../../mod/settings.php:444
msgid "Advanced Page Settings" msgid "Advanced Page Settings"
msgstr "" msgstr ""
#: ../../mod/settings.php:446 #: ../../mod/settings.php:459
msgid "Default Post Permissions" msgid "Default Post Permissions"
msgstr "" msgstr ""
#: ../../mod/settings.php:447 #: ../../mod/settings.php:460
msgid "(click to open/close)" msgid "(click to open/close)"
msgstr "" msgstr ""
#: ../../mod/settings.php:460 #: ../../mod/settings.php:473
msgid "Email/Mailbox Setup" msgid "Email/Mailbox Setup"
msgstr "" msgstr ""
#: ../../mod/settings.php:461 #: ../../mod/settings.php:474
msgid "" msgid ""
"If you wish to communicate with email contacts using this service " "If you wish to communicate with email contacts using this service "
"(optional), please specify how to connect to your mailbox." "(optional), please specify how to connect to your mailbox."
msgstr "" msgstr ""
#: ../../mod/settings.php:462 #: ../../mod/settings.php:475
msgid "IMAP server name:" msgid "IMAP server name:"
msgstr "" msgstr ""
#: ../../mod/settings.php:464 #: ../../mod/settings.php:477
msgid "IMAP port:" msgid "IMAP port:"
msgstr "" msgstr ""
#: ../../mod/settings.php:466 #: ../../mod/settings.php:479
msgid "Security (TLS or SSL):" msgid "Security (TLS or SSL):"
msgstr "" msgstr ""
#: ../../mod/settings.php:468 #: ../../mod/settings.php:481
msgid "Email login name:" msgid "Email login name:"
msgstr "" msgstr ""
#: ../../mod/settings.php:470 #: ../../mod/settings.php:483
msgid "Email password:" msgid "Email password:"
msgstr "" msgstr ""
#: ../../mod/settings.php:471 #: ../../mod/settings.php:484
msgid "Reply-to address (Optional):" msgid "Reply-to address (Optional):"
msgstr "" msgstr ""
#: ../../mod/settings.php:473 #: ../../mod/settings.php:486
msgid "Send public posts to all email contacts:" msgid "Send public posts to all email contacts:"
msgstr "" msgstr ""
#: ../../mod/settings.php:488
msgid "Email access is disabled on this site."
msgstr ""
#: ../../mod/manage.php:37 #: ../../mod/manage.php:37
#, php-format #, php-format
msgid "Welcome back %s" msgid "Welcome back %s"
@ -1526,24 +1530,24 @@ msgstr ""
msgid "Enter a title for this item" msgid "Enter a title for this item"
msgstr "" msgstr ""
#: ../../mod/network.php:135 ../../mod/profile.php:187 #: ../../mod/network.php:137 ../../mod/profile.php:189
msgid "Set title" msgid "Set title"
msgstr "" msgstr ""
#: ../../mod/network.php:188 #: ../../mod/network.php:190
msgid "No such group" msgid "No such group"
msgstr "" msgstr ""
#: ../../mod/network.php:199 #: ../../mod/network.php:201
msgid "Group is empty" msgid "Group is empty"
msgstr "" msgstr ""
#: ../../mod/network.php:203 #: ../../mod/network.php:205
msgid "Group: " msgid "Group: "
msgstr "" msgstr ""
#: ../../mod/network.php:299 ../../mod/register.php:450 #: ../../mod/network.php:301 ../../mod/register.php:450
#: ../../mod/profile.php:320 ../../mod/display.php:142 #: ../../mod/profile.php:322 ../../mod/display.php:142
msgid "" msgid ""
"Shared content is covered by the <a href=\"http://creativecommons.org/" "Shared content is covered by the <a href=\"http://creativecommons.org/"
"licenses/by/3.0/\">Creative Commons Attribution 3.0</a> license." "licenses/by/3.0/\">Creative Commons Attribution 3.0</a> license."

View file

@ -593,6 +593,7 @@ $a->strings['Email login name:'] = 'Email login name:';
$a->strings['Email password:'] = 'Email password:'; $a->strings['Email password:'] = 'Email password:';
$a->strings["Reply-to address \x28Optional\x29:"] = "Reply-to address \x28Optional\x29:"; $a->strings["Reply-to address \x28Optional\x29:"] = "Reply-to address \x28Optional\x29:";
$a->strings['Send public posts to all email contacts:'] = 'Send public posts to all email contacts:'; $a->strings['Send public posts to all email contacts:'] = 'Send public posts to all email contacts:';
$a->strings['Email access is disabled on this site.'] = 'Email access is disabled on this site.';
$a->strings['Tag removed'] = 'Tag removed'; $a->strings['Tag removed'] = 'Tag removed';
$a->strings['Remove Item Tag'] = 'Remove Item Tag'; $a->strings['Remove Item Tag'] = 'Remove Item Tag';
$a->strings['Select a tag to remove: '] = 'Select a tag to remove: '; $a->strings['Select a tag to remove: '] = 'Select a tag to remove: ';

View file

@ -167,27 +167,28 @@ $profile_in_net_dir
<h3 class="settings-imap">$lbl_imap0</h3> <h3 class="settings-imap">$lbl_imap0</h3>
<p> <p>
$imap_desc $imap_desc
$mail_disabled
</p> </p>
<label for="imap-server" id="settings-label-imap1">$lbl_imap1</label> <label for="imap-server" id="settings-label-imap1">$lbl_imap1</label>
<input type="text" id="imap-server" name="mail_server" value="$imap_server" /> <input type="text" id="imap-server" name="mail_server" value="$imap_server" $imap_disabled />
<div id="imap-server-end"></div> <div id="imap-server-end"></div>
<label for="imap-port" id="settings-label-imap2">$lbl_imap2</label> <label for="imap-port" id="settings-label-imap2">$lbl_imap2</label>
<input type="text" id="imap-port" name="mail_port" value="$imap_port" /> <input type="text" id="imap-port" name="mail_port" value="$imap_port" $imap_disabled />
<div id="imap-port-end"></div> <div id="imap-port-end"></div>
<label for="imap-ssl" id="settings-label-imap3">$lbl_imap3</label> <label for="imap-ssl" id="settings-label-imap3">$lbl_imap3</label>
<input type="text" id="imap-ssl" name="mail_ssl" value="$imap_ssl" /> <input type="text" id="imap-ssl" name="mail_ssl" value="$imap_ssl" $imap_disabled />
<div id="imap-ssl-end"></div> <div id="imap-ssl-end"></div>
<label for="imap-user" id="settings-label-imap4">$lbl_imap4</label> <label for="imap-user" id="settings-label-imap4">$lbl_imap4</label>
<input type="text" id="imap-user" name="mail_user" value="$imap_user" /> <input type="text" id="imap-user" name="mail_user" value="$imap_user" $imap_disabled />
<div id="imap-user-end"></div> <div id="imap-user-end"></div>
<label for="imap-pass" id="settings-label-imap5">$lbl_imap5</label> <label for="imap-pass" id="settings-label-imap5">$lbl_imap5</label>
<input type="password" id="imap-pass" name="mail_pass" value="" /> <input type="password" id="imap-pass" name="mail_pass" value="" $imap_disabled />
<div id="imap-pass-end"></div> <div id="imap-pass-end"></div>
<label for="imap-replyto" id="settings-label-imap6">$lbl_imap6</label> <label for="imap-replyto" id="settings-label-imap6">$lbl_imap6</label>
<input type="text" id="imap-replyto" name="mail_replyto" value="$imap_replyto" /> <input type="text" id="imap-replyto" name="mail_replyto" value="$imap_replyto" $imap_disabled />
<div id="imap-replyto-end"></div> <div id="imap-replyto-end"></div>
<label for="imap-pubmail" id="settings-label-imap7">$lbl_imap7</label> <label for="imap-pubmail" id="settings-label-imap7">$lbl_imap7</label>
<input type="checkbox" name="mail_pubmail" id="imap-pubmail" $pubmail_checked value="1" /> <input type="checkbox" name="mail_pubmail" id="imap-pubmail" $pubmail_checked value="1" $imap_disabled />
<div id="imap-pubmail-end"></div> <div id="imap-pubmail-end"></div>
<div class="settings-submit-wrapper" > <div class="settings-submit-wrapper" >