From 16a07e6d83dc4eff600bf1c12c0d638977ab44d6 Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Sat, 6 Sep 2014 15:52:53 +0200 Subject: [PATCH 01/26] cleanup multipart email sending code remove 'EmailNotification' class and rename 'enotify' class as 'Emailer' --- .../{EmailNotification.php => Emailer.php} | 28 ++-- include/email.php | 6 + include/enotify.php | 138 ++++++------------ 3 files changed, 62 insertions(+), 110 deletions(-) rename include/{EmailNotification.php => Emailer.php} (65%) diff --git a/include/EmailNotification.php b/include/Emailer.php similarity index 65% rename from include/EmailNotification.php rename to include/Emailer.php index 8861e8f5d8..a5b600e36f 100644 --- a/include/EmailNotification.php +++ b/include/Emailer.php @@ -2,7 +2,7 @@ require_once('include/email.php'); -class EmailNotification { +class Emailer { /** * Send a multipart/alternative message with Text and HTML versions * @@ -13,13 +13,13 @@ class EmailNotification { * @param messageSubject subject of the message * @param htmlVersion html version of the message * @param textVersion text only version of the message + * @param additionalMailHeader additions to the smtp mail header */ - static public function sendTextHtmlEmail($fromName,$fromEmail,$replyTo,$toEmail,$messageSubject,$htmlVersion,$textVersion) { + static public function send($params) { + + $fromName = email_header_encode(html_entity_decode($params['fromName'],ENT_QUOTES,'UTF-8'),'UTF-8'); + $messageSubject = email_header_encode(html_entity_decode($params['messageSubject'],ENT_QUOTES,'UTF-8'),'UTF-8'); - $fromName = email_header_encode($fromName,'UTF-8'); - $messageSubject = email_header_encode($messageSubject,'UTF-8'); - - // generate a mime boundary $mimeBoundary =rand(0,9)."-" .rand(10000000000,9999999999)."-" @@ -28,14 +28,15 @@ class EmailNotification { // generate a multipart/alternative message header $messageHeader = - "From: {$fromName} <{$fromEmail}>\n" . - "Reply-To: {$replyTo}\n" . + $params['additionalMailHeader'] . + "From: $fromName <{$params['fromEmail']}>\n" . + "Reply-To: $fromName <{$params['replyTo']}>\n" . "MIME-Version: 1.0\n" . "Content-Type: multipart/alternative; boundary=\"{$mimeBoundary}\""; // assemble the final multipart message body with the text and html types included - $textBody = chunk_split(base64_encode($textVersion)); - $htmlBody = chunk_split(base64_encode($htmlVersion)); + $textBody = chunk_split(base64_encode($params['textVersion'])); + $htmlBody = chunk_split(base64_encode($params['htmlVersion'])); $multipartMessageBody = "--" . $mimeBoundary . "\n" . // plain text section "Content-Type: text/plain; charset=UTF-8\n" . @@ -49,12 +50,13 @@ class EmailNotification { // send the message $res = mail( - $toEmail, // send to address + $params['toEmail'], // send to address $messageSubject, // subject $multipartMessageBody, // message body $messageHeader // message headers ); - logger("sendTextHtmlEmail: END"); + logger("header " . 'To: ' . $params['toEmail'] . "\n" . $messageHeader, LOGGER_DEBUG); + logger("return value " . $res, LOGGER_DEBUG); } } -?> \ No newline at end of file +?> diff --git a/include/email.php b/include/email.php index dec8c93db7..0f24a42497 100644 --- a/include/email.php +++ b/include/email.php @@ -249,6 +249,12 @@ function email_header_encode($in_str, $charset) { return $out_str; } +/** + * email_send is used by NETWORK_EMAIL and NETWORK_EMAIL2 code + * (not to notify the user, but to send items to email contacts + * + * TODO: this could be changed to use the Emailer class + */ function email_send($addr, $subject, $headers, $item) { //$headers .= 'MIME-Version: 1.0' . "\n"; //$headers .= 'Content-Type: text/html; charset=UTF-8' . "\n"; diff --git a/include/enotify.php b/include/enotify.php index 970ece82eb..2dca5a609c 100644 --- a/include/enotify.php +++ b/include/enotify.php @@ -1,10 +1,12 @@ get_baseurl(true); - $thanks = t('Thank You,'); - $sitename = $a->config['sitename']; - $site_admin = sprintf( t('%s Administrator'), $sitename); - - $sender_name = $product; - $hostname = $a->get_hostname(); - if(strpos($hostname,':')) - $hostname = substr($hostname,0,strpos($hostname,':')); - - $sender_email = t('noreply') . '@' . $hostname; - $additional_mail_header = ""; - - $additional_mail_header .= "Precedence: list\n"; - $additional_mail_header .= "X-Friendica-Host: ".$hostname."\n"; - $additional_mail_header .= "X-Friendica-Platform: ".FRIENDICA_PLATFORM."\n"; - $additional_mail_header .= "X-Friendica-Version: ".FRIENDICA_VERSION."\n"; - $additional_mail_header .= "List-ID: \n"; - $additional_mail_header .= "List-Archive: <".$a->get_baseurl()."/notifications/system>\n"; if(array_key_exists('item',$params)) { $title = $params['item']['title']; @@ -250,6 +231,35 @@ function notification($params) { } + + /*$email = prepare_notificaion_mail($params, $subject, $preamble, $body, $sitelink, $tsitelink, $hsitelink, $itemlink); + if ($email) Emailer::send($email); + pop_lang();*/ + + + $banner = t('Friendica Notification'); + $product = FRIENDICA_PLATFORM; + $siteurl = $a->get_baseurl(true); + $thanks = t('Thank You,'); + $sitename = $a->config['sitename']; + $site_admin = sprintf( t('%s Administrator'), $sitename); + + $sender_name = $product; + $hostname = $a->get_hostname(); + if(strpos($hostname,':')) + $hostname = substr($hostname,0,strpos($hostname,':')); + + $sender_email = t('noreply') . '@' . $hostname; + + + $additional_mail_header = ""; + $additional_mail_header .= "Precedence: list\n"; + $additional_mail_header .= "X-Friendica-Host: ".$hostname."\n"; + $additional_mail_header .= "X-Friendica-Platform: ".FRIENDICA_PLATFORM."\n"; + $additional_mail_header .= "X-Friendica-Version: ".FRIENDICA_VERSION."\n"; + $additional_mail_header .= "List-ID: \n"; + $additional_mail_header .= "List-Archive: <".$a->get_baseurl()."/notifications/system>\n"; + $h = array( 'params' => $params, 'subject' => $subject, @@ -274,7 +284,6 @@ function notification($params) { $itemlink = $h['itemlink']; - require_once('include/html2bbcode.php'); do { $dups = false; @@ -304,7 +313,7 @@ function notification($params) { if($datarray['abort']) { pop_lang(); - return; + return False; } // create notification entry in DB @@ -332,7 +341,7 @@ function notification($params) { $notify_id = $r[0]['id']; else { pop_lang(); - return; + return False; } // we seem to have a lot of duplicate comment notifications due to race conditions, mostly from forums @@ -356,17 +365,11 @@ function notification($params) { if($notify_id != $p[0]['id']) { pop_lang(); - return; + return False; } } - - - - - - $itemlink = $a->get_baseurl() . '/notify/view/' . $notify_id; $msg = replace_macros($epreamble,array('$itemlink' => $itemlink)); $r = q("update notify set msg = '%s' where id = %d and uid = %d", @@ -378,7 +381,6 @@ function notification($params) { // send email notification if notification preferences permit - require_once('include/bbcode.php'); if((intval($params['notify_flags']) & intval($params['type'])) || $params['type'] == NOTIFY_SYSTEM) { logger('notification: sending notification email'); @@ -410,7 +412,7 @@ function notification($params) { } else { // If not, just "follow" the thread. $additional_mail_header .= "References: <${id_for_parent}>\nIn-Reply-To: <${id_for_parent}>\n"; - logger("include/enotify: There's already a notification for this parent:\n" . print_r($r, true), LOGGER_DEBUG); + logger("There's already a notification for this parent:\n" . print_r($r, true), LOGGER_DEBUG); } } @@ -494,9 +496,9 @@ function notification($params) { // logger('text: ' . $email_text_body); - // use the EmailNotification library to send the message + // use the Emailer class to send the message - enotify::send(array( + Emailer::send(array( 'fromName' => $sender_name, 'fromEmail' => $sender_email, 'replyTo' => $sender_email, @@ -506,69 +508,11 @@ function notification($params) { 'textVersion' => $email_text_body, 'additionalMailHeader' => $datarray['headers'], )); + return True; } - pop_lang(); + return False; } -require_once('include/email.php'); - -class enotify { - /** - * Send a multipart/alternative message with Text and HTML versions - * - * @param fromName name of the sender - * @param fromEmail email fo the sender - * @param replyTo replyTo address to direct responses - * @param toEmail destination email address - * @param messageSubject subject of the message - * @param htmlVersion html version of the message - * @param textVersion text only version of the message - * @param additionalMailHeader additions to the smtp mail header - */ - static public function send($params) { - - $fromName = email_header_encode(html_entity_decode($params['fromName'],ENT_QUOTES,'UTF-8'),'UTF-8'); - $messageSubject = email_header_encode(html_entity_decode($params['messageSubject'],ENT_QUOTES,'UTF-8'),'UTF-8'); - - // generate a mime boundary - $mimeBoundary =rand(0,9)."-" - .rand(10000000000,9999999999)."-" - .rand(10000000000,9999999999)."=:" - .rand(10000,99999); - - // generate a multipart/alternative message header - $messageHeader = - $params['additionalMailHeader'] . - "From: $fromName <{$params['fromEmail']}>\n" . - "Reply-To: $fromName <{$params['replyTo']}>\n" . - "MIME-Version: 1.0\n" . - "Content-Type: multipart/alternative; boundary=\"{$mimeBoundary}\""; - - // assemble the final multipart message body with the text and html types included - $textBody = chunk_split(base64_encode($params['textVersion'])); - $htmlBody = chunk_split(base64_encode($params['htmlVersion'])); - $multipartMessageBody = - "--" . $mimeBoundary . "\n" . // plain text section - "Content-Type: text/plain; charset=UTF-8\n" . - "Content-Transfer-Encoding: base64\n\n" . - $textBody . "\n" . - "--" . $mimeBoundary . "\n" . // text/html section - "Content-Type: text/html; charset=UTF-8\n" . - "Content-Transfer-Encoding: base64\n\n" . - $htmlBody . "\n" . - "--" . $mimeBoundary . "--\n"; // message ending - - // send the message - $res = mail( - $params['toEmail'], // send to address - $messageSubject, // subject - $multipartMessageBody, // message body - $messageHeader // message headers - ); - logger("notification: enotify::send header " . 'To: ' . $params['toEmail'] . "\n" . $messageHeader, LOGGER_DEBUG); - logger("notification: enotify::send returns " . $res, LOGGER_DEBUG); - } -} ?> From 83df1f45831e1ab85af2eebe6eaee699b953a9e0 Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Sat, 6 Sep 2014 16:12:05 +0200 Subject: [PATCH 02/26] fix italian smarty3 email templates --- view/it/smarty3/follow_notify_eml.tpl | 10 +++--- view/it/smarty3/friend_complete_eml.tpl | 14 ++++----- view/it/smarty3/htconfig.tpl | 38 +++++++++++------------ view/it/smarty3/intro_complete_eml.tpl | 16 +++++----- view/it/smarty3/lostpass_eml.tpl | 12 +++---- view/it/smarty3/passchanged_eml.tpl | 10 +++--- view/it/smarty3/register_adminadd_eml.tpl | 14 ++++----- view/it/smarty3/register_open_eml.tpl | 14 ++++----- view/it/smarty3/register_verify_eml.tpl | 12 +++---- view/it/smarty3/request_notify_eml.tpl | 12 +++---- view/it/smarty3/update_fail_eml.tpl | 8 ++--- 11 files changed, 80 insertions(+), 80 deletions(-) diff --git a/view/it/smarty3/follow_notify_eml.tpl b/view/it/smarty3/follow_notify_eml.tpl index c85a0cdc94..0bfc375520 100644 --- a/view/it/smarty3/follow_notify_eml.tpl +++ b/view/it/smarty3/follow_notify_eml.tpl @@ -1,14 +1,14 @@ -Ciao $[myname], +Ciao {{$myname}}, -Un nuovo utente ha iniziato a seguirti su $[sitename] - '$[requestor]'. +Un nuovo utente ha iniziato a seguirti su {{$sitename}} - '{{$requestor}}'. -Puoi vedere il suo profilo su $[url]. +Puoi vedere il suo profilo su {{$url}}. Accedi sul tuo sito per approvare o ignorare la richiesta. -$[siteurl] +{{$siteurl}} Saluti, - L'amministratore di $[sitename] \ No newline at end of file + L'amministratore di {{$sitename}} \ No newline at end of file diff --git a/view/it/smarty3/friend_complete_eml.tpl b/view/it/smarty3/friend_complete_eml.tpl index 890b0148c3..daeaae9016 100644 --- a/view/it/smarty3/friend_complete_eml.tpl +++ b/view/it/smarty3/friend_complete_eml.tpl @@ -1,22 +1,22 @@ -Ciao $[username], +Ciao {{$username}}, - Ottime notizie... '$[fn]' di '$[dfrn_url]' ha accettato -la tua richiesta di connessione su '$[sitename]'. + Ottime notizie... '{{$fn}}' di '{{$dfrn_url}}' ha accettato +la tua richiesta di connessione su '{{$sitename}}'. Adesso siete amici reciproci e potete scambiarvi aggiornamenti di stato, foto ed email senza restrizioni. -Vai nella pagina 'Contatti' di $[sitename] se vuoi effettuare +Vai nella pagina 'Contatti' di {{$sitename}} se vuoi effettuare qualche modifica riguardo questa relazione -$[siteurl] +{{$siteurl}} [Ad esempio, potresti creare un profilo separato con le informazioni che non -sono disponibili pubblicamente - ed permettere di vederlo a '$[fn]']. +sono disponibili pubblicamente - ed permettere di vederlo a '{{$fn}}']. Saluti, - l'amministratore di $[sitename] + l'amministratore di {{$sitename}} \ No newline at end of file diff --git a/view/it/smarty3/htconfig.tpl b/view/it/smarty3/htconfig.tpl index 30998b86cf..eb85de8218 100644 --- a/view/it/smarty3/htconfig.tpl +++ b/view/it/smarty3/htconfig.tpl @@ -4,26 +4,26 @@ // Set the following for your MySQL installation // Copy or rename this file to .htconfig.php -$db_host = '{{$dbhost}}'; -$db_user = '{{$dbuser}}'; -$db_pass = '{{$dbpass}}'; -$db_data = '{{$dbdata}}'; +{{$db}}_host = '{{{{$dbhost}}}}'; +{{$db}}_user = '{{{{$dbuser}}}}'; +{{$db}}_pass = '{{{{$dbpass}}}}'; +{{$db}}_data = '{{{{$dbdata}}}}'; // If you are using a subdirectory of your domain you will need to put the // relative path (from the root of your domain) here. // For instance if your URL is 'http://example.com/directory/subdirectory', -// set $a->path to 'directory/subdirectory'. +// set {{$a}}->path to 'directory/subdirectory'. -$a->path = '{{$urlpath}}'; +{{$a}}->path = '{{{{$urlpath}}}}'; // Choose a legal default timezone. If you are unsure, use "America/Los_Angeles". // It can be changed later and only applies to timestamps for anonymous viewers. -$default_timezone = '{{$timezone}}'; +{{$default}}_timezone = '{{{{$timezone}}}}'; // What is your site name? -$a->config['sitename'] = "La Mia Rete di Amici"; +{{$a}}->config['sitename'] = "La Mia Rete di Amici"; // Your choices are REGISTER_OPEN, REGISTER_APPROVE, or REGISTER_CLOSED. // Be certain to create your own personal account before setting @@ -32,38 +32,38 @@ $a->config['sitename'] = "La Mia Rete di Amici"; // to the email address of an already registered person who can authorise // and/or approve/deny the request. -$a->config['register_policy'] = REGISTER_OPEN; -$a->config['register_text'] = ''; -$a->config['admin_email'] = '{{$adminmail}}'; +{{$a}}->config['register_policy'] = REGISTER_OPEN; +{{$a}}->config['register_text'] = ''; +{{$a}}->config['admin_email'] = '{{{{$adminmail}}}}'; // Maximum size of an imported message, 0 is unlimited -$a->config['max_import_size'] = 200000; +{{$a}}->config['max_import_size'] = 200000; // maximum size of uploaded photos -$a->config['system']['maximagesize'] = 800000; +{{$a}}->config['system']['maximagesize'] = 800000; // Location of PHP command line processor -$a->config['php_path'] = '{{$phpath}}'; +{{$a}}->config['php_path'] = '{{{{$phpath}}}}'; // Location of global directory submission page. -$a->config['system']['directory_submit_url'] = 'http://dir.friendica.com/submit'; -$a->config['system']['directory_search_url'] = 'http://dir.friendica.com/directory?search='; +{{$a}}->config['system']['directory_submit_url'] = 'http://dir.friendica.com/submit'; +{{$a}}->config['system']['directory_search_url'] = 'http://dir.friendica.com/directory?search='; // PuSH - aka pubsubhubbub URL. This makes delivery of public posts as fast as private posts -$a->config['system']['huburl'] = 'http://pubsubhubbub.appspot.com'; +{{$a}}->config['system']['huburl'] = 'http://pubsubhubbub.appspot.com'; // Server-to-server private message encryption (RINO) is allowed by default. // Encryption will only be provided if this setting is true and the // PHP mcrypt extension is installed on both systems -$a->config['system']['rino_encrypt'] = true; +{{$a}}->config['system']['rino_encrypt'] = true; // default system theme -$a->config['system']['theme'] = 'duepuntozero'; +{{$a}}->config['system']['theme'] = 'duepuntozero'; diff --git a/view/it/smarty3/intro_complete_eml.tpl b/view/it/smarty3/intro_complete_eml.tpl index 46fe7018b7..69fce81411 100644 --- a/view/it/smarty3/intro_complete_eml.tpl +++ b/view/it/smarty3/intro_complete_eml.tpl @@ -1,22 +1,22 @@ -Ciao $[username], +Ciao {{$username}}, - '$[fn]' di '$[dfrn_url]' ha accettato -la tua richiesta di connessione a '$[sitename]'. + '{{$fn}}' di '{{$dfrn_url}}' ha accettato +la tua richiesta di connessione a '{{$sitename}}'. - '$[fn]' ha deciso di accettarti come "fan", il che restringe + '{{$fn}}' ha deciso di accettarti come "fan", il che restringe alcune forme di comunicazione - come i messaggi privati e alcune interazioni. Se è la pagina di una persona famosa o di una comunità, queste impostazioni saranno applicate automaticamente. - '$[fn]' potrebbe decidere di estendere questa relazione in una comunicazione bidirezionale o ancora più permissiva + '{{$fn}}' potrebbe decidere di estendere questa relazione in una comunicazione bidirezionale o ancora più permissiva . - Inizierai a ricevere gli aggiornamenti di stato pubblici da '$[fn]', + Inizierai a ricevere gli aggiornamenti di stato pubblici da '{{$fn}}', che apparirà nella tua pagina 'Rete' -$[siteurl] +{{$siteurl}} Saluti, - l'amministratore di $[sitename] \ No newline at end of file + l'amministratore di {{$sitename}} \ No newline at end of file diff --git a/view/it/smarty3/lostpass_eml.tpl b/view/it/smarty3/lostpass_eml.tpl index b1fe75f941..3601f18a7f 100644 --- a/view/it/smarty3/lostpass_eml.tpl +++ b/view/it/smarty3/lostpass_eml.tpl @@ -1,6 +1,6 @@ -Ciao $[username], - Su $[sitename] è stata ricevuta una richiesta di azzeramento della password del tuo account. +Ciao {{$username}}, + Su {{$sitename}} è stata ricevuta una richiesta di azzeramento della password del tuo account. Per confermare la richiesta, clicca sul link di verifica qui in fondo oppure copialo nella barra degli indirizzi del tuo browser. @@ -12,7 +12,7 @@ hai fatto questa richiesta. Per verificare la tua identità clicca su: -$[reset_link] +{{$reset_link}} Dopo la verifica riceverai un messaggio di risposta con la nuova password. @@ -20,13 +20,13 @@ Potrai cambiare la password dalla pagina delle impostazioni dopo aver effettuato I dati di accesso sono i seguenti: -Sito:»$[siteurl] -Nome utente:»$[email] +Sito:»{{$siteurl}} +Nome utente:»{{$email}} Saluti, - l'amministratore di $[sitename] + l'amministratore di {{$sitename}} \ No newline at end of file diff --git a/view/it/smarty3/passchanged_eml.tpl b/view/it/smarty3/passchanged_eml.tpl index 15e05df1cb..fccc0928f2 100644 --- a/view/it/smarty3/passchanged_eml.tpl +++ b/view/it/smarty3/passchanged_eml.tpl @@ -1,5 +1,5 @@ -Ciao $[username], +Ciao {{$username}}, La tua password è stata cambiata, come hai richiesto. Conserva queste informazioni (oppure cambia immediatamente la password con qualcosa che ti è più facile ricordare). @@ -7,14 +7,14 @@ qualcosa che ti è più facile ricordare). I tuoi dati di accesso sono i seguenti: -Sito:»$[siteurl] -Soprannome:»$[email] -Password:»$[new_password] +Sito:»{{$siteurl}} +Soprannome:»{{$email}} +Password:»{{$new_password}} Puoi cambiare la tua password dalla pagina delle impostazioni dopo aver effettuato l'accesso. Saluti, - l'amministratore di $[sitename] + l'amministratore di {{$sitename}} \ No newline at end of file diff --git a/view/it/smarty3/register_adminadd_eml.tpl b/view/it/smarty3/register_adminadd_eml.tpl index 4cb17d294e..20a9cb176d 100644 --- a/view/it/smarty3/register_adminadd_eml.tpl +++ b/view/it/smarty3/register_adminadd_eml.tpl @@ -1,12 +1,12 @@ -Ciao $[username], - l'amministratore di {{$sitename}} ha creato un account per te. +Ciao {{$username}}, + l'amministratore di {{{{$sitename}}}} ha creato un account per te. I dettagli di accesso sono i seguenti -Sito:»$[siteurl] -Soprannome:»$[email] -Password:»$[password] +Sito:»{{$siteurl}} +Soprannome:»{{$email}} +Password:»{{$password}} Puoi cambiare la tua password dalla pagina "Impostazioni" del tuo profilo dopo aver effettuato l'accesso @@ -26,7 +26,7 @@ Se non ancora non conosci nessuno qui, posso essere d'aiuto per farti nuovi e interessanti amici. -Grazie. Siamo contenti di darti il benvenuto su $[sitename] +Grazie. Siamo contenti di darti il benvenuto su {{$sitename}} Saluti, - l'amministratore di $[sitename] \ No newline at end of file + l'amministratore di {{$sitename}} \ No newline at end of file diff --git a/view/it/smarty3/register_open_eml.tpl b/view/it/smarty3/register_open_eml.tpl index 11a7752bc3..23dcaf2c8d 100644 --- a/view/it/smarty3/register_open_eml.tpl +++ b/view/it/smarty3/register_open_eml.tpl @@ -1,12 +1,12 @@ -Ciao $[username], - Grazie per aver effettuato la registrazione a $[sitename]. Il tuo account è stato creato. +Ciao {{$username}}, + Grazie per aver effettuato la registrazione a {{$sitename}}. Il tuo account è stato creato. I dettagli di accesso sono i seguenti -Sito:»$[siteurl] -Nome utente:»$[email] -Password:»$[password] +Sito:»{{$siteurl}} +Nome utente:»{{$email}} +Password:»{{$password}} Puoi cambiare la tua password dalla pagina "Impostazioni" del tuo profilo dopo aver effettuato l'accesso . @@ -26,9 +26,9 @@ Se ancora non conosci nessuno qui, potrebbe esserti di aiuto per farti nuovi e interessanti amici. -Grazie. Siamo contenti di darti il benvenuto su $[sitename] +Grazie. Siamo contenti di darti il benvenuto su {{$sitename}} Saluti, - l'amministratore di $[sitename] + l'amministratore di {{$sitename}} \ No newline at end of file diff --git a/view/it/smarty3/register_verify_eml.tpl b/view/it/smarty3/register_verify_eml.tpl index fa039baddc..931d9d4b0d 100644 --- a/view/it/smarty3/register_verify_eml.tpl +++ b/view/it/smarty3/register_verify_eml.tpl @@ -1,25 +1,25 @@ -Su $[sitename] è stata ricevuta una nuova richiesta di registrazione da parte di un utente che richiede +Su {{$sitename}} è stata ricevuta una nuova richiesta di registrazione da parte di un utente che richiede la tua approvazione. I dati di accesso sono i seguenti: -Nome completo:»$[username] -Sito:»$[siteurl] -Nome utente:»$[email] +Nome completo:»{{$username}} +Sito:»{{$siteurl}} +Nome utente:»{{$email}} Per approvare questa richiesta clicca su: -$[siteurl]/regmod/allow/$[hash] +{{$siteurl}}/regmod/allow/{{$hash}} Per negare la richiesta e rimuovere il profilo, clicca su: -$[siteurl]/regmod/deny/$[hash] +{{$siteurl}}/regmod/deny/{{$hash}} Grazie. diff --git a/view/it/smarty3/request_notify_eml.tpl b/view/it/smarty3/request_notify_eml.tpl index 2700e49fdd..b0efcb40ba 100644 --- a/view/it/smarty3/request_notify_eml.tpl +++ b/view/it/smarty3/request_notify_eml.tpl @@ -1,17 +1,17 @@ -Ciao $[myname], +Ciao {{$myname}}, -Hai appena ricevuto una richiesta di connessione su $[sitename] +Hai appena ricevuto una richiesta di connessione su {{$sitename}} -da '$[requestor]'. +da '{{$requestor}}'. -Puoi visitare il suo profilo su $[url]. +Puoi visitare il suo profilo su {{$url}}. Accedi al tuo sito per vedere la richiesta completa e approva o ignora/annulla la richiesta. -$[siteurl] +{{$siteurl}} Saluti, - l'amministratore di $[sitename] \ No newline at end of file + l'amministratore di {{$sitename}} \ No newline at end of file diff --git a/view/it/smarty3/update_fail_eml.tpl b/view/it/smarty3/update_fail_eml.tpl index 96813a7bc2..d647e26d84 100644 --- a/view/it/smarty3/update_fail_eml.tpl +++ b/view/it/smarty3/update_fail_eml.tpl @@ -1,11 +1,11 @@ Ehi, -Sono $sitename; -Gli sviluppatori di Friendica hanno appena rilasciato la nuova versione $update, +Sono {{$sitename}}; +Gli sviluppatori di Friendica hanno appena rilasciato la nuova versione {{$update}}, ma appena ho provato ad installarla qualcosa è andato tremendamente storto. Le cose vanno messe a posto al più presto e non riesco a farlo da solo. Contatta uno sviluppatore di friendica se non riesci ad aiutarmi da solo. Il mio database potrebbe non essere più a posto. -Il messaggio di errore è: '$error'. +Il messaggio di errore è: '{{$error}}'. Mi dispiace, -il tuo server friendica su $siteurl \ No newline at end of file +il tuo server friendica su {{$siteurl}} \ No newline at end of file From 1bdddebd44d493f65ea2eba04af6ea0de19f48eb Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Sat, 6 Sep 2014 17:28:46 +0200 Subject: [PATCH 03/26] connection confirm notification mail via notification() remove unused email templates add a check for unexpected reponse from server --- mod/dfrn_confirm.php | 119 ++++++++++----------- mod/dfrn_request.php | 74 ++++++------- view/ca/friend_complete_eml.tpl | 19 ---- view/ca/intro_complete_eml.tpl | 21 ---- view/ca/smarty3/friend_complete_eml.tpl | 20 ---- view/ca/smarty3/intro_complete_eml.tpl | 22 ---- view/cs/friend_complete_eml.tpl | 22 ---- view/cs/intro_complete_eml.tpl | 22 ---- view/cs/smarty3/friend_complete_eml.tpl | 18 ---- view/cs/smarty3/intro_complete_eml.tpl | 18 ---- view/de/friend_complete_eml.tpl | 22 ---- view/de/intro_complete_eml.tpl | 22 ---- view/de/smarty3/friend_complete_eml.tpl | 23 ---- view/de/smarty3/intro_complete_eml.tpl | 23 ---- view/en/friend_complete_eml.tpl | 22 ---- view/en/intro_complete_eml.tpl | 22 ---- view/en/smarty3/friend_complete_eml.tpl | 23 ---- view/en/smarty3/intro_complete_eml.tpl | 23 ---- view/eo/friend_complete_eml.tpl | 22 ---- view/eo/intro_complete_eml.tpl | 22 ---- view/eo/smarty3/friend_complete_eml.tpl | 23 ---- view/eo/smarty3/intro_complete_eml.tpl | 23 ---- view/es/friend_complete_eml.tpl | 19 ---- view/es/intro_complete_eml.tpl | 21 ---- view/es/smarty3/friend_complete_eml.tpl | 20 ---- view/es/smarty3/intro_complete_eml.tpl | 22 ---- view/fr/friend_complete_eml.tpl | 23 ---- view/fr/intro_complete_eml.tpl | 22 ---- view/fr/smarty3/friend_complete_eml.tpl | 24 ----- view/fr/smarty3/intro_complete_eml.tpl | 23 ---- view/is/friend_complete_eml.tpl | 22 ---- view/is/intro_complete_eml.tpl | 22 ---- view/is/smarty3/friend_complete_eml.tpl | 23 ---- view/is/smarty3/intro_complete_eml.tpl | 23 ---- view/it/smarty3/friend_complete_eml.tpl | 22 ---- view/it/smarty3/intro_complete_eml.tpl | 22 ---- view/nb-no/friend_complete_eml.tpl | 22 ---- view/nb-no/intro_complete_eml.tpl | 22 ---- view/nb-no/smarty3/friend_complete_eml.tpl | 23 ---- view/nb-no/smarty3/intro_complete_eml.tpl | 23 ---- view/nl/friend_complete_eml.tpl | 22 ---- view/nl/intro_complete_eml.tpl | 22 ---- view/pl/friend_complete_eml.tpl | 22 ---- view/pl/intro_complete_eml.tpl | 22 ---- view/pl/smarty3/friend_complete_eml.tpl | 23 ---- view/pl/smarty3/intro_complete_eml.tpl | 23 ---- view/pt-br/intro_complete_eml.tpl | 22 ---- view/pt-br/smarty3/intro_complete_eml.tpl | 23 ---- view/ro/smarty3/friend_complete_eml.tpl | 22 ---- view/ro/smarty3/intro_complete_eml.tpl | 22 ---- view/sv/friend_complete_eml.tpl | 17 --- view/sv/intro_complete_eml.tpl | 19 ---- view/sv/smarty3/friend_complete_eml.tpl | 18 ---- view/sv/smarty3/intro_complete_eml.tpl | 20 ---- view/zh-cn/friend_complete_eml.tpl | 22 ---- view/zh-cn/intro_complete_eml.tpl | 22 ---- view/zh-cn/smarty3/friend_complete_eml.tpl | 23 ---- view/zh-cn/smarty3/intro_complete_eml.tpl | 23 ---- 58 files changed, 96 insertions(+), 1314 deletions(-) delete mode 100644 view/ca/friend_complete_eml.tpl delete mode 100644 view/ca/intro_complete_eml.tpl delete mode 100644 view/ca/smarty3/friend_complete_eml.tpl delete mode 100644 view/ca/smarty3/intro_complete_eml.tpl delete mode 100644 view/cs/friend_complete_eml.tpl delete mode 100644 view/cs/intro_complete_eml.tpl delete mode 100644 view/cs/smarty3/friend_complete_eml.tpl delete mode 100644 view/cs/smarty3/intro_complete_eml.tpl delete mode 100644 view/de/friend_complete_eml.tpl delete mode 100644 view/de/intro_complete_eml.tpl delete mode 100644 view/de/smarty3/friend_complete_eml.tpl delete mode 100644 view/de/smarty3/intro_complete_eml.tpl delete mode 100644 view/en/friend_complete_eml.tpl delete mode 100644 view/en/intro_complete_eml.tpl delete mode 100644 view/en/smarty3/friend_complete_eml.tpl delete mode 100644 view/en/smarty3/intro_complete_eml.tpl delete mode 100644 view/eo/friend_complete_eml.tpl delete mode 100644 view/eo/intro_complete_eml.tpl delete mode 100644 view/eo/smarty3/friend_complete_eml.tpl delete mode 100644 view/eo/smarty3/intro_complete_eml.tpl delete mode 100644 view/es/friend_complete_eml.tpl delete mode 100644 view/es/intro_complete_eml.tpl delete mode 100644 view/es/smarty3/friend_complete_eml.tpl delete mode 100644 view/es/smarty3/intro_complete_eml.tpl delete mode 100644 view/fr/friend_complete_eml.tpl delete mode 100644 view/fr/intro_complete_eml.tpl delete mode 100644 view/fr/smarty3/friend_complete_eml.tpl delete mode 100644 view/fr/smarty3/intro_complete_eml.tpl delete mode 100644 view/is/friend_complete_eml.tpl delete mode 100644 view/is/intro_complete_eml.tpl delete mode 100644 view/is/smarty3/friend_complete_eml.tpl delete mode 100644 view/is/smarty3/intro_complete_eml.tpl delete mode 100644 view/it/smarty3/friend_complete_eml.tpl delete mode 100644 view/it/smarty3/intro_complete_eml.tpl delete mode 100644 view/nb-no/friend_complete_eml.tpl delete mode 100644 view/nb-no/intro_complete_eml.tpl delete mode 100644 view/nb-no/smarty3/friend_complete_eml.tpl delete mode 100644 view/nb-no/smarty3/intro_complete_eml.tpl delete mode 100644 view/nl/friend_complete_eml.tpl delete mode 100644 view/nl/intro_complete_eml.tpl delete mode 100644 view/pl/friend_complete_eml.tpl delete mode 100644 view/pl/intro_complete_eml.tpl delete mode 100644 view/pl/smarty3/friend_complete_eml.tpl delete mode 100644 view/pl/smarty3/intro_complete_eml.tpl delete mode 100644 view/pt-br/intro_complete_eml.tpl delete mode 100644 view/pt-br/smarty3/intro_complete_eml.tpl delete mode 100644 view/ro/smarty3/friend_complete_eml.tpl delete mode 100644 view/ro/smarty3/intro_complete_eml.tpl delete mode 100644 view/sv/friend_complete_eml.tpl delete mode 100644 view/sv/intro_complete_eml.tpl delete mode 100644 view/sv/smarty3/friend_complete_eml.tpl delete mode 100644 view/sv/smarty3/intro_complete_eml.tpl delete mode 100644 view/zh-cn/friend_complete_eml.tpl delete mode 100644 view/zh-cn/intro_complete_eml.tpl delete mode 100644 view/zh-cn/smarty3/friend_complete_eml.tpl delete mode 100644 view/zh-cn/smarty3/intro_complete_eml.tpl diff --git a/mod/dfrn_confirm.php b/mod/dfrn_confirm.php index 8e1fc76e9a..f1ce296d90 100644 --- a/mod/dfrn_confirm.php +++ b/mod/dfrn_confirm.php @@ -9,11 +9,13 @@ * 1. A form was submitted by our user approving a friendship that originated elsewhere. * This may also be called from dfrn_request to automatically approve a friendship. * - * 2. We may be the target or other side of the conversation to scenario 1, and will + * 2. We may be the target or other side of the conversation to scenario 1, and will * interact with that process on our own user's behalf. - * + * */ +require_once('include/enotify.php'); + function dfrn_confirm_post(&$a,$handsfree = null) { if(is_array($handsfree)) { @@ -35,11 +37,11 @@ function dfrn_confirm_post(&$a,$handsfree = null) { /** * - * Main entry point. Scenario 1. Our user received a friend request notification (perhaps - * from another site) and clicked 'Approve'. + * Main entry point. Scenario 1. Our user received a friend request notification (perhaps + * from another site) and clicked 'Approve'. * $POST['source_url'] is not set. If it is, it indicates Scenario 2. * - * We may also have been called directly from dfrn_request ($handsfree != null) due to + * We may also have been called directly from dfrn_request ($handsfree != null) due to * this being a page type which supports automatic friend acceptance. That is also Scenario 1 * since we are operating on behalf of our registered user to approve a friendship. * @@ -67,7 +69,7 @@ function dfrn_confirm_post(&$a,$handsfree = null) { // These data elements may come from either the friend request notification form or $handsfree array. if(is_array($handsfree)) { - logger('dfrn_confirm: Confirm in handsfree mode'); + logger('Confirm in handsfree mode'); $dfrn_id = $handsfree['dfrn_id']; $intro_id = $handsfree['intro_id']; $duplex = $handsfree['duplex']; @@ -86,7 +88,7 @@ function dfrn_confirm_post(&$a,$handsfree = null) { /** * * Ensure that dfrn_id has precedence when we go to find the contact record. - * We only want to search based on contact id if there is no dfrn_id, + * We only want to search based on contact id if there is no dfrn_id, * e.g. for OStatus network followers. * */ @@ -94,15 +96,15 @@ function dfrn_confirm_post(&$a,$handsfree = null) { if(strlen($dfrn_id)) $cid = 0; - logger('dfrn_confirm: Confirming request for dfrn_id (issued) ' . $dfrn_id); + logger('Confirming request for dfrn_id (issued) ' . $dfrn_id); if($cid) - logger('dfrn_confirm: Confirming follower with contact_id: ' . $cid); + logger('Confirming follower with contact_id: ' . $cid); /** * * The other person will have been issued an ID when they first requested friendship. - * Locate their record. At this time, their record will have both pending and blocked set to 1. + * Locate their record. At this time, their record will have both pending and blocked set to 1. * There won't be any dfrn_id if this is a network follower, so use the contact_id instead. * */ @@ -114,7 +116,7 @@ function dfrn_confirm_post(&$a,$handsfree = null) { ); if(! count($r)) { - logger('dfrn_confirm: Contact not found in DB.'); + logger('Contact not found in DB.'); notice( t('Contact not found.') . EOL ); notice( t('This may occasionally happen if contact was requested by both persons and it has already been approved.') . EOL ); return; @@ -127,7 +129,7 @@ function dfrn_confirm_post(&$a,$handsfree = null) { $site_pubkey = $contact['site-pubkey']; $dfrn_confirm = $contact['confirm']; $aes_allow = $contact['aes_allow']; - + $network = ((strlen($contact['issued-id'])) ? NETWORK_DFRN : NETWORK_OSTATUS); if($contact['network']) @@ -139,15 +141,16 @@ function dfrn_confirm_post(&$a,$handsfree = null) { * * Generate a key pair for all further communications with this person. * We have a keypair for every contact, and a site key for unknown people. - * This provides a means to carry on relationships with other people if - * any single key is compromised. It is a robust key. We're much more - * worried about key leakage than anybody cracking it. + * This provides a means to carry on relationships with other people if + * any single key is compromised. It is a robust key. We're much more + * worried about key leakage than anybody cracking it. * */ require_once('include/crypto.php'); $res = new_keypair(4096); + $private_key = $res['prvkey']; $public_key = $res['pubkey']; @@ -156,23 +159,23 @@ function dfrn_confirm_post(&$a,$handsfree = null) { $r = q("UPDATE `contact` SET `prvkey` = '%s' WHERE `id` = %d AND `uid` = %d", dbesc($private_key), intval($contact_id), - intval($uid) + intval($uid) ); $params = array(); /** * - * Per the DFRN protocol, we will verify both ends by encrypting the dfrn_id with our + * Per the DFRN protocol, we will verify both ends by encrypting the dfrn_id with our * site private key (person on the other end can decrypt it with our site public key). * Then encrypt our profile URL with the other person's site public key. They can decrypt * it with their site private key. If the decryption on the other end fails for either - * item, it indicates tampering or key failure on at least one site and we will not be + * item, it indicates tampering or key failure on at least one site and we will not be * able to provide a secure communication pathway. * - * If other site is willing to accept full encryption, (aes_allow is 1 AND we have php5.3 - * or later) then we encrypt the personal public key we send them using AES-256-CBC and a - * random key which is encrypted with their site public key. + * If other site is willing to accept full encryption, (aes_allow is 1 AND we have php5.3 + * or later) then we encrypt the personal public key we send them using AES-256-CBC and a + * random key which is encrypted with their site public key. * */ @@ -205,7 +208,7 @@ function dfrn_confirm_post(&$a,$handsfree = null) { if($user[0]['page-flags'] == PAGE_PRVGROUP) $params['page'] = 2; - logger('dfrn_confirm: Confirm: posting data to ' . $dfrn_confirm . ': ' . print_r($params,true), LOGGER_DATA); + logger('Confirm: posting data to ' . $dfrn_confirm . ': ' . print_r($params,true), LOGGER_DATA); /** * @@ -219,10 +222,10 @@ function dfrn_confirm_post(&$a,$handsfree = null) { $res = post_url($dfrn_confirm,$params); - logger('dfrn_confirm: Confirm: received data: ' . $res, LOGGER_DATA); + logger(' Confirm: received data: ' . $res, LOGGER_DATA); - // Now figure out what they responded. Try to be robust if the remote site is - // having difficulty and throwing up errors of some kind. + // Now figure out what they responded. Try to be robust if the remote site is + // having difficulty and throwing up errors of some kind. $leading_junk = substr($res,0,strpos($res,'status; $message = unxmlify($xml->message); // human readable text of what may have gone wrong. @@ -261,7 +270,7 @@ function dfrn_confirm_post(&$a,$handsfree = null) { $r = q("UPDATE contact SET `issued-id` = '%s' WHERE `id` = %d AND `uid` = %d", dbesc($new_dfrn_id), intval($contact_id), - intval($uid) + intval($uid) ); case 2: @@ -307,7 +316,7 @@ function dfrn_confirm_post(&$a,$handsfree = null) { require_once('include/Photo.php'); $photos = import_profile_photo($contact['photo'],$uid,$contact_id); - + logger('dfrn_confirm: confirm - imported photos'); if($network === NETWORK_DFRN) { @@ -455,7 +464,7 @@ function dfrn_confirm_post(&$a,$handsfree = null) { if(count($self)) { $arr = array(); - $arr['uri'] = $arr['parent-uri'] = item_new_uri($a->get_hostname(), $uid); + $arr['uri'] = $arr['parent-uri'] = item_new_uri($a->get_hostname(), $uid); $arr['uid'] = $uid; $arr['contact-id'] = $self[0]['id']; $arr['wall'] = 1; @@ -522,7 +531,7 @@ function dfrn_confirm_post(&$a,$handsfree = null) { * * Begin Scenario 2. This is the remote response to the above scenario. * This will take place on the site that originally initiated the friend request. - * In the section above where the confirming party makes a POST and + * In the section above where the confirming party makes a POST and * retrieves xml status information, they are communicating with the following code. * */ @@ -603,7 +612,7 @@ function dfrn_confirm_post(&$a,$handsfree = null) { // this is either a bogus confirmation (?) or we deleted the original introduction. $message = t('Contact record was not found for you on our site.'); xml_status(3,$message); - return; // NOTREACHED + return; // NOTREACHED } } @@ -731,33 +740,21 @@ function dfrn_confirm_post(&$a,$handsfree = null) { $combined = $r[0]; if((count($r)) && ($r[0]['notify-flags'] & NOTIFY_CONFIRM)) { - - push_lang($r[0]['language']); - $tpl = (($new_relation == CONTACT_IS_FRIEND) - ? get_intltext_template('friend_complete_eml.tpl') - : get_intltext_template('intro_complete_eml.tpl')); - - $email_tpl = replace_macros($tpl, array( - '$sitename' => $a->config['sitename'], - '$siteurl' => $a->get_baseurl(), - '$username' => $r[0]['username'], - '$email' => $r[0]['email'], - '$fn' => $r[0]['name'], - '$dfrn_url' => $r[0]['url'], - '$uid' => $newuid ) - ); - require_once('include/email.php'); - - $res = mail($r[0]['email'], email_header_encode( sprintf( t("Connection accepted at %s") , $a->config['sitename']),'UTF-8'), - $email_tpl, - 'From: ' . 'Administrator' . '@' . $_SERVER['SERVER_NAME'] . "\n" - . 'Content-type: text/plain; charset=UTF-8' . "\n" - . 'Content-transfer-encoding: 8bit' ); - - if(!$res) { - // pointless throwing an error here and confusing the person at the other end of the wire. - } - pop_lang(); + $mutual = ($new_relation == CONTACT_IS_FRIEND); + notification(array( + 'type' => NOTIFY_CONFIRM, + 'notify_flags' => $r[0]['notify-flags'], + 'language' => $r[0]['language'], + 'to_name' => $r[0]['username'], + 'to_email' => $r[0]['email'], + 'uid' => $r[0]['uid'], + 'link' => $a->get_baseurl() . '/contacts/' . $dfrn_record, + 'source_name' => ((strlen(stripslashes($r[0]['name']))) ? stripslashes($r[0]['name']) : t('[Name Withheld]')), + 'source_link' => $r[0]['url'], + 'source_photo' => $r[0]['photo'], + 'verb' => ($mutual?ACTIVITY_FRIEND:ACTIVITY_FOLLOW), + 'otype' => 'intro' + )); } // Send a new friend post if we are allowed to... @@ -778,7 +775,7 @@ function dfrn_confirm_post(&$a,$handsfree = null) { if(count($self)) { $arr = array(); - $arr['uri'] = $arr['parent-uri'] = item_new_uri($a->get_hostname(), $local_uid); + $arr['uri'] = $arr['parent-uri'] = item_new_uri($a->get_hostname(), $local_uid); $arr['uid'] = $local_uid; $arr['contact-id'] = $self[0]['id']; $arr['wall'] = 1; diff --git a/mod/dfrn_request.php b/mod/dfrn_request.php index 7440c8ab45..5e19a1ffc1 100644 --- a/mod/dfrn_request.php +++ b/mod/dfrn_request.php @@ -9,6 +9,8 @@ * */ +require_once('include/enotify.php'); + if(! function_exists('dfrn_request_init')) { function dfrn_request_init(&$a) { @@ -45,13 +47,13 @@ function dfrn_request_post(&$a) { if(x($_POST, 'cancel')) { goaway(z_root()); - } + } /** * * Scenario 2: We've introduced ourself to another cell, then have been returned to our own cell - * to confirm the request, and then we've clicked submit (perhaps after logging in). + * to confirm the request, and then we've clicked submit (perhaps after logging in). * That brings us here: * */ @@ -145,7 +147,7 @@ function dfrn_request_post(&$a) { */ $r = q("INSERT INTO `contact` ( `uid`, `created`,`url`, `nurl`, `name`, `nick`, `photo`, `site-pubkey`, - `request`, `confirm`, `notify`, `poll`, `poco`, `network`, `aes_allow`, `hidden`) + `request`, `confirm`, `notify`, `poll`, `poco`, `network`, `aes_allow`, `hidden`) VALUES ( %d, '%s', '%s', '%s', '%s' , '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', %d, %d)", intval(local_user()), datetime_convert(), @@ -216,17 +218,17 @@ function dfrn_request_post(&$a) { /** * Otherwise: - * + * * Scenario 1: - * We are the requestee. A person from a remote cell has made an introduction - * on our profile web page and clicked submit. We will use their DFRN-URL to - * figure out how to contact their cell. + * We are the requestee. A person from a remote cell has made an introduction + * on our profile web page and clicked submit. We will use their DFRN-URL to + * figure out how to contact their cell. * * Scrape the originating DFRN-URL for everything we need. Create a contact record * and an introduction to show our user next time he/she logs in. * Finally redirect back to the requestor so that their site can record the request. - * If our user (the requestee) later confirms this request, a record of it will need - * to exist on the requestor's cell in order for the confirmation process to complete.. + * If our user (the requestee) later confirms this request, a record of it will need + * to exist on the requestor's cell in order for the confirmation process to complete.. * * It's possible that neither the requestor or the requestee are logged in at the moment, * and the requestor does not yet have any credentials to the requestee profile. @@ -266,19 +268,19 @@ function dfrn_request_post(&$a) { notice( t('Spam protection measures have been invoked.') . EOL); notice( t('Friends are advised to please try again in 24 hours.') . EOL); return; - } + } } /** * - * Cleanup old introductions that remain blocked. + * Cleanup old introductions that remain blocked. * Also remove the contact record, but only if there is no existing relationship * Do not remove email contacts as these may be awaiting email verification */ - $r = q("SELECT `intro`.*, `intro`.`id` AS `iid`, `contact`.`id` AS `cid`, `contact`.`rel` + $r = q("SELECT `intro`.*, `intro`.`id` AS `iid`, `contact`.`id` AS `cid`, `contact`.`rel` FROM `intro` LEFT JOIN `contact` on `intro`.`contact-id` = `contact`.`id` - WHERE `intro`.`blocked` = 1 AND `contact`.`self` = 0 + WHERE `intro`.`blocked` = 1 AND `contact`.`self` = 0 AND `contact`.`network` != '%s' AND `intro`.`datetime` < UTC_TIMESTAMP() - INTERVAL 30 MINUTE ", dbesc(NETWORK_MAIL2) @@ -401,13 +403,13 @@ function dfrn_request_post(&$a) { $photo = avatar_img($addr); - $r = q("UPDATE `contact` SET - `photo` = '%s', + $r = q("UPDATE `contact` SET + `photo` = '%s', `thumb` = '%s', - `micro` = '%s', - `name-date` = '%s', - `uri-date` = '%s', - `avatar-date` = '%s', + `micro` = '%s', + `name-date` = '%s', + `uri-date` = '%s', + `avatar-date` = '%s', `hidden` = 0, WHERE `id` = %d ", @@ -464,7 +466,7 @@ function dfrn_request_post(&$a) { if($network === NETWORK_DFRN) { - $ret = q("SELECT * FROM `contact` WHERE `uid` = %d AND `url` = '%s' AND `self` = 0 LIMIT 1", + $ret = q("SELECT * FROM `contact` WHERE `uid` = %d AND `url` = '%s' AND `self` = 0 LIMIT 1", intval($uid), dbesc($url) ); @@ -506,7 +508,7 @@ function dfrn_request_post(&$a) { goaway($a->get_baseurl() . '/' . $a->cmd); return; // NOTREACHED } - + require_once('include/Scrape.php'); @@ -521,12 +523,12 @@ function dfrn_request_post(&$a) { notice( t('Warning: profile location has no identifiable owner name.') . EOL ); if(! x($parms,'photo')) notice( t('Warning: profile location has no profile photo.') . EOL ); - $invalid = validate_dfrn($parms); + $invalid = validate_dfrn($parms); if($invalid) { notice( sprintf( tt("%d required parameter was not found at the given location", "%d required parameters were not found at the given location", $invalid), $invalid) . EOL ); - + return; } } @@ -591,7 +593,7 @@ function dfrn_request_post(&$a) { // This notice will only be seen by the requestor if the requestor and requestee are on the same server. - if(! $failed) + if(! $failed) info( t('Your introduction has been sent.') . EOL ); // "Homecoming" - send the requestor back to their site to record the introduction. @@ -599,21 +601,21 @@ function dfrn_request_post(&$a) { $dfrn_url = bin2hex($a->get_baseurl() . '/profile/' . $nickname); $aes_allow = ((function_exists('openssl_encrypt')) ? 1 : 0); - goaway($parms['dfrn-request'] . "?dfrn_url=$dfrn_url" - . '&dfrn_version=' . DFRN_PROTOCOL_VERSION - . '&confirm_key=' . $hash + goaway($parms['dfrn-request'] . "?dfrn_url=$dfrn_url" + . '&dfrn_version=' . DFRN_PROTOCOL_VERSION + . '&confirm_key=' . $hash . (($aes_allow) ? "&aes_allow=1" : "") ); // NOTREACHED // END $network === NETWORK_DFRN } elseif($network === NETWORK_OSTATUS) { - + /** * * OStatus network * Check contact existence - * Try and scrape together enough information to create a contact record, + * Try and scrape together enough information to create a contact record, * with us as CONTACT_IS_FOLLOWER * Substitute our user's feed URL into $url template * Send the subscriber home to subscribe @@ -655,7 +657,7 @@ function dfrn_request_content(&$a) { return login(); } - // Edge case, but can easily happen in the wild. This person is authenticated, + // Edge case, but can easily happen in the wild. This person is authenticated, // but not as the person who needs to deal with this request. if ($a->user['nickname'] != $a->argv[1]) { @@ -683,11 +685,11 @@ function dfrn_request_content(&$a) { return $o; } - elseif((x($_GET,'confirm_key')) && strlen($_GET['confirm_key'])) { + elseif((x($_GET,'confirm_key')) && strlen($_GET['confirm_key'])) { // we are the requestee and it is now safe to send our user their introduction, - // We could just unblock it, but first we have to jump through a few hoops to - // send an email, or even to find out if we need to send an email. + // We could just unblock it, but first we have to jump through a few hoops to + // send an email, or even to find out if we need to send an email. $intro = q("SELECT * FROM `intro` WHERE `hash` = '%s' LIMIT 1", dbesc($_GET['confirm_key']) @@ -707,7 +709,7 @@ function dfrn_request_content(&$a) { $auto_confirm = true; if(! $auto_confirm) { - require_once('include/enotify.php'); + notification(array( 'type' => NOTIFY_INTRO, 'notify_flags' => $r[0]['notify-flags'], @@ -758,7 +760,7 @@ function dfrn_request_content(&$a) { /** * Normal web request. Display our user's introduction form. */ - + if((get_config('system','block_public')) && (! local_user()) && (! remote_user())) { if(! get_config('system','local_block')) { notice( t('Public access denied.') . EOL); @@ -793,7 +795,7 @@ function dfrn_request_content(&$a) { /** * * The auto_request form only has the profile address - * because nobody is going to read the comments and + * because nobody is going to read the comments and * it doesn't matter if they know you or not. * */ diff --git a/view/ca/friend_complete_eml.tpl b/view/ca/friend_complete_eml.tpl deleted file mode 100644 index 539d9ff3df..0000000000 --- a/view/ca/friend_complete_eml.tpl +++ /dev/null @@ -1,19 +0,0 @@ - -Apreciat/da $username, - - Grans noticies... '$fn' a '$dfrn_url' ha acceptat la teva sol·licitud de connexió en '$sitename'. - -Ara sous amics mutus i podreu intercanviar actualizacions de estatus, fotos, i correu electrónic -sense cap restricció. - -Visita la teva pàgina de 'Contactes' en $sitename si desitja realizar qualsevol canvi en aquesta relació. - -$siteurl - -[Per exemple, pots crear un perfil independent amb informació que no esta disponible al públic en general -- i assignar drets de visualització a '$fn']. - - - $sitename - - diff --git a/view/ca/intro_complete_eml.tpl b/view/ca/intro_complete_eml.tpl deleted file mode 100644 index 70507d71da..0000000000 --- a/view/ca/intro_complete_eml.tpl +++ /dev/null @@ -1,21 +0,0 @@ - -Apreciat/da $username, - - '$fn' en '$dfrn_url' ha acceptat la teva petició -connexió a '$sitename'. - - '$fn' ha optat per acceptar-te com a "fan", que restringeix certes -formes de comunicació, com missatges privats i algunes interaccions -amb el perfil. Si ets una "celebritat" o una pàgina de comunitat, -aquests ajustos s'aplican automàticament - - '$fn' pot optar per extendre aixó en una relació més permisiva -en el futur. - - Començaràs a rebre les actualizacions públiques de estatus de '$fn', -que apareixeran a la teva pàgina "Xarxa" en - -$siteurl - - - $sitename diff --git a/view/ca/smarty3/friend_complete_eml.tpl b/view/ca/smarty3/friend_complete_eml.tpl deleted file mode 100644 index 660ac8c1ae..0000000000 --- a/view/ca/smarty3/friend_complete_eml.tpl +++ /dev/null @@ -1,20 +0,0 @@ - - -Apreciat/da {{$username}}, - - Grans noticies... '{{$fn}}' a '{{$dfrn_url}}' ha acceptat la teva sol·licitud de connexió en '{{$sitename}}'. - -Ara sous amics mutus i podreu intercanviar actualizacions de estatus, fotos, i correu electrónic -sense cap restricció. - -Visita la teva pàgina de 'Contactes' en {{$sitename}} si desitja realizar qualsevol canvi en aquesta relació. - -{{$siteurl}} - -[Per exemple, pots crear un perfil independent amb informació que no esta disponible al públic en general -- i assignar drets de visualització a '{{$fn}}']. - - - {{$sitename}} - - diff --git a/view/ca/smarty3/intro_complete_eml.tpl b/view/ca/smarty3/intro_complete_eml.tpl deleted file mode 100644 index 6a0e337138..0000000000 --- a/view/ca/smarty3/intro_complete_eml.tpl +++ /dev/null @@ -1,22 +0,0 @@ - - -Apreciat/da {{$username}}, - - '{{$fn}}' en '{{$dfrn_url}}' ha acceptat la teva petició -connexió a '{{$sitename}}'. - - '{{$fn}}' ha optat per acceptar-te com a "fan", que restringeix certes -formes de comunicació, com missatges privats i algunes interaccions -amb el perfil. Si ets una "celebritat" o una pàgina de comunitat, -aquests ajustos s'aplican automàticament - - '{{$fn}}' pot optar per extendre aixó en una relació més permisiva -en el futur. - - Començaràs a rebre les actualizacions públiques de estatus de '{{$fn}}', -que apareixeran a la teva pàgina "Xarxa" en - -{{$siteurl}} - - - {{$sitename}} diff --git a/view/cs/friend_complete_eml.tpl b/view/cs/friend_complete_eml.tpl deleted file mode 100644 index e0ce676a87..0000000000 --- a/view/cs/friend_complete_eml.tpl +++ /dev/null @@ -1,22 +0,0 @@ - -Drahý/Drahá $[username], - - Skvělé zprávy... '$[fn]' na '$[dfrn_url]' akceptoval -Vaši žádost o spojení na '$[sitename]'. - -Jste nyní vzájemnými přáteli a můžete si vyměňovat aktualizace statusu, fotografií a emailů -bez omezení. - -Navštivte prosím stránku "Kontakty" na $[sitename] pokud si přejete provést -jakékoliv změny v tomto vztahu. - -$[siteurl] - -[Například můžete vytvořit separátní profil s informacemi, které nebudou -dostupné pro veřejnost - a přidělit práva k němu pro čtení pro '$[fn]']. - -S pozdravem, - - $[sitename] administrátor - - \ No newline at end of file diff --git a/view/cs/intro_complete_eml.tpl b/view/cs/intro_complete_eml.tpl deleted file mode 100644 index b174b2c612..0000000000 --- a/view/cs/intro_complete_eml.tpl +++ /dev/null @@ -1,22 +0,0 @@ - -Drahý/Drahá $[username], - - '$[fn]' na '$[dfrn_url]' akceptoval -Vaši žádost o připojení na '$[sitename]'. - - '$[fn]' se rozhodl Vás akceptovat jako "fanouška", což omezuje -určité druhy komunikace, jako jsou soukromé zprávy a určité profilové -interakce. Pokud se jedná o účet celebrity nebo o kumunitní stránky, tato nastavení byla -použita automaticky. - - '$[fn]' se může rozhodnout rozšířit tento vztah na oboustraný nebo méně restriktivní -vztah v budoucnosti. - - Nyní začnete získávat veřejné aktualizace statusu od '$[fn]', -které se objeví na Vaší stránce "Síť" na - -$[siteurl] - -S pozdravem, - - $[sitename] administrátor \ No newline at end of file diff --git a/view/cs/smarty3/friend_complete_eml.tpl b/view/cs/smarty3/friend_complete_eml.tpl deleted file mode 100644 index 462022a050..0000000000 --- a/view/cs/smarty3/friend_complete_eml.tpl +++ /dev/null @@ -1,18 +0,0 @@ - - -Milý/Milá {{$username}}, - - Skvělé zprávy... '{{$fn}}' na '{{$dfrn_url}}' odsouhlasil Váš požadavek na spojení na '{{$sitename}}'. - -Jste nyní přátelé a můžete si vyměňovat aktualizace statusu, fotek a e-mailů bez omezení. - -Pokud budete chtít tento vztah jakkoliv upravit, navštivte Vaši stránku "Kontakty" na {{$sitename}}. - -{{$siteurl}} - -(Nyní můžete například vytvořit separátní profil s informacemi, které nebudou viditelné veřejně, a nastavit právo pro zobrazení tohoto profilu pro '{{$fn}}'). - -S pozdravem, - - {{$sitename}} administrátor - diff --git a/view/cs/smarty3/intro_complete_eml.tpl b/view/cs/smarty3/intro_complete_eml.tpl deleted file mode 100644 index 0137995c7c..0000000000 --- a/view/cs/smarty3/intro_complete_eml.tpl +++ /dev/null @@ -1,18 +0,0 @@ - - -Milý/Milá {{$username}}, - - - '{{$fn}}' na '{{$dfrn_url}}' odsouhlasil Váš požadavek na spojení na '{{$sitename}}'. - - '{{$fn}}' Vás označil za svého "fanouška", což jistým způsobem omezuje komunikaci (například v oblasti soukromých zpráv a některých profilových interakcí. Pokud je toto celebritní nebo komunitní stránka, bylo toto nastavení byla přijato automaticky. - - '{{$fn}}' může v budoucnu rozšířit toto spojení na oboustranné nebo jinak méně restriktivní. - - Nyní začnete dostávat veřejné aktualizace statusu od '{{$fn}}', které se objeví ve Vaší stránce "Síť" na webu - -{{$siteurl}} - -S pozdravem, - - {{$sitename}} administrátor diff --git a/view/de/friend_complete_eml.tpl b/view/de/friend_complete_eml.tpl deleted file mode 100644 index 2135f99750..0000000000 --- a/view/de/friend_complete_eml.tpl +++ /dev/null @@ -1,22 +0,0 @@ - -Hallo $[username], - - Großartige Neuigkeiten... '$[fn]' auf '$[dfrn_url]' hat -deine Kontaktanfrage auf '$[sitename]' bestätigt. - -Ihr seid nun beidseitige Freunde und könnt Statusmitteilungen, Bilder und E-Mails -ohne Einschränkungen austauschen. - -Rufe deine 'Kontakte' Seite auf $[sitename] auf, wenn du -Änderungen an diesem Kontakt vornehmen willst. - -$[siteurl] - -[Du könntest z.B. ein spezielles Profil anlegen, das Informationen enthält, -die nicht für die breite Öffentlichkeit sichtbar sein sollen und es für '$[fn]' zum Betrachten freigeben]. - -Beste Grüße, - - $[sitename] Administrator - - \ No newline at end of file diff --git a/view/de/intro_complete_eml.tpl b/view/de/intro_complete_eml.tpl deleted file mode 100644 index 9039a7fca5..0000000000 --- a/view/de/intro_complete_eml.tpl +++ /dev/null @@ -1,22 +0,0 @@ - -Hallo $[username], - - '$[fn]' auf '$[dfrn_url]' akzeptierte -deine Verbindungsanfrage auf '$[sitename]'. - - '$[fn]' hat entschieden dich als "Fan" zu akzeptieren, was zu einigen -Einschränkungen bei der Kommunikation führt - wie z.B. das Schreiben von privaten Nachrichten und einige Profil -Interaktionen. Sollte dies ein Promi-Konto oder eine Forum-Seite sein, werden die Einstellungen -automatisch angewandt. - - '$[fn]' kann wählen, ob die Freundschaft in eine beidseitige oder alles erlaubende -Beziehung in der Zukunft erweitert wird. - - Du empfängst ab sofort die öffentlichen Beiträge von '$[fn]', -auf deiner "Netzwerk" Seite. - -$[siteurl] - -Beste Grüße, - - $[sitename] Administrator \ No newline at end of file diff --git a/view/de/smarty3/friend_complete_eml.tpl b/view/de/smarty3/friend_complete_eml.tpl deleted file mode 100644 index 27dd1bc945..0000000000 --- a/view/de/smarty3/friend_complete_eml.tpl +++ /dev/null @@ -1,23 +0,0 @@ - - -Hallo {{$username}}, - - Großartige Neuigkeiten... '{{$fn}}' auf '{{$dfrn_url}}' hat -deine Kontaktanfrage auf '{{$sitename}}' bestätigt. - -Ihr seid nun beidseitige Freunde und könnt Statusmitteilungen, Bilder und Emails -ohne Einschränkungen austauschen. - -Rufe deine 'Kontakte' Seite auf {{$sitename}} auf, wenn du -Änderungen an diesem Kontakt vornehmen willst. - -{{$siteurl}} - -[Du könntest z.B. ein spezielles Profil anlegen, das Informationen enthält, -die nicht für die breite Öffentlichkeit sichtbar sein sollen und es für '{{$fn}}' zum Betrachten freigeben]. - -Beste Grüße, - - {{$sitename}} Administrator - - \ No newline at end of file diff --git a/view/de/smarty3/intro_complete_eml.tpl b/view/de/smarty3/intro_complete_eml.tpl deleted file mode 100644 index b14f6f9922..0000000000 --- a/view/de/smarty3/intro_complete_eml.tpl +++ /dev/null @@ -1,23 +0,0 @@ - - -Hallo {{$username}}, - - '{{$fn}}' auf '{{$dfrn_url}}' hat deine Verbindungsanfrage -auf '{{$sitename}}' akzeptiert. - - '{{$fn}}' hat entschieden Dich als "Fan" zu akzeptieren, was zu einigen -Einschränkungen bei der Kommunikation führt - wie zB das Schreiben von privaten Nachrichten und einige Profil -Interaktionen. Sollte dies ein Promi-Konto oder eine Forum-Seite sein, werden die Einstellungen -automatisch angewandt. - - '{{$fn}}' kann wählen, ob die Freundschaft in eine beidseitige oder alles erlaubende -Beziehung in der Zukunft erweitert wird. - - Du empfängst ab sofort die öffentlichen Beiträge von '{{$fn}}', -auf deiner "Netzwerk" Seite. - -{{$siteurl}} - -Beste Grüße, - - {{$sitename}} Administrator \ No newline at end of file diff --git a/view/en/friend_complete_eml.tpl b/view/en/friend_complete_eml.tpl deleted file mode 100644 index 89f5783881..0000000000 --- a/view/en/friend_complete_eml.tpl +++ /dev/null @@ -1,22 +0,0 @@ - -Dear $[username], - - Great news... '$[fn]' at '$[dfrn_url]' has accepted -your connection request at '$[sitename]'. - -You are now mutual friends and may exchange status updates, photos, and email -without restriction. - -Please visit your 'Contacts' page at $[sitename] if you wish to make -any changes to this relationship. - -$[siteurl] - -[For instance, you may create a separate profile with information that is not -available to the general public - and assign viewing rights to '$[fn]']. - -Sincerely, - - $[sitename] Administrator - - diff --git a/view/en/intro_complete_eml.tpl b/view/en/intro_complete_eml.tpl deleted file mode 100644 index cd78b2a150..0000000000 --- a/view/en/intro_complete_eml.tpl +++ /dev/null @@ -1,22 +0,0 @@ - -Dear $[username], - - '$[fn]' at '$[dfrn_url]' has accepted -your connection request at '$[sitename]'. - - '$[fn]' has chosen to accept you a "fan", which restricts -some forms of communication - such as private messaging and some profile -interactions. If this is a celebrity or community page, these settings were -applied automatically. - - '$[fn]' may choose to extend this into a two-way or more permissive -relationship in the future. - - You will start receiving public status updates from '$[fn]', -which will appear on your 'Network' page at - -$[siteurl] - -Sincerely, - - $[sitename] Administrator diff --git a/view/en/smarty3/friend_complete_eml.tpl b/view/en/smarty3/friend_complete_eml.tpl deleted file mode 100644 index 32311e837f..0000000000 --- a/view/en/smarty3/friend_complete_eml.tpl +++ /dev/null @@ -1,23 +0,0 @@ - - -Dear {{$username}}, - - Great news... '{{$fn}}' at '{{$dfrn_url}}' has accepted -your connection request at '{{$sitename}}'. - -You are now mutual friends and may exchange status updates, photos, and email -without restriction. - -Please visit your 'Contacts' page at {{$sitename}} if you wish to make -any changes to this relationship. - -{{$siteurl}} - -[For instance, you may create a separate profile with information that is not -available to the general public - and assign viewing rights to '{{$fn}}']. - -Sincerely, - - {{$sitename}} Administrator - - diff --git a/view/en/smarty3/intro_complete_eml.tpl b/view/en/smarty3/intro_complete_eml.tpl deleted file mode 100644 index 46d4402a2f..0000000000 --- a/view/en/smarty3/intro_complete_eml.tpl +++ /dev/null @@ -1,23 +0,0 @@ - - -Dear {{$username}}, - - '{{$fn}}' at '{{$dfrn_url}}' has accepted -your connection request at '{{$sitename}}'. - - '{{$fn}}' has chosen to accept you a "fan", which restricts -some forms of communication - such as private messaging and some profile -interactions. If this is a celebrity or community page, these settings were -applied automatically. - - '{{$fn}}' may choose to extend this into a two-way or more permissive -relationship in the future. - - You will start receiving public status updates from '{{$fn}}', -which will appear on your 'Network' page at - -{{$siteurl}} - -Sincerely, - - {{$sitename}} Administrator diff --git a/view/eo/friend_complete_eml.tpl b/view/eo/friend_complete_eml.tpl deleted file mode 100644 index f429ca4501..0000000000 --- a/view/eo/friend_complete_eml.tpl +++ /dev/null @@ -1,22 +0,0 @@ - -Kara $[username], - - Boegaj novaĵoj.... '$[fn]' ĉe '$[dfrn_url]' aprobis -vian kontaktpeton ĉe '$[sitename]'. - -Vi nun estas reciprokaj amikoj kaj povas interŝanĝi afiŝojn, bildojn kaj mesaĝojn -senkatene. - -Bonvolu viziti vian 'Kontaktoj' paĝon ĉe $[sitename] se vi volas -ŝangi la rilaton. - -$[siteurl] - -[Ekzempe, vi eble volas krei disiĝintan profilon kun informoj kiu ne -haveblas al la komuna publiko - kaj rajtigi '$[fn]' al ĝi]' - -Salutoj, - - $[sitename] administranto - - \ No newline at end of file diff --git a/view/eo/intro_complete_eml.tpl b/view/eo/intro_complete_eml.tpl deleted file mode 100644 index 56a4fd8808..0000000000 --- a/view/eo/intro_complete_eml.tpl +++ /dev/null @@ -1,22 +0,0 @@ - -Kara $[username], - - '$[fn]' ĉe '$[dfrn_url]' akceptis -vian kontaktpeton ĉe '$[sitename]'. - - '$[fn]' elektis vin kiel "admiranto", kio malpermesas -kelkajn komunikilojn - ekzemple privataj mesaĝoj kaj kelkaj profilrilataj -agoj. Se tio estas konto de komunumo aŭ de eminentulo, tiaj agordoj -aŭtomate aktiviĝis. - - '$[fn]' eblas konverti la rilaton al ambaŭdirekta rilato -aŭ apliki pli da permesoj. - - Vi ekricevos publikajn afiŝojn de '$[fn]', -kiuj aperos sur via 'Reto' paĝo ĉe - -$[siteurl] - -Salutoj, - - $[sitename] administranto \ No newline at end of file diff --git a/view/eo/smarty3/friend_complete_eml.tpl b/view/eo/smarty3/friend_complete_eml.tpl deleted file mode 100644 index 7d50b8bc50..0000000000 --- a/view/eo/smarty3/friend_complete_eml.tpl +++ /dev/null @@ -1,23 +0,0 @@ - - -Kara {{$username}}, - - Boegaj novaĵoj.... '{{$fn}}' ĉe '{{$dfrn_url}}' aprobis -vian kontaktpeton ĉe '{{$sitename}}'. - -Vi nun estas reciprokaj amikoj kaj povas interŝanĝi afiŝojn, bildojn kaj mesaĝojn -senkatene. - -Bonvolu viziti vian 'Kontaktoj' paĝon ĉe {{$sitename}} se vi volas -ŝangi la rilaton. - -{{$siteurl}} - -[Ekzempe, vi eble volas krei disiĝintan profilon kun informoj kiu ne -haveblas al la komuna publiko - kaj rajtigi '{{$fn}}' al ĝi]' - -Salutoj, - - {{$sitename}} administranto - - \ No newline at end of file diff --git a/view/eo/smarty3/intro_complete_eml.tpl b/view/eo/smarty3/intro_complete_eml.tpl deleted file mode 100644 index 66903de96d..0000000000 --- a/view/eo/smarty3/intro_complete_eml.tpl +++ /dev/null @@ -1,23 +0,0 @@ - - -Kara {{$username}}, - - '{{$fn}}' ĉe '{{$dfrn_url}}' akceptis -vian kontaktpeton ĉe '{{$sitename}}'. - - '{{$fn}}' elektis vin kiel "admiranto", kio malpermesas -kelkajn komunikilojn - ekzemple privataj mesaĝoj kaj kelkaj profilrilataj -agoj. Se tio estas konto de komunumo aŭ de eminentulo, tiaj agordoj -aŭtomate aktiviĝis. - - '{{$fn}}' eblas konverti la rilaton al ambaŭdirekta rilato -aŭ apliki pli da permesoj. - - Vi ekricevos publikajn afiŝojn de '{{$fn}}', -kiuj aperos sur via 'Reto' paĝo ĉe - -{{$siteurl}} - -Salutoj, - - {{$sitename}} administranto \ No newline at end of file diff --git a/view/es/friend_complete_eml.tpl b/view/es/friend_complete_eml.tpl deleted file mode 100644 index 0dc867efdc..0000000000 --- a/view/es/friend_complete_eml.tpl +++ /dev/null @@ -1,19 +0,0 @@ - -Estimado/a $username, - - Grandes noticias... '$fn' a '$dfrn_url' ha aceptado tu solicitud de conexión en '$sitename'. - -Ahora sois amigos mutuos y podreis intercambiar actualizaciones de estado, fotos, y correo electrónico -sin restricción alguna. - -Visita tu página de 'Contactos' en $sitename si desear realizar cualquier cambio en esta relación. - -$siteurl - -[Por ejemplo, puedes crear un perfil independiente con información que no está disponible al público en general -- y asignar derechos de visualización a '$fn']. - - - $sitename - - diff --git a/view/es/intro_complete_eml.tpl b/view/es/intro_complete_eml.tpl deleted file mode 100644 index a2964808ce..0000000000 --- a/view/es/intro_complete_eml.tpl +++ /dev/null @@ -1,21 +0,0 @@ - -Estimado/a $username, - - '$fn' en '$dfrn_url' ha aceptado tu petición -conexión a '$sitename'. - - '$fn' ha optado por aceptarte come "fan", que restringe ciertas -formas de comunicación, como mensajes privados y algunas interacciones -con el perfil. Si eres una "celebridad" o una página de comunidad, -estos ajustes se aplican automáticamente - - '$fn' puede optar por extender esto en una relación más permisiva -en el futuro. - - Empezarás a recibir las actualizaciones públicas de estado de '$fn', -que aparecerán en tu página "Red" en - -$siteurl - - - $sitename diff --git a/view/es/smarty3/friend_complete_eml.tpl b/view/es/smarty3/friend_complete_eml.tpl deleted file mode 100644 index 493446b044..0000000000 --- a/view/es/smarty3/friend_complete_eml.tpl +++ /dev/null @@ -1,20 +0,0 @@ - - -Estimado/a {{$username}}, - - Grandes noticias... '{{$fn}}' a '{{$dfrn_url}}' ha aceptado tu solicitud de conexión en '{{$sitename}}'. - -Ahora sois amigos mutuos y podreis intercambiar actualizaciones de estado, fotos, y correo electrónico -sin restricción alguna. - -Visita tu página de 'Contactos' en {{$sitename}} si desear realizar cualquier cambio en esta relación. - -{{$siteurl}} - -[Por ejemplo, puedes crear un perfil independiente con información que no está disponible al público en general -- y asignar derechos de visualización a '{{$fn}}']. - - - {{$sitename}} - - diff --git a/view/es/smarty3/intro_complete_eml.tpl b/view/es/smarty3/intro_complete_eml.tpl deleted file mode 100644 index c9dd3fed63..0000000000 --- a/view/es/smarty3/intro_complete_eml.tpl +++ /dev/null @@ -1,22 +0,0 @@ - - -Estimado/a {{$username}}, - - '{{$fn}}' en '{{$dfrn_url}}' ha aceptado tu petición -conexión a '{{$sitename}}'. - - '{{$fn}}' ha optado por aceptarte come "fan", que restringe ciertas -formas de comunicación, como mensajes privados y algunas interacciones -con el perfil. Si eres una "celebridad" o una página de comunidad, -estos ajustes se aplican automáticamente - - '{{$fn}}' puede optar por extender esto en una relación más permisiva -en el futuro. - - Empezarás a recibir las actualizaciones públicas de estado de '{{$fn}}', -que aparecerán en tu página "Red" en - -{{$siteurl}} - - - {{$sitename}} diff --git a/view/fr/friend_complete_eml.tpl b/view/fr/friend_complete_eml.tpl deleted file mode 100644 index 1f2553b5eb..0000000000 --- a/view/fr/friend_complete_eml.tpl +++ /dev/null @@ -1,23 +0,0 @@ - -Cher(e) $username, - - Grande nouvelle… « $fn » (de « $dfrn_url ») a accepté votre -demande de connexion à « $sitename ». - -Vous êtes désormais dans une relation réciproque et pouvez échanger des -photos, des humeurs et des messages sans restriction. - -Merci de visiter votre page « Contacts » sur $sitename pour toute -modification que vous souhaiteriez apporter à cette relation. - -$siteurl - -[Par exemple, vous pouvez créer un profil spécifique avec des informations -cachées au grand public - et ainsi assigner des droits privilégiés à -« $fn »]/ - -Sincèremment, - - l'administrateur de $sitename - - diff --git a/view/fr/intro_complete_eml.tpl b/view/fr/intro_complete_eml.tpl deleted file mode 100644 index f698cfeb77..0000000000 --- a/view/fr/intro_complete_eml.tpl +++ /dev/null @@ -1,22 +0,0 @@ - -Cher(e) $username, - - « $fn » du site « $dfrn_url » a accepté votre -demande de mise en relation sur « $sitename ». - - « $fn » a décidé de vous accepter comme « fan », ce qui restreint -certains de vos moyens de communication - tels que les messages privés et -certaines interactions avec son profil. S'il s'agit de la page d'une -célébrité et/ou communauté, ces réglages ont été définis automatiquement. - - « $fn » pourra choisir d'étendre votre relation à quelque chose de -plus permissif dans l'avenir. - - Vous allez commencer à recevoir les mises à jour publiques du -statut de « $fn », lesquelles apparaîtront sur votre page « Réseau » sur - -$siteurl - -Sincèrement votre, - - l'administrateur de $sitename diff --git a/view/fr/smarty3/friend_complete_eml.tpl b/view/fr/smarty3/friend_complete_eml.tpl deleted file mode 100644 index 9f329c9500..0000000000 --- a/view/fr/smarty3/friend_complete_eml.tpl +++ /dev/null @@ -1,24 +0,0 @@ - - -Cher(e) {{$username}}, - - Grande nouvelle… « {{$fn}} » (de « {{$dfrn_url}} ») a accepté votre -demande de connexion à « {{$sitename}} ». - -Vous êtes désormais dans une relation réciproque et pouvez échanger des -photos, des humeurs et des messages sans restriction. - -Merci de visiter votre page « Contacts » sur {{$sitename}} pour toute -modification que vous souhaiteriez apporter à cette relation. - -{{$siteurl}} - -[Par exemple, vous pouvez créer un profil spécifique avec des informations -cachées au grand public - et ainsi assigner des droits privilégiés à -« {{$fn}} »]/ - -Sincèremment, - - l'administrateur de {{$sitename}} - - diff --git a/view/fr/smarty3/intro_complete_eml.tpl b/view/fr/smarty3/intro_complete_eml.tpl deleted file mode 100644 index 88cd00fc4d..0000000000 --- a/view/fr/smarty3/intro_complete_eml.tpl +++ /dev/null @@ -1,23 +0,0 @@ - - -Cher(e) {{$username}}, - - « {{$fn}} » du site « {{$dfrn_url}} » a accepté votre -demande de mise en relation sur « {{$sitename}} ». - - « {{$fn}} » a décidé de vous accepter comme « fan », ce qui restreint -certains de vos moyens de communication - tels que les messages privés et -certaines interactions avec son profil. S'il s'agit de la page d'une -célébrité et/ou communauté, ces réglages ont été définis automatiquement. - - « {{$fn}} » pourra choisir d'étendre votre relation à quelque chose de -plus permissif dans l'avenir. - - Vous allez commencer à recevoir les mises à jour publiques du -statut de « {{$fn}} », lesquelles apparaîtront sur votre page « Réseau » sur - -{{$siteurl}} - -Sincèrement votre, - - l'administrateur de {{$sitename}} diff --git a/view/is/friend_complete_eml.tpl b/view/is/friend_complete_eml.tpl deleted file mode 100644 index 945ff49226..0000000000 --- a/view/is/friend_complete_eml.tpl +++ /dev/null @@ -1,22 +0,0 @@ - -Góðan daginn $[username], - - Frábærar fréttir... '$[fn]' hjá '$[dfrn_url]' hefur samþykkt -tengibeiðni þína hjá '$[sitename]'. - -Þið eruð nú sameiginlegir vinir og getið skipst á stöðu uppfærslum, myndum og tölvupósti -án hafta. - -Endilega fara á síðunna 'Tengiliðir' á þjóninum $[sitename] ef þú villt gera -einhverjar breytingar á þessu sambandi. - -$[siteurl] - -[Til dæmis þá getur þú búið til nýjar notenda upplýsingar um þig, með ítarlegri lýsingu, sem eiga ekki -að vera aðgengileg almenningi - og veitt aðgang til að sjá '$[fn]']. - -Bestu kveðjur, - - Kerfisstjóri $[sitename] - - \ No newline at end of file diff --git a/view/is/intro_complete_eml.tpl b/view/is/intro_complete_eml.tpl deleted file mode 100644 index dba296d4e6..0000000000 --- a/view/is/intro_complete_eml.tpl +++ /dev/null @@ -1,22 +0,0 @@ - -Góðan daginn $[username], - - '$[fn]' hjá '$[dfrn_url]' hefur samþykkt -tengibeiðni þína á '$[sitename]'. - - '$[fn]' hefur ákveðið að hafa þig sem "aðdáanda", sem takmarkar -ákveðnar gerðir af samskipturm - til dæmis einkapóst og ákveðnar notenda -aðgerðir. Ef þetta er stjörnu- eða hópasíða, þá voru þessar stillingar -settar á sjálfkrafa. - - '$[fn]' getur ákveðið seinna að breyta þessu í gagnkvæma eða enn hafta minni -tengingu í framtíðinni. - - Þú munt byrja að fá opinberar stöðubreytingar frá '$[fn]', -þær munu birtast á 'Tengslanet' síðunni þinni á - -$[siteurl] - -Bestu kveðjur, - - Kerfisstjóri $[sitename] \ No newline at end of file diff --git a/view/is/smarty3/friend_complete_eml.tpl b/view/is/smarty3/friend_complete_eml.tpl deleted file mode 100644 index f25787eff1..0000000000 --- a/view/is/smarty3/friend_complete_eml.tpl +++ /dev/null @@ -1,23 +0,0 @@ - - -Góðan daginn {{$username}}, - - Frábærar fréttir... '{{$fn}}' hjá '{{$dfrn_url}}' hefur samþykkt -tengibeiðni þína hjá '{{$sitename}}'. - -Þið eruð nú sameiginlegir vinir og getið skipst á stöðu uppfærslum, myndum og tölvupósti -án hafta. - -Endilega fara á síðunna 'Tengiliðir' á þjóninum {{$sitename}} ef þú villt gera -einhverjar breytingar á þessu sambandi. - -{{$siteurl}} - -[Til dæmis þá getur þú búið til nýjar notenda upplýsingar um þig, með ítarlegri lýsingu, sem eiga ekki -að vera aðgengileg almenningi - og veitt aðgang til að sjá '{{$fn}}']. - -Bestu kveðjur, - - Kerfisstjóri {{$sitename}} - - \ No newline at end of file diff --git a/view/is/smarty3/intro_complete_eml.tpl b/view/is/smarty3/intro_complete_eml.tpl deleted file mode 100644 index feab4d6f6a..0000000000 --- a/view/is/smarty3/intro_complete_eml.tpl +++ /dev/null @@ -1,23 +0,0 @@ - - -Góðan daginn {{$username}}, - - '{{$fn}}' hjá '{{$dfrn_url}}' hefur samþykkt -tengibeiðni þína á '{{$sitename}}'. - - '{{$fn}}' hefur ákveðið að hafa þig sem "aðdáanda", sem takmarkar -ákveðnar gerðir af samskipturm - til dæmis einkapóst og ákveðnar notenda -aðgerðir. Ef þetta er stjörnu- eða hópasíða, þá voru þessar stillingar -settar á sjálfkrafa. - - '{{$fn}}' getur ákveðið seinna að breyta þessu í gagnkvæma eða enn hafta minni -tengingu í framtíðinni. - - Þú munt byrja að fá opinberar stöðubreytingar frá '{{$fn}}', -þær munu birtast á 'Tengslanet' síðunni þinni á - -{{$siteurl}} - -Bestu kveðjur, - - Kerfisstjóri {{$sitename}} \ No newline at end of file diff --git a/view/it/smarty3/friend_complete_eml.tpl b/view/it/smarty3/friend_complete_eml.tpl deleted file mode 100644 index daeaae9016..0000000000 --- a/view/it/smarty3/friend_complete_eml.tpl +++ /dev/null @@ -1,22 +0,0 @@ - -Ciao {{$username}}, - - Ottime notizie... '{{$fn}}' di '{{$dfrn_url}}' ha accettato -la tua richiesta di connessione su '{{$sitename}}'. - -Adesso siete amici reciproci e potete scambiarvi aggiornamenti di stato, foto ed email -senza restrizioni. - -Vai nella pagina 'Contatti' di {{$sitename}} se vuoi effettuare -qualche modifica riguardo questa relazione - -{{$siteurl}} - -[Ad esempio, potresti creare un profilo separato con le informazioni che non -sono disponibili pubblicamente - ed permettere di vederlo a '{{$fn}}']. - -Saluti, - - l'amministratore di {{$sitename}} - - \ No newline at end of file diff --git a/view/it/smarty3/intro_complete_eml.tpl b/view/it/smarty3/intro_complete_eml.tpl deleted file mode 100644 index 69fce81411..0000000000 --- a/view/it/smarty3/intro_complete_eml.tpl +++ /dev/null @@ -1,22 +0,0 @@ - -Ciao {{$username}}, - - '{{$fn}}' di '{{$dfrn_url}}' ha accettato -la tua richiesta di connessione a '{{$sitename}}'. - - '{{$fn}}' ha deciso di accettarti come "fan", il che restringe -alcune forme di comunicazione - come i messaggi privati e alcune -interazioni. Se è la pagina di una persona famosa o di una comunità, queste impostazioni saranno -applicate automaticamente. - - '{{$fn}}' potrebbe decidere di estendere questa relazione in una comunicazione bidirezionale o ancora più permissiva -. - - Inizierai a ricevere gli aggiornamenti di stato pubblici da '{{$fn}}', -che apparirà nella tua pagina 'Rete' - -{{$siteurl}} - -Saluti, - - l'amministratore di {{$sitename}} \ No newline at end of file diff --git a/view/nb-no/friend_complete_eml.tpl b/view/nb-no/friend_complete_eml.tpl deleted file mode 100644 index 4526c94d01..0000000000 --- a/view/nb-no/friend_complete_eml.tpl +++ /dev/null @@ -1,22 +0,0 @@ - -Kjære $[username], - - Gode nyheter... '$[fn]' ved '$[dfrn_url]' har godtatt -din forespørsel om kobling hos '$[sitename]'. - -Dere er nå gjensidige venner og kan utveksle statusoppdateringer, bilder og e-post -uten hindringer. - -Vennligst besøk din side "Kontakter" ved $[sitename] hvis du ønsker å gjøre -noen endringer på denne forbindelsen. - -$[siteurl] - -[For eksempel, så kan du lage en egen profil med informasjon som ikke er -tilgjengelig for alle - og angi visningsrettigheter til '$[fn]']. - -Med vennlig hilsen, - - $[sitename] administrator - - \ No newline at end of file diff --git a/view/nb-no/intro_complete_eml.tpl b/view/nb-no/intro_complete_eml.tpl deleted file mode 100644 index 17b0be5a83..0000000000 --- a/view/nb-no/intro_complete_eml.tpl +++ /dev/null @@ -1,22 +0,0 @@ - -Kjære $[username], - - '$[fn]' ved '$[dfrn_url]' har godtatt -din forespørsel om kobling ved $[sitename]'. - - '$[fn]' har valgt å godta deg som "fan", som begrenser -noen typer kommunikasjon - slik som private meldinger og noen profilhandlinger. -Hvis dette er en kjendis- eller forumside, så ble disse innstillingene -angitt automatisk. - - '$[fn]' kan velge å utvide dette til en to-veis eller mer åpen -forbindelse i fremtiden. - - Du vil nå motta offentlige statusoppdateringer fra '$[fn]', -som vil vises på din "Nettverk"-side ved - -$[siteurl] - -Med vennlig hilsen, - - $[sitename] administrator \ No newline at end of file diff --git a/view/nb-no/smarty3/friend_complete_eml.tpl b/view/nb-no/smarty3/friend_complete_eml.tpl deleted file mode 100644 index 7ffe7c9ae9..0000000000 --- a/view/nb-no/smarty3/friend_complete_eml.tpl +++ /dev/null @@ -1,23 +0,0 @@ - - -Kjære {{$username}}, - - Gode nyheter... '{{$fn}}' ved '{{$dfrn_url}}' har godtatt -din forespørsel om kobling hos '{{$sitename}}'. - -Dere er nå gjensidige venner og kan utveksle statusoppdateringer, bilder og e-post -uten hindringer. - -Vennligst besøk din side "Kontakter" ved {{$sitename}} hvis du ønsker å gjøre -noen endringer på denne forbindelsen. - -{{$siteurl}} - -[For eksempel, så kan du lage en egen profil med informasjon som ikke er -tilgjengelig for alle - og angi visningsrettigheter til '{{$fn}}']. - -Med vennlig hilsen, - - {{$sitename}} administrator - - \ No newline at end of file diff --git a/view/nb-no/smarty3/intro_complete_eml.tpl b/view/nb-no/smarty3/intro_complete_eml.tpl deleted file mode 100644 index 98d4917c8f..0000000000 --- a/view/nb-no/smarty3/intro_complete_eml.tpl +++ /dev/null @@ -1,23 +0,0 @@ - - -Kjære {{$username}}, - - '{{$fn}}' ved '{{$dfrn_url}}' har godtatt -din forespørsel om kobling ved {{$sitename}}'. - - '{{$fn}}' har valgt å godta deg som "fan", som begrenser -noen typer kommunikasjon - slik som private meldinger og noen profilhandlinger. -Hvis dette er en kjendis- eller forumside, så ble disse innstillingene -angitt automatisk. - - '{{$fn}}' kan velge å utvide dette til en to-veis eller mer åpen -forbindelse i fremtiden. - - Du vil nå motta offentlige statusoppdateringer fra '{{$fn}}', -som vil vises på din "Nettverk"-side ved - -{{$siteurl}} - -Med vennlig hilsen, - - {{$sitename}} administrator \ No newline at end of file diff --git a/view/nl/friend_complete_eml.tpl b/view/nl/friend_complete_eml.tpl deleted file mode 100644 index 7d00138c9d..0000000000 --- a/view/nl/friend_complete_eml.tpl +++ /dev/null @@ -1,22 +0,0 @@ - -Beste $[username], - - Goed nieuws... '$[fn]' op '$[dfrn_url]' heeft uw -contactaanvraag goedgekeurd op '$[sitename]'. - -U bent nu in contact met elkaar en kan statusberichten, foto's en e-mail uitwisselen, -zonder beperkingen. - -Bezoek uw 'Contacten'-pagina op $[sitename] wanneer u de instellingen -van dit contact wilt veranderen. - -$[siteurl] - -[U kunt bijvoorbeeld een apart profiel aanmaken met informatie dat niet door -iedereen valt in te zien, maar wel door '$[fn]']. - -Vriendelijke groet, - - Beheerder $[sitename] - - \ No newline at end of file diff --git a/view/nl/intro_complete_eml.tpl b/view/nl/intro_complete_eml.tpl deleted file mode 100644 index eb9e57948b..0000000000 --- a/view/nl/intro_complete_eml.tpl +++ /dev/null @@ -1,22 +0,0 @@ - -Beste $[username], - - '$[fn]' op '$[dfrn_url]' heeft uw -contactaanvraag goedgekeurd op '$[sitename]'. - - '$[fn]' heeft besloten om u de status van "fan" te geven. -Hierdoor kunt u bijvoorbeeld geen privéberichten uitwisselen en gelden er enkele profielrestricties. -Wanneer dit een pagina voor een beroemdheid of een gemeenschap is, zijn deze -instellingen automatisch toegepast. - - '$[fn]' kan er voor kiezen om in de toekomst deze contactrestricties uit te breiden of -om ze te verminderen. - - U ontvangt vanaf nu openbare statusupdates van '$[fn]'. -Deze kunt u zien op uw 'Netwerk'-pagina op - -$[siteurl] - -Vriendelijke groet, - - Beheerder $[sitename] \ No newline at end of file diff --git a/view/pl/friend_complete_eml.tpl b/view/pl/friend_complete_eml.tpl deleted file mode 100644 index 16cbeeaa1b..0000000000 --- a/view/pl/friend_complete_eml.tpl +++ /dev/null @@ -1,22 +0,0 @@ - -Drogi $[username], - - Świetne wieści! '$[fn]' na '$[dfrn_url]' przyjął / przyjęła -Twoją prośbę o znajomość na '$[sitename]'. - -Jesteście teraz znajomymi i możecie wymieniać się zmianami statusów, zdjęciami i wiadomościami -bez ograniczeń. - -Zajrzyj na stronę 'Kontakty' na $[sitename] jeśli chcesz dokonać -zmian w tej relacji. - -$[siteurl] - -[Możesz np.: utworzyć oddzielny profil z informacjami, który nie będzie -dostępny dla wszystkich - i przypisać sprawdzanie uprawnień do '$[fn]']. - -Z poważaniem, - - $[sitename] Administrator - - \ No newline at end of file diff --git a/view/pl/intro_complete_eml.tpl b/view/pl/intro_complete_eml.tpl deleted file mode 100644 index a50d0e2d1b..0000000000 --- a/view/pl/intro_complete_eml.tpl +++ /dev/null @@ -1,22 +0,0 @@ - -Drogi $[username], - - '$[fn]' w '$[dfrn_url]' zaakceptował -twoje połączenie na '$[sitename]'. - - '$[fn]' zaakceptował Cię jako "fana", uniemożliwiając -pewne sposoby komunikacji - takie jak prywatne wiadomości czy niektóre formy -interakcji pomiędzy profilami. Jeśli jest to strona gwiazdy lub społeczności, ustawienia zostały -zastosowane automatycznie. - - '$[fn]' może rozszeżyć to w dwustronną komunikację lub więcej (doprecyzować) -relacje w przyszłości. - - Będziesz teraz otrzymywać aktualizacje statusu od '$[fn]', -który będzie pojawiać się na Twojej stronie "Sieć" - -$[siteurl] - -Z poważaniem, - - Administrator $[sitename] \ No newline at end of file diff --git a/view/pl/smarty3/friend_complete_eml.tpl b/view/pl/smarty3/friend_complete_eml.tpl deleted file mode 100644 index b6cf0a3b60..0000000000 --- a/view/pl/smarty3/friend_complete_eml.tpl +++ /dev/null @@ -1,23 +0,0 @@ - - -Drogi {{$username}}, - - Świetne wieści! '{{$fn}}' na '{{$dfrn_url}}' przyjął / przyjęła -Twoją prośbę o znajomość na '{{$sitename}}'. - -Jesteście teraz znajomymi i możecie wymieniać się zmianami statusów, zdjęciami i wiadomościami -bez ograniczeń. - -Zajrzyj na stronę 'Kontakty' na {{$sitename}} jeśli chcesz dokonać -zmian w tej relacji. - -{{$siteurl}} - -[Możesz np.: utworzyć oddzielny profil z informacjami, który nie będzie -dostępny dla wszystkich - i przypisać sprawdzanie uprawnień do '{{$fn}}']. - -Z poważaniem, - - {{$sitename}} Administrator - - \ No newline at end of file diff --git a/view/pl/smarty3/intro_complete_eml.tpl b/view/pl/smarty3/intro_complete_eml.tpl deleted file mode 100644 index 8137f83e29..0000000000 --- a/view/pl/smarty3/intro_complete_eml.tpl +++ /dev/null @@ -1,23 +0,0 @@ - - -Drogi {{$username}}, - - '{{$fn}}' w '{{$dfrn_url}}' zaakceptował -twoje połączenie na '{{$sitename}}'. - - '{{$fn}}' zaakceptował Cię jako "fana", uniemożliwiając -pewne sposoby komunikacji - takie jak prywatne wiadomości czy niektóre formy -interakcji pomiędzy profilami. Jeśli jest to strona gwiazdy lub społeczności, ustawienia zostały -zastosowane automatycznie. - - '{{$fn}}' może rozszeżyć to w dwustronną komunikację lub więcej (doprecyzować) -relacje w przyszłości. - - Będziesz teraz otrzymywać aktualizacje statusu od '{{$fn}}', -który będzie pojawiać się na Twojej stronie "Sieć" - -{{$siteurl}} - -Z poważaniem, - - Administrator {{$sitename}} \ No newline at end of file diff --git a/view/pt-br/intro_complete_eml.tpl b/view/pt-br/intro_complete_eml.tpl deleted file mode 100644 index 13ccbc9d76..0000000000 --- a/view/pt-br/intro_complete_eml.tpl +++ /dev/null @@ -1,22 +0,0 @@ - -Prezado/a $[username], - - '$[fn]' em '$[dfrn_url]' aceitou -seu pedido de coneção em '$[sitename]'. - - '$[fn]' optou por aceitá-lo com "fan", que restringe -algumas formas de comunicação, tais como mensagens privadas e algumas interações -com o perfil. Se essa é uma página de celebridade ou de comunidade essas configurações foram -aplicadas automaticamente. - - '$[fn]' pode escolher estender isso para uma comunicação bidirecional ourelacionamento mais permissivo -no futuro. - - Você começará a receber atualizações públicas de '$[fn]' -que aparecerão na sua página 'Rede' - -$[siteurl] - -Cordialmente, - - Administrador do $[sitemname] \ No newline at end of file diff --git a/view/pt-br/smarty3/intro_complete_eml.tpl b/view/pt-br/smarty3/intro_complete_eml.tpl deleted file mode 100644 index 30c5699b80..0000000000 --- a/view/pt-br/smarty3/intro_complete_eml.tpl +++ /dev/null @@ -1,23 +0,0 @@ - - -Prezado/a {{$username}}, - - '{{$fn}}' em '{{$dfrn_url}}' aceitou -seu pedido de coneção em '{{$sitename}}'. - - '{{$fn}}' optou por aceitá-lo com "fan", que restringe -algumas formas de comunicação, tais como mensagens privadas e algumas interações -com o perfil. Se essa é uma página de celebridade ou de comunidade essas configurações foram -aplicadas automaticamente. - - '{{$fn}}' pode escolher estender isso para uma comunicação bidirecional ourelacionamento mais permissivo -no futuro. - - Você começará a receber atualizações públicas de '{{$fn}}' -que aparecerão na sua página 'Rede' - -{{$siteurl}} - -Cordialmente, - - Administrador do {{$sitemname}} \ No newline at end of file diff --git a/view/ro/smarty3/friend_complete_eml.tpl b/view/ro/smarty3/friend_complete_eml.tpl deleted file mode 100644 index 9c68c8d09c..0000000000 --- a/view/ro/smarty3/friend_complete_eml.tpl +++ /dev/null @@ -1,22 +0,0 @@ - -Dragă $[username], - - Veşti bune... '$[fn]' at '$[dfrn_url]' a acceptat -cererea dvs. de conectare la '$[sitename]'. - -Sunteți acum prieteni comuni și puteţi schimba actualizări de status, fotografii, și e-mail -fără restricţii. - -Vizitaţi pagina dvs. 'Contacte' la $[sitename] dacă doriţi să faceţi -orice schimbare către această relaţie. - -$[siteurl] - -[De exemplu, puteți crea un profil separat, cu informații care nu sunt -la dispoziția publicului larg - și atribuiți drepturi de vizualizare la "$ [Fn] ']​​. - -Cu stimă, - - $[sitename] Administrator - - \ No newline at end of file diff --git a/view/ro/smarty3/intro_complete_eml.tpl b/view/ro/smarty3/intro_complete_eml.tpl deleted file mode 100644 index 16569d274c..0000000000 --- a/view/ro/smarty3/intro_complete_eml.tpl +++ /dev/null @@ -1,22 +0,0 @@ - -Dragă $[username], - - '$[fn]' de la '$[dfrn_url]' a acceptat -cererea dvs. de conectare la '$[sitename]'. - - '$[fn]' a decis să accepte un "fan", care restricționează -câteva forme de comunicare - cum ar fi mesageria privată şi unele profile -interacțiuni. În cazul în care aceasta este o pagină celebritate sau comunitate, aceste setări au fost -aplicat automat. - - '$[fn]' poate alege să se extindă aceasta în două sau mai căi permisive -relaţie in viitor. - - Veți începe să primiți actualizări publice de status de la '$[fn]', -care va apare pe pagina dvs. 'Network' la - -$[siteurl] - -Cu stimă, - - $[sitename] Administrator \ No newline at end of file diff --git a/view/sv/friend_complete_eml.tpl b/view/sv/friend_complete_eml.tpl deleted file mode 100644 index 2b8b0238e8..0000000000 --- a/view/sv/friend_complete_eml.tpl +++ /dev/null @@ -1,17 +0,0 @@ -$username, - -Goda nyheter... '$fn' på '$dfrn_url' har accepterat din kontaktförfrågan på '$sitename'. - -Ni är nu ömsesidiga vänner och kan se varandras statusuppdateringar samt skicka foton och meddelanden -utan begränsningar. - -Gå in på din sida 'Kontakter' på $sitename om du vill göra några -ändringar när det gäller denna kontakt. - -$siteurl - -[Du kan exempelvis skapa en separat profil med information som inte -är tillgänglig för vem som helst, och ge visningsrättigheter till '$fn']. - -Hälsningar, -$sitename admin diff --git a/view/sv/intro_complete_eml.tpl b/view/sv/intro_complete_eml.tpl deleted file mode 100644 index 1f24af25f6..0000000000 --- a/view/sv/intro_complete_eml.tpl +++ /dev/null @@ -1,19 +0,0 @@ -$username, - -'$fn' på '$dfrn_url' har accepterat din kontaktförfrågan på '$sitename'. - -'$fn' har valt att acceptera dig som ett "fan" vilket innebär vissa begränsningar -i kommunikationen mellan er - som till exempel personliga meddelanden och viss interaktion -mellan profiler. Om detta är en kändis eller en gemenskap så har dessa inställningar gjorts -per automatik. - -'$fn' kan välja att utöka detta till vanlig tvåvägskommunikation eller någon annan mer -tillåtande kommunikationsform i framtiden. - -Du kommer hädanefter att få statusuppdateringar från '$fn', -vilka kommer att synas på din Nätverk-sida på - -$siteurl - -Hälsningar, -$sitename admin diff --git a/view/sv/smarty3/friend_complete_eml.tpl b/view/sv/smarty3/friend_complete_eml.tpl deleted file mode 100644 index 7cabdf22d3..0000000000 --- a/view/sv/smarty3/friend_complete_eml.tpl +++ /dev/null @@ -1,18 +0,0 @@ - -{{$username}}, - -Goda nyheter... '{{$fn}}' på '{{$dfrn_url}}' har accepterat din kontaktförfrågan på '{{$sitename}}'. - -Ni är nu ömsesidiga vänner och kan se varandras statusuppdateringar samt skicka foton och meddelanden -utan begränsningar. - -Gå in på din sida 'Kontakter' på {{$sitename}} om du vill göra några -ändringar när det gäller denna kontakt. - -{{$siteurl}} - -[Du kan exempelvis skapa en separat profil med information som inte -är tillgänglig för vem som helst, och ge visningsrättigheter till '{{$fn}}']. - -Hälsningar, -{{$sitename}} admin diff --git a/view/sv/smarty3/intro_complete_eml.tpl b/view/sv/smarty3/intro_complete_eml.tpl deleted file mode 100644 index 48d565a033..0000000000 --- a/view/sv/smarty3/intro_complete_eml.tpl +++ /dev/null @@ -1,20 +0,0 @@ - -{{$username}}, - -'{{$fn}}' på '{{$dfrn_url}}' har accepterat din kontaktförfrågan på '{{$sitename}}'. - -'{{$fn}}' har valt att acceptera dig som ett "fan" vilket innebär vissa begränsningar -i kommunikationen mellan er - som till exempel personliga meddelanden och viss interaktion -mellan profiler. Om detta är en kändis eller en gemenskap så har dessa inställningar gjorts -per automatik. - -'{{$fn}}' kan välja att utöka detta till vanlig tvåvägskommunikation eller någon annan mer -tillåtande kommunikationsform i framtiden. - -Du kommer hädanefter att få statusuppdateringar från '{{$fn}}', -vilka kommer att synas på din Nätverk-sida på - -{{$siteurl}} - -Hälsningar, -{{$sitename}} admin diff --git a/view/zh-cn/friend_complete_eml.tpl b/view/zh-cn/friend_complete_eml.tpl deleted file mode 100644 index a25896f09f..0000000000 --- a/view/zh-cn/friend_complete_eml.tpl +++ /dev/null @@ -1,22 +0,0 @@ - -尊敬的$[username], - - 精彩新闻... 「$[fn]」在「$[dfrn_url]」接受了 -您的连通要求在「$[sitename]」。 - -您们现在是共同的朋友们,会兑换现状更新,照片和邮件 -无限 - -请看您的联络页在$[sitename]如果您想做 -什么变化关于这个关系。 - -$[siteurl] - -[例如,您会想造成区分的简介括无 -公开-和分配看权利给「$[fn]」 - -谨上, - - $[sitename]行政人员 - - \ No newline at end of file diff --git a/view/zh-cn/intro_complete_eml.tpl b/view/zh-cn/intro_complete_eml.tpl deleted file mode 100644 index 8d8d4f6030..0000000000 --- a/view/zh-cn/intro_complete_eml.tpl +++ /dev/null @@ -1,22 +0,0 @@ - -尊敬的$[username], - - 「$[fn]」在「$[dfrn_url]」接受了 -您的联络要求在「$[sitename]」 - - 「$[fn]」接受您为迷。这限制 -有的种类沟通,例如私人信息和简介 -操作。如果这是名人或社会页,这些设置是 -自动地应用。 - - 「$[fn]」会将来选择延长关系成双向的或更允许的 -关系。 - - 您会开始受到公开的现状更新从「$[fn]」, -它们出现在您的「网络」页在 - -$[siteurl] - -谨上, - - $[sitename]行政人员 \ No newline at end of file diff --git a/view/zh-cn/smarty3/friend_complete_eml.tpl b/view/zh-cn/smarty3/friend_complete_eml.tpl deleted file mode 100644 index 5e6e99bc9a..0000000000 --- a/view/zh-cn/smarty3/friend_complete_eml.tpl +++ /dev/null @@ -1,23 +0,0 @@ - - -尊敬的{{$username}}, - - 精彩新闻... 「{{$fn}}」在「{{$dfrn_url}}」接受了 -您的连通要求在「{{$sitename}}」。 - -您们现在是共同的朋友们,会兑换现状更新,照片和邮件 -无限 - -请看您的联络页在{{$sitename}}如果您想做 -什么变化关于这个关系。 - -{{$siteurl}} - -[例如,您会想造成区分的简介括无 -公开-和分配看权利给「{{$fn}}」 - -谨上, - - {{$sitename}}行政人员 - - \ No newline at end of file diff --git a/view/zh-cn/smarty3/intro_complete_eml.tpl b/view/zh-cn/smarty3/intro_complete_eml.tpl deleted file mode 100644 index db68d7d715..0000000000 --- a/view/zh-cn/smarty3/intro_complete_eml.tpl +++ /dev/null @@ -1,23 +0,0 @@ - - -尊敬的{{$username}}, - - 「{{$fn}}」在「{{$dfrn_url}}」接受了 -您的联络要求在「{{$sitename}}」 - - 「{{$fn}}」接受您为迷。这限制 -有的种类沟通,例如私人信息和简介 -操作。如果这是名人或社会页,这些设置是 -自动地应用。 - - 「{{$fn}}」会将来选择延长关系成双向的或更允许的 -关系。 - - 您会开始受到公开的现状更新从「{{$fn}}」, -它们出现在您的「网络」页在 - -{{$siteurl}} - -谨上, - - {{$sitename}}行政人员 \ No newline at end of file From 0e628f840f0d4c7a902919328358aed873c4f11a Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Sat, 6 Sep 2014 18:15:18 +0200 Subject: [PATCH 04/26] send ostatus follow/share notifications via notification() remove unused templates --- include/enotify.php | 288 ++++++++++++++--------- include/items.php | 31 ++- view/ca/follow_notify_eml.tpl | 13 - view/ca/smarty3/follow_notify_eml.tpl | 14 -- view/cs/follow_notify_eml.tpl | 14 -- view/cs/smarty3/follow_notify_eml.tpl | 15 -- view/de/follow_notify_eml.tpl | 14 -- view/de/smarty3/follow_notify_eml.tpl | 15 -- view/en/follow_notify_eml.tpl | 14 -- view/en/smarty3/follow_notify_eml.tpl | 15 -- view/eo/follow_notify_eml.tpl | 14 -- view/eo/smarty3/follow_notify_eml.tpl | 15 -- view/es/follow_notify_eml.tpl | 13 - view/es/smarty3/follow_notify_eml.tpl | 14 -- view/fr/follow_notify_eml.tpl | 14 -- view/fr/smarty3/follow_notify_eml.tpl | 15 -- view/is/follow_notify_eml.tpl | 14 -- view/is/smarty3/follow_notify_eml.tpl | 15 -- view/it/smarty3/follow_notify_eml.tpl | 14 -- view/nb-no/follow_notify_eml.tpl | 14 -- view/nb-no/smarty3/follow_notify_eml.tpl | 15 -- view/nl/follow_notify_eml.tpl | 14 -- view/pl/follow_notify_eml.tpl | 14 -- view/pl/smarty3/follow_notify_eml.tpl | 15 -- view/ro/smarty3/follow_notify_eml.tpl | 14 -- view/sv/follow_notify_eml.tpl | 12 - view/sv/smarty3/follow_notify_eml.tpl | 13 - view/zh-cn/follow_notify_eml.tpl | 14 -- view/zh-cn/smarty3/follow_notify_eml.tpl | 15 -- 29 files changed, 192 insertions(+), 509 deletions(-) delete mode 100644 view/ca/follow_notify_eml.tpl delete mode 100644 view/ca/smarty3/follow_notify_eml.tpl delete mode 100644 view/cs/follow_notify_eml.tpl delete mode 100644 view/cs/smarty3/follow_notify_eml.tpl delete mode 100644 view/de/follow_notify_eml.tpl delete mode 100644 view/de/smarty3/follow_notify_eml.tpl delete mode 100644 view/en/follow_notify_eml.tpl delete mode 100644 view/en/smarty3/follow_notify_eml.tpl delete mode 100644 view/eo/follow_notify_eml.tpl delete mode 100644 view/eo/smarty3/follow_notify_eml.tpl delete mode 100644 view/es/follow_notify_eml.tpl delete mode 100644 view/es/smarty3/follow_notify_eml.tpl delete mode 100644 view/fr/follow_notify_eml.tpl delete mode 100644 view/fr/smarty3/follow_notify_eml.tpl delete mode 100644 view/is/follow_notify_eml.tpl delete mode 100644 view/is/smarty3/follow_notify_eml.tpl delete mode 100644 view/it/smarty3/follow_notify_eml.tpl delete mode 100644 view/nb-no/follow_notify_eml.tpl delete mode 100644 view/nb-no/smarty3/follow_notify_eml.tpl delete mode 100644 view/nl/follow_notify_eml.tpl delete mode 100644 view/pl/follow_notify_eml.tpl delete mode 100644 view/pl/smarty3/follow_notify_eml.tpl delete mode 100644 view/ro/smarty3/follow_notify_eml.tpl delete mode 100644 view/sv/follow_notify_eml.tpl delete mode 100644 view/sv/smarty3/follow_notify_eml.tpl delete mode 100644 view/zh-cn/follow_notify_eml.tpl delete mode 100644 view/zh-cn/smarty3/follow_notify_eml.tpl diff --git a/include/enotify.php b/include/enotify.php index 2dca5a609c..7421344494 100644 --- a/include/enotify.php +++ b/include/enotify.php @@ -15,6 +15,33 @@ function notification($params) { push_lang($params['language']); + $banner = t('Friendica Notification'); + $product = FRIENDICA_PLATFORM; + $siteurl = $a->get_baseurl(true); + $thanks = t('Thank You,'); + $sitename = $a->config['sitename']; + $site_admin = sprintf( t('%s Administrator'), $sitename); + + $sender_name = $product; + $hostname = $a->get_hostname(); + if(strpos($hostname,':')) + $hostname = substr($hostname,0,strpos($hostname,':')); + + $sender_email = t('noreply') . '@' . $hostname; + + // with $params['show_in_notification_page'] == false, the notification isn't inserted into + // the database, and an email is sent if applicable. + // default, if not specified: true + $show_in_notification_page = ((x($params,'show_in_notification_page')) ? $params['show_in_notification_page']:True); + + $additional_mail_header = ""; + $additional_mail_header .= "Precedence: list\n"; + $additional_mail_header .= "X-Friendica-Host: ".$hostname."\n"; + $additional_mail_header .= "X-Friendica-Platform: ".FRIENDICA_PLATFORM."\n"; + $additional_mail_header .= "X-Friendica-Version: ".FRIENDICA_VERSION."\n"; + $additional_mail_header .= "List-ID: \n"; + $additional_mail_header .= "List-Archive: <".$a->get_baseurl()."/notifications/system>\n"; + if(array_key_exists('item',$params)) { $title = $params['item']['title']; @@ -204,6 +231,29 @@ function notification($params) { $tsitelink = sprintf( $sitelink, $siteurl ); $hsitelink = sprintf( $sitelink, '' . $sitename . ''); $itemlink = $params['link']; + + switch ($params['verb']) { + case ACTIVITY_FRIEND: + // someone started to share with user (mostly OStatus) + $subject = sprintf( t('[Friendica:Notify] A new person is sharing with you')); + $preamble = sprintf( t('%1$s is sharing with you at %2$s'), $params['source_name'], $sitename); + $epreamble = sprintf( t('%1$s is sharing with you at %2$s'), + '[url=' . $params['source_link'] . ']' . $params['source_name'] . '[/url]', + $sitename); + break; + case ACTIVITY_FOLLOW: + // someone started to follow the user (mostly OStatus) + $subject = sprintf( t('[Friendica:Notify] You have a new follower')); + $preamble = sprintf( t('You have a new follower at %2$s : %1$s'), $params['source_name'], $sitename); + $epreamble = sprintf( t('You have a new follower at %2$s : %1$s'), + '[url=' . $params['source_link'] . ']' . $params['source_name'] . '[/url]', + $sitename); + break; + default: + break; + } + + } if($params['type'] == NOTIFY_SUGGEST) { @@ -225,40 +275,49 @@ function notification($params) { } if($params['type'] == NOTIFY_CONFIRM) { + if ($params['verb'] == ACTIVITY_FRIEND ){ // mutual connection + $subject = sprintf( t('[Friendica:Notify] Connection accepted')); + $preamble = sprintf( t('\'%1$s\' has acepted your connection request at %2$s'), $params['source_name'], $sitename); + $epreamble = sprintf( t('%2$s has accepted your [url=%1$s]connection request[/url].'), + $itemlink, + '[url=' . $params['source_link'] . ']' . $params['source_name'] . '[/url]'); + $body = t('You are now mutual friends and may exchange status updates, photos, and email + without restriction.'); + + $sitelink = t('Please visit %s if you wish to make any changes to this relationship.'); + $tsitelink = sprintf( $sitelink, $siteurl ); + $hsitelink = sprintf( $sitelink, '' . $sitename . ''); + $itemlink = $params['link']; + } else { // ACTIVITY_FOLLOW + $subject = sprintf( t('[Friendica:Notify] Connection accepted')); + $preamble = sprintf( t('\'%1$s\' has acepted your connection request at %2$s'), $params['source_name'], $sitename); + $epreamble = sprintf( t('%2$s has accepted your [url=%1$s]connection request[/url].'), + $itemlink, + '[url=' . $params['source_link'] . ']' . $params['source_name'] . '[/url]'); + $body = sprintf(t('\'%1$s\' has chosen to accept you a "fan", which restricts some forms of communication - such as private messaging and some profile interactions. If this is a celebrity or community page, these settings were applied automatically.'), $params['source_name']); + $body .= "\n\n"; + $body .= sprintf(t('\'%1$s\' may choose to extend this into a two-way or more permissive relationship in the future. '), $params['source_name']); + + $sitelink = t('Please visit %s if you wish to make any changes to this relationship.'); + $tsitelink = sprintf( $sitelink, $siteurl ); + $hsitelink = sprintf( $sitelink, '' . $sitename . ''); + $itemlink = $params['link']; + } + } if($params['type'] == NOTIFY_SYSTEM) { - + $subject = $params['subject']; + $preamble = $params['preamble']; + $epreamble = $params['epreamble']; + $body = $params['body']; + $sitelink = ""; + $tsitelink = ""; + $hsitelink = ""; + $itemlink = ""; } - /*$email = prepare_notificaion_mail($params, $subject, $preamble, $body, $sitelink, $tsitelink, $hsitelink, $itemlink); - if ($email) Emailer::send($email); - pop_lang();*/ - - - $banner = t('Friendica Notification'); - $product = FRIENDICA_PLATFORM; - $siteurl = $a->get_baseurl(true); - $thanks = t('Thank You,'); - $sitename = $a->config['sitename']; - $site_admin = sprintf( t('%s Administrator'), $sitename); - - $sender_name = $product; - $hostname = $a->get_hostname(); - if(strpos($hostname,':')) - $hostname = substr($hostname,0,strpos($hostname,':')); - - $sender_email = t('noreply') . '@' . $hostname; - - - $additional_mail_header = ""; - $additional_mail_header .= "Precedence: list\n"; - $additional_mail_header .= "X-Friendica-Host: ".$hostname."\n"; - $additional_mail_header .= "X-Friendica-Platform: ".FRIENDICA_PLATFORM."\n"; - $additional_mail_header .= "X-Friendica-Version: ".FRIENDICA_VERSION."\n"; - $additional_mail_header .= "List-ID: \n"; - $additional_mail_header .= "List-Archive: <".$a->get_baseurl()."/notifications/system>\n"; $h = array( 'params' => $params, @@ -284,103 +343,104 @@ function notification($params) { $itemlink = $h['itemlink']; + if ($show_in_notification_page) { - do { - $dups = false; - $hash = random_string(); - $r = q("SELECT `id` FROM `notify` WHERE `hash` = '%s' LIMIT 1", - dbesc($hash)); - if(count($r)) - $dups = true; - } while($dups == true); + do { + $dups = false; + $hash = random_string(); + $r = q("SELECT `id` FROM `notify` WHERE `hash` = '%s' LIMIT 1", + dbesc($hash)); + if(count($r)) + $dups = true; + } while($dups == true); - $datarray = array(); - $datarray['hash'] = $hash; - $datarray['name'] = $params['source_name']; - $datarray['url'] = $params['source_link']; - $datarray['photo'] = $params['source_photo']; - $datarray['date'] = datetime_convert(); - $datarray['uid'] = $params['uid']; - $datarray['link'] = $itemlink; - $datarray['parent'] = $parent_id; - $datarray['type'] = $params['type']; - $datarray['verb'] = $params['verb']; - $datarray['otype'] = $params['otype']; - $datarray['abort'] = false; + $datarray = array(); + $datarray['hash'] = $hash; + $datarray['name'] = $params['source_name']; + $datarray['url'] = $params['source_link']; + $datarray['photo'] = $params['source_photo']; + $datarray['date'] = datetime_convert(); + $datarray['uid'] = $params['uid']; + $datarray['link'] = $itemlink; + $datarray['parent'] = $parent_id; + $datarray['type'] = $params['type']; + $datarray['verb'] = $params['verb']; + $datarray['otype'] = $params['otype']; + $datarray['abort'] = false; - call_hooks('enotify_store', $datarray); + call_hooks('enotify_store', $datarray); - if($datarray['abort']) { - pop_lang(); - return False; - } - - // create notification entry in DB - - $r = q("insert into notify (hash,name,url,photo,date,uid,link,parent,type,verb,otype) - values('%s','%s','%s','%s','%s',%d,'%s',%d,%d,'%s','%s')", - dbesc($datarray['hash']), - dbesc($datarray['name']), - dbesc($datarray['url']), - dbesc($datarray['photo']), - dbesc($datarray['date']), - intval($datarray['uid']), - dbesc($datarray['link']), - intval($datarray['parent']), - intval($datarray['type']), - dbesc($datarray['verb']), - dbesc($datarray['otype']) - ); - - $r = q("select id from notify where hash = '%s' and uid = %d limit 1", - dbesc($hash), - intval($params['uid']) - ); - if($r) - $notify_id = $r[0]['id']; - else { - pop_lang(); - return False; - } - - // we seem to have a lot of duplicate comment notifications due to race conditions, mostly from forums - // After we've stored everything, look again to see if there are any duplicates and if so remove them - - $p = null; - $p = q("select id from notify where ( type = %d or type = %d ) and link = '%s' and uid = %d order by id", - intval(NOTIFY_TAGSELF), - intval(NOTIFY_COMMENT), - dbesc($params['link']), - intval($params['uid']) - ); - if($p && (count($p) > 1)) { - for ($d = 1; $d < count($p); $d ++) { - q("delete from notify where id = %d", - intval($p[$d]['id']) - ); - } - - // only continue on if we stored the first one - - if($notify_id != $p[0]['id']) { + if($datarray['abort']) { pop_lang(); return False; } + + // create notification entry in DB + + $r = q("insert into notify (hash,name,url,photo,date,uid,link,parent,type,verb,otype) + values('%s','%s','%s','%s','%s',%d,'%s',%d,%d,'%s','%s')", + dbesc($datarray['hash']), + dbesc($datarray['name']), + dbesc($datarray['url']), + dbesc($datarray['photo']), + dbesc($datarray['date']), + intval($datarray['uid']), + dbesc($datarray['link']), + intval($datarray['parent']), + intval($datarray['type']), + dbesc($datarray['verb']), + dbesc($datarray['otype']) + ); + + $r = q("select id from notify where hash = '%s' and uid = %d limit 1", + dbesc($hash), + intval($params['uid']) + ); + if($r) + $notify_id = $r[0]['id']; + else { + pop_lang(); + return False; + } + + // we seem to have a lot of duplicate comment notifications due to race conditions, mostly from forums + // After we've stored everything, look again to see if there are any duplicates and if so remove them + + $p = null; + $p = q("select id from notify where ( type = %d or type = %d ) and link = '%s' and uid = %d order by id", + intval(NOTIFY_TAGSELF), + intval(NOTIFY_COMMENT), + dbesc($params['link']), + intval($params['uid']) + ); + if($p && (count($p) > 1)) { + for ($d = 1; $d < count($p); $d ++) { + q("delete from notify where id = %d", + intval($p[$d]['id']) + ); + } + + // only continue on if we stored the first one + + if($notify_id != $p[0]['id']) { + pop_lang(); + return False; + } + } + + + $itemlink = $a->get_baseurl() . '/notify/view/' . $notify_id; + $msg = replace_macros($epreamble,array('$itemlink' => $itemlink)); + $r = q("update notify set msg = '%s' where id = %d and uid = %d", + dbesc($msg), + intval($notify_id), + intval($params['uid']) + ); + } - - $itemlink = $a->get_baseurl() . '/notify/view/' . $notify_id; - $msg = replace_macros($epreamble,array('$itemlink' => $itemlink)); - $r = q("update notify set msg = '%s' where id = %d and uid = %d", - dbesc($msg), - intval($notify_id), - intval($params['uid']) - ); - - // send email notification if notification preferences permit - if((intval($params['notify_flags']) & intval($params['type'])) || $params['type'] == NOTIFY_SYSTEM) { logger('notification: sending notification email'); diff --git a/include/items.php b/include/items.php index 0e156beb27..b1ee854aef 100644 --- a/include/items.php +++ b/include/items.php @@ -3828,6 +3828,7 @@ function new_follower($importer,$contact,$datarray,$item,$sharing = false) { dbesc(datetime_convert()) ); } + $r = q("SELECT * FROM `user` WHERE `uid` = %d LIMIT 1", intval($importer['uid']) ); @@ -3841,20 +3842,24 @@ function new_follower($importer,$contact,$datarray,$item,$sharing = false) { if(($r[0]['notify-flags'] & NOTIFY_INTRO) && (($r[0]['page-flags'] == PAGE_NORMAL) OR ($r[0]['page-flags'] == PAGE_SOAPBOX))) { - $email_tpl = get_intltext_template('follow_notify_eml.tpl'); - $email = replace_macros($email_tpl, array( - '$requestor' => ((strlen($name)) ? $name : t('[Name Withheld]')), - '$url' => $url, - '$myname' => $r[0]['username'], - '$siteurl' => $a->get_baseurl(), - '$sitename' => $a->config['sitename'] + + + + notification(array( + 'type' => NOTIFY_INTRO, + 'notify_flags' => $r[0]['notify-flags'], + 'language' => $r[0]['language'], + 'to_name' => $r[0]['username'], + 'to_email' => $r[0]['email'], + 'uid' => $r[0]['uid'], + 'link' => $a->get_baseurl() . '/notifications/intro', + 'source_name' => ((strlen(stripslashes($contact_record['name']))) ? stripslashes($contact_record['name']) : t('[Name Withheld]')), + 'source_link' => $contact_record['url'], + 'source_photo' => $contact_record['photo'], + 'verb' => ($sharing ? ACTIVITY_FRIEND : ACTIVITY_FOLLOW), + 'otype' => 'intro' )); - $res = mail($r[0]['email'], - email_header_encode((($sharing) ? t('A new person is sharing with you at ') : t("You have a new follower at ")) . $a->config['sitename'],'UTF-8'), - $email, - 'From: ' . 'Administrator' . '@' . $_SERVER['SERVER_NAME'] . "\n" - . 'Content-type: text/plain; charset=UTF-8' . "\n" - . 'Content-transfer-encoding: 8bit' ); + } } diff --git a/view/ca/follow_notify_eml.tpl b/view/ca/follow_notify_eml.tpl deleted file mode 100644 index ab5a4b3711..0000000000 --- a/view/ca/follow_notify_eml.tpl +++ /dev/null @@ -1,13 +0,0 @@ - -Apreciat/da $myname, - -Tens un nou seguidor en $sitename - '$requestor'. - -Pots visitar el seu perfil en $url. - -Iniciï sessió en el seu lloc per a aprovar o rebutjar/cancelar la sol·licitud. - -$siteurl - - - $sitename diff --git a/view/ca/smarty3/follow_notify_eml.tpl b/view/ca/smarty3/follow_notify_eml.tpl deleted file mode 100644 index 153f195626..0000000000 --- a/view/ca/smarty3/follow_notify_eml.tpl +++ /dev/null @@ -1,14 +0,0 @@ - - -Apreciat/da {{$myname}}, - -Tens un nou seguidor en {{$sitename}} - '{{$requestor}}'. - -Pots visitar el seu perfil en {{$url}}. - -Iniciï sessió en el seu lloc per a aprovar o rebutjar/cancelar la sol·licitud. - -{{$siteurl}} - - - {{$sitename}} diff --git a/view/cs/follow_notify_eml.tpl b/view/cs/follow_notify_eml.tpl deleted file mode 100644 index 5581d2d6c6..0000000000 --- a/view/cs/follow_notify_eml.tpl +++ /dev/null @@ -1,14 +0,0 @@ - -Drahý/Drahá $[myname], - -Máte nového následovatele na $[sitename] - '$[requestor]'. - -Můžete si zobrazit jeho profil na $[url]. - -Prosím, přihlaste se na Vašem webu pro odsouhlasení nebo ignorování/zrušení této žádosti - -$[siteurl] - -S pozdravem - - $[sitename] administrátor \ No newline at end of file diff --git a/view/cs/smarty3/follow_notify_eml.tpl b/view/cs/smarty3/follow_notify_eml.tpl deleted file mode 100644 index 1b4d6a94d5..0000000000 --- a/view/cs/smarty3/follow_notify_eml.tpl +++ /dev/null @@ -1,15 +0,0 @@ - - -Milý/Milá {{$username}}, - -Máte nového následovatele na {{$sitename}} - '{{$requestor}}'. - -Můžete si prohlédnout jeho/její profil na {{$url}}. - -Přihlaste se na váš server k odsouhlasení nebo ignorování/zrušení žádosti. - -{{$siteurl}} - -S pozdravem, - - {{$sitename}} administrátor diff --git a/view/de/follow_notify_eml.tpl b/view/de/follow_notify_eml.tpl deleted file mode 100644 index a866a08a2d..0000000000 --- a/view/de/follow_notify_eml.tpl +++ /dev/null @@ -1,14 +0,0 @@ - -Hallo $[myname], - -Du hast einen neuen Anhänger auf $[sitename] - '$[requestor]'. - -Du kannst das Profil unter $[url] besuchen. - -Bitte melde dich an um die Anfrage zu bestätigen oder sie zu ignorieren bzw. abzulehnen. - -$[siteurl] - -beste Grüße, - - $[sitename] Administrator \ No newline at end of file diff --git a/view/de/smarty3/follow_notify_eml.tpl b/view/de/smarty3/follow_notify_eml.tpl deleted file mode 100644 index 4da71eb19f..0000000000 --- a/view/de/smarty3/follow_notify_eml.tpl +++ /dev/null @@ -1,15 +0,0 @@ - - -Hallo {{$myname}}, - -Du hast einen neuen Anhänger auf {{$sitename}} - '{{$requestor}}'. - -Du kannst das Profil unter {{$url}} besuchen. - -Bitte melde dich an um die Anfrage zu bestätigen oder sie zu ignorieren bzw. abzulehnen. - -{{$siteurl}} - -beste Grüße, - - {{$sitename}} Administrator \ No newline at end of file diff --git a/view/en/follow_notify_eml.tpl b/view/en/follow_notify_eml.tpl deleted file mode 100644 index 917024b842..0000000000 --- a/view/en/follow_notify_eml.tpl +++ /dev/null @@ -1,14 +0,0 @@ - -Dear $[myname], - -You have a new follower at $[sitename] - '$[requestor]'. - -You may visit their profile at $[url]. - -Please login to your site to approve or ignore/cancel the request. - -$[siteurl] - -Regards, - - $[sitename] administrator diff --git a/view/en/smarty3/follow_notify_eml.tpl b/view/en/smarty3/follow_notify_eml.tpl deleted file mode 100644 index 00a2406e80..0000000000 --- a/view/en/smarty3/follow_notify_eml.tpl +++ /dev/null @@ -1,15 +0,0 @@ - - -Dear {{$myname}}, - -You have a new follower at {{$sitename}} - '{{$requestor}}'. - -You may visit their profile at {{$url}}. - -Please login to your site to approve or ignore/cancel the request. - -{{$siteurl}} - -Regards, - - {{$sitename}} administrator diff --git a/view/eo/follow_notify_eml.tpl b/view/eo/follow_notify_eml.tpl deleted file mode 100644 index e76453ac16..0000000000 --- a/view/eo/follow_notify_eml.tpl +++ /dev/null @@ -1,14 +0,0 @@ - -Kara $[myname], - -Vi havas novan abonanton ĉe $[sitename] - '$[requestor]'. - -Vi povas viziti ilian profilon ĉe $[url]. - -Bonvolu ensaluti en vian retejon por aprobi au malaprobi/nuligi la peton. - -$[siteurl] - -Salutoj, - - [$sitename] administranto \ No newline at end of file diff --git a/view/eo/smarty3/follow_notify_eml.tpl b/view/eo/smarty3/follow_notify_eml.tpl deleted file mode 100644 index a4e0976d51..0000000000 --- a/view/eo/smarty3/follow_notify_eml.tpl +++ /dev/null @@ -1,15 +0,0 @@ - - -Kara {{$myname}}, - -Vi havas novan abonanton ĉe {{$sitename}} - '{{$requestor}}'. - -Vi povas viziti ilian profilon ĉe {{$url}}. - -Bonvolu ensaluti en vian retejon por aprobi au malaprobi/nuligi la peton. - -{{$siteurl}} - -Salutoj, - - [{{$sitename}}] administranto \ No newline at end of file diff --git a/view/es/follow_notify_eml.tpl b/view/es/follow_notify_eml.tpl deleted file mode 100644 index 17bd2c01ce..0000000000 --- a/view/es/follow_notify_eml.tpl +++ /dev/null @@ -1,13 +0,0 @@ - -Estimado/a $myname, - -Tienes un nuevo seguidor en $sitename - '$requestor'. - -Puedes visitar su perfil en $url. - -Inicie sesión en su sitio para aprobar o rechazar/cancelar la solicitud. - -$siteurl - - - $sitename diff --git a/view/es/smarty3/follow_notify_eml.tpl b/view/es/smarty3/follow_notify_eml.tpl deleted file mode 100644 index f0090a8b5e..0000000000 --- a/view/es/smarty3/follow_notify_eml.tpl +++ /dev/null @@ -1,14 +0,0 @@ - - -Estimado/a {{$myname}}, - -Tienes un nuevo seguidor en {{$sitename}} - '{{$requestor}}'. - -Puedes visitar su perfil en {{$url}}. - -Inicie sesión en su sitio para aprobar o rechazar/cancelar la solicitud. - -{{$siteurl}} - - - {{$sitename}} diff --git a/view/fr/follow_notify_eml.tpl b/view/fr/follow_notify_eml.tpl deleted file mode 100644 index 10d0b343ba..0000000000 --- a/view/fr/follow_notify_eml.tpl +++ /dev/null @@ -1,14 +0,0 @@ - -Cher(e) $myname, - -Une nouvelle personne - $requestor - vous suit désormais sur $sitename. - -Vous pouvez consulter son profil sur $url. - -Merci de vous connecter à votre site pour approuver ou ignorer/annuler cette demande. - -$siteurl - -Cordialement, - - l'administrateur de $sitename diff --git a/view/fr/smarty3/follow_notify_eml.tpl b/view/fr/smarty3/follow_notify_eml.tpl deleted file mode 100644 index b96ef04fe4..0000000000 --- a/view/fr/smarty3/follow_notify_eml.tpl +++ /dev/null @@ -1,15 +0,0 @@ - - -Cher(e) {{$myname}}, - -Une nouvelle personne - {{$requestor}} - vous suit désormais sur {{$sitename}}. - -Vous pouvez consulter son profil sur {{$url}}. - -Merci de vous connecter à votre site pour approuver ou ignorer/annuler cette demande. - -{{$siteurl}} - -Cordialement, - - l'administrateur de {{$sitename}} diff --git a/view/is/follow_notify_eml.tpl b/view/is/follow_notify_eml.tpl deleted file mode 100644 index d31e37bcad..0000000000 --- a/view/is/follow_notify_eml.tpl +++ /dev/null @@ -1,14 +0,0 @@ - -Góðan daginn $[myname], - -Þú hefur nýjan aðdáanda frá $[sitename] - '$[requestor]'. - -Þú getur heimsótt þeirra heimasvæði á $[url]. - -Vinsamlegast innskráðu þig til að samþykkja eða hunsa/hætta við beiðni. - -$[siteurl] - -Bestu kveðjur, - - Kerfisstjóri $[sitename] \ No newline at end of file diff --git a/view/is/smarty3/follow_notify_eml.tpl b/view/is/smarty3/follow_notify_eml.tpl deleted file mode 100644 index fcc0cf875f..0000000000 --- a/view/is/smarty3/follow_notify_eml.tpl +++ /dev/null @@ -1,15 +0,0 @@ - - -Góðan daginn {{$myname}}, - -Þú hefur nýjan aðdáanda frá {{$sitename}} - '{{$requestor}}'. - -Þú getur heimsótt þeirra heimasvæði á {{$url}}. - -Vinsamlegast innskráðu þig til að samþykkja eða hunsa/hætta við beiðni. - -{{$siteurl}} - -Bestu kveðjur, - - Kerfisstjóri {{$sitename}} \ No newline at end of file diff --git a/view/it/smarty3/follow_notify_eml.tpl b/view/it/smarty3/follow_notify_eml.tpl deleted file mode 100644 index 0bfc375520..0000000000 --- a/view/it/smarty3/follow_notify_eml.tpl +++ /dev/null @@ -1,14 +0,0 @@ - -Ciao {{$myname}}, - -Un nuovo utente ha iniziato a seguirti su {{$sitename}} - '{{$requestor}}'. - -Puoi vedere il suo profilo su {{$url}}. - -Accedi sul tuo sito per approvare o ignorare la richiesta. - -{{$siteurl}} - -Saluti, - - L'amministratore di {{$sitename}} \ No newline at end of file diff --git a/view/nb-no/follow_notify_eml.tpl b/view/nb-no/follow_notify_eml.tpl deleted file mode 100644 index 73a347027a..0000000000 --- a/view/nb-no/follow_notify_eml.tpl +++ /dev/null @@ -1,14 +0,0 @@ - -Kjære $[myname], - -Du har en ny følgesvenn på $[sitename] - '$[requestor]'. - -Du kan besøke profilen deres på $[url]. - -Vennligst logg inn på ditt sted for å godkjenne eller ignorere/avbryte forespørselen. - -$[siteurl] - -Med vennlig hilsen, - - $[sitename] administrator \ No newline at end of file diff --git a/view/nb-no/smarty3/follow_notify_eml.tpl b/view/nb-no/smarty3/follow_notify_eml.tpl deleted file mode 100644 index 4811e053b9..0000000000 --- a/view/nb-no/smarty3/follow_notify_eml.tpl +++ /dev/null @@ -1,15 +0,0 @@ - - -Kjære {{$myname}}, - -Du har en ny følgesvenn på {{$sitename}} - '{{$requestor}}'. - -Du kan besøke profilen deres på {{$url}}. - -Vennligst logg inn på ditt sted for å godkjenne eller ignorere/avbryte forespørselen. - -{{$siteurl}} - -Med vennlig hilsen, - - {{$sitename}} administrator \ No newline at end of file diff --git a/view/nl/follow_notify_eml.tpl b/view/nl/follow_notify_eml.tpl deleted file mode 100644 index 6e796521df..0000000000 --- a/view/nl/follow_notify_eml.tpl +++ /dev/null @@ -1,14 +0,0 @@ - -Beste $[myname] - -U heeft een nieuw contact op $[sitename] - '$[requestor]'. - -U kunt het profiel bezoeken op $[url] - -U moet op uw Friendica-site inloggen om het verzoek goed te keuren, te negeren of the annuleren. - -$[siteurl] - -Vriendelijke groet, - - Beheerder $[sitename] \ No newline at end of file diff --git a/view/pl/follow_notify_eml.tpl b/view/pl/follow_notify_eml.tpl deleted file mode 100644 index de3675419b..0000000000 --- a/view/pl/follow_notify_eml.tpl +++ /dev/null @@ -1,14 +0,0 @@ - -Drogi $[myname], - -Masz nowego obserwującego na $[sitename] - '$[requestor]'. - -Możesz odwiedzić jego profil na $[url]. - -Zaloguj się na swoją stronę by potwierdzić lub zignorować/anulować prośbę. - -$[siteurl] - -Pozdrawiam, - - $[sitename] Administrator \ No newline at end of file diff --git a/view/pl/smarty3/follow_notify_eml.tpl b/view/pl/smarty3/follow_notify_eml.tpl deleted file mode 100644 index 934255fd36..0000000000 --- a/view/pl/smarty3/follow_notify_eml.tpl +++ /dev/null @@ -1,15 +0,0 @@ - - -Drogi {{$myname}}, - -Masz nowego obserwującego na {{$sitename}} - '{{$requestor}}'. - -Możesz odwiedzić jego profil na {{$url}}. - -Zaloguj się na swoją stronę by potwierdzić lub zignorować/anulować prośbę. - -{{$siteurl}} - -Pozdrawiam, - - {{$sitename}} Administrator \ No newline at end of file diff --git a/view/ro/smarty3/follow_notify_eml.tpl b/view/ro/smarty3/follow_notify_eml.tpl deleted file mode 100644 index 9755732b64..0000000000 --- a/view/ro/smarty3/follow_notify_eml.tpl +++ /dev/null @@ -1,14 +0,0 @@ - -Dragă $[myname], - -Aveţi un nou urmăritoe la $[sitename] - '$[requestor]'. - -Puteţi vizita profilul lor la $[url]. - -Vă rugăm să vă logaţi pe site-ul dvs. pentru a aproba sau ignora / anula cererea. - -$[siteurl] - -Cu respect, - - $[sitename] administrator \ No newline at end of file diff --git a/view/sv/follow_notify_eml.tpl b/view/sv/follow_notify_eml.tpl deleted file mode 100644 index 41cd34831d..0000000000 --- a/view/sv/follow_notify_eml.tpl +++ /dev/null @@ -1,12 +0,0 @@ -$myname, - -'$requestor' på $sitename vill följa dina uppdateringar här på Friendica. - -Besök dennes profil på $url. - -Logga in för att godkänna eller avslå förfrågan. - -$siteurl - -Hälsningar, -$sitename admin diff --git a/view/sv/smarty3/follow_notify_eml.tpl b/view/sv/smarty3/follow_notify_eml.tpl deleted file mode 100644 index 356e0a8e19..0000000000 --- a/view/sv/smarty3/follow_notify_eml.tpl +++ /dev/null @@ -1,13 +0,0 @@ - -{{$myname}}, - -'{{$requestor}}' på {{$sitename}} vill följa dina uppdateringar här på Friendica. - -Besök dennes profil på {{$url}}. - -Logga in för att godkänna eller avslå förfrågan. - -{{$siteurl}} - -Hälsningar, -{{$sitename}} admin diff --git a/view/zh-cn/follow_notify_eml.tpl b/view/zh-cn/follow_notify_eml.tpl deleted file mode 100644 index 48f75f3db5..0000000000 --- a/view/zh-cn/follow_notify_eml.tpl +++ /dev/null @@ -1,14 +0,0 @@ - -尊敬的$[myname], - -您有新关注的在$[sitename]-「$[requestor]」。 - -您能看他的简介在$[url]。 - -请再您的网页登记为确认或取消要求。 - -$[siteurl] - -谨上, - - $[sitename]行政人员 \ No newline at end of file diff --git a/view/zh-cn/smarty3/follow_notify_eml.tpl b/view/zh-cn/smarty3/follow_notify_eml.tpl deleted file mode 100644 index b0ee01833d..0000000000 --- a/view/zh-cn/smarty3/follow_notify_eml.tpl +++ /dev/null @@ -1,15 +0,0 @@ - - -尊敬的{{$myname}}, - -您有新关注的在{{$sitename}}-「{{$requestor}}」。 - -您能看他的简介在{{$url}}。 - -请再您的网页登记为确认或取消要求。 - -{{$siteurl}} - -谨上, - - {{$sitename}}行政人员 \ No newline at end of file From d85bdd8fb0253e7ee6c99901246eb934aed101c6 Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Sun, 7 Sep 2014 10:27:39 +0200 Subject: [PATCH 05/26] lost password verification mail via notification() --- include/enotify.php | 31 ++++++++++++---- mod/lostpass.php | 55 +++++++++++++++++++++-------- view/ca/lostpass_eml.tpl | 35 ------------------ view/ca/smarty3/lostpass_eml.tpl | 36 ------------------- view/cs/lostpass_eml.tpl | 23 ------------ view/cs/smarty3/lostpass_eml.tpl | 24 ------------- view/de/lostpass_eml.tpl | 32 ----------------- view/de/smarty3/lostpass_eml.tpl | 33 ----------------- view/en/lostpass_eml.tpl | 32 ----------------- view/en/smarty3/lostpass_eml.tpl | 33 ----------------- view/eo/lostpass_eml.tpl | 32 ----------------- view/eo/smarty3/lostpass_eml.tpl | 33 ----------------- view/es/lostpass_eml.tpl | 34 ------------------ view/es/smarty3/lostpass_eml.tpl | 35 ------------------ view/fr/lostpass_eml.tpl | 34 ------------------ view/fr/smarty3/lostpass_eml.tpl | 35 ------------------ view/is/lostpass_eml.tpl | 32 ----------------- view/is/smarty3/lostpass_eml.tpl | 33 ----------------- view/it/smarty3/lostpass_eml.tpl | 32 ----------------- view/nb-no/lostpass_eml.tpl | 32 ----------------- view/nb-no/smarty3/lostpass_eml.tpl | 33 ----------------- view/nl/lostpass_eml.tpl | 32 ----------------- view/pl/lostpass_eml.tpl | 32 ----------------- view/pl/smarty3/lostpass_eml.tpl | 33 ----------------- view/ro/smarty3/lostpass_eml.tpl | 32 ----------------- view/sv/lostpass_eml.tpl | 29 --------------- view/sv/smarty3/lostpass_eml.tpl | 30 ---------------- view/zh-cn/lostpass_eml.tpl | 32 ----------------- view/zh-cn/smarty3/lostpass_eml.tpl | 33 ----------------- 29 files changed, 65 insertions(+), 887 deletions(-) delete mode 100644 view/ca/lostpass_eml.tpl delete mode 100644 view/ca/smarty3/lostpass_eml.tpl delete mode 100644 view/cs/lostpass_eml.tpl delete mode 100644 view/cs/smarty3/lostpass_eml.tpl delete mode 100644 view/de/lostpass_eml.tpl delete mode 100644 view/de/smarty3/lostpass_eml.tpl delete mode 100644 view/en/lostpass_eml.tpl delete mode 100644 view/en/smarty3/lostpass_eml.tpl delete mode 100644 view/eo/lostpass_eml.tpl delete mode 100644 view/eo/smarty3/lostpass_eml.tpl delete mode 100644 view/es/lostpass_eml.tpl delete mode 100644 view/es/smarty3/lostpass_eml.tpl delete mode 100644 view/fr/lostpass_eml.tpl delete mode 100644 view/fr/smarty3/lostpass_eml.tpl delete mode 100644 view/is/lostpass_eml.tpl delete mode 100644 view/is/smarty3/lostpass_eml.tpl delete mode 100644 view/it/smarty3/lostpass_eml.tpl delete mode 100644 view/nb-no/lostpass_eml.tpl delete mode 100644 view/nb-no/smarty3/lostpass_eml.tpl delete mode 100644 view/nl/lostpass_eml.tpl delete mode 100644 view/pl/lostpass_eml.tpl delete mode 100644 view/pl/smarty3/lostpass_eml.tpl delete mode 100644 view/ro/smarty3/lostpass_eml.tpl delete mode 100644 view/sv/lostpass_eml.tpl delete mode 100644 view/sv/smarty3/lostpass_eml.tpl delete mode 100644 view/zh-cn/lostpass_eml.tpl delete mode 100644 view/zh-cn/smarty3/lostpass_eml.tpl diff --git a/include/enotify.php b/include/enotify.php index 7421344494..631cb8aed0 100644 --- a/include/enotify.php +++ b/include/enotify.php @@ -250,6 +250,7 @@ function notification($params) { $sitename); break; default: + // ACTIVITY_REQ_FRIEND is default activity for notifications break; } @@ -307,14 +308,28 @@ function notification($params) { } if($params['type'] == NOTIFY_SYSTEM) { + //I have yet to find what system notificatons are... + } + + if ($params['type'] == "SYSTEM_EMAIL"){ + // not part of the notifications. + // it just send a mail to the user. + // It will be used by the system to send emails to users (like + // password reset, invitations and so) using one look (but without + // add a notification to the user, with could be inexistent) $subject = $params['subject']; $preamble = $params['preamble']; - $epreamble = $params['epreamble']; + if (x($params,'epreamble')){ + $epreamble = $params['epreamble']; + } else { + $epreamble = str_replace("\n","
\n",$preamble); + } $body = $params['body']; $sitelink = ""; $tsitelink = ""; $hsitelink = ""; $itemlink = ""; + $show_in_notification_page = false; } @@ -343,8 +358,8 @@ function notification($params) { $itemlink = $h['itemlink']; - if ($show_in_notification_page) { + if ($show_in_notification_page) { do { $dups = false; $hash = random_string(); @@ -441,9 +456,11 @@ function notification($params) { } // send email notification if notification preferences permit - if((intval($params['notify_flags']) & intval($params['type'])) || $params['type'] == NOTIFY_SYSTEM) { + if((intval($params['notify_flags']) & intval($params['type'])) + || $params['type'] == NOTIFY_SYSTEM + || $params['type'] == "SYSTEM_EMAIL") { - logger('notification: sending notification email'); + logger('sending notification email'); if (isset($params['parent']) AND (intval($params['parent']) != 0)) { $id_for_parent = $params['parent']."@".$hostname; @@ -477,11 +494,13 @@ function notification($params) { } - $textversion = strip_tags(html_entity_decode(bbcode(stripslashes(str_replace(array("\\r\\n", "\\r", "\\n"), "\n", - $body))),ENT_QUOTES,'UTF-8')); + // textversion keeps linebreaks + $textversion = strip_tags(str_replace("
","\n",html_entity_decode(bbcode(stripslashes(str_replace(array("\\r\\n", "\\r", "\\n"), "\n", + $body))),ENT_QUOTES,'UTF-8'))); $htmlversion = html_entity_decode(bbcode(stripslashes(str_replace(array("\\r\\n", "\\r","\\n\\n" ,"\\n"), "
\n",$body))),ENT_QUOTES,'UTF-8'); + $datarray = array(); $datarray['banner'] = $banner; $datarray['product'] = $product; diff --git a/mod/lostpass.php b/mod/lostpass.php index 1751c2a7ea..290ebb1b40 100644 --- a/mod/lostpass.php +++ b/mod/lostpass.php @@ -1,6 +1,7 @@ $a->config['sitename'], - '$siteurl' => $a->get_baseurl(), - '$username' => $username, - '$email' => $email, - '$reset_link' => $a->get_baseurl() . '/lostpass?verify=' . $new_password - )); - $res = mail($email, email_header_encode(sprintf( t('Password reset requested at %s'),$a->config['sitename']),'UTF-8'), - $email_tpl, - 'From: ' . 'Administrator' . '@' . $_SERVER['SERVER_NAME'] . "\n" - . 'Content-type: text/plain; charset=UTF-8' . "\n" - . 'Content-transfer-encoding: 8bit' ); + $sitename = $a->config['sitename']; + $siteurl = $a->get_baseurl(); + $resetlink = $a->get_baseurl() . '/lostpass?verify=' . $new_password; + + $preamble = t('Dear %1$s, + A request was recently received at "%2$s" to reset your account +password. In order to confirm this request, please select the verification link +below or paste it into your web browser address bar. + +If you did NOT request this change, please DO NOT follow the link +provided and ignore and/or delete this email. + +Your password will not be changed unless we can verify that you +issued this request.'); + $body = t('Follow this link to verify your identity: + +%1$s + +You will then receive a follow-up message containing the new password. + +You may change that password from your account settings page after logging in. + +The login details are as follows: + +Site Location: %2$s +Login Name: %3$s'); + + $preamble = sprintf($preamble, $username, $sitename); + $body = sprintf($body, $resetlink, $siteurl, $email); + + notification(array( + 'type' => "SYSTEM_EMAIL", + 'to_email' => $email, + 'subject'=> sprintf( t('Password reset requested at %s'),$sitename), + 'preamble'=> $preamble, + 'body' => $body)); goaway(z_root()); + } @@ -113,7 +138,7 @@ function lostpass_content(&$a) { return $o; } - + } else { $tpl = get_markup_template('lostpass.tpl'); @@ -122,7 +147,7 @@ function lostpass_content(&$a) { '$title' => t('Forgot your Password?'), '$desc' => t('Enter your email address and submit to have your password reset. Then check your email for further instructions.'), '$name' => t('Nickname or Email: '), - '$submit' => t('Reset') + '$submit' => t('Reset') )); return $o; diff --git a/view/ca/lostpass_eml.tpl b/view/ca/lostpass_eml.tpl deleted file mode 100644 index eccf2050a5..0000000000 --- a/view/ca/lostpass_eml.tpl +++ /dev/null @@ -1,35 +0,0 @@ - -Apreciat/da $username, - - S'ha rebut una sol·licitud en $sitename recentment per restablir -la teva contrasenya. Per confirmar aquesta sol·licitud, per favor seleccioni l'enllaç de -verificació sota o copia-ho i pega-ho en la barra d'adreces del teu navegador. - -Si NO has sol·licitat aquest canvi, per favor NO segueixis l'enllaç indicat i ignora -i/o elimina aquest missatge. - -La teva contrasenya no es canviarà tret que puguem verificar que ets la teva qui -va emetre aquesta sol·licitud. - -Segueix aquest enllaç per verificar la teva identitat: - -$reset_link - -A continuació rebràs un missatge amb la nova contrasenya. - -Després de accedir, podràs canviar la contrasenya del teu compte a la pàgina de -configuració. - -Les dades d'accés són els següents: - - -Lloc: $siteurl -Nom: $email - - - - -Salutacions, - L'administració de $sitename - - diff --git a/view/ca/smarty3/lostpass_eml.tpl b/view/ca/smarty3/lostpass_eml.tpl deleted file mode 100644 index da0aff10ea..0000000000 --- a/view/ca/smarty3/lostpass_eml.tpl +++ /dev/null @@ -1,36 +0,0 @@ - - -Apreciat/da {{$username}}, - - S'ha rebut una sol·licitud en {{$sitename}} recentment per restablir -la teva contrasenya. Per confirmar aquesta sol·licitud, per favor seleccioni l'enllaç de -verificació sota o copia-ho i pega-ho en la barra d'adreces del teu navegador. - -Si NO has sol·licitat aquest canvi, per favor NO segueixis l'enllaç indicat i ignora -i/o elimina aquest missatge. - -La teva contrasenya no es canviarà tret que puguem verificar que ets la teva qui -va emetre aquesta sol·licitud. - -Segueix aquest enllaç per verificar la teva identitat: - -{{$reset_link}} - -A continuació rebràs un missatge amb la nova contrasenya. - -Després de accedir, podràs canviar la contrasenya del teu compte a la pàgina de -configuració. - -Les dades d'accés són els següents: - - -Lloc: {{$siteurl}} -Nom: {{$email}} - - - - -Salutacions, - L'administració de {{$sitename}} - - diff --git a/view/cs/lostpass_eml.tpl b/view/cs/lostpass_eml.tpl deleted file mode 100644 index 05042ddce0..0000000000 --- a/view/cs/lostpass_eml.tpl +++ /dev/null @@ -1,23 +0,0 @@ - -Milý/Milá $username, - Na webu $sitename byl zaregistrován požadavek na znovunastavení hesla k Vašemu účtu. Pro potvrzení této žádosti prosím klikněte na potvrzovací odkaz níže, nebo si tento odkaz zkopírujte do adresního řádku prohlížeče. -Pokud jste o znovunastavení hesla NEŽÁDALI, prosím NEKLIKEJTE na tento odkaz a ignorujte tento e-mail nebo ho rovnou smažte. - -Vaše heslo nebude změněno, dokud nebudeme mít potvrzení, že jste o tento požadavek zažádali právě Vy. - -Klikněte na tento odkaz pro prověření Vaší identity: - -$reset_link - -Poté obdržíte další zprávu obsahující nové heslo. - -Následně si toto heslo můžete změnit z vašeho účtu na stránce Nastavení. - -Přihlašovací údaje jsou tato: - -Adresa webu: $siteurl -Přihlašovací jméno: $email - -S pozdravem, - - $sitename administrátor diff --git a/view/cs/smarty3/lostpass_eml.tpl b/view/cs/smarty3/lostpass_eml.tpl deleted file mode 100644 index 96ce6cc723..0000000000 --- a/view/cs/smarty3/lostpass_eml.tpl +++ /dev/null @@ -1,24 +0,0 @@ - - -Milý/Milá {{$username}}, - Na webu {{$sitename}} byl zaregistrován požadavek na znovunastavení hesla k Vašemu účtu. Pro potvrzení této žádosti prosím klikněte na potvrzovací odkaz níže, nebo si tento odkaz zkopírujte do adresního řádku prohlížeče. -Pokud jste o znovunastavení hesla NEŽÁDALI, prosím NEKLIKEJTE na tento odkaz a ignorujte tento e-mail nebo ho rovnou smažte. - -Vaše heslo nebude změněno, dokud nebudeme mít potvrzení, že jste o tento požadavek zažádali právě Vy. - -Klikněte na tento odkaz pro prověření Vaší identity: - -{{$reset_link}} - -Poté obdržíte další zprávu obsahující nové heslo. - -Následně si toto heslo můžete změnit z vašeho účtu na stránce Nastavení. - -Přihlašovací údaje jsou tato: - -Adresa webu: {{$siteurl}} -Přihlašovací jméno: {{$email}} - -S pozdravem, - - {{$sitename}} administrátor diff --git a/view/de/lostpass_eml.tpl b/view/de/lostpass_eml.tpl deleted file mode 100644 index af91a0d467..0000000000 --- a/view/de/lostpass_eml.tpl +++ /dev/null @@ -1,32 +0,0 @@ - -Hallo $[username], - Auf $[sitename] wurde eine Anfrage zum Zurücksetzen deines -Passworts empfangen. Um diese zu bestätigen folge bitte dem Link -weiter unten oder kopiere ihn in die Adressleiste deines Browsers. - -Wenn du die Anfrage NICHT gesendet haben solltest, dann IGNORIERE -bitte diese E-Mail und den Link. - -Dein Passwort wird nicht geändert solange wir nicht überprüfen -konnten, dass du die Anfrage gestellt hast. - -Folge diesem Link um deine Identität zu verifizieren: - -$[reset_link] - -Du wirst eine weitere E-Mail erhalten mit dem neuen Passwort. - -Das Passwort kannst du anschließend wie gewohnt in deinen Account Einstellungen ändern. - -Die Login-Details sind die folgenden: - -Adresse der Seite:»$[siteurl] -Login Name:»$[email] - - - - -Grüße, - $[sitename] Administrator - - \ No newline at end of file diff --git a/view/de/smarty3/lostpass_eml.tpl b/view/de/smarty3/lostpass_eml.tpl deleted file mode 100644 index 709f8f772a..0000000000 --- a/view/de/smarty3/lostpass_eml.tpl +++ /dev/null @@ -1,33 +0,0 @@ - - -Hallo {{$username}}, - Auf {{$sitename}} wurde eine Anfrage zum Zurücksetzen deines -Passworts empfangen. Um diese zu bestätigen folge bitte dem Link -weiter unten oder kopiere ihn in die Adressleiste deines Browsers. - -Wenn du die Anfrage NICHT gesendet haben solltest, dann IGNORIERE -bitte diese Mail und den Link. - -Dein Passwort wird nicht geändert werden solange wir nicht überprüfen -konnten, dass du die Anfrage gestellt hast. - -Folge diesem Link um deine Identität zu verifizieren: - -{{$reset_link}} - -Du wirst eine weitere Email erhalten mit dem neuen Passwort. - -Das Passwort kannst du anschließend wie gewohnt in deinen Account Einstellungen ändern. - -Die Login-Details sind die folgenden: - -Adresse der Seite: {{$siteurl}} -Login Name: {{$email}} - - - - -Grüße, - {{$sitename}} Administrator - - \ No newline at end of file diff --git a/view/en/lostpass_eml.tpl b/view/en/lostpass_eml.tpl deleted file mode 100644 index 1330caa122..0000000000 --- a/view/en/lostpass_eml.tpl +++ /dev/null @@ -1,32 +0,0 @@ - -Dear $[username], - A request was recently received at $[sitename] to reset your account -password. In order to confirm this request, please select the verification link -below or paste it into your web browser address bar. - -If you did NOT request this change, please DO NOT follow the link -provided and ignore and/or delete this email. - -Your password will not be changed unless we can verify that you -issued this request. - -Follow this link to verify your identity: - -$[reset_link] - -You will then receive a follow-up message containing the new password. - -You may change that password from your account settings page after logging in. - -The login details are as follows: - -Site Location: $[siteurl] -Login Name: $[email] - - - - -Sincerely, - $[sitename] Administrator - - diff --git a/view/en/smarty3/lostpass_eml.tpl b/view/en/smarty3/lostpass_eml.tpl deleted file mode 100644 index 775583ac80..0000000000 --- a/view/en/smarty3/lostpass_eml.tpl +++ /dev/null @@ -1,33 +0,0 @@ - - -Dear {{$username}}, - A request was recently received at {{$sitename}} to reset your account -password. In order to confirm this request, please select the verification link -below or paste it into your web browser address bar. - -If you did NOT request this change, please DO NOT follow the link -provided and ignore and/or delete this email. - -Your password will not be changed unless we can verify that you -issued this request. - -Follow this link to verify your identity: - -{{$reset_link}} - -You will then receive a follow-up message containing the new password. - -You may change that password from your account settings page after logging in. - -The login details are as follows: - -Site Location: {{$siteurl}} -Login Name: {{$email}} - - - - -Sincerely, - {{$sitename}} Administrator - - diff --git a/view/eo/lostpass_eml.tpl b/view/eo/lostpass_eml.tpl deleted file mode 100644 index 26d1a3c23a..0000000000 --- a/view/eo/lostpass_eml.tpl +++ /dev/null @@ -1,32 +0,0 @@ - -Kara $[username], - $[sitename] ricevis peton por rekomencigi vian pasvorton. -Por konfirmi la peton, bonvolu klaki la sekvantan konfirmligilon -aŭ alglui ĝin en la adreskampo de via retumilo. - -Se vi NE petis tiun ŝanĝon, bonvolu NE KLAKU la -sekvantan ligilon kaj ignoru aŭ forvisu ĉi-mesaĝon. - -Ni ne ŝanĝu vian pasvorton se ni ne povas kontroli ĉu estas vi -kiu petis la ŝanĝon. - -Sekvu ĉi tion ligilon por konfirmi vian identecon: - -$[reset_link] - -Poste, vi ricevos mesaĝon enhavonte la novan pasvorton. - -Vi eblas ŝangi la pasvorton ĉe viaj kontdoagordoj paĝo post ensaluti. - -La akreditaĵoj estas: - -Retejo:»$[siteurl] -Salutnomo:»$[email] - - - - -Salutoj, - $[sitename] administranto - - \ No newline at end of file diff --git a/view/eo/smarty3/lostpass_eml.tpl b/view/eo/smarty3/lostpass_eml.tpl deleted file mode 100644 index fe36cad03a..0000000000 --- a/view/eo/smarty3/lostpass_eml.tpl +++ /dev/null @@ -1,33 +0,0 @@ - - -Kara {{$username}}, - {{$sitename}} ricevis peton por rekomencigi vian pasvorton. -Por konfirmi la peton, bonvolu klaki la sekvantan konfirmligilon -aŭ alglui ĝin en la adreskampo de via retumilo. - -Se vi NE petis tiun ŝanĝon, bonvolu NE KLAKU la -sekvantan ligilon kaj ignoru aŭ forvisu ĉi-mesaĝon. - -Ni ne ŝanĝu vian pasvorton se ni ne povas kontroli ĉu estas vi -kiu petis la ŝanĝon. - -Sekvu ĉi tion ligilon por konfirmi vian identecon: - -{{$reset_link}} - -Poste, vi ricevos mesaĝon enhavonte la novan pasvorton. - -Vi eblas ŝangi la pasvorton ĉe viaj kontdoagordoj paĝo post ensaluti. - -La akreditaĵoj estas: - -Retejo:»{{$siteurl}} -Salutnomo:»{{$email}} - - - - -Salutoj, - {{$sitename}} administranto - - \ No newline at end of file diff --git a/view/es/lostpass_eml.tpl b/view/es/lostpass_eml.tpl deleted file mode 100644 index 607744bfe7..0000000000 --- a/view/es/lostpass_eml.tpl +++ /dev/null @@ -1,34 +0,0 @@ - -Estimado/a $username, - - Se ha recibido una solicitud en $sitename recientemente para restablecer -tu contraseña. Para confirmar esta solicitud, por favor seleccione el enlace de -verificación debajo o cópialo y pégalo en la barra de direcciones de tu navegador. - -Se NO has solicitado este cambio, por favor NO sigas el enlace indicado e ignora -y/o elimina este mensaje. - -Tu contraseña no se cambiará a menos que podamos verificar que eres tu quien -emitió esta solicitud. - -Sigue este enlace para verificar tu identidad: - -$reset_link - -A continuación recibirás un mensaje con la nueva contraseña. - -Despues de accceder, podrás cambiar la contraseña de tu cuenta en la página de -configuración. - -Los datos de acceso son los siguientes: - -Sitio: $siteurl -Nombre: $email - - - - -Saludos, - La administración de $sitename - - diff --git a/view/es/smarty3/lostpass_eml.tpl b/view/es/smarty3/lostpass_eml.tpl deleted file mode 100644 index 61c35c68d3..0000000000 --- a/view/es/smarty3/lostpass_eml.tpl +++ /dev/null @@ -1,35 +0,0 @@ - - -Estimado/a {{$username}}, - - Se ha recibido una solicitud en {{$sitename}} recientemente para restablecer -tu contraseña. Para confirmar esta solicitud, por favor seleccione el enlace de -verificación debajo o cópialo y pégalo en la barra de direcciones de tu navegador. - -Se NO has solicitado este cambio, por favor NO sigas el enlace indicado e ignora -y/o elimina este mensaje. - -Tu contraseña no se cambiará a menos que podamos verificar que eres tu quien -emitió esta solicitud. - -Sigue este enlace para verificar tu identidad: - -{{$reset_link}} - -A continuación recibirás un mensaje con la nueva contraseña. - -Despues de accceder, podrás cambiar la contraseña de tu cuenta en la página de -configuración. - -Los datos de acceso son los siguientes: - -Sitio: {{$siteurl}} -Nombre: {{$email}} - - - - -Saludos, - La administración de {{$sitename}} - - diff --git a/view/fr/lostpass_eml.tpl b/view/fr/lostpass_eml.tpl deleted file mode 100644 index 96c11d723b..0000000000 --- a/view/fr/lostpass_eml.tpl +++ /dev/null @@ -1,34 +0,0 @@ - -Cher(e) $username, - - Nous avons récemment reçu, chez $sitename, une demande de remise -à zéro du mot de passe protégeant votre compte. Pour confirmer cette -demande, merci de cliquer sur le lien de vérification suivant, ou de le -coller dans la barre d'adresse de votre navigateur web. - -Si vous n'êtes PAS à l'origine de cette demande, merci de NE PAS suivre -le lien en question, et d'ignorer/supprimer ce courriel. - -Votre mot de passe ne sera réinitialisé qu'une fois que nous aurons pu -nous assurer que vous êtes bien à l'origine de cette demande. - -Merci de suivre le lien suivant pour confirmer votre identité : - -$reset_link - -Vous recevrez en retour un message avec votre nouveau mot de passe. - -Vous pourrez ensuite changer ce mot de passe, après connexion, dans la -page des réglages du compte. - -Les informations du compte concerné sont : - -Site : $siteurl -Pseudo/Courriel : $email - - - -Sincèrement votre, - l'administrateur de $sitename - - diff --git a/view/fr/smarty3/lostpass_eml.tpl b/view/fr/smarty3/lostpass_eml.tpl deleted file mode 100644 index 301c45fe68..0000000000 --- a/view/fr/smarty3/lostpass_eml.tpl +++ /dev/null @@ -1,35 +0,0 @@ - - -Cher(e) {{$username}}, - - Nous avons récemment reçu, chez {{$sitename}}, une demande de remise -à zéro du mot de passe protégeant votre compte. Pour confirmer cette -demande, merci de cliquer sur le lien de vérification suivant, ou de le -coller dans la barre d'adresse de votre navigateur web. - -Si vous n'êtes PAS à l'origine de cette demande, merci de NE PAS suivre -le lien en question, et d'ignorer/supprimer ce courriel. - -Votre mot de passe ne sera réinitialisé qu'une fois que nous aurons pu -nous assurer que vous êtes bien à l'origine de cette demande. - -Merci de suivre le lien suivant pour confirmer votre identité : - -{{$reset_link}} - -Vous recevrez en retour un message avec votre nouveau mot de passe. - -Vous pourrez ensuite changer ce mot de passe, après connexion, dans la -page des réglages du compte. - -Les informations du compte concerné sont : - -Site : {{$siteurl}} -Pseudo/Courriel : {{$email}} - - - -Sincèrement votre, - l'administrateur de {{$sitename}} - - diff --git a/view/is/lostpass_eml.tpl b/view/is/lostpass_eml.tpl deleted file mode 100644 index 053612adb6..0000000000 --- a/view/is/lostpass_eml.tpl +++ /dev/null @@ -1,32 +0,0 @@ - -Góðan dag $[username], - Beiðni barst á $[sitename] um að endursetja -aðgangsorðið. Til að staðfesta þessa beiði, veldu slóðina -hér fyrir neðan og settu í slóðastiku vafra. - -Ef þú samþykkir ekki þessa breytingu, EKKI fara á slóðina -sem upp er gefinn heldur hunsaðu og/eða eyddu þessum tölvupósti. - -Aðgangsorðið verður ekki breytt nama við getum staðfest að þú -baðst um þessa breytingu. - -Farðu á slóðina til að staðfesta: - -$[reset_link] - -Þú munnt fá annan tölvupóst með nýja aðgangsorðinu. - -Þú getur síðan breytt því aðgangsorði í stillingar síðunni eftir að þú innskráir þig. - -Innskráningar upplýsingarnar eru eftirfarandi: - -Vefþjónn: $[siteurl] -Notendanafn: $[email] - - - - -Bestu kveðjur, - Kerfisstjóri $[sitename] - - \ No newline at end of file diff --git a/view/is/smarty3/lostpass_eml.tpl b/view/is/smarty3/lostpass_eml.tpl deleted file mode 100644 index 2ff6812ae4..0000000000 --- a/view/is/smarty3/lostpass_eml.tpl +++ /dev/null @@ -1,33 +0,0 @@ - - -Góðan dag {{$username}}, - Beiðni barst á {{$sitename}} um að endursetja -aðgangsorðið. Til að staðfesta þessa beiði, veldu slóðina -hér fyrir neðan og settu í slóðastiku vafra. - -Ef þú samþykkir ekki þessa breytingu, EKKI fara á slóðina -sem upp er gefinn heldur hunsaðu og/eða eyddu þessum tölvupósti. - -Aðgangsorðið verður ekki breytt nama við getum staðfest að þú -baðst um þessa breytingu. - -Farðu á slóðina til að staðfesta: - -{{$reset_link}} - -Þú munnt fá annan tölvupóst með nýja aðgangsorðinu. - -Þú getur síðan breytt því aðgangsorði í stillingar síðunni eftir að þú innskráir þig. - -Innskráningar upplýsingarnar eru eftirfarandi: - -Vefþjónn: {{$siteurl}} -Notendanafn: {{$email}} - - - - -Bestu kveðjur, - Kerfisstjóri {{$sitename}} - - \ No newline at end of file diff --git a/view/it/smarty3/lostpass_eml.tpl b/view/it/smarty3/lostpass_eml.tpl deleted file mode 100644 index 3601f18a7f..0000000000 --- a/view/it/smarty3/lostpass_eml.tpl +++ /dev/null @@ -1,32 +0,0 @@ - -Ciao {{$username}}, - Su {{$sitename}} è stata ricevuta una richiesta di azzeramento della password del tuo account. -Per confermare la richiesta, clicca sul link di verifica -qui in fondo oppure copialo nella barra degli indirizzi del tuo browser. - -Se NON hai richiesto l'azzeramento, NON seguire il link -e ignora e/o cancella questa email. - -La tua password non sarà modificata finché non avremo verificato che -hai fatto questa richiesta. - -Per verificare la tua identità clicca su: - -{{$reset_link}} - -Dopo la verifica riceverai un messaggio di risposta con la nuova password. - -Potrai cambiare la password dalla pagina delle impostazioni dopo aver effettuato l'accesso. - -I dati di accesso sono i seguenti: - -Sito:»{{$siteurl}} -Nome utente:»{{$email}} - - - - -Saluti, - l'amministratore di {{$sitename}} - - \ No newline at end of file diff --git a/view/nb-no/lostpass_eml.tpl b/view/nb-no/lostpass_eml.tpl deleted file mode 100644 index 762c8c2e96..0000000000 --- a/view/nb-no/lostpass_eml.tpl +++ /dev/null @@ -1,32 +0,0 @@ - -Kjære $[username], - En forespørsel ble nylig mottatt hos $[sitename] om å tilbakestille din kontos -passord. For å godkjenne denne forespørselen, vennligst velg bekreftelseslenken -nedenfor eller lim den inn på adresselinjen i nettleseren din. - -Hvis du IKKE har spurt om denne endringen, vennligst IKKE følg lenken -som er oppgitt og ignorer og/eller slett denne e-posten. - -Passordet ditt vil ikke bli endret med mindre vi kan forsikre oss om at du -sendte denne forespørselen. - -Følg denne lenken for å bekrefte din identitet: - -$[reset_link] - -Du vil da motta en oppfølgings melding med det nye passordet. - -Du kan endre passordet på siden for dine kontoinnstillinger etter innlogging. - -Innloggingsdetaljene er som følger: - -Nettstedsadresse:»$[siteurl] -Brukernavn:»$[email] - - - - -Beste hilsen, - $[sitename] administrator - - \ No newline at end of file diff --git a/view/nb-no/smarty3/lostpass_eml.tpl b/view/nb-no/smarty3/lostpass_eml.tpl deleted file mode 100644 index b84b0f1d2a..0000000000 --- a/view/nb-no/smarty3/lostpass_eml.tpl +++ /dev/null @@ -1,33 +0,0 @@ - - -Kjære {{$username}}, - En forespørsel ble nylig mottatt hos {{$sitename}} om å tilbakestille din kontos -passord. For å godkjenne denne forespørselen, vennligst velg bekreftelseslenken -nedenfor eller lim den inn på adresselinjen i nettleseren din. - -Hvis du IKKE har spurt om denne endringen, vennligst IKKE følg lenken -som er oppgitt og ignorer og/eller slett denne e-posten. - -Passordet ditt vil ikke bli endret med mindre vi kan forsikre oss om at du -sendte denne forespørselen. - -Følg denne lenken for å bekrefte din identitet: - -{{$reset_link}} - -Du vil da motta en oppfølgings melding med det nye passordet. - -Du kan endre passordet på siden for dine kontoinnstillinger etter innlogging. - -Innloggingsdetaljene er som følger: - -Nettstedsadresse:»{{$siteurl}} -Brukernavn:»{{$email}} - - - - -Beste hilsen, - {{$sitename}} administrator - - \ No newline at end of file diff --git a/view/nl/lostpass_eml.tpl b/view/nl/lostpass_eml.tpl deleted file mode 100644 index dd62b4da16..0000000000 --- a/view/nl/lostpass_eml.tpl +++ /dev/null @@ -1,32 +0,0 @@ - -Beste $[username], - Een verzoek werd onlangs ontvangen van $[sitename] om uw account te herstellen -wachtwoord. Om dit te bevestigen, selecteert u de verificatie-link -hieronder of plak deze in je web browser adresbalk. - -Als je GEEN wachtwoord hebt aangevraagd gebruik deze link dan NIET -verstrekt en te negeren en / of verwijderen van deze e-mail. - -Uw wachtwoord wordt niet gewijzigd, tenzij we kunnen controleren of u -dit heeft aangevraagd - -Volg deze link om uw identiteit te verifiëren: - -$[reset_link] - -U ontvangt dan een follow-up bericht met het nieuwe wachtwoord. - -U kunt u wachtwoord wijzigen in gebruikers instellingen na het inloggen - -De login-gegevens zijn als volgt: - -site locatie:»$[siteurl] -Gebruikers naam:»$[email] - - - - -Met vriendelijke groet, - $[sitename] Administrator - - \ No newline at end of file diff --git a/view/pl/lostpass_eml.tpl b/view/pl/lostpass_eml.tpl deleted file mode 100644 index 9663bf86c4..0000000000 --- a/view/pl/lostpass_eml.tpl +++ /dev/null @@ -1,32 +0,0 @@ - -$[username], - Ze strony $[sitename] wpłynęła prośba z zresetowanie -hasła. W celu potwierdzenia kliknij w weryfikacyjny link -zamieszczony poniżej, lub wklej go do pasku adresu twojej przeglądarki. - -Jeśli uważasz, że wiadomość nie jest przeznaczona dla ciebie, nie klikaj w linka! -Zignoruj tego emaila i usuń. - -Twoje hasło nie może zostać zmienione zanim nie potwierdzimy -twojego żądania. - -Aby potwierdzić kliknik w link weryfikacyjny: - -$[reset_link] - -Otrzymasz od nas wiadomość zwrotną zawierającą nowe hasło. - -Po zalogowaniu się, będziesz miał możliwość zmiany hasła na takie jakie chcesz. - -Dane do zalogowania: - -Adres strony: $[siteurl] -Login: $[email] - - - - -Z poważaniem, - $[sitename] Administrator - - \ No newline at end of file diff --git a/view/pl/smarty3/lostpass_eml.tpl b/view/pl/smarty3/lostpass_eml.tpl deleted file mode 100644 index 87b3ad56d5..0000000000 --- a/view/pl/smarty3/lostpass_eml.tpl +++ /dev/null @@ -1,33 +0,0 @@ - - -{{$username}}, - Ze strony {{$sitename}} wpłynęła prośba z zresetowanie -hasła. W celu potwierdzenia kliknij w weryfikacyjny link -zamieszczony poniżej, lub wklej go do pasku adresu twojej przeglądarki. - -Jeśli uważasz, że wiadomość nie jest przeznaczona dla ciebie, nie klikaj w linka! -Zignoruj tego emaila i usuń. - -Twoje hasło nie może zostać zmienione zanim nie potwierdzimy -twojego żądania. - -Aby potwierdzić kliknik w link weryfikacyjny: - -{{$reset_link}} - -Otrzymasz od nas wiadomość zwrotną zawierającą nowe hasło. - -Po zalogowaniu się, będziesz miał możliwość zmiany hasła na takie jakie chcesz. - -Dane do zalogowania: - -Adres strony: {{$siteurl}} -Login: {{$email}} - - - - -Z poważaniem, - {{$sitename}} Administrator - - \ No newline at end of file diff --git a/view/ro/smarty3/lostpass_eml.tpl b/view/ro/smarty3/lostpass_eml.tpl deleted file mode 100644 index a20970cc9a..0000000000 --- a/view/ro/smarty3/lostpass_eml.tpl +++ /dev/null @@ -1,32 +0,0 @@ - -Dragă $[username], - O cerere a fost primită recent de la $ [sitename] pentru a reseta -parola contului dvs. În scopul confitmării aceastei cereri, vă rugăm să selectați link-ul de verificare -de mai jos sau inserați în bara de adrese a web browser-ului . - -Dacă nu ați solicitat această schimbare, vă rugăm să nu urmaţi link-ul -furnizat și ignoră și / sau șterge acest e-mail. - -Parola dvs nu va fi schimbată dacă nu putem verifica dacă dvs -a emis această cerere. - -Urmaţi acest link pentru a verifica identitatea dvs. : - -$[reset_link] - -Veți primi apoi un mesaj de follow-up care conține noua parolă. - -Puteți schimba această parola din pagina de setări a contului dvs. după logare - -Detaliile de login sunt următoarele ; - -Locaţie Site: »$[siteurl] -Login Name: $[email] - - - - -Cu stimă, - $[sitename] Administrator - - \ No newline at end of file diff --git a/view/sv/lostpass_eml.tpl b/view/sv/lostpass_eml.tpl deleted file mode 100644 index df338fa699..0000000000 --- a/view/sv/lostpass_eml.tpl +++ /dev/null @@ -1,29 +0,0 @@ -$username, - -En begäran om återställning av lösenord på $sitename har mottagits. -Gå till adressen nedan för att bekräfta denna begäran. Du kan också -klistra in länken i adressfältet i din webbläsare. - -Gå INTE till länken nedan om du INTE har begärt lösenordsåterställning. -Då kan du ignorera det här meddelandet. - -Ditt lösenord kommer inte att återställas om vi inte kan säkerställa att du -initierat detta. - -Med den här länken kan du bekräfta din identitet: - -$reset_link - -Sedan kommer du att få ett meddelande med ett nytt lösenord. - -Lösenordet kan sedan ändras i dina inställningar efter att du loggat in. - -Detaljerna ser ut så här: - -Webbplats: $siteurl -Inloggningsnamn: $email - -Hälsningar, -$sitename admin - - \ No newline at end of file diff --git a/view/sv/smarty3/lostpass_eml.tpl b/view/sv/smarty3/lostpass_eml.tpl deleted file mode 100644 index f8668ce4e5..0000000000 --- a/view/sv/smarty3/lostpass_eml.tpl +++ /dev/null @@ -1,30 +0,0 @@ - -{{$username}}, - -En begäran om återställning av lösenord på {{$sitename}} har mottagits. -Gå till adressen nedan för att bekräfta denna begäran. Du kan också -klistra in länken i adressfältet i din webbläsare. - -Gå INTE till länken nedan om du INTE har begärt lösenordsåterställning. -Då kan du ignorera det här meddelandet. - -Ditt lösenord kommer inte att återställas om vi inte kan säkerställa att du -initierat detta. - -Med den här länken kan du bekräfta din identitet: - -{{$reset_link}} - -Sedan kommer du att få ett meddelande med ett nytt lösenord. - -Lösenordet kan sedan ändras i dina inställningar efter att du loggat in. - -Detaljerna ser ut så här: - -Webbplats: {{$siteurl}} -Inloggningsnamn: {{$email}} - -Hälsningar, -{{$sitename}} admin - - \ No newline at end of file diff --git a/view/zh-cn/lostpass_eml.tpl b/view/zh-cn/lostpass_eml.tpl deleted file mode 100644 index 8c5ec5c7b2..0000000000 --- a/view/zh-cn/lostpass_eml.tpl +++ /dev/null @@ -1,32 +0,0 @@ - -尊敬的$[username], - $[sitename]最近收到一个要求复位您的账户 -密码。为肯定这个要求,请点击肯定按钮 -在下边或粘贴在您的游览器地址条 - -如果您没有要求这个变化,请别点击这个按努i -和不理或删除这个邮件。 - -您密码没有被变化直到我们证实您 -发送这个要求时。 - -点击这个按钮为证实您的同一个人: - -$[reset_link] - -然后您收到后续通信包括新密码。 - -您会变化密码在您的账户设置页登记后。 - -登记细节是: - -网站位置: $[siteurl] -登记名: $[email] - - - - -谨上, - $[sitename]行政人员 - - \ No newline at end of file diff --git a/view/zh-cn/smarty3/lostpass_eml.tpl b/view/zh-cn/smarty3/lostpass_eml.tpl deleted file mode 100644 index 7af16a7781..0000000000 --- a/view/zh-cn/smarty3/lostpass_eml.tpl +++ /dev/null @@ -1,33 +0,0 @@ - - -尊敬的{{$username}}, - {{$sitename}}最近收到一个要求复位您的账户 -密码。为肯定这个要求,请点击肯定按钮 -在下边或粘贴在您的游览器地址条 - -如果您没有要求这个变化,请别点击这个按努i -和不理或删除这个邮件。 - -您密码没有被变化直到我们证实您 -发送这个要求时。 - -点击这个按钮为证实您的同一个人: - -{{$reset_link}} - -然后您收到后续通信包括新密码。 - -您会变化密码在您的账户设置页登记后。 - -登记细节是: - -网站位置: {{$siteurl}} -登记名: {{$email}} - - - - -谨上, - {{$sitename}}行政人员 - - \ No newline at end of file From 9a0c37eb47cde20f532d7dcac583ca95a8cd4d24 Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Sun, 7 Sep 2014 11:20:06 +0200 Subject: [PATCH 06/26] new password mail via notification() new include/text.php::deindent() function remove unused templates --- include/Emailer.php | 2 +- include/text.php | 19 +++++++ mod/lostpass.php | 77 +++++++++++++++----------- view/ca/passchanged_eml.tpl | 19 ------- view/ca/smarty3/passchanged_eml.tpl | 20 ------- view/cs/passchanged_eml.tpl | 14 ----- view/cs/smarty3/passchanged_eml.tpl | 15 ----- view/de/passchanged_eml.tpl | 20 ------- view/de/smarty3/passchanged_eml.tpl | 21 ------- view/en/passchanged_eml.tpl | 20 ------- view/en/smarty3/passchanged_eml.tpl | 21 ------- view/eo/passchanged_eml.tpl | 20 ------- view/eo/smarty3/passchanged_eml.tpl | 21 ------- view/es/passchanged_eml.tpl | 19 ------- view/es/smarty3/passchanged_eml.tpl | 20 ------- view/fr/passchanged_eml.tpl | 20 ------- view/fr/smarty3/passchanged_eml.tpl | 21 ------- view/is/passchanged_eml.tpl | 20 ------- view/is/smarty3/passchanged_eml.tpl | 21 ------- view/it/smarty3/passchanged_eml.tpl | 20 ------- view/nb-no/passchanged_eml.tpl | 20 ------- view/nb-no/smarty3/passchanged_eml.tpl | 21 ------- view/nl/passchanged_eml.tpl | 20 ------- view/pl/passchanged_eml.tpl | 20 ------- view/pl/smarty3/passchanged_eml.tpl | 21 ------- view/ro/smarty3/passchanged_eml.tpl | 20 ------- view/sv/passchanged_eml.tpl | 18 ------ view/sv/smarty3/passchanged_eml.tpl | 19 ------- view/zh-cn/passchanged_eml.tpl | 20 ------- view/zh-cn/smarty3/passchanged_eml.tpl | 21 ------- 30 files changed, 64 insertions(+), 566 deletions(-) delete mode 100644 view/ca/passchanged_eml.tpl delete mode 100644 view/ca/smarty3/passchanged_eml.tpl delete mode 100644 view/cs/passchanged_eml.tpl delete mode 100644 view/cs/smarty3/passchanged_eml.tpl delete mode 100644 view/de/passchanged_eml.tpl delete mode 100644 view/de/smarty3/passchanged_eml.tpl delete mode 100644 view/en/passchanged_eml.tpl delete mode 100644 view/en/smarty3/passchanged_eml.tpl delete mode 100644 view/eo/passchanged_eml.tpl delete mode 100644 view/eo/smarty3/passchanged_eml.tpl delete mode 100644 view/es/passchanged_eml.tpl delete mode 100644 view/es/smarty3/passchanged_eml.tpl delete mode 100644 view/fr/passchanged_eml.tpl delete mode 100644 view/fr/smarty3/passchanged_eml.tpl delete mode 100644 view/is/passchanged_eml.tpl delete mode 100644 view/is/smarty3/passchanged_eml.tpl delete mode 100644 view/it/smarty3/passchanged_eml.tpl delete mode 100644 view/nb-no/passchanged_eml.tpl delete mode 100644 view/nb-no/smarty3/passchanged_eml.tpl delete mode 100644 view/nl/passchanged_eml.tpl delete mode 100644 view/pl/passchanged_eml.tpl delete mode 100644 view/pl/smarty3/passchanged_eml.tpl delete mode 100644 view/ro/smarty3/passchanged_eml.tpl delete mode 100644 view/sv/passchanged_eml.tpl delete mode 100644 view/sv/smarty3/passchanged_eml.tpl delete mode 100644 view/zh-cn/passchanged_eml.tpl delete mode 100644 view/zh-cn/smarty3/passchanged_eml.tpl diff --git a/include/Emailer.php b/include/Emailer.php index a5b600e36f..2baa279802 100644 --- a/include/Emailer.php +++ b/include/Emailer.php @@ -56,7 +56,7 @@ class Emailer { $messageHeader // message headers ); logger("header " . 'To: ' . $params['toEmail'] . "\n" . $messageHeader, LOGGER_DEBUG); - logger("return value " . $res, LOGGER_DEBUG); + logger("return value " . (($res)?"true":"false"), LOGGER_DEBUG); } } ?> diff --git a/include/text.php b/include/text.php index 84195b0362..00cbc2b592 100644 --- a/include/text.php +++ b/include/text.php @@ -2229,3 +2229,22 @@ function is_a_date_arg($s) { } return false; } + +/** + * remove intentation from a text + */ +function deindent($text, $chr="[\t ]", $count=NULL) { + $text = fix_mce_lf($text); + $lines = explode("\n", $text); + if (is_null($count)) { + $m = array(); + $k=0; while($kget_baseurl(); $resetlink = $a->get_baseurl() . '/lostpass?verify=' . $new_password; - $preamble = t('Dear %1$s, - A request was recently received at "%2$s" to reset your account -password. In order to confirm this request, please select the verification link -below or paste it into your web browser address bar. + $preamble = deindent(t(' + Dear %1$s, + A request was recently received at "%2$s" to reset your account + password. In order to confirm this request, please select the verification link + below or paste it into your web browser address bar. -If you did NOT request this change, please DO NOT follow the link -provided and ignore and/or delete this email. + If you did NOT request this change, please DO NOT follow the link + provided and ignore and/or delete this email. -Your password will not be changed unless we can verify that you -issued this request.'); - $body = t('Follow this link to verify your identity: + Your password will not be changed unless we can verify that you + issued this request.')); + $body = deindent(t(' + Follow this link to verify your identity: -%1$s + %1$s -You will then receive a follow-up message containing the new password. + You will then receive a follow-up message containing the new password. + You may change that password from your account settings page after logging in. -You may change that password from your account settings page after logging in. + The login details are as follows: -The login details are as follows: - -Site Location: %2$s -Login Name: %3$s'); + Site Location: %2$s + Login Name: %3$s')); $preamble = sprintf($preamble, $username, $sitename); $body = sprintf($body, $resetlink, $siteurl, $email); @@ -71,7 +72,6 @@ Login Name: %3$s'); 'preamble'=> $preamble, 'body' => $body)); - goaway(z_root()); } @@ -88,9 +88,8 @@ function lostpass_content(&$a) { dbesc($hash) ); if(! count($r)) { - notice( t("Request could not be verified. \x28You may have previously submitted it.\x29 Password reset failed.") . EOL); - goaway(z_root()); - return; + $o = t("Request could not be verified. \x28You may have previously submitted it.\x29 Password reset failed."); + return $o; } $uid = $r[0]['uid']; $username = $r[0]['username']; @@ -119,22 +118,34 @@ function lostpass_content(&$a) { info("Your password has been reset." . EOL); + $sitename = $a->config['sitename']; + $siteurl = $a->get_baseurl(); + // $username, $email, $new_password + $preamble = deindent(t(' + Dear %1$s, + Your password has been changed as requested. Please retain this + information for your records (or change your password immediately to + something that you will remember). + ')); + $body = deindent(t(' + Your login details are as follows: - $email_tpl = get_intltext_template("passchanged_eml.tpl"); - $email_tpl = replace_macros($email_tpl, array( - '$sitename' => $a->config['sitename'], - '$siteurl' => $a->get_baseurl(), - '$username' => $username, - '$email' => $email, - '$new_password' => $new_password, - '$uid' => $newuid )); + Site Location: %1$s + Login Name: %2$s + Password: %3$s - $subject = sprintf( t('Your password has been changed at %s'), $a->config['sitename']); + You may change that password from your account settings page after logging in. + ')); - $res = mail($email, email_header_encode( $subject, 'UTF-8'), $email_tpl, - 'From: ' . 'Administrator' . '@' . $_SERVER['SERVER_NAME'] . "\n" - . 'Content-type: text/plain; charset=UTF-8' . "\n" - . 'Content-transfer-encoding: 8bit' ); + $preamble = sprintf($preamble, $username); + $body = sprintf($body, $siteurl, $email, $new_password); + + notification(array( + 'type' => "SYSTEM_EMAIL", + 'to_email' => $email, + 'subject'=> sprintf( t('Your password has been changed at %s'),$sitename), + 'preamble'=> $preamble, + 'body' => $body)); return $o; } diff --git a/view/ca/passchanged_eml.tpl b/view/ca/passchanged_eml.tpl deleted file mode 100644 index 22e54b8c08..0000000000 --- a/view/ca/passchanged_eml.tpl +++ /dev/null @@ -1,19 +0,0 @@ - -Apreciat/da $username, - - La teva contrasenya ha estat modificada com has sol·licitat. Pren nota d'aquesta informació -(o canvía immediatament la contrasenya amb quelcom que recordis). - - -Les teves dades d'accés son les següents: - -Lloc: $siteurl -Nom: $email -Contrasenya: $new_password - -Després d'accedir pots canviar la contrasenya des de la pàgina de configuració del teu perfil. - - - $sitename - - diff --git a/view/ca/smarty3/passchanged_eml.tpl b/view/ca/smarty3/passchanged_eml.tpl deleted file mode 100644 index 43063fc818..0000000000 --- a/view/ca/smarty3/passchanged_eml.tpl +++ /dev/null @@ -1,20 +0,0 @@ - - -Apreciat/da {{$username}}, - - La teva contrasenya ha estat modificada com has sol·licitat. Pren nota d'aquesta informació -(o canvía immediatament la contrasenya amb quelcom que recordis). - - -Les teves dades d'accés son les següents: - -Lloc: {{$siteurl}} -Nom: {{$email}} -Contrasenya: {{$new_password}} - -Després d'accedir pots canviar la contrasenya des de la pàgina de configuració del teu perfil. - - - {{$sitename}} - - diff --git a/view/cs/passchanged_eml.tpl b/view/cs/passchanged_eml.tpl deleted file mode 100644 index 5447d2e804..0000000000 --- a/view/cs/passchanged_eml.tpl +++ /dev/null @@ -1,14 +0,0 @@ - -Milý/Milá $username, - Vaše heslo bylo na Vaši žádost změněno. Prosím zaznamenejte si tuto informaci (nebo si Vaše heslo změňte na nějaké, které si budete pamatovat). - -Vaše přihlašovací údaje jsou tato: - -Adresa webu: $siteurl -Přihlašovací jméno: $email -Heslo: $new_password - -Toto heslo si můžete změnit z vašeho účtu na stránce Nastavení poté, co se přihlásíte. - -S pozdravem, - $sitename administrátor diff --git a/view/cs/smarty3/passchanged_eml.tpl b/view/cs/smarty3/passchanged_eml.tpl deleted file mode 100644 index cfc71356dc..0000000000 --- a/view/cs/smarty3/passchanged_eml.tpl +++ /dev/null @@ -1,15 +0,0 @@ - - -Milý/Milá {{$username}}, - Vaše heslo bylo na Vaši žádost změněno. Prosím zaznamenejte si tuto informaci (nebo si Vaše heslo změňte na nějaké, které si budete pamatovat). - -Vaše přihlašovací údaje jsou tato: - -Adresa webu: {{$siteurl}} -Přihlašovací jméno: {{$email}} -Heslo: {{$new_password}} - -Toto heslo si můžete změnit z vašeho účtu na stránce Nastavení poté, co se přihlásíte. - -S pozdravem, - {{$sitename}} administrátor diff --git a/view/de/passchanged_eml.tpl b/view/de/passchanged_eml.tpl deleted file mode 100644 index dcabbbe491..0000000000 --- a/view/de/passchanged_eml.tpl +++ /dev/null @@ -1,20 +0,0 @@ - -Hallo $[username], - Dein Passwort wurde wie gewünscht geändert. Bitte bewahre diese -Informationen in deinen Unterlagen auf (oder ändere dein Passwort sofort -in etwas, was du dir merken kannst). - - -Deine Login Daten wurden wie folgt geändert: - -Adresse der Seite: $[siteurl] -Login Name: $[email] -Passwort: $[new_password] - -Du kannst dein Passwort unter deinen Account-Einstellungen ändern, wenn du angemeldet bist. - - -Beste Grüße, - $[sitename] Administrator - - \ No newline at end of file diff --git a/view/de/smarty3/passchanged_eml.tpl b/view/de/smarty3/passchanged_eml.tpl deleted file mode 100644 index 2c4576f0db..0000000000 --- a/view/de/smarty3/passchanged_eml.tpl +++ /dev/null @@ -1,21 +0,0 @@ - - -Hallo {{$username}}, - Dein Passwort wurde wie gewünscht geändert. Bitte bewahre diese -Informationen in deinen Unterlagen auf (oder ändere dein Passwort sofort -in etwas, was du dir merken kannst). - - -Deine Login Daten wurden wie folgt geändert: - -Adresse der Seite: {{$siteurl}} -Login Name: {{$email}} -Passwort: {{$new_password}} - -Du kannst dein Passwort unter deinen Account-Einstellungen ändern, wenn du angemeldet bist. - - -Beste Grüße, - {{$sitename}} Administrator - - \ No newline at end of file diff --git a/view/en/passchanged_eml.tpl b/view/en/passchanged_eml.tpl deleted file mode 100644 index e7cc0e2dc1..0000000000 --- a/view/en/passchanged_eml.tpl +++ /dev/null @@ -1,20 +0,0 @@ - -Dear $[username], - Your password has been changed as requested. Please retain this -information for your records (or change your password immediately to -something that you will remember). - - -Your login details are as follows: - -Site Location: $[siteurl] -Login Name: $[email] -Password: $[new_password] - -You may change that password from your account settings page after logging in. - - -Sincerely, - $[sitename] Administrator - - diff --git a/view/en/smarty3/passchanged_eml.tpl b/view/en/smarty3/passchanged_eml.tpl deleted file mode 100644 index fb931387b5..0000000000 --- a/view/en/smarty3/passchanged_eml.tpl +++ /dev/null @@ -1,21 +0,0 @@ - - -Dear {{$username}}, - Your password has been changed as requested. Please retain this -information for your records (or change your password immediately to -something that you will remember). - - -Your login details are as follows: - -Site Location: {{$siteurl}} -Login Name: {{$email}} -Password: {{$new_password}} - -You may change that password from your account settings page after logging in. - - -Sincerely, - {{$sitename}} Administrator - - diff --git a/view/eo/passchanged_eml.tpl b/view/eo/passchanged_eml.tpl deleted file mode 100644 index ee775d5dd3..0000000000 --- a/view/eo/passchanged_eml.tpl +++ /dev/null @@ -1,20 +0,0 @@ - -Kara $[username], - Via pasvorto estas ŝanĝita laŭ via peto. Bonvolu konservi ĉi tiun -informon (aŭ tuj ŝanĝu vian pasvorton al -iu kiun vi povas memori). - - -Jen viaj legitimaĵoj: - -Retejo:»$[siteurl] -Salutnomo:»$[email] -Pasvorto:»$[new_password] - -Vi eblas ŝanĝi la pasvorton ĉe la paĝo Agordoj -> Konto kiam vi estas ensalutita. - - -Salutoj, - $[sitename] administranto - - \ No newline at end of file diff --git a/view/eo/smarty3/passchanged_eml.tpl b/view/eo/smarty3/passchanged_eml.tpl deleted file mode 100644 index f348aaf706..0000000000 --- a/view/eo/smarty3/passchanged_eml.tpl +++ /dev/null @@ -1,21 +0,0 @@ - - -Kara {{$username}}, - Via pasvorto estas ŝanĝita laŭ via peto. Bonvolu konservi ĉi tiun -informon (aŭ tuj ŝanĝu vian pasvorton al -iu kiun vi povas memori). - - -Jen viaj legitimaĵoj: - -Retejo:»{{$siteurl}} -Salutnomo:»{{$email}} -Pasvorto:»{{$new_password}} - -Vi eblas ŝanĝi la pasvorton ĉe la paĝo Agordoj -> Konto kiam vi estas ensalutita. - - -Salutoj, - {{$sitename}} administranto - - \ No newline at end of file diff --git a/view/es/passchanged_eml.tpl b/view/es/passchanged_eml.tpl deleted file mode 100644 index 7959846b71..0000000000 --- a/view/es/passchanged_eml.tpl +++ /dev/null @@ -1,19 +0,0 @@ - -Estimado/a $username, - - Tu contraseña ha sido modificada como has solicitado. Anota esta información -(o cambia inmediatamente la contraseña con algo que recuerdes). - - -Tus datos de acceso son los siguientes: - -Sitio: $siteurl -Nombre: $email -Contraseña: $new_password - -Después de acceder puedes cambiar la contraseña desde la página de configuración de tu perfil. - - - $sitename - - diff --git a/view/es/smarty3/passchanged_eml.tpl b/view/es/smarty3/passchanged_eml.tpl deleted file mode 100644 index c3003b2ce0..0000000000 --- a/view/es/smarty3/passchanged_eml.tpl +++ /dev/null @@ -1,20 +0,0 @@ - - -Estimado/a {{$username}}, - - Tu contraseña ha sido modificada como has solicitado. Anota esta información -(o cambia inmediatamente la contraseña con algo que recuerdes). - - -Tus datos de acceso son los siguientes: - -Sitio: {{$siteurl}} -Nombre: {{$email}} -Contraseña: {{$new_password}} - -Después de acceder puedes cambiar la contraseña desde la página de configuración de tu perfil. - - - {{$sitename}} - - diff --git a/view/fr/passchanged_eml.tpl b/view/fr/passchanged_eml.tpl deleted file mode 100644 index ff518670e1..0000000000 --- a/view/fr/passchanged_eml.tpl +++ /dev/null @@ -1,20 +0,0 @@ - -Cher/Chère $[username], - Votre mot de passe a été changé comme demandé. Merci de -mémoriser cette information (ou de changer immédiatement pour un -mot de passe que vous retiendrez). - - -Vos identifiants sont comme suit : - -Adresse du site: $[siteurl] -Utilisateur: $[email] -Mot de passe: $[new_password] - -Vous pouvez changer ce mot de passe depuis vos 'Réglages' une fois connecté. - - -Sincèrement, - l'administrateur de $[sitename] - - \ No newline at end of file diff --git a/view/fr/smarty3/passchanged_eml.tpl b/view/fr/smarty3/passchanged_eml.tpl deleted file mode 100644 index a7a4bd306d..0000000000 --- a/view/fr/smarty3/passchanged_eml.tpl +++ /dev/null @@ -1,21 +0,0 @@ - - -Cher(e) {{$username}}, - - Votre mot de passe a été modifié comme demandé. Merci de conserver -cette information pour un usage ultérieur (ou bien de changer votre mot de -passe immédiatement en quelque chose dont vous vous souviendrez). - -Vos informations de connexion sont désormais : - -Site : {{$siteurl}} -Pseudo/Courriel : {{$email}} -Mot de passe : {{$new_password}} - -Vous pouvez changer ce mot de passe depuis la page des « réglages » de votre compte, -après connexion - -Sincèrement votre, - l'administrateur de {{$sitename}} - - diff --git a/view/is/passchanged_eml.tpl b/view/is/passchanged_eml.tpl deleted file mode 100644 index d2aa68797e..0000000000 --- a/view/is/passchanged_eml.tpl +++ /dev/null @@ -1,20 +0,0 @@ - -Góðan daginn $[username], - Lykilorð þínu hefur verið breytt einsog umbeðið var. Endilega geyma þessar -upplýsingar (eða skiptu strax um aðgangsorð -yfir í eitthvað sem þú mannst). - - -Innskráningar upplýsingar þínar eru: - -Vefþjónn: $[siteurl] -Notendanafn: $[email] -Aðgangsorð: $[new_password] - -Þú getur breytt um aðgangsorð á stillingar síðunni eftir að þú hefur innskráð þig. - - -Bestu kveðjur, - Kerfisstjóri $[sitename] - - \ No newline at end of file diff --git a/view/is/smarty3/passchanged_eml.tpl b/view/is/smarty3/passchanged_eml.tpl deleted file mode 100644 index 8574b8278d..0000000000 --- a/view/is/smarty3/passchanged_eml.tpl +++ /dev/null @@ -1,21 +0,0 @@ - - -Góðan daginn {{$username}}, - Lykilorð þínu hefur verið breytt einsog umbeðið var. Endilega geyma þessar -upplýsingar (eða skiptu strax um aðgangsorð -yfir í eitthvað sem þú mannst). - - -Innskráningar upplýsingar þínar eru: - -Vefþjónn: {{$siteurl}} -Notendanafn: {{$email}} -Aðgangsorð: {{$new_password}} - -Þú getur breytt um aðgangsorð á stillingar síðunni eftir að þú hefur innskráð þig. - - -Bestu kveðjur, - Kerfisstjóri {{$sitename}} - - \ No newline at end of file diff --git a/view/it/smarty3/passchanged_eml.tpl b/view/it/smarty3/passchanged_eml.tpl deleted file mode 100644 index fccc0928f2..0000000000 --- a/view/it/smarty3/passchanged_eml.tpl +++ /dev/null @@ -1,20 +0,0 @@ - -Ciao {{$username}}, - La tua password è stata cambiata, come hai richiesto. Conserva queste -informazioni (oppure cambia immediatamente la password con -qualcosa che ti è più facile ricordare). - - -I tuoi dati di accesso sono i seguenti: - -Sito:»{{$siteurl}} -Soprannome:»{{$email}} -Password:»{{$new_password}} - -Puoi cambiare la tua password dalla pagina delle impostazioni dopo aver effettuato l'accesso. - - -Saluti, - l'amministratore di {{$sitename}} - - \ No newline at end of file diff --git a/view/nb-no/passchanged_eml.tpl b/view/nb-no/passchanged_eml.tpl deleted file mode 100644 index 6f153d38c4..0000000000 --- a/view/nb-no/passchanged_eml.tpl +++ /dev/null @@ -1,20 +0,0 @@ - -Kjære $[username], - Ditt passord har blitt endret som forespurt. Vennligst ta vare på denne -meldingen for sikkerhets skyld (eller bytt passordet ditt umiddelbart til -noe du husker). - - -Dine logg inn-detaljer er som følger: - -Nettsted:»$[siteurl] -Brukernavn:»$[email] -Passord:»$[new_password] - -Du kan endre dette passordet på din side for kontoinnstillinger etter innlogging. - - -Med vennlig hilsen, - $[sitename] administrator - - \ No newline at end of file diff --git a/view/nb-no/smarty3/passchanged_eml.tpl b/view/nb-no/smarty3/passchanged_eml.tpl deleted file mode 100644 index bc9c7e4f5e..0000000000 --- a/view/nb-no/smarty3/passchanged_eml.tpl +++ /dev/null @@ -1,21 +0,0 @@ - - -Kjære {{$username}}, - Ditt passord har blitt endret som forespurt. Vennligst ta vare på denne -meldingen for sikkerhets skyld (eller bytt passordet ditt umiddelbart til -noe du husker). - - -Dine logg inn-detaljer er som følger: - -Nettsted:»{{$siteurl}} -Brukernavn:»{{$email}} -Passord:»{{$new_password}} - -Du kan endre dette passordet på din side for kontoinnstillinger etter innlogging. - - -Med vennlig hilsen, - {{$sitename}} administrator - - \ No newline at end of file diff --git a/view/nl/passchanged_eml.tpl b/view/nl/passchanged_eml.tpl deleted file mode 100644 index 463753ce87..0000000000 --- a/view/nl/passchanged_eml.tpl +++ /dev/null @@ -1,20 +0,0 @@ - -Beste $[username], - Uw wachtwoord is veranderd op uw verzoek. Onthou dit -wachtwoord goed (of verander het wachtwoord naar een -die u beter kunt onthouden). - - -Uw inloginformatie is als volgt: - -Friendica-site:»$[siteurl] -Inlognaam:$[email] -Wachtwoord:»$[new_password] - -U kunt dit wachtwoord veranderen in uw account-instellingen, nadat u bent ingelogd. - - -Vriendelijke groet, - Beheerder: $[sitename] - - \ No newline at end of file diff --git a/view/pl/passchanged_eml.tpl b/view/pl/passchanged_eml.tpl deleted file mode 100644 index 4ff6a98758..0000000000 --- a/view/pl/passchanged_eml.tpl +++ /dev/null @@ -1,20 +0,0 @@ - -Drogi $[username], - Twoje hasło zostało zmienione. Zachowaj tę -Informację dla dokumentacji (lub zmień swoje hasło -na takie, które zapamiętasz). - - -Dane do logowania: - -Strona:»$[siteurl] -Twój login:»$[email] -Twoje nowe hasło:»$[new_password] - -Po zalogowaniu możesz zmienić swoje hasło w ustawieniach konta - - -Z poważaniem, - $[sitename] Administrator - - \ No newline at end of file diff --git a/view/pl/smarty3/passchanged_eml.tpl b/view/pl/smarty3/passchanged_eml.tpl deleted file mode 100644 index aa3163c605..0000000000 --- a/view/pl/smarty3/passchanged_eml.tpl +++ /dev/null @@ -1,21 +0,0 @@ - - -Drogi {{$username}}, - Twoje hasło zostało zmienione. Zachowaj tę -Informację dla dokumentacji (lub zmień swoje hasło -na takie, które zapamiętasz). - - -Dane do logowania: - -Strona:»{{$siteurl}} -Twój login:»{{$email}} -Twoje nowe hasło:»{{$new_password}} - -Po zalogowaniu możesz zmienić swoje hasło w ustawieniach konta - - -Z poważaniem, - {{$sitename}} Administrator - - \ No newline at end of file diff --git a/view/ro/smarty3/passchanged_eml.tpl b/view/ro/smarty3/passchanged_eml.tpl deleted file mode 100644 index 5b35f3f2c3..0000000000 --- a/view/ro/smarty3/passchanged_eml.tpl +++ /dev/null @@ -1,20 +0,0 @@ - -Dragă $[username], - Parola dvs. a fost schimbată așa cum a solicitat. Vă rugăm să păstrați aceste -Informații pentru evidența dvs. (sau schimbaţi imediat parola -cu ceva care iti vei reaminti). - - -Detaliile dvs. de login sunt următoarele ; - -Locaţie Site»$[siteurl] -Login Name: $[email] -Parolă:»$[new_password] - -Puteți schimba această parolă de la pagina setări cont după logare. - - -Cu stimă, - $[sitename] Administrator - - \ No newline at end of file diff --git a/view/sv/passchanged_eml.tpl b/view/sv/passchanged_eml.tpl deleted file mode 100644 index 590462468b..0000000000 --- a/view/sv/passchanged_eml.tpl +++ /dev/null @@ -1,18 +0,0 @@ - -$username, - -Lösenordet har ändrats enligt din begäran. Behåll den här -informationen om den skulle behövas i framtiden. (eller ändra lösenord -på en gång till något som du kommer ihåg). - - -Här är dina inloggningsuppgifter: - -Webbplats: $siteurl -Användarnamn: $email -Lösenord: $new_password - -När du loggat in kan du byta lösenord bland inställningarna. - -Hälsningar, -$sitename admin diff --git a/view/sv/smarty3/passchanged_eml.tpl b/view/sv/smarty3/passchanged_eml.tpl deleted file mode 100644 index 8b724f7fcc..0000000000 --- a/view/sv/smarty3/passchanged_eml.tpl +++ /dev/null @@ -1,19 +0,0 @@ - - -{{$username}}, - -Lösenordet har ändrats enligt din begäran. Behåll den här -informationen om den skulle behövas i framtiden. (eller ändra lösenord -på en gång till något som du kommer ihåg). - - -Här är dina inloggningsuppgifter: - -Webbplats: {{$siteurl}} -Användarnamn: {{$email}} -Lösenord: {{$new_password}} - -När du loggat in kan du byta lösenord bland inställningarna. - -Hälsningar, -{{$sitename}} admin diff --git a/view/zh-cn/passchanged_eml.tpl b/view/zh-cn/passchanged_eml.tpl deleted file mode 100644 index 1c6e7655ba..0000000000 --- a/view/zh-cn/passchanged_eml.tpl +++ /dev/null @@ -1,20 +0,0 @@ - -尊敬的$[username]。 - 您的随您要求密码变化了。请保持这 -信息为您的备案(或立即变化您的密码成 -什么容易记住)。 - - -您的登记信息是: - -网站位置: $[siteurl] -登记名: $[email] -密码: $[new_password] - -您会变化这个密码在您的账户设置页登记后。 - - -谨上, - $[sitename]行政人员 - - \ No newline at end of file diff --git a/view/zh-cn/smarty3/passchanged_eml.tpl b/view/zh-cn/smarty3/passchanged_eml.tpl deleted file mode 100644 index 321f5eef25..0000000000 --- a/view/zh-cn/smarty3/passchanged_eml.tpl +++ /dev/null @@ -1,21 +0,0 @@ - - -尊敬的{{$username}}。 - 您的随您要求密码变化了。请保持这 -信息为您的备案(或立即变化您的密码成 -什么容易记住)。 - - -您的登记信息是: - -网站位置: {{$siteurl}} -登记名: {{$email}} -密码: {{$new_password}} - -您会变化这个密码在您的账户设置页登记后。 - - -谨上, - {{$sitename}}行政人员 - - \ No newline at end of file From 9368c7e5104e217d0b9983c9af9daad86c182769 Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Sun, 7 Sep 2014 11:20:56 +0200 Subject: [PATCH 07/26] html mail template add img tag only if source_photo is defined --- view/templates/email_notify_html.tpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/view/templates/email_notify_html.tpl b/view/templates/email_notify_html.tpl index 4eccff63f3..94fac74471 100644 --- a/view/templates/email_notify_html.tpl +++ b/view/templates/email_notify_html.tpl @@ -15,8 +15,10 @@ {{if $content_allowed}} + {{if $source_photo}} {{$source_name}} + {{/if}} {{$title}} {{$htmlversion}} {{/if}} From fe02619114e30198e1360e41b4c7cd385c1ed8ba Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Sun, 7 Sep 2014 11:31:42 +0200 Subject: [PATCH 08/26] fix indentation --- mod/admin.php | 133 +++++++++++++++++++++++++------------------------- 1 file changed, 67 insertions(+), 66 deletions(-) diff --git a/mod/admin.php b/mod/admin.php index 24069c5d9b..5da07b33ee 100644 --- a/mod/admin.php +++ b/mod/admin.php @@ -419,9 +419,9 @@ function admin_page_site_post(&$a){ set_config('system','banner', $banner); } if ($info=="") { - del_config('config','info'); + del_config('config','info'); } else { - set_config('config','info',$info); + set_config('config','info',$info); } set_config('system','language', $language); set_config('system','theme', $theme); @@ -429,12 +429,12 @@ function admin_page_site_post(&$a){ del_config('system','mobile-theme'); } else { set_config('system','mobile-theme', $theme_mobile); - } - if ( $singleuser === '---' ) { - del_config('system','singleuser'); - } else { - set_config('system','singleuser', $singleuser); - } + } + if ( $singleuser === '---' ) { + del_config('system','singleuser'); + } else { + set_config('system','singleuser', $singleuser); + } set_config('system','maximagesize', $maximagesize); set_config('system','max_image_length', $maximagelength); set_config('system','jpeg_quality', $jpegimagequality); @@ -473,7 +473,7 @@ function admin_page_site_post(&$a){ set_config('system','curl_timeout', $timeout); set_config('system','dfrn_only', $dfrn_only); set_config('system','ostatus_disabled', $ostatus_disabled); - set_config('system','ostatus_poll_interval', $ostatus_poll_interval); + set_config('system','ostatus_poll_interval', $ostatus_poll_interval); set_config('system','diaspora_enabled', $diaspora_enabled); set_config('config','private_addons', $private_addons); @@ -524,32 +524,32 @@ function admin_page_site(&$a) { foreach($files as $file) { $f = basename($file); $theme_name = ((file_exists($file . '/experimental')) ? sprintf("%s - \x28Experimental\x29", $f) : $f); - if (file_exists($file . '/mobile')) { - $theme_choices_mobile[$f] = $theme_name; - } + if (file_exists($file . '/mobile')) { + $theme_choices_mobile[$f] = $theme_name; + } else { - $theme_choices[$f] = $theme_name; + $theme_choices[$f] = $theme_name; } } - } + } - /* OStatus conversation poll choices */ - $ostatus_poll_choices = array( + /* OStatus conversation poll choices */ + $ostatus_poll_choices = array( "-2" => t("Never"), "-1" => t("At post arrival"), "0" => t("Frequently"), "60" => t("Hourly"), "720" => t("Twice daily"), "1440" => t("Daily") - ); + ); - /* get user names to make the install a personal install of X */ - $user_names = array(); - $user_names['---'] = t('Multi user instance'); - $users = q("SELECT username, nickname FROM `user`"); - foreach ($users as $user) { - $user_names[$user['nickname']] = $user['username']; - } + /* get user names to make the install a personal install of X */ + $user_names = array(); + $user_names['---'] = t('Multi user instance'); + $users = q("SELECT username, nickname FROM `user`"); + foreach ($users as $user) { + $user_names[$user['nickname']] = $user['username']; + } /* Banner */ $banner = get_config('system','banner'); @@ -626,9 +626,9 @@ function admin_page_site(&$a) { '$no_regfullname' => array('no_regfullname', t("Fullname check"), !get_config('system','no_regfullname'), t("Force users to register with a space between firstname and lastname in Full name, as an antispam measure")), '$no_utf' => array('no_utf', t("UTF-8 Regular expressions"), !get_config('system','no_utf'), t("Use PHP UTF8 regular expressions")), '$no_community_page' => array('no_community_page', t("Show Community Page"), !get_config('system','no_community_page'), t("Display a Community page showing all recent public postings on this site.")), - '$ostatus_disabled' => array('ostatus_disabled', t("Enable OStatus support"), !get_config('system','ostatus_disabled'), t("Provide built-in OStatus \x28StatusNet, GNU Social etc.\x29 compatibility. All communications in OStatus are public, so privacy warnings will be occasionally displayed.")), + '$ostatus_disabled' => array('ostatus_disabled', t("Enable OStatus support"), !get_config('system','ostatus_disabled'), t("Provide built-in OStatus \x28StatusNet, GNU Social etc.\x29 compatibility. All communications in OStatus are public, so privacy warnings will be occasionally displayed.")), '$ostatus_poll_interval' => array('ostatus_poll_interval', t("OStatus conversation completion interval"), (string) intval(get_config('system','ostatus_poll_interval')), t("How often shall the poller check for new entries in OStatus conversations? This can be a very ressource task."), $ostatus_poll_choices), - '$diaspora_enabled' => array('diaspora_enabled', t("Enable Diaspora support"), get_config('system','diaspora_enabled'), t("Provide built-in Diaspora network compatibility.")), + '$diaspora_enabled' => array('diaspora_enabled', t("Enable Diaspora support"), get_config('system','diaspora_enabled'), t("Provide built-in Diaspora network compatibility.")), '$dfrn_only' => array('dfrn_only', t('Only allow Friendica contacts'), get_config('system','dfrn_only'), t("All contacts must use Friendica protocols. All other built-in communication protocols disabled.")), '$verifyssl' => array('verifyssl', t("Verify SSL"), get_config('system','verifyssl'), t("If you wish, you can turn on strict certificate checking. This will mean you cannot connect (at all) to self-signed SSL sites.")), '$proxyuser' => array('proxyuser', t("Proxy user"), get_config('system','proxyuser'), ""), @@ -651,7 +651,7 @@ function admin_page_site(&$a) { '$relocate_url' => array('relocate_url', t("New base url"), $a->get_baseurl(), "Change base url for this server. Sends relocate message to all DFRN contacts of all users."), '$enable_noscrape'=> array('enable_noscrape', t("Enable noscrape"), get_config('system','enable_noscrape'), t("The noscrape feature speeds up directory submissions by using JSON data instead of HTML scraping.")), - '$form_security_token' => get_form_security_token("admin_site") + '$form_security_token' => get_form_security_token("admin_site") )); @@ -744,39 +744,40 @@ function admin_page_dbsync(&$a) { function admin_page_users_post(&$a){ $pending = ( x($_POST, 'pending') ? $_POST['pending'] : Array() ); $users = ( x($_POST, 'user') ? $_POST['user'] : Array() ); - $nu_name = ( x($_POST, 'new_user_name') ? $_POST['new_user_name'] : ''); - $nu_nickname = ( x($_POST, 'new_user_nickname') ? $_POST['new_user_nickname'] : ''); - $nu_email = ( x($_POST, 'new_user_email') ? $_POST['new_user_email'] : ''); + $nu_name = ( x($_POST, 'new_user_name') ? $_POST['new_user_name'] : ''); + $nu_nickname = ( x($_POST, 'new_user_nickname') ? $_POST['new_user_nickname'] : ''); + $nu_email = ( x($_POST, 'new_user_email') ? $_POST['new_user_email'] : ''); - check_form_security_token_redirectOnErr('/admin/users', 'admin_users'); + check_form_security_token_redirectOnErr('/admin/users', 'admin_users'); - if (!($nu_name==="") && !($nu_email==="") && !($nu_nickname==="")) { - require_once('include/user.php'); - require_once('include/email.php'); - $result = create_user( array('username'=>$nu_name, 'email'=>$nu_email, 'nickname'=>$nu_nickname, 'verified'=>1) ); - if(! $result['success']) { - notice($result['message']); - return; - } - $nu = $result['user']; - $email_tpl = get_intltext_template("register_adminadd_eml.tpl"); - $email_tpl = replace_macros($email_tpl, array( - '$sitename' => $a->config['sitename'], - '$siteurl' => $a->get_baseurl(), - '$username' => $nu['username'], - '$email' => $nu['email'], - '$password' => $result['password'], - '$uid' => $nu['uid'] )); - - $res = mail($nu['email'], email_header_encode( sprintf( t('Registration details for %s'), $a->config['sitename']),'UTF-8'), - $email_tpl, - 'From: ' . 'Administrator' . '@' . $_SERVER['SERVER_NAME'] . "\n" - . 'Content-type: text/plain; charset=UTF-8' . "\n" - . 'Content-transfer-encoding: 8bit' ); - if ($res) { - info( t('Registration successful. Email send to user').EOL ); - } - } + if (!($nu_name==="") && !($nu_email==="") && !($nu_nickname==="")) { + require_once('include/user.php'); + require_once('include/email.php'); + $result = create_user( array('username'=>$nu_name, 'email'=>$nu_email, 'nickname'=>$nu_nickname, 'verified'=>1) ); + if(! $result['success']) { + notice($result['message']); + return; + } + $nu = $result['user']; + + $email_tpl = get_intltext_template("register_adminadd_eml.tpl"); + $email_tpl = replace_macros($email_tpl, array( + '$sitename' => $a->config['sitename'], + '$siteurl' => $a->get_baseurl(), + '$username' => $nu['username'], + '$email' => $nu['email'], + '$password' => $result['password'], + '$uid' => $nu['uid'] )); + + $res = mail($nu['email'], email_header_encode( sprintf( t('Registration details for %s'), $a->config['sitename']),'UTF-8'), + $email_tpl, + 'From: ' . 'Administrator' . '@' . $_SERVER['SERVER_NAME'] . "\n" + . 'Content-type: text/plain; charset=UTF-8' . "\n" + . 'Content-transfer-encoding: 8bit' ); + if ($res) { + info( t('Registration successful. Email send to user').EOL ); + } + } if (x($_POST,'page_users_block')){ foreach($users as $uid){ @@ -825,7 +826,7 @@ function admin_page_users(&$a){ } switch($a->argv[2]){ case "delete":{ - check_form_security_token_redirectOnErr('/admin/users', 'admin_users', 't'); + check_form_security_token_redirectOnErr('/admin/users', 'admin_users', 't'); // delete user require_once("include/Contact.php"); user_remove($uid); @@ -833,7 +834,7 @@ function admin_page_users(&$a){ notice( sprintf(t("User '%s' deleted"), $user[0]['username']) . EOL); }; break; case "block":{ - check_form_security_token_redirectOnErr('/admin/users', 'admin_users', 't'); + check_form_security_token_redirectOnErr('/admin/users', 'admin_users', 't'); q("UPDATE `user` SET `blocked`=%d WHERE `uid`=%s", intval( 1-$user[0]['blocked'] ), intval( $uid ) @@ -889,7 +890,7 @@ function admin_page_users(&$a){ t('Normal Account'), t('Soapbox Account'), t('Community/Celebrity Account'), - t('Automatic Friend Account') + t('Automatic Friend Account') ); $e['page-flags'] = $accounts[$e['page-flags']]; $e['register_date'] = relative_date($e['register_date']); @@ -1094,7 +1095,7 @@ function admin_page_plugins(&$a){ '$baseurl' => $a->get_baseurl(true), '$function' => 'plugins', '$plugins' => $plugins, - '$form_security_token' => get_form_security_token("admin_themes"), + '$form_security_token' => get_form_security_token("admin_themes"), )); } @@ -1296,7 +1297,7 @@ function admin_page_themes(&$a){ '$plugins' => $xthemes, '$experimental' => t('[Experimental]'), '$unsupported' => t('[Unsupported]'), - '$form_security_token' => get_form_security_token("admin_themes"), + '$form_security_token' => get_form_security_token("admin_themes"), )); } @@ -1309,7 +1310,7 @@ function admin_page_themes(&$a){ function admin_page_logs_post(&$a) { if (x($_POST,"page_logs")) { - check_form_security_token_redirectOnErr('/admin/logs', 'admin_logs'); + check_form_security_token_redirectOnErr('/admin/logs', 'admin_logs'); $logfile = ((x($_POST,'logfile')) ? notags(trim($_POST['logfile'])) : ''); $debugging = ((x($_POST,'debugging')) ? true : false); @@ -1348,7 +1349,7 @@ function admin_page_logs(&$a){ $data = ''; if(!file_exists($f)) { - $data = t("Error trying to open $f log file.\r\n
Check to see if file $f exist and is + $data = t("Error trying to open $f log file.\r\n
Check to see if file $f exist and is readable."); } else { @@ -1388,7 +1389,7 @@ readable."); '$logfile' => array('logfile', t("Log file"), get_config('system','logfile'), t("Must be writable by web server. Relative to your Friendica top-level directory.")), '$loglevel' => array('loglevel', t("Log level"), get_config('system','loglevel'), "", $log_choices), - '$form_security_token' => get_form_security_token("admin_logs"), + '$form_security_token' => get_form_security_token("admin_logs"), )); } From 803854738b9bf514d11f6e8c7c0ac84aad874ae6 Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Sun, 7 Sep 2014 11:48:23 +0200 Subject: [PATCH 09/26] another massacre of templates --- mod/admin.php | 53 ++++++++++++++++------- view/cs/smarty3/register_adminadd_eml.tpl | 32 -------------- view/de/smarty3/register_adminadd_eml.tpl | 32 -------------- view/en/register_adminadd_eml.tpl | 32 -------------- view/en/smarty3/register_adminadd_eml.tpl | 32 -------------- view/fr/smarty3/register_adminadd_eml.tpl | 32 -------------- view/it/smarty3/register_adminadd_eml.tpl | 32 -------------- view/ro/smarty3/register_adminadd_eml.tpl | 32 -------------- 8 files changed, 37 insertions(+), 240 deletions(-) delete mode 100644 view/cs/smarty3/register_adminadd_eml.tpl delete mode 100644 view/de/smarty3/register_adminadd_eml.tpl delete mode 100644 view/en/register_adminadd_eml.tpl delete mode 100644 view/en/smarty3/register_adminadd_eml.tpl delete mode 100644 view/fr/smarty3/register_adminadd_eml.tpl delete mode 100644 view/it/smarty3/register_adminadd_eml.tpl delete mode 100644 view/ro/smarty3/register_adminadd_eml.tpl diff --git a/mod/admin.php b/mod/admin.php index 5da07b33ee..db3c8b1893 100644 --- a/mod/admin.php +++ b/mod/admin.php @@ -759,24 +759,45 @@ function admin_page_users_post(&$a){ return; } $nu = $result['user']; + $preamble = deindent(t(' + Dear %1$s, + the administrator of %2$s has set up an account for you.'); + $body = deindent(t(' + The login details are as follows: - $email_tpl = get_intltext_template("register_adminadd_eml.tpl"); - $email_tpl = replace_macros($email_tpl, array( - '$sitename' => $a->config['sitename'], - '$siteurl' => $a->get_baseurl(), - '$username' => $nu['username'], - '$email' => $nu['email'], - '$password' => $result['password'], - '$uid' => $nu['uid'] )); + Site Location: %1$s + Login Name: %2$s + Password: %3$s + + You may change your password from your account "Settings" page after logging + in. + + Please take a few moments to review the other account settings on that page. + + You may also wish to add some basic information to your default profile + (on the "Profiles" page) so that other people can easily find you. + + We recommend setting your full name, adding a profile photo, + adding some profile "keywords" (very useful in making new friends) - and + perhaps what country you live in; if you do not wish to be more specific + than that. + + We fully respect your right to privacy, and none of these items are necessary. + If you are new and do not know anybody here, they may help + you to make some new and interesting friends. + + Thank you and welcome to %4$s.'); + + $preamble = sprintf($preamble, $nu['username'], $a->config['sitename']); + $body = sprintf($body, $a->get_baseurl(), $nu['email'], $result['password'], $a->config['sitename']); + + notification(array( + 'type' => "SYSTEM_EMAIL", + 'to_email' => $email, + 'subject'=> sprintf( t('Registration details for %s'), $a->config['sitename']), + 'preamble'=> $preamble, + 'body' => $body)); - $res = mail($nu['email'], email_header_encode( sprintf( t('Registration details for %s'), $a->config['sitename']),'UTF-8'), - $email_tpl, - 'From: ' . 'Administrator' . '@' . $_SERVER['SERVER_NAME'] . "\n" - . 'Content-type: text/plain; charset=UTF-8' . "\n" - . 'Content-transfer-encoding: 8bit' ); - if ($res) { - info( t('Registration successful. Email send to user').EOL ); - } } if (x($_POST,'page_users_block')){ diff --git a/view/cs/smarty3/register_adminadd_eml.tpl b/view/cs/smarty3/register_adminadd_eml.tpl deleted file mode 100644 index 63efc7151b..0000000000 --- a/view/cs/smarty3/register_adminadd_eml.tpl +++ /dev/null @@ -1,32 +0,0 @@ -Drahý {{$username}}, - administrátor webu {{$sitename}} pro Vás vytvořil uživatelský účet. - -Vaše přihlašovací údaje jsou tyto: - - -Adresa webu: {{$siteurl}} -Uživatelské jméno: {{$email}} -Heslo: {{$password}} - -Vaše heslo si můžete po přihlášení změnit na stránce -. - -Prosím věnujte chvíli k revizi ostatních nastavení svého účtu. - -Můžete také přidat některé základní informace do Vašeho defaultního profilu - (na stránce "Profily"), čímž umožníte jiným lidem Vás snadněji nalézt. - -Doporučujeme nastavit celé jméno, přidat profilové foto -, přidat nějaká profilová "klíčová slova" (což je velmi užitečné pro hledání nových přátel) a - zemi, ve které žijete. Nemusíte zadávat víc -informací. - -Plně respektujeme Vaše právo na soukromí a žádná z výše uvedených položek není povinná. -Pokud jste nový a neznáte na tomto webu nikoho jiného, zadáním těchto -položek můžete získat nové a zajímavé přátele. - - -Díky a vítejte na {{$sitename}}. - -S pozdravem, - {{$sitename}} administrátor \ No newline at end of file diff --git a/view/de/smarty3/register_adminadd_eml.tpl b/view/de/smarty3/register_adminadd_eml.tpl deleted file mode 100644 index dbe1412b90..0000000000 --- a/view/de/smarty3/register_adminadd_eml.tpl +++ /dev/null @@ -1,32 +0,0 @@ -Hallo {{$username}}, - der Administrator von {{$sitename}} hat einen Account für dich eingerichtet. - -Hier die Login Details: - - -Adresse der Seite: {{$siteurl}} -Login Name: {{$email}} -Passwort: {{$password}} - -Du kannst und solltest das Passwort in den "Einstellungen" zu deinem Account ändern, -nachdem du dich erstmalig eingeloggt hast. - -Bitte nimm dir einige Augenblicke Zeit, um die anderen Einstellungen auf der Seite kennenzulernen und zu überprüfen. - -Eventuell möchtest du außerdem einige grundlegende Informationen in deinem Standardprofil (auf der "Profile" Seite) eintragen, -damit andere Leute dich einfacher finden können. - -Wir empfehlen den kompletten Namen anzugeben, ein eigenes Profilbild hochzuladen, -sowie ein paar "Profil-Schlüsselwörter" einzutragen (um leichter Menschen mit gleichen Interessen zu finden) - und -vielleicht auch in welchen Land du lebst; falls du nicht konkreter -werden möchtest. - -Wir respektieren dein Recht auf Privatsphäre und keine dieser Angaben ist notwendig. -Wenn du ganz neu bei Friendica bist und niemanden kennst, werden sie dir aber helfen -ein paar neue und interessante Freunde zu finden. - - -Danke und willkommen auf {{$sitename}}. - -Beste Grüße, - {{$sitename}} Administrator diff --git a/view/en/register_adminadd_eml.tpl b/view/en/register_adminadd_eml.tpl deleted file mode 100644 index 6d324809cb..0000000000 --- a/view/en/register_adminadd_eml.tpl +++ /dev/null @@ -1,32 +0,0 @@ -Dear {{$username}}, - the administrator of {{$sitename}} has set up an account for you. - -The login details are as follows: - - -Site Location: {{$siteurl}} -Login Name: {{$email}} -Password: {{$password}} - -You may change your password from your account "Settings" page after logging -in. - -Please take a few moments to review the other account settings on that page. - -You may also wish to add some basic information to your default profile -(on the "Profiles" page) so that other people can easily find you. - -We recommend setting your full name, adding a profile photo, -adding some profile "keywords" (very useful in making new friends) - and -perhaps what country you live in; if you do not wish to be more specific -than that. - -We fully respect your right to privacy, and none of these items are necessary. -If you are new and do not know anybody here, they may help -you to make some new and interesting friends. - - -Thank you and welcome to {{$sitename}}. - -Sincerely, - {{$sitename}} Administrator diff --git a/view/en/smarty3/register_adminadd_eml.tpl b/view/en/smarty3/register_adminadd_eml.tpl deleted file mode 100644 index 6d324809cb..0000000000 --- a/view/en/smarty3/register_adminadd_eml.tpl +++ /dev/null @@ -1,32 +0,0 @@ -Dear {{$username}}, - the administrator of {{$sitename}} has set up an account for you. - -The login details are as follows: - - -Site Location: {{$siteurl}} -Login Name: {{$email}} -Password: {{$password}} - -You may change your password from your account "Settings" page after logging -in. - -Please take a few moments to review the other account settings on that page. - -You may also wish to add some basic information to your default profile -(on the "Profiles" page) so that other people can easily find you. - -We recommend setting your full name, adding a profile photo, -adding some profile "keywords" (very useful in making new friends) - and -perhaps what country you live in; if you do not wish to be more specific -than that. - -We fully respect your right to privacy, and none of these items are necessary. -If you are new and do not know anybody here, they may help -you to make some new and interesting friends. - - -Thank you and welcome to {{$sitename}}. - -Sincerely, - {{$sitename}} Administrator diff --git a/view/fr/smarty3/register_adminadd_eml.tpl b/view/fr/smarty3/register_adminadd_eml.tpl deleted file mode 100644 index c122640879..0000000000 --- a/view/fr/smarty3/register_adminadd_eml.tpl +++ /dev/null @@ -1,32 +0,0 @@ -Chère, Cher {{$username}}, - l'administrateur de {{$sitename}} vous à créé un compte. - -Les détails de connexion sont les suivants : - - -Emplacement du site : {{$siteurl}} -Nom de connexion : {{$email}} -Mot de passe : {{$password}} - -Vous pouvez modifier votre mot de passe à la page des "Paramètres" de votre compte, une fois -connecté. - -Veuillez prendre le temps d'examiner les autres paramètres de votre compte sur cette page. - -Vous pouvez aussi ajouter quelques informatiques de base à votre profil par défaut -(sur la page "Profils") pour que d'autres personnes vous trouvent facilement. - -Nous vous recommandons d'indiquer votre nom complet, d'ajouter une photo pour votre profil, -d'ajouter quelques "mots-clés" (très efficace pour se faire de nouveaux amis) - et -peut-être aussi votre pays de résidence ; sauf si vous souhaitez pas être -aussi spécifique. - -Nous respectons entièrement votre vie privée, et aucun de ces éléments n'est nécessaire. -Si vous êtes nouveau et ne connaissez personne, ils peuvent vous -aider à vous faire de nouveaux et interessants amis. - - -Merci, et bienvenue sur {{$sitename}}. - -Sincèrement votre, - L'administrateur de {{$sitename}} \ No newline at end of file diff --git a/view/it/smarty3/register_adminadd_eml.tpl b/view/it/smarty3/register_adminadd_eml.tpl deleted file mode 100644 index 20a9cb176d..0000000000 --- a/view/it/smarty3/register_adminadd_eml.tpl +++ /dev/null @@ -1,32 +0,0 @@ -Ciao {{$username}}, - l'amministratore di {{{{$sitename}}}} ha creato un account per te. - -I dettagli di accesso sono i seguenti - - -Sito:»{{$siteurl}} -Soprannome:»{{$email}} -Password:»{{$password}} - -Puoi cambiare la tua password dalla pagina "Impostazioni" del tuo profilo dopo aver effettuato l'accesso - - -Prenditi un momento per dare un'occhiata alle altre impostazioni del tuo profilo nella stessa pagina. - -Potrest voler aggiungere alcune informazioni di base a quelle predefinite del profilo -(nella pagina "Profilo") per rendere più facile trovarti alle altre persone. - -Noi raccomandiamo di impostare il tuo nome completo, di aggiungere una foto, -di aggiungere alcune "parole chiavi" (molto utili per farsi nuovi amici) - e -magari il paese dove vivi; se non vuoi essere più dettagliato -di così. - -Noi rispettiamo il tuo diritto alla privacy e nessuna di queste informazioni è indispensabile. -Se non ancora non conosci nessuno qui, posso essere d'aiuto -per farti nuovi e interessanti amici. - - -Grazie. Siamo contenti di darti il benvenuto su {{$sitename}} - -Saluti, - l'amministratore di {{$sitename}} \ No newline at end of file diff --git a/view/ro/smarty3/register_adminadd_eml.tpl b/view/ro/smarty3/register_adminadd_eml.tpl deleted file mode 100644 index b32f223a0a..0000000000 --- a/view/ro/smarty3/register_adminadd_eml.tpl +++ /dev/null @@ -1,32 +0,0 @@ -Dragă {{$username}}, - administratorul {{$sitename}} v-a configurat un cont pentru dvs. - -Detaliile de autentificare sunt următoarele: - - -Locație Site: {{$siteurl}} -Nume Autentificare:⇥{{$email}} -Parolă:⇥{{$password}} - -Vă puteți schimba parola din pagina contului dvs. de "Configurări", după autentificare -în. - -Vă rugăm să acordați câteva momente pentru revizuirea altor configurări de cont de pe această pagină. - -Puteți de asemenea să adăugați câteva informații generale profilului dvs. implicit -(pe "Profile" pagina), astfel încât alte persoane să vă găsească uşor. - -Vă recomandăm să vă specificați numele complet, adăugând o fotografie de profil, -adăugând profilului câteva "cuvinte cheie" (foarte utile pentru a vă face noi prieteni) - și -poate în ce țara locuiți; dacă nu doriți să dați mai multe detalii -decât acestea. - -Respectăm pe deplin dreptul la intimitate, și nici unul dintre aceste elemente nu sunt necesar. -Dacă sunteți nou si nu ştiţi pe nimeni pe aici, ele pot ajuta -să vă faceți niște prieteni noi și interesanţi. - - -Vă multumim și vă urăm bun venit la {{$sitename}}. - -Cu stimă, - Administratorul {{$sitename}} \ No newline at end of file From 5997fb19ee93c21092ddba9ba7c5cfa34f4272d5 Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Sun, 7 Sep 2014 12:29:13 +0200 Subject: [PATCH 10/26] More template gore! --- include/user.php | 79 +++++++++++++++++++----- mod/admin.php | 8 ++- mod/lostpass.php | 1 + mod/register.php | 25 +++----- mod/regmod.php | 23 +++---- view/ca/register_open_eml.tpl | 22 ------- view/ca/smarty3/register_open_eml.tpl | 23 ------- view/cs/register_open_eml.tpl | 23 ------- view/cs/smarty3/register_open_eml.tpl | 24 ------- view/de/register_open_eml.tpl | 34 ---------- view/de/smarty3/register_open_eml.tpl | 35 ----------- view/en/register_open_eml.tpl | 34 ---------- view/en/smarty3/register_open_eml.tpl | 35 ----------- view/eo/register_open_eml.tpl | 34 ---------- view/eo/smarty3/register_open_eml.tpl | 35 ----------- view/es/register_open_eml.tpl | 21 ------- view/es/smarty3/register_open_eml.tpl | 22 ------- view/fr/register_open_eml.tpl | 34 ---------- view/fr/smarty3/register_open_eml.tpl | 23 ------- view/is/register_open_eml.tpl | 34 ---------- view/is/smarty3/register_open_eml.tpl | 35 ----------- view/it/smarty3/register_open_eml.tpl | 34 ---------- view/nb-no/register_open_eml.tpl | 34 ---------- view/nb-no/smarty3/register_open_eml.tpl | 35 ----------- view/nl/register_open_eml.tpl | 34 ---------- view/pl/register_open_eml.tpl | 36 ----------- view/pl/smarty3/register_open_eml.tpl | 37 ----------- view/ro/smarty3/register_open_eml.tpl | 34 ---------- view/sv/register_open_eml.tpl | 17 ----- view/sv/smarty3/register_open_eml.tpl | 18 ------ view/zh-cn/register_open_eml.tpl | 34 ---------- view/zh-cn/smarty3/register_open_eml.tpl | 35 ----------- 32 files changed, 86 insertions(+), 866 deletions(-) delete mode 100644 view/ca/register_open_eml.tpl delete mode 100644 view/ca/smarty3/register_open_eml.tpl delete mode 100644 view/cs/register_open_eml.tpl delete mode 100644 view/cs/smarty3/register_open_eml.tpl delete mode 100644 view/de/register_open_eml.tpl delete mode 100644 view/de/smarty3/register_open_eml.tpl delete mode 100644 view/en/register_open_eml.tpl delete mode 100644 view/en/smarty3/register_open_eml.tpl delete mode 100644 view/eo/register_open_eml.tpl delete mode 100644 view/eo/smarty3/register_open_eml.tpl delete mode 100644 view/es/register_open_eml.tpl delete mode 100644 view/es/smarty3/register_open_eml.tpl delete mode 100644 view/fr/register_open_eml.tpl delete mode 100644 view/fr/smarty3/register_open_eml.tpl delete mode 100644 view/is/register_open_eml.tpl delete mode 100644 view/is/smarty3/register_open_eml.tpl delete mode 100644 view/it/smarty3/register_open_eml.tpl delete mode 100644 view/nb-no/register_open_eml.tpl delete mode 100644 view/nb-no/smarty3/register_open_eml.tpl delete mode 100644 view/nl/register_open_eml.tpl delete mode 100644 view/pl/register_open_eml.tpl delete mode 100644 view/pl/smarty3/register_open_eml.tpl delete mode 100644 view/ro/smarty3/register_open_eml.tpl delete mode 100644 view/sv/register_open_eml.tpl delete mode 100644 view/sv/smarty3/register_open_eml.tpl delete mode 100644 view/zh-cn/register_open_eml.tpl delete mode 100644 view/zh-cn/smarty3/register_open_eml.tpl diff --git a/include/user.php b/include/user.php index 8528bfbfa5..bf29daf1a6 100644 --- a/include/user.php +++ b/include/user.php @@ -6,6 +6,7 @@ require_once('include/plugin.php'); require_once('include/text.php'); require_once('include/pgettext.php'); require_once('include/datetime.php'); +require_once('include/enotify.php'); function create_user($arr) { @@ -44,7 +45,7 @@ function create_user($arr) { $result['message'] .= t('Invitation could not be verified.') . EOL; return $result; } - } + } if((! x($username)) || (! x($email)) || (! x($nickname))) { if($openid_url) { @@ -57,17 +58,17 @@ function create_user($arr) { require_once('library/openid.php'); $openid = new LightOpenID; $openid->identity = $openid_url; - $openid->returnUrl = $a->get_baseurl() . '/openid'; + $openid->returnUrl = $a->get_baseurl() . '/openid'; $openid->required = array('namePerson/friendly', 'contact/email', 'namePerson'); $openid->optional = array('namePerson/first','media/image/aspect11','media/image/default'); - try { + try { $authurl = $openid->authUrl(); } catch (Exception $e){ - $result['message'] .= t("We encountered a problem while logging in with the OpenID you provided. Please check the correct spelling of the ID."). EOL . EOL . t("The error message was:") . $e->getMessage() . EOL; + $result['message'] .= t("We encountered a problem while logging in with the OpenID you provided. Please check the correct spelling of the ID."). EOL . EOL . t("The error message was:") . $e->getMessage() . EOL; return $result; } goaway($authurl); - // NOTREACHED + // NOTREACHED } notice( t('Please enter the required information.') . EOL ); @@ -90,12 +91,12 @@ function create_user($arr) { // I don't really like having this rule, but it cuts down // on the number of auto-registrations by Russian spammers - + // Using preg_match was completely unreliable, due to mixed UTF-8 regex support // $no_utf = get_config('system','no_utf'); - // $pat = (($no_utf) ? '/^[a-zA-Z]* [a-zA-Z]*$/' : '/^\p{L}* \p{L}*$/u' ); + // $pat = (($no_utf) ? '/^[a-zA-Z]* [a-zA-Z]*$/' : '/^\p{L}* \p{L}*$/u' ); - // So now we are just looking for a space in the full name. + // So now we are just looking for a space in the full name. $loose_reg = get_config('system','no_regfullname'); if(! $loose_reg) { @@ -182,7 +183,7 @@ function create_user($arr) { * will take several minutes each to process. * */ - + $sres = new_keypair(512); $sprvkey = $sres['prvkey']; $spubkey = $sres['pubkey']; @@ -207,7 +208,7 @@ function create_user($arr) { ); if($r) { - $r = q("SELECT * FROM `user` + $r = q("SELECT * FROM `user` WHERE `username` = '%s' AND `password` = '%s' LIMIT 1", dbesc($username), dbesc($new_password_encoded) @@ -220,10 +221,10 @@ function create_user($arr) { else { $result['message'] .= t('An error occurred during registration. Please try again.') . EOL ; return $result; - } + } /** - * if somebody clicked submit twice very quickly, they could end up with two accounts + * if somebody clicked submit twice very quickly, they could end up with two accounts * due to race condition. Remove this one. */ @@ -281,8 +282,8 @@ function create_user($arr) { dbesc(datetime_convert()) ); - // Create a group with no members. This allows somebody to use it - // right away as a default group for new contacts. + // Create a group with no members. This allows somebody to use it + // right away as a default group for new contacts. require_once('include/group.php'); group_add($newuid, t('Friends')); @@ -323,7 +324,7 @@ function create_user($arr) { // guess mimetype from headers or filename $type = guess_image_type($photo,true); - + $img = new Photo($img_str, $type); if($img->is_valid()) { @@ -365,3 +366,51 @@ function create_user($arr) { return $result; } + + +/* + * send registration confirmation. + * It's here as a function because the mail is sent + * from different parts + */ +function send_register_open_eml($email, $sitename, $siteurl, $username, $password){ + $preamble = deindent(t(' + Dear %1$s, + Thank you for registering at %2$s. Your account has been created. + ')); + $body = deindent(t(' + The login details are as follows: + Site Location: %3$s + Login Name: %1$s + Password: %5$ + + You may change your password from your account "Settings" page after logging + in. + + Please take a few moments to review the other account settings on that page. + + You may also wish to add some basic information to your default profile + (on the "Profiles" page) so that other people can easily find you. + + We recommend setting your full name, adding a profile photo, + adding some profile "keywords" (very useful in making new friends) - and + perhaps what country you live in; if you do not wish to be more specific + than that. + + We fully respect your right to privacy, and none of these items are necessary. + If you are new and do not know anybody here, they may help + you to make some new and interesting friends. + + + Thank you and welcome to %2$s.')); + + $preamble = sprintf($preamble, $username, $sitename); + $body = sprintf($body, $email, $sitename, $siteurl, $username, $password); + + notification(array( + 'type' => "SYSTEM_EMAIL", + 'to_email' => $email, + 'subject'=> sprintf( t('Registration details for %s'), $sitename), + 'preamble'=> $preamble, + 'body' => $body)); +} diff --git a/mod/admin.php b/mod/admin.php index db3c8b1893..6064a04ff5 100644 --- a/mod/admin.php +++ b/mod/admin.php @@ -4,6 +4,8 @@ * Friendica admin */ require_once("include/remoteupdate.php"); +require_once("include/enotify.php"); +require_once("include/text.php"); /** @@ -752,7 +754,7 @@ function admin_page_users_post(&$a){ if (!($nu_name==="") && !($nu_email==="") && !($nu_nickname==="")) { require_once('include/user.php'); - require_once('include/email.php'); + $result = create_user( array('username'=>$nu_name, 'email'=>$nu_email, 'nickname'=>$nu_nickname, 'verified'=>1) ); if(! $result['success']) { notice($result['message']); @@ -761,7 +763,7 @@ function admin_page_users_post(&$a){ $nu = $result['user']; $preamble = deindent(t(' Dear %1$s, - the administrator of %2$s has set up an account for you.'); + the administrator of %2$s has set up an account for you.')); $body = deindent(t(' The login details are as follows: @@ -786,7 +788,7 @@ function admin_page_users_post(&$a){ If you are new and do not know anybody here, they may help you to make some new and interesting friends. - Thank you and welcome to %4$s.'); + Thank you and welcome to %4$s.')); $preamble = sprintf($preamble, $nu['username'], $a->config['sitename']); $body = sprintf($body, $a->get_baseurl(), $nu['email'], $result['password'], $a->config['sitename']); diff --git a/mod/lostpass.php b/mod/lostpass.php index f955c020e4..938d1cbb00 100644 --- a/mod/lostpass.php +++ b/mod/lostpass.php @@ -2,6 +2,7 @@ require_once('include/email.php'); require_once('include/enotify.php'); +require_once('include/text.php'); function lostpass_post(&$a) { diff --git a/mod/register.php b/mod/register.php index 5e011cb9a9..b9a9808b95 100644 --- a/mod/register.php +++ b/mod/register.php @@ -2,6 +2,7 @@ require_once('include/email.php'); require_once('include/bbcode.php'); +require_once('include/user.php'); if(! function_exists('register_post')) { function register_post(&$a) { @@ -45,7 +46,7 @@ function register_post(&$a) { $verified = 0; break; } - + require_once('include/user.php'); @@ -62,7 +63,7 @@ function register_post(&$a) { } $user = $result['user']; - + if($netpublish && $a->config['register_policy'] != REGISTER_APPROVE) { $url = $a->get_baseurl() . '/profile/' . $user['nickname']; proc_run('php',"include/directory.php","$url"); @@ -80,20 +81,12 @@ function register_post(&$a) { set_pconfig($user['uid'],'system','invites_remaining',$num_invites); } - $email_tpl = get_intltext_template("register_open_eml.tpl"); - $email_tpl = replace_macros($email_tpl, array( - '$sitename' => $a->config['sitename'], - '$siteurl' => $a->get_baseurl(), - '$username' => $user['username'], - '$email' => $user['email'], - '$password' => $result['password'], - '$uid' => $user['uid'] )); - - $res = mail($user['email'], email_header_encode( sprintf( t('Registration details for %s'), $a->config['sitename']),'UTF-8'), - $email_tpl, - 'From: ' . 'Administrator' . '@' . $_SERVER['SERVER_NAME'] . "\n" - . 'Content-type: text/plain; charset=UTF-8' . "\n" - . 'Content-transfer-encoding: 8bit' ); + send_register_open_eml( + $user['email'], + $a->config['sitename'], + $a->get_baseurl(), + $user['username'], + $result['password']); if($res) { diff --git a/mod/regmod.php b/mod/regmod.php index 96708eeaa4..05f33ab11f 100644 --- a/mod/regmod.php +++ b/mod/regmod.php @@ -1,6 +1,6 @@ $a->config['sitename'], - '$siteurl' => $a->get_baseurl(), - '$username' => $user[0]['username'], - '$email' => $user[0]['email'], - '$password' => $register[0]['password'], - '$uid' => $user[0]['uid'] - )); - - $res = mail($user[0]['email'], email_header_encode( sprintf(t('Registration details for %s'), $a->config['sitename']), 'UTF-8'), - $email_tpl, - 'From: ' . 'Administrator' . '@' . $_SERVER['SERVER_NAME'] . "\n" - . 'Content-type: text/plain; charset=UTF-8' . "\n" - . 'Content-transfer-encoding: 8bit' ); + send_register_open_eml( + $user[0]['email'], + $a->config['sitename'], + $a->get_baseurl(), + $user[0]['username'], + $register[0]['password']); pop_lang(); diff --git a/view/ca/register_open_eml.tpl b/view/ca/register_open_eml.tpl deleted file mode 100644 index 0170c98e39..0000000000 --- a/view/ca/register_open_eml.tpl +++ /dev/null @@ -1,22 +0,0 @@ - -Apreciat/da $username, - - Gràcies per registrar-te en $sitename. El teu compte ha estat creat. - - -Les dades d'accés són les següents: - - -Lloc: $siteurl -Nom: $email -Contrasenya: $password - - -Després d'accedir pots canviar la teva contrasenya a la pàgina de "Configuració". - -Pren un moment per revisar les altres configuracions del compte en aquesta pàgina. - - -Gràcies i benvingut/da $sitename. - - diff --git a/view/ca/smarty3/register_open_eml.tpl b/view/ca/smarty3/register_open_eml.tpl deleted file mode 100644 index ba56d6ae8c..0000000000 --- a/view/ca/smarty3/register_open_eml.tpl +++ /dev/null @@ -1,23 +0,0 @@ - - -Apreciat/da {{$username}}, - - Gràcies per registrar-te en {{$sitename}}. El teu compte ha estat creat. - - -Les dades d'accés són les següents: - - -Lloc: {{$siteurl}} -Nom: {{$email}} -Contrasenya: {{$password}} - - -Després d'accedir pots canviar la teva contrasenya a la pàgina de "Configuració". - -Pren un moment per revisar les altres configuracions del compte en aquesta pàgina. - - -Gràcies i benvingut/da {{$sitename}}. - - diff --git a/view/cs/register_open_eml.tpl b/view/cs/register_open_eml.tpl deleted file mode 100644 index f8e42678b4..0000000000 --- a/view/cs/register_open_eml.tpl +++ /dev/null @@ -1,23 +0,0 @@ -Milý/milá $username, - Díky za registraci na $sitename. Váš účet byl vytvořen. -Vaše přihlašovací údaje jsou tato: - -Adresa webu: $siteurl -Přihlašovací jméno: $email -Heslo: $password - -Toto heslo si můžete změnit z vašeho účtu na stránce "Nastavení" poté, co se přihlásíte. - -Věnujte prosím chvíli revizi dalších nastavení Vašeho účtu na této stránce. - -Můžete také přidat některé základní informace do Vašeho defaultního profilu (na stránce "Profily"), čímž umožníte jiným lidem Vás snadněji nalézt. - -Doporučujeme nastavit celé jméno, přidat profilové foto, přidat nějaká profilová "klíčová slova" (což je velmi užitečné pro hledání nových přátel) a zemi, ve které žijete. Nemusíte zadávat víc informací. - -Plně respektujeme Vaše právo na soukromí a žádná z výše uvedených položek není povinná. -Pokud jste nový a neznáte na tomto webu nikoho jiného, zadáním těchto položek můžete získat nové a zajímavé přátele. - -Díky a vítejte na $sitename. - -S pozdravem, - $sitename administrátor diff --git a/view/cs/smarty3/register_open_eml.tpl b/view/cs/smarty3/register_open_eml.tpl deleted file mode 100644 index df9bcf53c0..0000000000 --- a/view/cs/smarty3/register_open_eml.tpl +++ /dev/null @@ -1,24 +0,0 @@ - -Milý/milá {{$username}}, - Díky za registraci na {{$sitename}}. Váš účet byl vytvořen. -Vaše přihlašovací údaje jsou tato: - -Adresa webu: {{$siteurl}} -Přihlašovací jméno: {{$email}} -Heslo: {{$password}} - -Toto heslo si můžete změnit z vašeho účtu na stránce "Nastavení" poté, co se přihlásíte. - -Věnujte prosím chvíli revizi dalších nastavení Vašeho účtu na této stránce. - -Můžete také přidat některé základní informace do Vašeho defaultního profilu (na stránce "Profily"), čímž umožníte jiným lidem Vás snadněji nalézt. - -Doporučujeme nastavit celé jméno, přidat profilové foto, přidat nějaká profilová "klíčová slova" (což je velmi užitečné pro hledání nových přátel) a zemi, ve které žijete. Nemusíte zadávat víc informací. - -Plně respektujeme Vaše právo na soukromí a žádná z výše uvedených položek není povinná. -Pokud jste nový a neznáte na tomto webu nikoho jiného, zadáním těchto položek můžete získat nové a zajímavé přátele. - -Díky a vítejte na {{$sitename}}. - -S pozdravem, - {{$sitename}} administrátor diff --git a/view/de/register_open_eml.tpl b/view/de/register_open_eml.tpl deleted file mode 100644 index 4392e8da24..0000000000 --- a/view/de/register_open_eml.tpl +++ /dev/null @@ -1,34 +0,0 @@ - -Hallo $[username], - Danke für deine Anmeldung auf $[sitename]. Dein Account wurde angelegt. -Hier die Login Details: - - -Adresse der Seite: $[siteurl] -Login Name: $[email] -Passwort: $[password] - -Du kannst und solltest das Passwort in den "Einstellungen" zu deinem Account ändern, -nachdem du dich erstmalig eingeloggt hast. - -Bitte nimm dir einige Augenblicke Zeit, um die anderen Einstellungen auf der Seite kennenzulernen und zu überprüfen. - -Eventuell möchtest du außerdem einige grundlegende Informationen in deinem Standardprofil (auf der "Profile" Seite) eintragen, -damit andere Leute dich einfacher finden können. - -Wir empfehlen den kompletten Namen anzugeben, ein eigenes Profilbild hochzuladen, -sowie ein paar "Profil-Schlüsselwörter" einzutragen (um leichter Menschen mit gleichen Interessen zu finden) - und -vielleicht auch in welchen Land du lebst; falls du nicht konkreter -werden möchtest. - -Wir respektieren dein Recht auf Privatsphäre und keine dieser Angaben ist notwendig. -Wenn du ganz neu bei Friendica bist und niemanden kennst, werden sie dir aber helfen -ein paar neue und interessante Freunde zu finden. - - -Danke und willkommen auf $[sitename]. - -Beste Grüße, - $[sitename] Administrator - - \ No newline at end of file diff --git a/view/de/smarty3/register_open_eml.tpl b/view/de/smarty3/register_open_eml.tpl deleted file mode 100644 index acd286935a..0000000000 --- a/view/de/smarty3/register_open_eml.tpl +++ /dev/null @@ -1,35 +0,0 @@ - - -Hallo {{$username}}, - Danke für deine Anmeldung auf {{$sitename}}. Dein Account wurde angelegt. -Hier die Login Details: - - -Adresse der Seite: {{$siteurl}} -Login Name: {{$email}} -Passwort: {{$password}} - -Du kannst und solltest das Passwort in den "Einstellungen" zu deinem Account ändern, -nachdem du dich erstmalig eingeloggt hast. - -Bitte nimm dir einige Augenblicke Zeit, um die anderen Einstellungen auf der Seite kennenzulernen und zu überprüfen. - -Eventuell möchtest du außerdem einige grundlegende Informationen in deinem Standardprofil (auf der "Profile" Seite) eintragen, -damit andere Leute dich einfacher finden können. - -Wir empfehlen den kompletten Namen anzugeben, ein eigenes Profilbild hochzuladen, -sowie ein paar "Profil-Schlüsselwörter" einzutragen (um leichter Menschen mit gleichen Interessen zu finden) - und -vielleicht auch in welchen Land du lebst; falls du nicht konkreter -werden möchtest. - -Wir respektieren dein Recht auf Privatsphäre und keine dieser Angaben ist notwendig. -Wenn du ganz neu bei Friendica bist und niemanden kennst, werden sie dir aber helfen -ein paar neue und interessante Freunde zu finden. - - -Danke und willkommen auf {{$sitename}}. - -Beste Grüße, - {{$sitename}} Administrator - - \ No newline at end of file diff --git a/view/en/register_open_eml.tpl b/view/en/register_open_eml.tpl deleted file mode 100644 index c55ac1e7e8..0000000000 --- a/view/en/register_open_eml.tpl +++ /dev/null @@ -1,34 +0,0 @@ - -Dear $[username], - Thank you for registering at $[sitename]. Your account has been created. -The login details are as follows: - - -Site Location: $[siteurl] -Login Name: $[email] -Password: $[password] - -You may change your password from your account "Settings" page after logging -in. - -Please take a few moments to review the other account settings on that page. - -You may also wish to add some basic information to your default profile -(on the "Profiles" page) so that other people can easily find you. - -We recommend setting your full name, adding a profile photo, -adding some profile "keywords" (very useful in making new friends) - and -perhaps what country you live in; if you do not wish to be more specific -than that. - -We fully respect your right to privacy, and none of these items are necessary. -If you are new and do not know anybody here, they may help -you to make some new and interesting friends. - - -Thank you and welcome to $[sitename]. - -Sincerely, - $[sitename] Administrator - - diff --git a/view/en/smarty3/register_open_eml.tpl b/view/en/smarty3/register_open_eml.tpl deleted file mode 100644 index 63aca93347..0000000000 --- a/view/en/smarty3/register_open_eml.tpl +++ /dev/null @@ -1,35 +0,0 @@ - - -Dear {{$username}}, - Thank you for registering at {{$sitename}}. Your account has been created. -The login details are as follows: - - -Site Location: {{$siteurl}} -Login Name: {{$email}} -Password: {{$password}} - -You may change your password from your account "Settings" page after logging -in. - -Please take a few moments to review the other account settings on that page. - -You may also wish to add some basic information to your default profile -(on the "Profiles" page) so that other people can easily find you. - -We recommend setting your full name, adding a profile photo, -adding some profile "keywords" (very useful in making new friends) - and -perhaps what country you live in; if you do not wish to be more specific -than that. - -We fully respect your right to privacy, and none of these items are necessary. -If you are new and do not know anybody here, they may help -you to make some new and interesting friends. - - -Thank you and welcome to {{$sitename}}. - -Sincerely, - {{$sitename}} Administrator - - diff --git a/view/eo/register_open_eml.tpl b/view/eo/register_open_eml.tpl deleted file mode 100644 index 735ea9a4bb..0000000000 --- a/view/eo/register_open_eml.tpl +++ /dev/null @@ -1,34 +0,0 @@ - -Kara $[username], - Dankon pro via registrado ĉe $[sitename]. Vian konton estas kreita. -Jen viaj legitimaĵoj: - - -Retejo:»$[siteurl] -Salutnomo:»$[email] -Pasvorto:»$[password] - -Vi eblas ŝanĝi la pasvorton ĉe la paĝo Agordoj -> Konto kiam vi estas -ensalutita. - -Bonvolu preni kelkajn momentoj por kontroli la aliajn kontaktagordojn. - -Eble vi volas aldoni kelkajn bazajn informojn al via profilo -(ĉe la paĝo "Profiloj"), tial vi troveblas al aliaj uzantoj. - -Ni rekomendas agordi vian plenan noman, aldoni profilbildon, -kaj aldojo kelkajn ŝlosilvortojn (tre utila por trovi novajn amikojn) - kaj -eble en kiu lando vi loĝas, se vi ne volas pli specifa -ol tio. - -Ni tute respektas vian privatecon, kaj neniu de tiuj agordoj necesas. -Se vi novas kaj ne konas iun ĉi tie, ili eble helpas -vin trovi novajn kaj interesajn amikojn. - - -Dankon kaj bonvenon ĉe $[sitename]. - -Salutoj, - $[sitename] administranto - - \ No newline at end of file diff --git a/view/eo/smarty3/register_open_eml.tpl b/view/eo/smarty3/register_open_eml.tpl deleted file mode 100644 index b2cabc68c9..0000000000 --- a/view/eo/smarty3/register_open_eml.tpl +++ /dev/null @@ -1,35 +0,0 @@ - - -Kara {{$username}}, - Dankon pro via registrado ĉe {{$sitename}}. Vian konton estas kreita. -Jen viaj legitimaĵoj: - - -Retejo:»{{$siteurl}} -Salutnomo:»{{$email}} -Pasvorto:»{{$password}} - -Vi eblas ŝanĝi la pasvorton ĉe la paĝo Agordoj -> Konto kiam vi estas -ensalutita. - -Bonvolu preni kelkajn momentoj por kontroli la aliajn kontaktagordojn. - -Eble vi volas aldoni kelkajn bazajn informojn al via profilo -(ĉe la paĝo "Profiloj"), tial vi troveblas al aliaj uzantoj. - -Ni rekomendas agordi vian plenan noman, aldoni profilbildon, -kaj aldojo kelkajn ŝlosilvortojn (tre utila por trovi novajn amikojn) - kaj -eble en kiu lando vi loĝas, se vi ne volas pli specifa -ol tio. - -Ni tute respektas vian privatecon, kaj neniu de tiuj agordoj necesas. -Se vi novas kaj ne konas iun ĉi tie, ili eble helpas -vin trovi novajn kaj interesajn amikojn. - - -Dankon kaj bonvenon ĉe {{$sitename}}. - -Salutoj, - {{$sitename}} administranto - - \ No newline at end of file diff --git a/view/es/register_open_eml.tpl b/view/es/register_open_eml.tpl deleted file mode 100644 index 7c7a90b408..0000000000 --- a/view/es/register_open_eml.tpl +++ /dev/null @@ -1,21 +0,0 @@ - -Estimado/a $username, - - Gracias por registrarte en $sitename. Tu cuenta ha sido creada. - - -Los datos de acceso son los siguientes: - -Sitio: $siteurl -Nombre: $email -Contraseña: $password - - -Después de acceder puedes cambiar tu contraseña en la página de "Configuración". - -Toma un momento para revisar las otras configuraciones de la cuenta en esa página. - - -Gracias y bienvenido/a $sitename. - - diff --git a/view/es/smarty3/register_open_eml.tpl b/view/es/smarty3/register_open_eml.tpl deleted file mode 100644 index 0d0cc5ae05..0000000000 --- a/view/es/smarty3/register_open_eml.tpl +++ /dev/null @@ -1,22 +0,0 @@ - - -Estimado/a {{$username}}, - - Gracias por registrarte en {{$sitename}}. Tu cuenta ha sido creada. - - -Los datos de acceso son los siguientes: - -Sitio: {{$siteurl}} -Nombre: {{$email}} -Contraseña: {{$password}} - - -Después de acceder puedes cambiar tu contraseña en la página de "Configuración". - -Toma un momento para revisar las otras configuraciones de la cuenta en esa página. - - -Gracias y bienvenido/a {{$sitename}}. - - diff --git a/view/fr/register_open_eml.tpl b/view/fr/register_open_eml.tpl deleted file mode 100644 index 427ad561ab..0000000000 --- a/view/fr/register_open_eml.tpl +++ /dev/null @@ -1,34 +0,0 @@ - -Cher $[username], - Merci de vous être inscrit sur $[sitename]. Votre compte est bien créé. -Vos informations de connexion sont comme suit : - - -Adresse du site: $[siteurl] -Utilisateur: $[email] -Mot de passe: $[password] - -Vous pouvez changer votre mot de passe depuis la page "Réglages" une fois -connecté. - -Merci de prender quelques instants pour vérifier les autres réglages de cette page. - -Vous pouvez aussi ajouter quelques informatiques de base à votre profil par défaut -(sur la page "Profils") pour que les autres membres vous trouvent facilement. - -Nous vous recommandons d'indiquer un nom complet, d'ajouter une photo -de profil, quelques "mots-clés" (très efficace pour rencontrer des gens) - et -peut-être aussi votre pays de résidence ; sauf si vous souhaitez être plus -précis, bien sûr. - -Nous avons le plus grand respect pour votre vie privée, et aucun de ces éléments n'est nécessaire. -Si vous êtes nouveau et ne connaissez personne, ils peuvent cependant vous -aider à vous faire quelques nouveaux et intéressants contacts. - - -Merci, et bienvenue sur $[sitename]. - -Sincèrement votre, - l'administrateur de $[sitename] - - \ No newline at end of file diff --git a/view/fr/smarty3/register_open_eml.tpl b/view/fr/smarty3/register_open_eml.tpl deleted file mode 100644 index 3e8121354a..0000000000 --- a/view/fr/smarty3/register_open_eml.tpl +++ /dev/null @@ -1,23 +0,0 @@ - - -Cher(e) {{$username}}, - - Merci de votre inscription à {{$sitename}}. Votre compte a été créé. -Les informations de connexion sont les suivantes : - -Site : {{$siteurl}} -Pseudo/Courriel : {{$email}} -Mot de passe : {{$password}} - -Vous pouvez changer de mot de passe dans la page des « Réglages » de votre compte, -après connexion. - -Merci de prendre quelques minutes pour découvrir les autres réglages disponibles -sur cette page. - -Merci, et bienvenue sur {{$sitename}}. - -Sincèrement votre, - l'administrateur de {{$sitename}} - - diff --git a/view/is/register_open_eml.tpl b/view/is/register_open_eml.tpl deleted file mode 100644 index fd564a1420..0000000000 --- a/view/is/register_open_eml.tpl +++ /dev/null @@ -1,34 +0,0 @@ - -Góðan daginn $[username], - Takk fyrir að skrá þig á $[sitename]. Notandinn þinn hefur verið stofnaður. -Innskráningar upplýsingarnar þínar eru eftirfarandi: - - -Vefþjónn: $[siteurl] -Notendanafn: $[email] -Aðgangsorð: $[password] - -Þú getur breytt aðgangsorðinu þínu á "Stillingar" síðunni eftir að þú hefur skráð þig -inn. - -Endilega eyddu smá tíma í að yfirfara aðrar notenda stillingar á þeirri síðu. - -Einnig gætir þú bætt við grunnupplýsingum á sjálfgefna prófílinn -(á "Forsíður" síðunni) svo aðrið geti auðveldlega fundið þig. - -Við mælum með að þú setjir fullt nafn, bætir við prófíl mynd, -bætir nokkrum "leitarorðum" (mjög gagnlegt við að eignast nýja vini) og -mögulega bætir við í hvaða landi þú býrð, ef þú villt ekki vera nákvæmari -en það. - -Við virðum að fullu rétt þinn til einkalífs, því er ekkert að þessum atriðum skilyrði. -Ef þú ert byrjandi og þekkir ekki einhvern hér, þér eru hér fólk -sem getur aðstoðað þig við að eignast nýja og áhugaverða vini. - - -Takk fyrir og velkomin(n) á $[sitename]. - -Bestu kveðjur, - Kerfisstjóri $[sitename] - - \ No newline at end of file diff --git a/view/is/smarty3/register_open_eml.tpl b/view/is/smarty3/register_open_eml.tpl deleted file mode 100644 index 3391c08c16..0000000000 --- a/view/is/smarty3/register_open_eml.tpl +++ /dev/null @@ -1,35 +0,0 @@ - - -Góðan daginn {{$username}}, - Takk fyrir að skrá þig á {{$sitename}}. Notandinn þinn hefur verið stofnaður. -Innskráningar upplýsingarnar þínar eru eftirfarandi: - - -Vefþjónn: {{$siteurl}} -Notendanafn: {{$email}} -Aðgangsorð: {{$password}} - -Þú getur breytt aðgangsorðinu þínu á "Stillingar" síðunni eftir að þú hefur skráð þig -inn. - -Endilega eyddu smá tíma í að yfirfara aðrar notenda stillingar á þeirri síðu. - -Einnig gætir þú bætt við grunnupplýsingum á sjálfgefna prófílinn -(á "Forsíður" síðunni) svo aðrið geti auðveldlega fundið þig. - -Við mælum með að þú setjir fullt nafn, bætir við prófíl mynd, -bætir nokkrum "leitarorðum" (mjög gagnlegt við að eignast nýja vini) og -mögulega bætir við í hvaða landi þú býrð, ef þú villt ekki vera nákvæmari -en það. - -Við virðum að fullu rétt þinn til einkalífs, því er ekkert að þessum atriðum skilyrði. -Ef þú ert byrjandi og þekkir ekki einhvern hér, þér eru hér fólk -sem getur aðstoðað þig við að eignast nýja og áhugaverða vini. - - -Takk fyrir og velkomin(n) á {{$sitename}}. - -Bestu kveðjur, - Kerfisstjóri {{$sitename}} - - \ No newline at end of file diff --git a/view/it/smarty3/register_open_eml.tpl b/view/it/smarty3/register_open_eml.tpl deleted file mode 100644 index 23dcaf2c8d..0000000000 --- a/view/it/smarty3/register_open_eml.tpl +++ /dev/null @@ -1,34 +0,0 @@ - -Ciao {{$username}}, - Grazie per aver effettuato la registrazione a {{$sitename}}. Il tuo account è stato creato. -I dettagli di accesso sono i seguenti - - -Sito:»{{$siteurl}} -Nome utente:»{{$email}} -Password:»{{$password}} - -Puoi cambiare la tua password dalla pagina "Impostazioni" del tuo profilo dopo aver effettuato l'accesso -. - -Prenditi un momento per dare un'occhiata alle altre impostazioni del tuo profilo nella stessa pagina. - -Potrest voler aggiungere alcune informazioni di base a quelle predefinite del profilo -(nella pagina "Profilo") per rendere agli altri più facile trovarti. - -Noi raccomandiamo di impostare il tuo nome completo, di aggiungere una foto, -di aggiungere alcune "parole chiavi" (molto utili per farsi nuovi amici) - e -magari il paese dove vivi; se non vuoi essere più dettagliato -di così. - -Noi rispettiamo il tuo diritto alla privacy e nessuna di queste informazioni è indispensabile. -Se ancora non conosci nessuno qui, potrebbe esserti di aiuto -per farti nuovi e interessanti amici. - - -Grazie. Siamo contenti di darti il benvenuto su {{$sitename}} - -Saluti, - l'amministratore di {{$sitename}} - - \ No newline at end of file diff --git a/view/nb-no/register_open_eml.tpl b/view/nb-no/register_open_eml.tpl deleted file mode 100644 index 345ca0b657..0000000000 --- a/view/nb-no/register_open_eml.tpl +++ /dev/null @@ -1,34 +0,0 @@ - -Kjære $[username], - Takk for at du registrerte deg hos $[sitename]. Kontoen din er opprettet. -Innloggingsdetaljene er som følger: - - -Nettstedsadresse:»$[siteurl] -Brukernavn:»$[email] -Passord:»$[password] - -Du kan endre passordet ditt på siden "Innstillinger" etter at du har logget -inn. - -Vennligst bruk litt tid til å se over de andre kontoinnstillingene på den siden. - -Du vil antakelig ønske å legge til litt grunnleggende informasjon til standardprofilen din -(på siden "Profiler") slik at folk lettere kan finne deg. - -Vi anbefaler å oppgi fullt navn, legge til et profilbilde, -legge til noen "nøkkelord" for profilen (svært nyttig for å få nye venner) - og -kanskje hvilket land du bor i, hvis du ikke ønsker å være mer spesifikk -enn det. - -Vi respekterer ditt privatliv fullt ut, og ingen av disse elementene er nødvendige. -Hvis du er ny og ikke kjenner noen her, så kan de hjelpe -deg å få noen nye og interessante venner. - - -Takk og velkommen til $[sitename]. - -Beste hilsen, - $[sitename] administrator - - \ No newline at end of file diff --git a/view/nb-no/smarty3/register_open_eml.tpl b/view/nb-no/smarty3/register_open_eml.tpl deleted file mode 100644 index 1361a0488f..0000000000 --- a/view/nb-no/smarty3/register_open_eml.tpl +++ /dev/null @@ -1,35 +0,0 @@ - - -Kjære {{$username}}, - Takk for at du registrerte deg hos {{$sitename}}. Kontoen din er opprettet. -Innloggingsdetaljene er som følger: - - -Nettstedsadresse:»{{$siteurl}} -Brukernavn:»{{$email}} -Passord:»{{$password}} - -Du kan endre passordet ditt på siden "Innstillinger" etter at du har logget -inn. - -Vennligst bruk litt tid til å se over de andre kontoinnstillingene på den siden. - -Du vil antakelig ønske å legge til litt grunnleggende informasjon til standardprofilen din -(på siden "Profiler") slik at folk lettere kan finne deg. - -Vi anbefaler å oppgi fullt navn, legge til et profilbilde, -legge til noen "nøkkelord" for profilen (svært nyttig for å få nye venner) - og -kanskje hvilket land du bor i, hvis du ikke ønsker å være mer spesifikk -enn det. - -Vi respekterer ditt privatliv fullt ut, og ingen av disse elementene er nødvendige. -Hvis du er ny og ikke kjenner noen her, så kan de hjelpe -deg å få noen nye og interessante venner. - - -Takk og velkommen til {{$sitename}}. - -Beste hilsen, - {{$sitename}} administrator - - \ No newline at end of file diff --git a/view/nl/register_open_eml.tpl b/view/nl/register_open_eml.tpl deleted file mode 100644 index 4e575a4a1f..0000000000 --- a/view/nl/register_open_eml.tpl +++ /dev/null @@ -1,34 +0,0 @@ - -Beste $[username], - Bedankt voor uw registratie op $[sitename]. Uw account is gecreëerd. -De inloggegevens zijn als volgt: - - -Website-adres:»$[siteurl] -Inlognaam:»$[email] -Wachtwoord:»$[password] - -U kunt dit wachtwoord veranderen in uw account-instellingen, nadat u bent -ingelogd. - -Neem even een moment om de overige account-instellingen na te gaan. - -U wilt misschien ook wat algemene informatie toevoegen aan uw standaardprofiel -(op de "Profiel"-pagina), zodat andere mensen u eenvoudiger kunnen vinden. - -Wanneer u niet te specifiek wilt zijn, dan adviseren wij om uw volledige naam, -een profielfoto, enkele "trefwoorden (erg handig om nieuwe mensen te leren kennen) -en het land waar u woont toe -te voegen. - -Wij respecteren volledig uw recht op privacy en u bent daarom niet verplicht om hier iets in te vullen. -Wanneer u hier nieuw bent en hier niemand kent, dan kunnen deze -gegevens u wellicht helpen om enkele nieuwe en interessante mensen te leren kennen. - - -Bedankt en welkom op $[sitename]. - -Vriendelijke groet, - Beheerder $[sitename] - - \ No newline at end of file diff --git a/view/pl/register_open_eml.tpl b/view/pl/register_open_eml.tpl deleted file mode 100644 index 0321f8e3fe..0000000000 --- a/view/pl/register_open_eml.tpl +++ /dev/null @@ -1,36 +0,0 @@ - -Drogi $[username], - Dziękujemy za rejestrację na $[sitename]. Twoje konto zostało utworzone pomyślnie. -Dane do logowania: - - -Strona:»$[siteurl] -Twój Nick:»$[email] -Hasło:»$[password] - -Możesz zmienić swoje hasło odwiedzając zakładkę ustawienia konta po zalogowaniu - -się. - -Przejrzyj też inne ustawienia konta. To zajmie Ci tylko chwilę. - -Jeżeli chcesz, by inni mogli Cię łatwo znaleść wystarczy dodać podstawowe informacje -o sobie na stronie "Profile". - -Zalecamy dodać prawdziwe imię i nazwisko, zdjęcie profilowe, -słowa kluczowe (pomocne w zdobywaniu nowych przyjaciół) - i -może kraj, w którym mieszkasz, jeżeli nie chcesz dodać bardziej szczegółowych - -informacji niż ta. - -Szanujemy też twoją prywatność, więc żadna z podpowiadanych wyżej czynności nie jest przymusowa. -Jeżeli jesteś nowy i nie znasz tu nikogo, mogą one jedynie -pomóć w zdobywaniu nowych znajomości. - - -Dziękujemy i witamy na $[sitename]. - -Z poważaniem, - $[sitename] Administrator - - \ No newline at end of file diff --git a/view/pl/smarty3/register_open_eml.tpl b/view/pl/smarty3/register_open_eml.tpl deleted file mode 100644 index 6361e3c384..0000000000 --- a/view/pl/smarty3/register_open_eml.tpl +++ /dev/null @@ -1,37 +0,0 @@ - - -Drogi {{$username}}, - Dziękujemy za rejestrację na {{$sitename}}. Twoje konto zostało utworzone pomyślnie. -Dane do logowania: - - -Strona:»{{$siteurl}} -Twój Nick:»{{$email}} -Hasło:»{{$password}} - -Możesz zmienić swoje hasło odwiedzając zakładkę ustawienia konta po zalogowaniu - -się. - -Przejrzyj też inne ustawienia konta. To zajmie Ci tylko chwilę. - -Jeżeli chcesz, by inni mogli Cię łatwo znaleść wystarczy dodać podstawowe informacje -o sobie na stronie "Profile". - -Zalecamy dodać prawdziwe imię i nazwisko, zdjęcie profilowe, -słowa kluczowe (pomocne w zdobywaniu nowych przyjaciół) - i -może kraj, w którym mieszkasz, jeżeli nie chcesz dodać bardziej szczegółowych - -informacji niż ta. - -Szanujemy też twoją prywatność, więc żadna z podpowiadanych wyżej czynności nie jest przymusowa. -Jeżeli jesteś nowy i nie znasz tu nikogo, mogą one jedynie -pomóć w zdobywaniu nowych znajomości. - - -Dziękujemy i witamy na {{$sitename}}. - -Z poważaniem, - {{$sitename}} Administrator - - \ No newline at end of file diff --git a/view/ro/smarty3/register_open_eml.tpl b/view/ro/smarty3/register_open_eml.tpl deleted file mode 100644 index d1c71134d5..0000000000 --- a/view/ro/smarty3/register_open_eml.tpl +++ /dev/null @@ -1,34 +0,0 @@ - -Dragă $[username], - Vă mulțumim pentru înregistrare de la $ [SITENAME]. Contul dvs. a fost creat. -Detaliile de login sunt următoarele ; - - -Locaţie Site»$[siteurl] -Login Name: $[email] -Parolă: $[password] - -Puteți schimba parola dvs. de la pagina "Setări" cont după logare. -in. - -Vă rugăm ia câteva momente pentru revizuirea altor setări din cont pe această pagină. - -Ați putea dori, de asemenea, să adăugați câteva Informații generale la profilul dvs. implicit -(pe "Profile" pagina), astfel încât alte persoane să vă găsească uşor. - -Vă recomandăm să vă setați numele complet, adăugând o fotografie de profil, -adăugând câteva "cuvinte cheie" de profil (foarte utile în a face noi prieteni) - și -poate în ce țara locuiți; dacă nu doriți să fie mai specifice -decât atât. - -Respectăm pe deplin dreptul la intimitate, și nici unul dintre aceşti itemi nu sunt necesari. -Dacă sunteți nou si nu ştiţi pe nimeni pe aici, ele pot ajuta -să faceți niște prieteni noi și interesanţi. - - -Vă multumim si bine aţi venit la $[sitename]. - -Cu stimă, - $[sitename] Administrator - - \ No newline at end of file diff --git a/view/sv/register_open_eml.tpl b/view/sv/register_open_eml.tpl deleted file mode 100644 index 1471c9b982..0000000000 --- a/view/sv/register_open_eml.tpl +++ /dev/null @@ -1,17 +0,0 @@ -$username, -Tack för att du registrerat dig på $sitename. Kontot har skapats. -Här är dina inloggningsuppgifter: - -Webbplats: $siteurl -Användarnamn: $email -Lösenord: $password - -Lösenordet kan ändras på sidan Inställningar efter att du loggat in. - -Ägna en liten stund åt att gå igenom alla kontoinställningar där. - -Välkommen till $sitename. - -Hälsningar, -$sitename admin - diff --git a/view/sv/smarty3/register_open_eml.tpl b/view/sv/smarty3/register_open_eml.tpl deleted file mode 100644 index a399bd02bf..0000000000 --- a/view/sv/smarty3/register_open_eml.tpl +++ /dev/null @@ -1,18 +0,0 @@ - -{{$username}}, -Tack för att du registrerat dig på {{$sitename}}. Kontot har skapats. -Här är dina inloggningsuppgifter: - -Webbplats: {{$siteurl}} -Användarnamn: {{$email}} -Lösenord: {{$password}} - -Lösenordet kan ändras på sidan Inställningar efter att du loggat in. - -Ägna en liten stund åt att gå igenom alla kontoinställningar där. - -Välkommen till {{$sitename}}. - -Hälsningar, -{{$sitename}} admin - diff --git a/view/zh-cn/register_open_eml.tpl b/view/zh-cn/register_open_eml.tpl deleted file mode 100644 index 9eb43b33bb..0000000000 --- a/view/zh-cn/register_open_eml.tpl +++ /dev/null @@ -1,34 +0,0 @@ - -尊敬的$[username], - 谢谢注册在$[sitename]。您的账户造成了。 -登记信息是: - - -网页位置: $[siteurl] -用户名: $[email] -密码: $[password] - -您会变化您的密码在您的账户「设置」页 -登记后。 - -请抽几片刻评论别的账户设置在这个页。 - -您也可能想添加一些基础信息给您的默认简介 -(在「简介」页)为让别人容易地搜索。 - -我们建议您指定您全名,添加简介照片, -添加一些简介关键字(很有用找朋友们)和 -也许您的国家,如果您不想更具体 -的。 - -我们完全尊敬您隐私权利,这些项目没有必要的。 -您新注册,人们熟,他们会帮您 -找新和有意思的朋友们。 - - -谢谢您,$[sitename]欢迎您。 - -谨上 - $[sitename]行政人员 - - \ No newline at end of file diff --git a/view/zh-cn/smarty3/register_open_eml.tpl b/view/zh-cn/smarty3/register_open_eml.tpl deleted file mode 100644 index 75756d41f5..0000000000 --- a/view/zh-cn/smarty3/register_open_eml.tpl +++ /dev/null @@ -1,35 +0,0 @@ - - -尊敬的{{$username}}, - 谢谢注册在{{$sitename}}。您的账户造成了。 -登记信息是: - - -网页位置: {{$siteurl}} -用户名: {{$email}} -密码: {{$password}} - -您会变化您的密码在您的账户「设置」页 -登记后。 - -请抽几片刻评论别的账户设置在这个页。 - -您也可能想添加一些基础信息给您的默认简介 -(在「简介」页)为让别人容易地搜索。 - -我们建议您指定您全名,添加简介照片, -添加一些简介关键字(很有用找朋友们)和 -也许您的国家,如果您不想更具体 -的。 - -我们完全尊敬您隐私权利,这些项目没有必要的。 -您新注册,人们熟,他们会帮您 -找新和有意思的朋友们。 - - -谢谢您,{{$sitename}}欢迎您。 - -谨上 - {{$sitename}}行政人员 - - \ No newline at end of file From a5df9b8b5d0d1763009d5d20e034a9a26f3fa976 Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Sun, 7 Sep 2014 12:35:08 +0200 Subject: [PATCH 11/26] Somebody stop me! (not really..) --- view/ca/request_notify_eml.tpl | 13 ------------- view/ca/smarty3/request_notify_eml.tpl | 14 -------------- view/cs/request_notify_eml.tpl | 15 --------------- view/cs/smarty3/request_notify_eml.tpl | 16 ---------------- view/de/request_notify_eml.tpl | 17 ----------------- view/de/smarty3/request_notify_eml.tpl | 18 ------------------ view/en/request_notify_eml.tpl | 17 ----------------- view/en/smarty3/request_notify_eml.tpl | 18 ------------------ view/eo/request_notify_eml.tpl | 17 ----------------- view/eo/smarty3/request_notify_eml.tpl | 18 ------------------ view/es/request_notify_eml.tpl | 13 ------------- view/es/smarty3/request_notify_eml.tpl | 14 -------------- view/fr/request_notify_eml.tpl | 17 ----------------- view/fr/smarty3/request_notify_eml.tpl | 18 ------------------ view/is/request_notify_eml.tpl | 17 ----------------- view/is/smarty3/request_notify_eml.tpl | 18 ------------------ view/it/smarty3/request_notify_eml.tpl | 17 ----------------- view/nb-no/request_notify_eml.tpl | 17 ----------------- view/nb-no/smarty3/request_notify_eml.tpl | 18 ------------------ view/nl/request_notify_eml.tpl | 17 ----------------- view/pl/request_notify_eml.tpl | 17 ----------------- view/pl/smarty3/request_notify_eml.tpl | 18 ------------------ view/ro/smarty3/request_notify_eml.tpl | 17 ----------------- view/sv/request_notify_eml.tpl | 13 ------------- view/sv/smarty3/request_notify_eml.tpl | 14 -------------- view/zh-cn/request_notify_eml.tpl | 17 ----------------- view/zh-cn/smarty3/request_notify_eml.tpl | 18 ------------------ 27 files changed, 443 deletions(-) delete mode 100644 view/ca/request_notify_eml.tpl delete mode 100644 view/ca/smarty3/request_notify_eml.tpl delete mode 100644 view/cs/request_notify_eml.tpl delete mode 100644 view/cs/smarty3/request_notify_eml.tpl delete mode 100644 view/de/request_notify_eml.tpl delete mode 100644 view/de/smarty3/request_notify_eml.tpl delete mode 100644 view/en/request_notify_eml.tpl delete mode 100644 view/en/smarty3/request_notify_eml.tpl delete mode 100644 view/eo/request_notify_eml.tpl delete mode 100644 view/eo/smarty3/request_notify_eml.tpl delete mode 100644 view/es/request_notify_eml.tpl delete mode 100644 view/es/smarty3/request_notify_eml.tpl delete mode 100644 view/fr/request_notify_eml.tpl delete mode 100644 view/fr/smarty3/request_notify_eml.tpl delete mode 100644 view/is/request_notify_eml.tpl delete mode 100644 view/is/smarty3/request_notify_eml.tpl delete mode 100644 view/it/smarty3/request_notify_eml.tpl delete mode 100644 view/nb-no/request_notify_eml.tpl delete mode 100644 view/nb-no/smarty3/request_notify_eml.tpl delete mode 100644 view/nl/request_notify_eml.tpl delete mode 100644 view/pl/request_notify_eml.tpl delete mode 100644 view/pl/smarty3/request_notify_eml.tpl delete mode 100644 view/ro/smarty3/request_notify_eml.tpl delete mode 100644 view/sv/request_notify_eml.tpl delete mode 100644 view/sv/smarty3/request_notify_eml.tpl delete mode 100644 view/zh-cn/request_notify_eml.tpl delete mode 100644 view/zh-cn/smarty3/request_notify_eml.tpl diff --git a/view/ca/request_notify_eml.tpl b/view/ca/request_notify_eml.tpl deleted file mode 100644 index 276624aaeb..0000000000 --- a/view/ca/request_notify_eml.tpl +++ /dev/null @@ -1,13 +0,0 @@ - -Apreciat/da $myname, - -Acabes de rebre una sol·licitud de connexió de '$requestor' en $sitename. - -Pots visitar el seu perfil en $url. - -Accedeix al teu lloc per a veure la presentació completa i acceptar o ignorar/cancel·lar la sol·licitud. - -$siteurl - - - $sitename diff --git a/view/ca/smarty3/request_notify_eml.tpl b/view/ca/smarty3/request_notify_eml.tpl deleted file mode 100644 index 5bef9f672e..0000000000 --- a/view/ca/smarty3/request_notify_eml.tpl +++ /dev/null @@ -1,14 +0,0 @@ - - -Apreciat/da {{$myname}}, - -Acabes de rebre una sol·licitud de connexió de '{{$requestor}}' en {{$sitename}}. - -Pots visitar el seu perfil en {{$url}}. - -Accedeix al teu lloc per a veure la presentació completa i acceptar o ignorar/cancel·lar la sol·licitud. - -{{$siteurl}} - - - {{$sitename}} diff --git a/view/cs/request_notify_eml.tpl b/view/cs/request_notify_eml.tpl deleted file mode 100644 index 74010c79cf..0000000000 --- a/view/cs/request_notify_eml.tpl +++ /dev/null @@ -1,15 +0,0 @@ - -Milý/Milá $username, - -Právě jste obdržel/obdržela požadavek na spojení na webu $sitename - -od '$requestor'. - -Můžete navštívit jeho/její profil na následujícím odkazu $url. - -Přihlaste se na Váš web k zobrazení kompletní žádosti a odsouhlaste nebo ignorujte/zrušte tuto žádost. - -$siteurl - -S pozdravem, - $sitename administrátor diff --git a/view/cs/smarty3/request_notify_eml.tpl b/view/cs/smarty3/request_notify_eml.tpl deleted file mode 100644 index 6fd4d02bcd..0000000000 --- a/view/cs/smarty3/request_notify_eml.tpl +++ /dev/null @@ -1,16 +0,0 @@ - - -Milý/Milá {{$username}}, - -Právě jste obdržel/obdržela požadavek na spojení na webu {{$sitename}} - -od '{{$requestor}}'. - -Můžete navštívit jeho/její profil na následujícím odkazu {{$url}}. - -Přihlaste se na Váš web k zobrazení kompletní žádosti a odsouhlaste nebo ignorujte/zrušte tuto žádost. - -{{$siteurl}} - -S pozdravem, - {{$sitename}} administrátor diff --git a/view/de/request_notify_eml.tpl b/view/de/request_notify_eml.tpl deleted file mode 100644 index da1fe5bdce..0000000000 --- a/view/de/request_notify_eml.tpl +++ /dev/null @@ -1,17 +0,0 @@ - -Hallo $[myname], - -du hast eine Kontaktanfrage von '$[requestor]' auf $[sitename] - -erhalten. - -Du kannst sein/ihr Profil unter $[url] finden. - -Bitte melde dich an um die komplette Anfrage einzusehen -und die Kontaktanfrage zu bestätigen oder zu ignorieren oder abzulehnen. - -$[siteurl] - -Beste Grüße, - - $[sitename] Administrator \ No newline at end of file diff --git a/view/de/smarty3/request_notify_eml.tpl b/view/de/smarty3/request_notify_eml.tpl deleted file mode 100644 index a68032c208..0000000000 --- a/view/de/smarty3/request_notify_eml.tpl +++ /dev/null @@ -1,18 +0,0 @@ - - -Hallo {{$myname}}, - -du hast eine Kontaktanfrage von '{{$requestor}}' auf {{$sitename}} - -erhalten. - -Du kannst sein/ihr Profil unter {{$url}} finden. - -Bitte melde dich an um die komplette Anfrage einzusehen -und die Anfrage zu bestätigen oder zu ignorieren oder abzulehnen. - -{{$siteurl}} - -Beste Grüße, - - {{$sitename}} Administrator \ No newline at end of file diff --git a/view/en/request_notify_eml.tpl b/view/en/request_notify_eml.tpl deleted file mode 100644 index ad118a6739..0000000000 --- a/view/en/request_notify_eml.tpl +++ /dev/null @@ -1,17 +0,0 @@ - -Dear $[myname], - -You have just received a connection request at $[sitename] - -from '$[requestor]'. - -You may visit their profile at $[url]. - -Please login to your site to view the complete introduction -and approve or ignore/cancel the request. - -$[siteurl] - -Regards, - - $[sitename] administrator diff --git a/view/en/smarty3/request_notify_eml.tpl b/view/en/smarty3/request_notify_eml.tpl deleted file mode 100644 index b36525251b..0000000000 --- a/view/en/smarty3/request_notify_eml.tpl +++ /dev/null @@ -1,18 +0,0 @@ - - -Dear {{$myname}}, - -You have just received a connection request at {{$sitename}} - -from '{{$requestor}}'. - -You may visit their profile at {{$url}}. - -Please login to your site to view the complete introduction -and approve or ignore/cancel the request. - -{{$siteurl}} - -Regards, - - {{$sitename}} administrator diff --git a/view/eo/request_notify_eml.tpl b/view/eo/request_notify_eml.tpl deleted file mode 100644 index eb91414b9f..0000000000 --- a/view/eo/request_notify_eml.tpl +++ /dev/null @@ -1,17 +0,0 @@ - -Kara $[myname], - -Vi ĵus ricevis kontaktpeton ĉe $[sitename] - -de '$[requestor]'. - -Vi eblas viziti la profilon de la petanto ĉe $[url]. - -Bonvolu ensaluti en la retejo por vidi la plenan prezenton -kaj aprobi aŭ ignori/nuligi la peton. - -$[siteurl] - -Salutoj, - - $[sitename] administranto \ No newline at end of file diff --git a/view/eo/smarty3/request_notify_eml.tpl b/view/eo/smarty3/request_notify_eml.tpl deleted file mode 100644 index 9032ab7b6b..0000000000 --- a/view/eo/smarty3/request_notify_eml.tpl +++ /dev/null @@ -1,18 +0,0 @@ - - -Kara {{$myname}}, - -Vi ĵus ricevis kontaktpeton ĉe {{$sitename}} - -de '{{$requestor}}'. - -Vi eblas viziti la profilon de la petanto ĉe {{$url}}. - -Bonvolu ensaluti en la retejo por vidi la plenan prezenton -kaj aprobi aŭ ignori/nuligi la peton. - -{{$siteurl}} - -Salutoj, - - {{$sitename}} administranto \ No newline at end of file diff --git a/view/es/request_notify_eml.tpl b/view/es/request_notify_eml.tpl deleted file mode 100644 index 6161c45c13..0000000000 --- a/view/es/request_notify_eml.tpl +++ /dev/null @@ -1,13 +0,0 @@ - -Estimado/a $myname, - -Acabas de recibir una solicitud de conexión de '$requestor' en $sitename. - -Puedes visitar su perfil en $url. - -Accede a tu sitio para ver la presentación completa y aceptar o ignorar/cancelar la solicitud. - -$siteurl - - - $sitename diff --git a/view/es/smarty3/request_notify_eml.tpl b/view/es/smarty3/request_notify_eml.tpl deleted file mode 100644 index e4eae838b4..0000000000 --- a/view/es/smarty3/request_notify_eml.tpl +++ /dev/null @@ -1,14 +0,0 @@ - - -Estimado/a {{$myname}}, - -Acabas de recibir una solicitud de conexión de '{{$requestor}}' en {{$sitename}}. - -Puedes visitar su perfil en {{$url}}. - -Accede a tu sitio para ver la presentación completa y aceptar o ignorar/cancelar la solicitud. - -{{$siteurl}} - - - {{$sitename}} diff --git a/view/fr/request_notify_eml.tpl b/view/fr/request_notify_eml.tpl deleted file mode 100644 index 9234ceaaa9..0000000000 --- a/view/fr/request_notify_eml.tpl +++ /dev/null @@ -1,17 +0,0 @@ - -Cher(e) $myname, - -Vous venez de recevoir une demande de mise en relation sur $sitename - -venant de « $requestor ». - -Vous pouvez visiter son profil sur $url. - -Vous pouvez vous connecter à votre site pour voir la demande -complète et l'approuver ou l'ignorer/annuler. - -$siteurl - -Cordialement, - - l'administrateur de $sitename diff --git a/view/fr/smarty3/request_notify_eml.tpl b/view/fr/smarty3/request_notify_eml.tpl deleted file mode 100644 index 6fa998a76a..0000000000 --- a/view/fr/smarty3/request_notify_eml.tpl +++ /dev/null @@ -1,18 +0,0 @@ - - -Cher(e) {{$myname}}, - -Vous venez de recevoir une demande de mise en relation sur {{$sitename}} - -venant de « {{$requestor}} ». - -Vous pouvez visiter son profil sur {{$url}}. - -Vous pouvez vous connecter à votre site pour voir la demande -complète et l'approuver ou l'ignorer/annuler. - -{{$siteurl}} - -Cordialement, - - l'administrateur de {{$sitename}} diff --git a/view/is/request_notify_eml.tpl b/view/is/request_notify_eml.tpl deleted file mode 100644 index 7adb48e0d8..0000000000 --- a/view/is/request_notify_eml.tpl +++ /dev/null @@ -1,17 +0,0 @@ - -Góðan dag $[myname], - -Þér hefur borist beiðni um tengingu á $[sitename] - -frá '$[requestor]'. - -Þú getur heimsótt forsíðuna á $[url]. - -skráðu þig inn á þína síðu til að skoða alla kynninguna -og þar getur þú hunsað/hætt við beiðnina. - -$[siteurl] - -Kveðja, - - Kerfisstjóri $[sitename] \ No newline at end of file diff --git a/view/is/smarty3/request_notify_eml.tpl b/view/is/smarty3/request_notify_eml.tpl deleted file mode 100644 index 09a80902a4..0000000000 --- a/view/is/smarty3/request_notify_eml.tpl +++ /dev/null @@ -1,18 +0,0 @@ - - -Góðan dag {{$myname}}, - -Þér hefur borist beiðni um tengingu á {{$sitename}} - -frá '{{$requestor}}'. - -Þú getur heimsótt forsíðuna á {{$url}}. - -skráðu þig inn á þína síðu til að skoða alla kynninguna -og þar getur þú hunsað/hætt við beiðnina. - -{{$siteurl}} - -Kveðja, - - Kerfisstjóri {{$sitename}} \ No newline at end of file diff --git a/view/it/smarty3/request_notify_eml.tpl b/view/it/smarty3/request_notify_eml.tpl deleted file mode 100644 index b0efcb40ba..0000000000 --- a/view/it/smarty3/request_notify_eml.tpl +++ /dev/null @@ -1,17 +0,0 @@ - -Ciao {{$myname}}, - -Hai appena ricevuto una richiesta di connessione su {{$sitename}} - -da '{{$requestor}}'. - -Puoi visitare il suo profilo su {{$url}}. - -Accedi al tuo sito per vedere la richiesta completa -e approva o ignora/annulla la richiesta. - -{{$siteurl}} - -Saluti, - - l'amministratore di {{$sitename}} \ No newline at end of file diff --git a/view/nb-no/request_notify_eml.tpl b/view/nb-no/request_notify_eml.tpl deleted file mode 100644 index e6a62c51f7..0000000000 --- a/view/nb-no/request_notify_eml.tpl +++ /dev/null @@ -1,17 +0,0 @@ - -Kjære $[myname], - -Du har akkurat mottatt en kontaktforespørsel hos $[sitename] - -fra '$[requestor]'. - -Du kan besøke profilen på $[url]. - -Vennligst logg inn på ditt nettsted for å se hele introduksjonen -og godkjenne eller ignorere/avbryte forespørselen. - -$[siteurl] - -Beste hilsen, - - $[siteurl] administrator \ No newline at end of file diff --git a/view/nb-no/smarty3/request_notify_eml.tpl b/view/nb-no/smarty3/request_notify_eml.tpl deleted file mode 100644 index d12e3b75a4..0000000000 --- a/view/nb-no/smarty3/request_notify_eml.tpl +++ /dev/null @@ -1,18 +0,0 @@ - - -Kjære {{$myname}}, - -Du har akkurat mottatt en kontaktforespørsel hos {{$sitename}} - -fra '{{$requestor}}'. - -Du kan besøke profilen på {{$url}}. - -Vennligst logg inn på ditt nettsted for å se hele introduksjonen -og godkjenne eller ignorere/avbryte forespørselen. - -{{$siteurl}} - -Beste hilsen, - - {{$siteurl}} administrator \ No newline at end of file diff --git a/view/nl/request_notify_eml.tpl b/view/nl/request_notify_eml.tpl deleted file mode 100644 index 78d28c27b7..0000000000 --- a/view/nl/request_notify_eml.tpl +++ /dev/null @@ -1,17 +0,0 @@ - -Beste $[myname], - -U heeft zojuist een contactaanvraag ontvangen op $[sitename] - -van '$[requestor]'. - -U kunt het profiel bezoeken op $[url]. - -U moet op uw Friendica-site inloggen om de volledige contactaanvraag te bekijken en -goed te keuren, of om te negeren/annuleren. - -$[siteurl] - -Vriendelijke groet, - - Beheerder $[sitename] \ No newline at end of file diff --git a/view/pl/request_notify_eml.tpl b/view/pl/request_notify_eml.tpl deleted file mode 100644 index aece35d113..0000000000 --- a/view/pl/request_notify_eml.tpl +++ /dev/null @@ -1,17 +0,0 @@ - -Drogi/a $[myname], - -Otrzymałeś właśnie zaproszenie do znajomych na stronie $[sitename] - -od '$[requestor]'. - -Skorzystaj z tego linku, aby odwiedzić jego profil: $[url]. - -Proszę się zalogować, aby zobaczyć pełen opis -i zaakceptować lub zignorować / anulować. - -$[siteurl] - -Pozdrawiam - - $[sitename] administrator \ No newline at end of file diff --git a/view/pl/smarty3/request_notify_eml.tpl b/view/pl/smarty3/request_notify_eml.tpl deleted file mode 100644 index d1431bb6f5..0000000000 --- a/view/pl/smarty3/request_notify_eml.tpl +++ /dev/null @@ -1,18 +0,0 @@ - - -Drogi/a {{$myname}}, - -Otrzymałeś właśnie zaproszenie do znajomych na stronie {{$sitename}} - -od '{{$requestor}}'. - -Skorzystaj z tego linku, aby odwiedzić jego profil: {{$url}}. - -Proszę się zalogować, aby zobaczyć pełen opis -i zaakceptować lub zignorować / anulować. - -{{$siteurl}} - -Pozdrawiam - - {{$sitename}} administrator \ No newline at end of file diff --git a/view/ro/smarty3/request_notify_eml.tpl b/view/ro/smarty3/request_notify_eml.tpl deleted file mode 100644 index d8b2d440cf..0000000000 --- a/view/ro/smarty3/request_notify_eml.tpl +++ /dev/null @@ -1,17 +0,0 @@ - -Dragă $[myname], - -Aţi primit o cerere de conectare la $[sitename] - -de la '$[requestor]'. - -Puteţi vizita profilul lor la $[url]. - -Vă rugăm să vă logaţi pe site-ul dvs. pentru a vedea introducerea completă -şi aprobaţi sau ignoraţi/ştergeţi cererea. - -$[siteurl] - -Cu respect, - - $[sitename] administrator \ No newline at end of file diff --git a/view/sv/request_notify_eml.tpl b/view/sv/request_notify_eml.tpl deleted file mode 100644 index 893bce17c8..0000000000 --- a/view/sv/request_notify_eml.tpl +++ /dev/null @@ -1,13 +0,0 @@ -$myname, - -Du har just fått en kontaktförfrågan på $sitename från '$requestor' - -Profilen finns på $url. - -Logga in för att se hela förfrågan och godkänna eller -avslå den. - -$siteurl - -Hälsningar, -$sitename admin diff --git a/view/sv/smarty3/request_notify_eml.tpl b/view/sv/smarty3/request_notify_eml.tpl deleted file mode 100644 index 97a0b96186..0000000000 --- a/view/sv/smarty3/request_notify_eml.tpl +++ /dev/null @@ -1,14 +0,0 @@ - -{{$myname}}, - -Du har just fått en kontaktförfrågan på {{$sitename}} från '{{$requestor}}' - -Profilen finns på {{$url}}. - -Logga in för att se hela förfrågan och godkänna eller -avslå den. - -{{$siteurl}} - -Hälsningar, -{{$sitename}} admin diff --git a/view/zh-cn/request_notify_eml.tpl b/view/zh-cn/request_notify_eml.tpl deleted file mode 100644 index 9dd5527a39..0000000000 --- a/view/zh-cn/request_notify_eml.tpl +++ /dev/null @@ -1,17 +0,0 @@ - -尊敬的$[myname], - -您刚才受到了一个连接要求在$[sitename] - -从「$[requestor]」。 - -您会看他的简介在[$url]。 - -请登记在您的网站为看他们全介绍 -和批准或不理/注销要求。 - -$[siteurl] - -谨上, - - $[sitename]行政人员 \ No newline at end of file diff --git a/view/zh-cn/smarty3/request_notify_eml.tpl b/view/zh-cn/smarty3/request_notify_eml.tpl deleted file mode 100644 index 682c06fcc2..0000000000 --- a/view/zh-cn/smarty3/request_notify_eml.tpl +++ /dev/null @@ -1,18 +0,0 @@ - - -尊敬的{{$myname}}, - -您刚才受到了一个连接要求在{{$sitename}} - -从「{{$requestor}}」。 - -您会看他的简介在[{{$url}}]。 - -请登记在您的网站为看他们全介绍 -和批准或不理/注销要求。 - -{{$siteurl}} - -谨上, - - {{$sitename}}行政人员 \ No newline at end of file From f0aaafa7aa56f6145b66b4663c0c38455f9765ce Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sun, 7 Sep 2014 12:48:23 +0200 Subject: [PATCH 12/26] added Greenzero as colorset of duepuntozero --- view/theme/duepuntozero/config.php | 60 ++++++++++++++++++ view/theme/duepuntozero/deriv/greenzero.css | 34 ++++++++++ .../deriv/imggreenzero/border.jpg | Bin 0 -> 342 bytes .../deriv/imggreenzero/editicons.png | Bin 0 -> 6300 bytes .../duepuntozero/deriv/imggreenzero/file.gif | Bin 0 -> 614 bytes .../deriv/imggreenzero/greenicons.png | Bin 0 -> 12317 bytes .../duepuntozero/deriv/imggreenzero/head.jpg | Bin 0 -> 1078 bytes .../deriv/imggreenzero/screenshot.jpg | Bin 0 -> 71106 bytes .../duepuntozero/deriv/imggreenzero/shiny.png | Bin 0 -> 362 bytes view/theme/duepuntozero/style.php | 11 ++++ 10 files changed, 105 insertions(+) create mode 100644 view/theme/duepuntozero/config.php create mode 100644 view/theme/duepuntozero/deriv/greenzero.css create mode 100644 view/theme/duepuntozero/deriv/imggreenzero/border.jpg create mode 100644 view/theme/duepuntozero/deriv/imggreenzero/editicons.png create mode 100644 view/theme/duepuntozero/deriv/imggreenzero/file.gif create mode 100644 view/theme/duepuntozero/deriv/imggreenzero/greenicons.png create mode 100644 view/theme/duepuntozero/deriv/imggreenzero/head.jpg create mode 100644 view/theme/duepuntozero/deriv/imggreenzero/screenshot.jpg create mode 100644 view/theme/duepuntozero/deriv/imggreenzero/shiny.png create mode 100644 view/theme/duepuntozero/style.php diff --git a/view/theme/duepuntozero/config.php b/view/theme/duepuntozero/config.php new file mode 100644 index 0000000000..f8209bb872 --- /dev/null +++ b/view/theme/duepuntozero/config.php @@ -0,0 +1,60 @@ +t('default'), + 'greenzero'=>t('greenzero'), + ); + if ($user) { + $color = get_pconfig(local_user(), 'duepuntozero', 'colorset'); + } else { + $color = get_config( 'duepuntozero', 'colorset'); + } + $t = get_markup_template("theme_settings.tpl" ); + $o .= replace_macros($t, array( + '$submit' => t('Submit'), + '$baseurl' => $a->get_baseurl(), + '$title' => t("Theme settings"), + '$colorset' => array('duepuntozero_colorset', t('Color scheme'), $color, '', $colorset), + )); + return $o; +} diff --git a/view/theme/duepuntozero/deriv/greenzero.css b/view/theme/duepuntozero/deriv/greenzero.css new file mode 100644 index 0000000000..0f6f7881ed --- /dev/null +++ b/view/theme/duepuntozero/deriv/greenzero.css @@ -0,0 +1,34 @@ +/* green variation by Tobias Diekershoff */ + +a:link, a:visited { color: #549f4f; text-decoration: none; } +a:hover {text-decoration: underline; } + +.nav-selected.nav-link { color: #549f4f!important; border-bottom: 0px} +.nav-commlink, .nav-login-link {background-color: #aed3b2;} +.nav-commlink:link, .nav-commlink:visited, +.nav-login-link:link, .nav-login-link:visited{ + color: #ffffff; +} + +.icon { + display: block; width: 16px; height: 16px; + background-image: url('imggreenzero/greenicons.png'); +} + + + +body { background-image: url('imggreenzero/head.jpg'); } +aside { background-image: url('imggreenzero/border.jpg'); } +section { background-image: url('imggreenzero/border.jpg'); } +.tabs { background-image: url('imggreenzero/head.jpg'); } +div.wall-item-content-wrapper.shiny { background-image: url('imggreenzero/shiny.png'); } + +.fakelink, .fakelink:visited, .fakelink:hover, .fakelink:link { + color: #549f4f !important; +} + +.wall-item-name-link { + color: #549f4f; +} + + diff --git a/view/theme/duepuntozero/deriv/imggreenzero/border.jpg b/view/theme/duepuntozero/deriv/imggreenzero/border.jpg new file mode 100644 index 0000000000000000000000000000000000000000..034a1cb63b65268d78567f19cd2a0416f7b06509 GIT binary patch literal 342 zcmex=LJ%Z3brsR%R9! z7G_o;!OF_Y#?HgR4g~z%+?+gu{6a#4{DOkQVlv{wB2uD)f)a`nQnIr0^76vsN-9cn zDl&5Nav(z(fm+$w*!eg(_~b+cMdU~Z{|_(-axfGyFfubLF)#@-G7B>PKf)jmaz7&j zGGJk52TF(upo=pIC4w}7)T3%(WMT$Nhzg% f9U_4e8jYbYT*|B>4vQSR6atx6%@A>8_p9-+@3Nq-v^)I$&!6zRpC1U_JQ^Qw%mZ zo;oV>kjmc-NbrNuN<&2va((m3X)8_!M{c{RzVQT?BW}Jp^6VM!!NFTzYMM&77Vzn4 zL}``Q)P6u9bPQ^Wa(eIQ_A-6-bnPztJJ6eKAsP6%I0Q;Ga@t(odYz=)`UREFraLpF64)7mGViF`~w;rt*ENJ;i@d&WZ6%xYzA#ROh|6cUR(IXC6o>za0)0>5$=T zRNEgO&dXfx8oV-ipDY;^c+etwaO|5cf)AOTnu>RFaG1?|#h&*p=5yz;l_348WBrer z<>l)=m&G5MRg;LDQ(Rn@*0#2`su!oHr>zQg2CL_(Pbll_>vH_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F2Ms-Q8bH0es^G%)FAJM#ha^J@LpF^%U4>7^H9scceVW4r7#2QV_sc$hb z%EI1c3Mti#85mF{VU(nsuzRt!V7?Mpv_DrLE2URs*+Uq|AVzsJ9^eZ>q9>)N$DEva zB`g-lV3%5b?=c1chA1f08ID_4V~VUkSTg1)UXmMHO+h-f#Wy z{K%zZM~eW18Cktv*{Lu4D(DWTiIO>aFbC+SzJ8<=qVfpK*vu*D4LYdsjtfnl7MnRQGk0EY?z-C2b&aLlI!pHr)*hRz zJvLi=Zng2+Ve7ry&S$T^-+l-G{fKja;G*eCjkf9#QfgkvFz$3jz% zN2DH)Og|BwaUv%BR6^eApq}v;FC&ozJ%HdbV}X^X+?| z@7VWz=fM|y4!_)Y^wq%=uaBI5bNt-fQ~w7VDE?$&@$@$$FP^Yppll?vo%ZL41t4=Oe}0%0ul-g4h-%VtgK87)&N@+JAVKG literal 0 HcmV?d00001 diff --git a/view/theme/duepuntozero/deriv/imggreenzero/greenicons.png b/view/theme/duepuntozero/deriv/imggreenzero/greenicons.png new file mode 100644 index 0000000000000000000000000000000000000000..2644e428430fc16b4208b59d1c7d974c7182d54c GIT binary patch literal 12317 zcmV+&FyhaNP)002Y?1^@s61{yxO00001b5ch_0Itp) z=>Px#24YJ`L;(K){{a7>y{D4^000SaNLh0L01FcU01FcV0GgZ_001BWNkltaE{fMBEOqOghxC`xe=DG@|*5k)~* zX;LDBCe#FwP^5$s2nnRl%)NK&`Ta4IkV&Vw`uje-dFIK?z4tx0eeQeCTjq=u8H|t> za00c18c<-nNU*^~k<*FUU`BPS2m}D(A>kC-3aM?W4fLV|)gf8hcV5fS9)=X2uB830~=>81Zu*Fslh zhoS<3F$^Dt8W1kI_=UKey# z!MG?PL3Bz?WPd^eBN7vCSGwO`jzi2!0mDY(jlw;$+SX1(6!!tBk$NF!z?P7&i0-jFH-&*64*z3}b7vyJFDav0Wa z-?GJBB0lT7ttZ#J1@`PIeAQ&Sv_qyVFTQ?qw1Z5=3GJ z4_dwV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f(Z4-JYHMU17@IX&6EcdPF=9JUV*cS^vwr3{mGFFC;ol#!tPbc6grF01#4q4 zQpXRg4)CUbxNoe-|0a1;Jswc>N~I2Bacbfrp(}$9|g@;d!hC9KSW%6vykK_2}*1BXNG0 zA-Ul%&N1&@@~(Z-PP33q8X6+K+IxiA`Tkk=_ELH!*3A6Z$k&4!hxN|fmBE!A7n9xV zipF@3scRLD(yTBuzo9WYNb8Qk>OLgz#MikCfGhhheIL;wvd+)zceL-?x4W^HDT1h= zNRR}xM!#bf9`E8`7azI>-ycu{VlR~xBb1d&ixG-CXbx%(nl{O~(wzIxxIXjqD*<8O zH|EK^LNqUW^}3^>2b{N8q;KdSeo$l7wNXzN%puhipijK^NqtQ4iyFP=sAEk*h5AjO zY&RPi{^I;`p#XD7&9VZEPcKWq1>gS<0Qw=ku5zqlk?5yHNFQZ+*wXp5SnIb?-csX3 z!=6|kZm5-de`FVq#xu$uh6 zRq67p#b>@eeha=^a!YQ>Ex9GPSNl00000NkvXXu0mjf Di^3ks literal 0 HcmV?d00001 diff --git a/view/theme/duepuntozero/deriv/imggreenzero/head.jpg b/view/theme/duepuntozero/deriv/imggreenzero/head.jpg new file mode 100644 index 0000000000000000000000000000000000000000..c697762141ec5b75d215db9715e3b81c07ddd85c GIT binary patch literal 1078 zcmbW0M@$q^7{}k6K3imGw!m(7VPfe<3gA|)6?7m`f`L4g}pFeU~>ih-yISZ;v* zLbG9_5f$4>6dQ>LumO4yD-umW5ygY!8&F(4iQnXVd6WM?FY}x4|D+M=1<<6Yq@@4| zA;?7!kjAm|$u(sq0Jz;C7y!Va24DriFbD{=gQ!C=?Drn4lV!>CB-w*p(ld|<7>c4P zlA&puWf_G^r&cMIDkHD;(pgM?z7~_&EZ9RGf;GfuHU~xqg{%y7xmDjHaY!Q01Z z@(*wX1_iq!Rz*fd$0Q~tr=+e)OJA3jy?#SZZeC$gammKgvQ1knw^dcw)NbG1*wnmd z@4o%5Z3hk>I(+2lv99jpCr+L^-E-!`#Y=scuUx%${pPKK+js8XyFWPm@X_NZPe(?_ z#$UdA{pRhviT9J!pFYognf>~0?z_wd0lt8>NcI;Ohqy3;zzJIBf>pD2ntqupT_0xW_k%!iMpD28Ud7{*J`^Lk;~wGh5K zKrRWN3EdD30eKX9MbSe86gBAn;27y)UK&@r=D#W=O(Am SH4Se5&@qy~CBCOq8vP0JEFic5 literal 0 HcmV?d00001 diff --git a/view/theme/duepuntozero/deriv/imggreenzero/screenshot.jpg b/view/theme/duepuntozero/deriv/imggreenzero/screenshot.jpg new file mode 100644 index 0000000000000000000000000000000000000000..692ad354b501a737a03dafb23986cb6d40070b19 GIT binary patch literal 71106 zcmeFY1yGz#w=O!kyCi6knZRHP?jCFiHdtVQ0Ko=#Cjk=N2X`G{a2-4ePS6B*m*AF! zBqVUi_wW5}IsdJFcHOF5b?fY&s#Vk7t5^Gax>v9FcK&u9Kn_t>QwCsQU;tF_et_F0 zfFb}3^H2CgvF-vkF7}^*kBf_gOMp*ENPtg3KuAnROh`mZL_k17K|)GKPEJ8iNK8pZ zNltb5pZt#yj6Wr@u<`E-k`oaS-KG9F!|i(j1wQ68EEX&bHUK6C1{MXzZ6AOcfC0e3 z#=2|n-vJj38wU>q6Q6+aF5i|MfPwX=*(8L7IQV$DI5-%XSl9p@Tnb7&DpqQK9ef%# zVR@*YzC}u5!zWq+T@TMBL~{Kk!98|CAp=XdkSPU2_tdldbU?+>wCPQdn3c6xW79*? z7v9~yB2R4IY`iWiE@{52i1Drocg^@SaQ_@(Tz{JMF!T-ll-Z9Z|;Q&a$Iz?{w;2YeLRv@wf%k8V|SSH;*LUM(%G?(47Q z)+x=_-1f=aU^XwyK}$ntl{racW1qUUgZnNfTvl3sN~T)l6Hx-)JgU4a64NiLv~adF za4=rfnlyXhnMi8xC;vc9_|=`5>KgKbmE!w`oK+vpQQW+(f@)xG?NJ|h7J8G1iYEck zWEW+SvFi`tdA&DCaNusWmh+{L(DwYu#cQ^zrLEqq@-q8$@I5NWn1~nd5$x~%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q%KmHeYsQ(J;1&>a4lrYoZVbCX$u^lB; z0nzlqc=XRHy7-RgU{t_7y=uNtmvZGfz^qnG3iDFna+WJpM{f_R1RN?OatxfV6Z8!X>Ke8 znJrdhCV6Ev`r*nUIoo-zM~@JY**g_xl~WHkH+;@H!(wz5aqD8@i?zA}!b0RNLLKT zM+>I4y-V-#tl)N25Rr-J=I$N}&+eDqy$PTZfm%O0<3CMlc=O7#FV|~T@g1a2wzp6* z4H-U#4SPWvN%U6nhr(6-65hZ${<|;>tM(3!kth7extHW--tC$t~gP zvg2Y1ej|y{S0zRW>hbs-Y~57YR>7;wt&e23dsijkRbBs}a`<8Jdyb2Mbm>!}+c%_; zoaQ=%no1oecQ8F3>a6p{ONiJKZWM-_59cJV11|Ba_Gc%baYh;Mm#)r|6X z`>x!M)Z~!bx$%JDco(CMMDmM@(x|Ak!Ha1PT(6jZjTHLL2mBtwsmsh5zt)TLzLYx5 z-rD%x^SX^qIny&0&!!Le40lRl>{^+(K)UP}Zt%U=Wi`ktYmRar!a_6e=BQn=xkL>Ly zvI@y_S1|z?YsI%L63haWJ0Xur34FY>n!LU zNw-?4#gj*$O*U$tY8ZBV_MAJ8{i*xKF$~W>d~WzRP40h9V)!rrKk)x?6BM=0Z}aNt z%|d4m)eXmjMafLN_k=q;-ukoa=!h^4X{RJC>kPLNhlvWFb5_2AtKlV0X&DD*GD0X#=CwqOyN|ANrXCgtsO~{o7Kx>VR49a!E110l tt5Y-2UBA!rY|*rqD|U=*i^{m~zTrK5!YQLoO7=6zm!7VEF6*2UngHobgVX>3 literal 0 HcmV?d00001 diff --git a/view/theme/duepuntozero/style.php b/view/theme/duepuntozero/style.php new file mode 100644 index 0000000000..d5f8696a79 --- /dev/null +++ b/view/theme/duepuntozero/style.php @@ -0,0 +1,11 @@ + From 2802402e57db78d43a3405856b11eba6dce71268 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sun, 7 Sep 2014 13:01:23 +0200 Subject: [PATCH 13/26] added darkzero as colorset of duepuntozero --- view/theme/duepuntozero/deriv/darkzero.css | 187 ++++++++++++++++++ .../duepuntozero/deriv/imgdarkzero/border.jpg | Bin 0 -> 521 bytes .../deriv/imgdarkzero/editicons.png | Bin 0 -> 6300 bytes .../duepuntozero/deriv/imgdarkzero/head.jpg | Bin 0 -> 1269 bytes .../deriv/imgdarkzero/sectionend.jpg | Bin 0 -> 355 bytes .../duepuntozero/deriv/imgdarkzero/shiny.png | Bin 0 -> 362 bytes 6 files changed, 187 insertions(+) create mode 100644 view/theme/duepuntozero/deriv/darkzero.css create mode 100644 view/theme/duepuntozero/deriv/imgdarkzero/border.jpg create mode 100644 view/theme/duepuntozero/deriv/imgdarkzero/editicons.png create mode 100644 view/theme/duepuntozero/deriv/imgdarkzero/head.jpg create mode 100644 view/theme/duepuntozero/deriv/imgdarkzero/sectionend.jpg create mode 100644 view/theme/duepuntozero/deriv/imgdarkzero/shiny.png diff --git a/view/theme/duepuntozero/deriv/darkzero.css b/view/theme/duepuntozero/deriv/darkzero.css new file mode 100644 index 0000000000..d2b7a67d4d --- /dev/null +++ b/view/theme/duepuntozero/deriv/darkzero.css @@ -0,0 +1,187 @@ +/* dark variation Fabio Comuni */ + +a:link, a:visited { color: #99CCFF; text-decoration: none; } +a:hover {text-decoration: underline; } + +input, select, textarea { + background-color: #222222; + color: #FFFFFF !important; + border: 1px solid #444444; +} +.openid { background-color: #222222;} + +body { background-color: #222222; color: #cccccc; background-image: url('imgdarkzero/head.jpg'); } +aside{ background-image: url('imgdarkzero/border.jpg'); padding-bottom: 0px; } +section { background-color: #333333; background-image: url('imgdarkzero/border.jpg'); } +#panel { background-color: #2e2f2e;} + +.tabs { background-image: url('imgdarkzero/head.jpg'); } +div.wall-item-content-wrapper.shiny { background-image: url('ingdarkzero/shiny.png'); } + +nav #banner #logo-text a { color: #ffffff; } + +.wall-item-content-wrapper { + border: 1px solid #444444; + background: #444444; +} +.wall-item-outside-wrapper.threaded > .wall-item-content-wrapper { + -moz-border-radius: 3px 3px 0px; + border-radius: 3px 3px 0px; +} +.wall-item-tools { background-color: #444444; background-image: none;} +.comment-wwedit-wrapper{ + background-color: #333333; +} +.comment-wwedit-wrapper.threaded { + border: solid #444444; + border-width: 0px 3px 3px; + -moz-border-radius: 0px 0px 3px 3px; + border-radius: 0px 0px 3px 3px; +} +.editicon { + background-color: #333; +} +.comment-edit-preview{ color: #000000; } +.wall-item-content-wrapper.comment { background-color: #444444; border: 0px;} +.photo-top-album-name{ background-color: #333333; } +.photo-album-image-wrapper .caption { background-color: rgba(51, 51, 51, 0.8); color: #FFFFFF; } + +.nav-selected.nav-link { color: #ffffff!important; border-bottom: 0px} +.nav-commlink, .nav-login-link {background-color: #b7bab3;} +.nav-commlink:link, .nav-commlink:visited, +.nav-login-link:link, .nav-login-link:visited{ + color: #ffffff; +} + +.fakelink, .fakelink:visited { + color: #99CCFF; +} + +.wall-item-name-link { + color: #99CCFF; +} + +.wall-item-photo-menu li a, .contact-photo-menu { + color: #CCCCCC; background-color: #333333; +} + +.wall-item-photo-menu li a:hover { + background-color: #CCCCCC; color: #333333; +} + +code { + background:#2e2f2e !important; + color:#fff !important; +} + +blockquote { + background:#2e2f2e !important; + color:#eec !important; +} + + +#page-footer { min-height: 1em;} +footer { + margin: 0px 10%; + display: block; + background-image: url('imgdarkzero/sectionend.jpg'); + background-position: top left; + background-repeat: repeat-x; + height: 25px; +} + + +input#dfrn-url { + background-color: #222222; + color: #FFFFFF !important; +} +.pager_first a, .pager_last a, .pager_prev a, .pager_next a, .pager_n a, .pager_current { + color: #000088; +} + +#jot-perms-icon { + float: left; +} + + +#jot-title, #jot-category { + background-color: #333333; + border: 1px solid #333333; +} + +#jot-title::-webkit-input-placeholder{ color: #555555!important;} +#jot-title:-moz-placeholder{color: #555555!important;} +#jot-category::-webkit-input-placeholder{ color: #555555!important;} +#jot-category:-moz-placeholder{color: #555555!important;} + + +#jot-title:hover, +#jot-title:focus, +#jot-category:hover, +#jot-category:focus { + border: 1px solid #cccccc; +} + +.acl-list-item p, #profile-jot-email-label, div#jot-preview-content, div.profile-jot-net { + color: #eec; +} +#fancybox-content{ + background:#444; +} + +input#acl-search { + background-color: #aaa; +} + + +.notify-seen { + background:#111; +} + +#nav-notifications-menu { + background: #2e2e2f; +} + +#nav-notifications-menu li:hover { + background: #444; +} + +.acpopupitem{ + background:#2e2f2e; +} + +.group-selected, .nets-selected, .fileas-selected, .categories-selected{ + background:#2e2f2e; +} + +/* Events */ + +.fc-state-highlight { +background: #666 !important; +} + +.fc-state-disabled, .fc-state-disabled .fc-button-inner { +color: #000 !important; +} + +/*Admin page */ + +#adminpage table tr:hover { + color: #eec; + background-color: #666; +} + +.settings-widget .selected { +background: #666; +} + + +/* Stuff that doesn't seem to fit with anything else */ + +#datebrowse-sidebar select { +color:#99CCFF !important; +} + +input#prvmail-subject { +background: #222 !important; +} diff --git a/view/theme/duepuntozero/deriv/imgdarkzero/border.jpg b/view/theme/duepuntozero/deriv/imgdarkzero/border.jpg new file mode 100644 index 0000000000000000000000000000000000000000..4967412bf49332e10ad40b4a1a751c3e7f97bdbb GIT binary patch literal 521 zcmex=LJ%Z3btM5{dxG z5Q+={Y5sqJL6C!?fPs;jQHg;`kdaxC@&6G9F|hj?kO4aU8BNHAbr$KTM4Dd?{?R(X(Y=)z&vcKWn~b-;io$UAQ~VpLtij?yULu9K2IE zK3`zLw(79m**DuZw7c9(7c>ZF^laI^^IgL9)4S(A<5JjcTFWIXoRDrp9-+@3Nq-v^)I$&!6zRpC1U_JQ^Qw%mZ zo;oV>kjmc-NbrNuN<&2va((m3X)8_!M{c{RzVQT?BW}Jp^6VM!!NFTzYMM&77Vzn4 zL}``Q)P6u9bPQ^Wa(eIQ_A-6-bnPztJJ6eKAsP6%I0Q;Ga@t(odYz=)`UREFraLpF64)7mGViF`~w;rt*ENJ;i@d&WZ6%xYzA#ROh|6cUR(IXC6o>za0)0>5$=T zRNEgO&dXfx8oV-ipDY;^c+etwaO|5cf)AOTnu>RFaG1?|#h&*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}M^POcaWTd5~4PCd~;#w0@ zzHQ##Tjgr=^7d-&d~xQ;rdJ0A+4|CWEk1a>zWB24{*EZM!p2&uT7x<7C-L0evUT5@ z(lg1fUEX5eYrlHEedQE$WM_wU*zr9_dsSuyWxX<*FI)HG`E9@JbC$ct+iZWk^x%G} ffAhcny=(RErfcRu`5*ro;!oMXzrQ?e`Tv^$d^)bm literal 0 HcmV?d00001 diff --git a/view/theme/duepuntozero/deriv/imgdarkzero/sectionend.jpg b/view/theme/duepuntozero/deriv/imgdarkzero/sectionend.jpg new file mode 100644 index 0000000000000000000000000000000000000000..9d5d5c8f3be6059bde488b340c9c9e4207a3e977 GIT binary patch literal 355 zcmex=LJ%Z3btM5{dxG z5Q+={Y5sqJL6Cz%l7W$#QHg;`kdaxC@&6G9aj@eUkO3Pj7f?b*fPsmTl@VEjQG_Wd zanhm>Kv^-6iO6ycj0{XbaXCSt`7F#xGK>t0iGqQJ6CD>G{C|sqhZ(3&kXewyp5d8T k^yd{q#>OX9On)DFT=Z$O=;<^bg|xQk{c3!t!vEg{06lv(JOBUy literal 0 HcmV?d00001 diff --git a/view/theme/duepuntozero/deriv/imgdarkzero/shiny.png b/view/theme/duepuntozero/deriv/imgdarkzero/shiny.png new file mode 100644 index 0000000000000000000000000000000000000000..994c0d05d730d7302a6de1298ba2e6514b1b2b1f GIT binary patch literal 362 zcmeAS@N?(olHy`uVBq!ia0vp^{2DD*GD0X#=CwqOyN|ANrXCgtsO~{o7Kx>VR49a!E110l tt5Y-2UBA!rY|*rqD|U=*i^{m~zTrK5!YQLoO7=6zm!7VEF6*2UngHobgVX>3 literal 0 HcmV?d00001 From bbf22938aece7a0071b492d3f7c7b1ead556619e Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sun, 7 Sep 2014 13:09:02 +0200 Subject: [PATCH 14/26] added Comix as a colorset of duepuntozero --- view/theme/duepuntozero/deriv/comix.css | 107 ++++++++++++++++++++++++ 1 file changed, 107 insertions(+) create mode 100644 view/theme/duepuntozero/deriv/comix.css diff --git a/view/theme/duepuntozero/deriv/comix.css b/view/theme/duepuntozero/deriv/comix.css new file mode 100644 index 0000000000..d4585fb358 --- /dev/null +++ b/view/theme/duepuntozero/deriv/comix.css @@ -0,0 +1,107 @@ +body { + font-family: "Comic Sans MS", sans !important; + font-size: 13px; +} +.wall-item-content-wrapper { + border: none; +} + +.wall-item-content-wrapper.comment { + background: #ffffff !important; + border-left: 1px solid #EEE; +} + +.wall-item-tools { + background: none; +} + +.comment-edit-text-empty, .comment-edit-text-full { + border: none; + border-left: 1px solid #EEE; + background: #EEEEEE; +} + +.comment-edit-wrapper, .comment-wwedit-wrapper { + background: #ffffff !important; +} + +section { + margin: 0px 32px; +} + +aside { + margin-left: 32px; +} +nav { + margin-left: 32px; + margin-right: 32px; +} + +nav #site-location { + top: 80px; + right: 36px; +} + +.wall-item-photo, .photo, .contact-block-img, .my-comment-photo { + border-radius: 3px; + -moz-border-radius: 3px; + margin-top: 15px; +} + +.wall-item-photo.comment { + margin-top: 26px; +} + + +.triangle-isosceles { + position:relative; + padding:15px; + margin:1em 0 3em; + color:#000; + background:#EEEEEE; /* default background for browsers without gradient support */ + /* css3 */ + background:-webkit-gradient(linear, 0 0, 0 100%, from(#EEEEEE), to(#ffffff)); + background:-moz-linear-gradient(#EEEEEE, #ffffff); + background:-o-linear-gradient(#EEEEEE, #ffffff); + background:linear-gradient(#EEEEEE, #ffffff); + -webkit-border-radius:10px; + -moz-border-radius:10px; + border-radius:10px; +} + +/* Variant : for left/right positioned triangle +------------------------------------------ */ + +.triangle-isosceles.left { + margin-left:30px; + background:#F8F8F8; + border: 2px solid #CCCCCC; +} + +/* THE TRIANGLE +------------------------------------------------------------------------------------------------------------------------------- */ + +/* creates triangle */ +.triangle-isosceles:after { + content:""; + position:absolute; + bottom:-8px; /* value = - border-top-width - border-bottom-width */ + left:30px; /* controls horizontal position */ + border-width:15px 15px 0; /* vary these values to change the angle of the vertex */ + border-style:solid; + border-color:#f8f8f8 transparent; + /* reduce the damage in FF3.0 */ + display:block; + width:0; +} + +/* Variant : left +------------------------------------------ */ + +.triangle-isosceles.left:after { + top:12px; /* controls vertical position */ + left:-30px; /* value = - border-left-width - border-right-width */ + bottom:auto; + border-width:10px 30px 10px 0; + border-color:transparent #f8f8f8; +} From 22d019004169aa2f89a23b49ae9c5b1a0f3598fb Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sun, 7 Sep 2014 13:29:56 +0200 Subject: [PATCH 15/26] revive easterbunny from the dead --- view/theme/duepuntozero/deriv/easterbunny.css | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 view/theme/duepuntozero/deriv/easterbunny.css diff --git a/view/theme/duepuntozero/deriv/easterbunny.css b/view/theme/duepuntozero/deriv/easterbunny.css new file mode 100644 index 0000000000..0619644eaf --- /dev/null +++ b/view/theme/duepuntozero/deriv/easterbunny.css @@ -0,0 +1,46 @@ +.vcard .fn { + color: orange !important; +} + +.vcard .title { + color: #00BB00 !important; +} + +.wall-item-content-wrapper { + border: 1px solid red; + background: #FFDDFF; +} + +.wall-item-content-wrapper.comment { + background: #FFCCAA; +} + +.comment-edit-wrapper { + background: yellow; +} + +body { background-image: url('imgeasterbunny/head.jpg'); } +section { background: #EEFFFF; } + +a, a:visited { color: #0000FF; text-decoration: none; } +a:hover {text-decoration: underline; } + + +aside( background-image: url('imgeasterbunny/border.jpg'); } +.tabs { background-image: url('imgeasterbunny/head.jpg'); } +div.wall-item-content-wrapper.shiny { background-image: url('imgeasterbunny/shiny.png'); } + + +.nav-commlink, .nav-login-link { + background-color: #aed3b2; + +} + +.fakelink, .fakelink:visited { + color: #0000FF; +} + +.wall-item-name-link { + color: #0000FF; +} + From 0989ad335f0c425db36944a169d6faed89880fc8 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sun, 7 Sep 2014 13:41:02 +0200 Subject: [PATCH 16/26] added purplezero to duepunto as variation --- .../deriv/imgeasterbunny/border.jpg | Bin 0 -> 364 bytes .../deriv/imgeasterbunny/head.jpg | Bin 0 -> 1109 bytes .../deriv/imgeasterbunny/shiny.png | Bin 0 -> 320 bytes .../deriv/imgpurplezero/border.jpg | Bin 0 -> 364 bytes .../deriv/imgpurplezero/editicons.png | Bin 0 -> 6300 bytes .../duepuntozero/deriv/imgpurplezero/head.jpg | Bin 0 -> 1109 bytes .../deriv/imgpurplezero/shiny.png | Bin 0 -> 320 bytes view/theme/duepuntozero/deriv/purplezero.css | 25 ++++++++++++++++++ 8 files changed, 25 insertions(+) create mode 100644 view/theme/duepuntozero/deriv/imgeasterbunny/border.jpg create mode 100644 view/theme/duepuntozero/deriv/imgeasterbunny/head.jpg create mode 100644 view/theme/duepuntozero/deriv/imgeasterbunny/shiny.png create mode 100644 view/theme/duepuntozero/deriv/imgpurplezero/border.jpg create mode 100644 view/theme/duepuntozero/deriv/imgpurplezero/editicons.png create mode 100644 view/theme/duepuntozero/deriv/imgpurplezero/head.jpg create mode 100644 view/theme/duepuntozero/deriv/imgpurplezero/shiny.png create mode 100644 view/theme/duepuntozero/deriv/purplezero.css diff --git a/view/theme/duepuntozero/deriv/imgeasterbunny/border.jpg b/view/theme/duepuntozero/deriv/imgeasterbunny/border.jpg new file mode 100644 index 0000000000000000000000000000000000000000..66c7a6fcc7493b233e78a81f9a97f26fd4133335 GIT binary patch literal 364 zcmex=LJ%Z3brsR%R9! z7G_o;!OF_Y#?HgR4g~z%+?+gu{6a#4{DOkQVlv{wB2uD)f)a`nQnIr0^76vsN-9cn zDl&5Nav(z(fm+$w*!eg(_~b+cMdU~Z{|_(-axfGyFfubLF)#@-G7B>PKf)jmaz7&j zGGJk52TDi@FfuTsN-+v03I{F(X#(j%(ZtNe3NlSh5KWwcK~U)bEe0NDMxd3WnyY(ZeeNV?BeR??&0Yb91<+v*#~fzWVs-^OvvRzW@073*;|G24;x2;66k1mmttzOe`$SEbJhE zF*20{F|!~GtD+&BkYgZwVxh2-Q6qGeQ$1KQT&+v`^t>=G+lZ(2vcTckI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BeR??&0Yb91<+v*#~fzWVs-^OvvRzW@073*;|G24;x2;66k1mmttzOe`$SEbJhE zF*20{F|!~GtD+&BkYgZwVxh2-Q6qGeQ$1KQT&+v`^t>=G+lZ(2vcTckIo98kA|IPpZ7=)dRQWHy3 zQxwWGOEMJPJ$(bfNsyJ91?X3xPgz)5fsxAtN{sCM+}xZzg8V{4g8YJl!eTPw!Xi?l zf`Sr?5>m3V^78V+;z}w?aw;-%@^auL2-M2X#?HsV!6zpoC?ZEPfF!{h23C|LC6DM5)s*(ihho@hVIgHE< zOf0NGDQQ8l9I_;%Ad`?tAoG9Jz>Ih}i$kn0dnwEFyv8X>MJrnVw7s%gXrJF`$#z9Q z Date: Sun, 7 Sep 2014 13:55:02 +0200 Subject: [PATCH 17/26] registration request as system notification kill the template send email to all admins --- include/enotify.php | 20 +++++++- mod/register.php | 58 ++++++++++------------ view/ca/register_verify_eml.tpl | 23 --------- view/ca/smarty3/register_verify_eml.tpl | 24 --------- view/cs/register_verify_eml.tpl | 22 -------- view/cs/smarty3/register_verify_eml.tpl | 23 --------- view/de/register_verify_eml.tpl | 25 ---------- view/de/smarty3/register_verify_eml.tpl | 26 ---------- view/en/register_verify_eml.tpl | 26 ---------- view/en/smarty3/register_verify_eml.tpl | 27 ---------- view/eo/register_verify_eml.tpl | 25 ---------- view/eo/smarty3/register_verify_eml.tpl | 26 ---------- view/es/register_verify_eml.tpl | 22 -------- view/es/smarty3/register_verify_eml.tpl | 23 --------- view/fr/register_verify_eml.tpl | 25 ---------- view/fr/smarty3/register_verify_eml.tpl | 28 ----------- view/is/register_verify_eml.tpl | 25 ---------- view/is/smarty3/register_verify_eml.tpl | 26 ---------- view/it/smarty3/register_verify_eml.tpl | 25 ---------- view/nb-no/register_verify_eml.tpl | 25 ---------- view/nb-no/smarty3/register_verify_eml.tpl | 26 ---------- view/nl/register_verify_eml.tpl | 25 ---------- view/pl/register_verify_eml.tpl | 25 ---------- view/pl/smarty3/register_verify_eml.tpl | 26 ---------- view/ro/smarty3/register_verify_eml.tpl | 25 ---------- view/sv/register_verify_eml.tpl | 17 ------- view/sv/smarty3/register_verify_eml.tpl | 18 ------- view/zh-cn/register_verify_eml.tpl | 25 ---------- view/zh-cn/smarty3/register_verify_eml.tpl | 26 ---------- 29 files changed, 45 insertions(+), 692 deletions(-) delete mode 100644 view/ca/register_verify_eml.tpl delete mode 100644 view/ca/smarty3/register_verify_eml.tpl delete mode 100644 view/cs/register_verify_eml.tpl delete mode 100644 view/cs/smarty3/register_verify_eml.tpl delete mode 100644 view/de/register_verify_eml.tpl delete mode 100644 view/de/smarty3/register_verify_eml.tpl delete mode 100644 view/en/register_verify_eml.tpl delete mode 100644 view/en/smarty3/register_verify_eml.tpl delete mode 100644 view/eo/register_verify_eml.tpl delete mode 100644 view/eo/smarty3/register_verify_eml.tpl delete mode 100644 view/es/register_verify_eml.tpl delete mode 100644 view/es/smarty3/register_verify_eml.tpl delete mode 100644 view/fr/register_verify_eml.tpl delete mode 100644 view/fr/smarty3/register_verify_eml.tpl delete mode 100644 view/is/register_verify_eml.tpl delete mode 100644 view/is/smarty3/register_verify_eml.tpl delete mode 100644 view/it/smarty3/register_verify_eml.tpl delete mode 100644 view/nb-no/register_verify_eml.tpl delete mode 100644 view/nb-no/smarty3/register_verify_eml.tpl delete mode 100644 view/nl/register_verify_eml.tpl delete mode 100644 view/pl/register_verify_eml.tpl delete mode 100644 view/pl/smarty3/register_verify_eml.tpl delete mode 100644 view/ro/smarty3/register_verify_eml.tpl delete mode 100644 view/sv/register_verify_eml.tpl delete mode 100644 view/sv/smarty3/register_verify_eml.tpl delete mode 100644 view/zh-cn/register_verify_eml.tpl delete mode 100644 view/zh-cn/smarty3/register_verify_eml.tpl diff --git a/include/enotify.php b/include/enotify.php index 631cb8aed0..54db6912cb 100644 --- a/include/enotify.php +++ b/include/enotify.php @@ -308,7 +308,24 @@ function notification($params) { } if($params['type'] == NOTIFY_SYSTEM) { - //I have yet to find what system notificatons are... + switch($params['event']) { + case "SYSTEM_REGISTER_REQUEST": + $subject = sprintf( t('[Friendica System:Notify] registration request')); + $preamble = sprintf( t('You\'ve received a registration request from \'%1$s\' at %2$s'), $params['source_name'], $sitename); + $epreamble = sprintf( t('You\'ve received a registration request [url=%1$s]an introduction[/url] from %2$s.'), + $itemlink, + '[url=' . $params['source_link'] . ']' . $params['source_name'] . '[/url]'); + $body = sprintf( t('Full Name: %1$s\nSite Location: %2$s\nLogin Name: %3$s (%4$s)'), + $params['source_name'], $siteurl, $params['source_mail'], $params['source_nick']); + + $sitelink = t('Please visit %s to approve or reject the request.'); + $tsitelink = sprintf( $sitelink, $params['link'] ); + $hsitelink = sprintf( $sitelink, '' . $sitename . ''); + $itemlink = $params['link']; + break; + case "SYSTEM_DB_UPDATE_FAIL": + break; + } } if ($params['type'] == "SYSTEM_EMAIL"){ @@ -360,6 +377,7 @@ function notification($params) { if ($show_in_notification_page) { + logger("adding notification entry", LOGGER_DEBUG); do { $dups = false; $hash = random_string(); diff --git a/mod/register.php b/mod/register.php index b9a9808b95..50f5fedb5e 100644 --- a/mod/register.php +++ b/mod/register.php @@ -1,6 +1,6 @@ config['admin_email'])); - - $r = q("SELECT `language` FROM `user` WHERE `email` = '%s' LIMIT 1", - //dbesc($a->config['admin_email']) - dbesc($adminlist[0]) - ); - if(count($r)) - push_lang($r[0]['language']); - else - push_lang('en'); - + // invite system if($using_invites && $invite_id) { q("delete * from register where hash = '%s' limit 1", dbesc($invite_id)); set_pconfig($user['uid'],'system','invites_remaining',$num_invites); } - $email_tpl = get_intltext_template("register_verify_eml.tpl"); - $email_tpl = replace_macros($email_tpl, array( - '$sitename' => $a->config['sitename'], - '$siteurl' => $a->get_baseurl(), - '$username' => $user['username'], - '$email' => $user['email'], - '$password' => $result['password'], - '$uid' => $user['uid'], - '$hash' => $hash - )); + // send email to admins + $admin_mail_list = "'".implode("','", array_map(dbesc, explode(",", str_replace(" ", "", $a->config['admin_email']))))."'"; + $adminlist = q("SELECT uid, language, email FROM user WHERE email IN (%s) LIMIT 1", + $admin_mail_list + ); - $res = mail($a->config['admin_email'], email_header_encode( sprintf(t('Registration request at %s'), $a->config['sitename']),'UTF-8'), - $email_tpl, - 'From: ' . 'Administrator' . '@' . $_SERVER['SERVER_NAME'] . "\n" - . 'Content-type: text/plain; charset=UTF-8' . "\n" - . 'Content-transfer-encoding: 8bit' ); - pop_lang(); - - if($res) { - info( t('Your registration is pending approval by the site owner.') . EOL ) ; - goaway(z_root()); + foreach ($adminlist as $admin) { + notification(array( + 'type' => NOTIFY_SYSTEM, + 'event' => 'SYSTEM_REGISTER_REQUEST', + 'source_name' => $user['username'], + 'source_mail' => $user['email'], + 'source_nick' => $user['nickname'], + 'source_link' => $a->get_baseurl()."/admin/users/", + 'link' => $a->get_baseurl()."/admin/users/", + 'source_photo' => $a->get_baseurl() . "/photo/avatar/".$user['uid'].".jpg", + 'to_email' => $admin['mail'], + 'uid' => $admin['uid'], + 'language' => ($admin['language']?$admin['language']:'en')) + ); } + + info( t('Your registration is pending approval by the site owner.') . EOL ) ; + goaway(z_root()); + + } return; diff --git a/view/ca/register_verify_eml.tpl b/view/ca/register_verify_eml.tpl deleted file mode 100644 index 3dd966e0a0..0000000000 --- a/view/ca/register_verify_eml.tpl +++ /dev/null @@ -1,23 +0,0 @@ - -S'ha rebut la sol·licitud de registre d'un nou usuari en -$sitename que requereix la teva aprovació. - -Les dades d'accés són els següents: - -Nom Complet: $username -Lloc: $siteurl -Nom: $email - - -Per aprovar aquesta sol·licitud, visita el següent enllaç: - -$siteurl/regmod/allow/$hash - -Per denegar la sol·licitud i eliminar el compte, per favor visita: - -$siteurl/regmod/deny/$hash - - -Gràcies. - - diff --git a/view/ca/smarty3/register_verify_eml.tpl b/view/ca/smarty3/register_verify_eml.tpl deleted file mode 100644 index 070288a43b..0000000000 --- a/view/ca/smarty3/register_verify_eml.tpl +++ /dev/null @@ -1,24 +0,0 @@ - - -S'ha rebut la sol·licitud de registre d'un nou usuari en -{{$sitename}} que requereix la teva aprovació. - -Les dades d'accés són els següents: - -Nom Complet: {{$username}} -Lloc: {{$siteurl}} -Nom: {{$email}} - - -Per aprovar aquesta sol·licitud, visita el següent enllaç: - -{{$siteurl}}/regmod/allow/{{$hash}} - -Per denegar la sol·licitud i eliminar el compte, per favor visita: - -{{$siteurl}}/regmod/deny/{{$hash}} - - -Gràcies. - - diff --git a/view/cs/register_verify_eml.tpl b/view/cs/register_verify_eml.tpl deleted file mode 100644 index 4b34c6b6dc..0000000000 --- a/view/cs/register_verify_eml.tpl +++ /dev/null @@ -1,22 +0,0 @@ - -Na webu $sitename byla vytvořena nová uživatelská registrace, která vyžaduje Vaše schválení. - -Přihlašovací údaje jsou tato: - -Celé jméno: $username -Adresa webu: $siteurl -Přihlašovací jméno: $email - -Pro odsouhlasení tohoto požadavku prosím klikněte na následující odkaz: - - -$siteurl/regmod/allow/$hash - - -Pro zamítnutí žádosti a odstranění účtu prosím klikněte na tento odkaz: - - -$siteurl/regmod/deny/$hash - - -Díky. diff --git a/view/cs/smarty3/register_verify_eml.tpl b/view/cs/smarty3/register_verify_eml.tpl deleted file mode 100644 index 7d08ffa00a..0000000000 --- a/view/cs/smarty3/register_verify_eml.tpl +++ /dev/null @@ -1,23 +0,0 @@ - - -Na webu {{$sitename}} byla vytvořena nová uživatelská registrace, která vyžaduje Vaše schválení. - -Přihlašovací údaje jsou tato: - -Celé jméno: {{$username}} -Adresa webu: {{$siteurl}} -Přihlašovací jméno: {{$email}} - -Pro odsouhlasení tohoto požadavku prosím klikněte na následující odkaz: - - -{{$siteurl}}/regmod/allow/{{$hash}} - - -Pro zamítnutí žádosti a odstranění účtu prosím klikněte na tento odkaz: - - -{{$siteurl}}/regmod/deny/{{$hash}} - - -Díky. diff --git a/view/de/register_verify_eml.tpl b/view/de/register_verify_eml.tpl deleted file mode 100644 index 8f25f5c36a..0000000000 --- a/view/de/register_verify_eml.tpl +++ /dev/null @@ -1,25 +0,0 @@ - -Eine Neuanmeldung auf $[sitename] benötigt -deine Aufmerksamkeit. - - -Die Login-Einzelheiten sind die folgenden: - -Kompletter Name: $[username] -Adresse der Seite: $[siteurl] -Login Name: $[email] - - -Um die Anfrage zu bestätigen besuche bitte: - - -$[siteurl]/regmod/allow/$[hash] - - -Um die Anfrage abzulehnen und den Account zu löschen besuche bitte: - - -$[siteurl]/regmod/deny/$[hash] - - -Danke! diff --git a/view/de/smarty3/register_verify_eml.tpl b/view/de/smarty3/register_verify_eml.tpl deleted file mode 100644 index 9c0bb77f24..0000000000 --- a/view/de/smarty3/register_verify_eml.tpl +++ /dev/null @@ -1,26 +0,0 @@ - - -Eine Neuanmeldung auf {{$sitename}} benötigt -deine Aufmerksamkeit. - - -Die Login-Einzelheiten sind die folgenden: - -Kompletter Name: {{$username}} -Adresse der Seite: {{$siteurl}} -Login Name: {{$email}} - - -Um die Anfrage zu bestätigen besuche bitte: - - -{{$siteurl}}/regmod/allow/{{$hash}} - - -Um die Anfrage abzulehnen und den Account zu löschen besuche bitte: - - -{{$siteurl}}/regmod/deny/{{$hash}} - - -Danke! diff --git a/view/en/register_verify_eml.tpl b/view/en/register_verify_eml.tpl deleted file mode 100644 index 73980bb5ce..0000000000 --- a/view/en/register_verify_eml.tpl +++ /dev/null @@ -1,26 +0,0 @@ - -A new user registration request was received at $[sitename] which requires -your approval. - - -The login details are as follows: - -Full Name: $[username] -Site Location: $[siteurl] -Login Name: $[email] - - -To approve this request please visit the following link: - - -$[siteurl]/regmod/allow/$[hash] - - -To deny the request and remove the account, please visit: - - -$[siteurl]/regmod/deny/$[hash] - - -Thank you. - diff --git a/view/en/smarty3/register_verify_eml.tpl b/view/en/smarty3/register_verify_eml.tpl deleted file mode 100644 index 962e82a831..0000000000 --- a/view/en/smarty3/register_verify_eml.tpl +++ /dev/null @@ -1,27 +0,0 @@ - - -A new user registration request was received at {{$sitename}} which requires -your approval. - - -The login details are as follows: - -Full Name: {{$username}} -Site Location: {{$siteurl}} -Login Name: {{$email}} - - -To approve this request please visit the following link: - - -{{$siteurl}}/regmod/allow/{{$hash}} - - -To deny the request and remove the account, please visit: - - -{{$siteurl}}/regmod/deny/{{$hash}} - - -Thank you. - diff --git a/view/eo/register_verify_eml.tpl b/view/eo/register_verify_eml.tpl deleted file mode 100644 index cc99ab4b6f..0000000000 --- a/view/eo/register_verify_eml.tpl +++ /dev/null @@ -1,25 +0,0 @@ - -Nova peto por registrado atendas ĉe $[sitename] -kaj bezonas vian aprobon. - - -Jen la detaloj de la peto: - -Plena Nomo:»$[username] -Retejo:»$[siteurl] -Salutnomo:»$[email] - - -Aprobonte la peton, bonvolu klaki tiun ligilon: - - -$[siteurl]/regmod/allow/$[hash] - - -Malaprobonte kaj forviŝonte la konton, bonvolu klaki: - - -$[siteurl]/regmod/deny/$[hash] - - -Dankon! diff --git a/view/eo/smarty3/register_verify_eml.tpl b/view/eo/smarty3/register_verify_eml.tpl deleted file mode 100644 index bb5bc65e2b..0000000000 --- a/view/eo/smarty3/register_verify_eml.tpl +++ /dev/null @@ -1,26 +0,0 @@ - - -Nova peto por registrado atendas ĉe {{$sitename}} -kaj bezonas vian aprobon. - - -Jen la detaloj de la peto: - -Plena Nomo:»{{$username}} -Retejo:»{{$siteurl}} -Salutnomo:»{{$email}} - - -Aprobonte la peton, bonvolu klaki tiun ligilon: - - -{{$siteurl}}/regmod/allow/{{$hash}} - - -Malaprobonte kaj forviŝonte la konton, bonvolu klaki: - - -{{$siteurl}}/regmod/deny/{{$hash}} - - -Dankon! diff --git a/view/es/register_verify_eml.tpl b/view/es/register_verify_eml.tpl deleted file mode 100644 index 9f2cc4d9b7..0000000000 --- a/view/es/register_verify_eml.tpl +++ /dev/null @@ -1,22 +0,0 @@ - -Se ha recibido la solicitud de registro de un nuevo usuario en -$sitename que requiere tu aprobación. - -Los datos de acceso son los siguientes: - -Nombre Completo: $username -Sitio: $siteurl -Nombre: $email - - -Para aprobar esta solicitud, visita el siguiente enlace: - -$siteurl/regmod/allow/$hash - -Para denegar la solicitud y eliminar la cuenta, por favor visita: - -$siteurl/regmod/deny/$hash - - -Gracias. - diff --git a/view/es/smarty3/register_verify_eml.tpl b/view/es/smarty3/register_verify_eml.tpl deleted file mode 100644 index b49a616d27..0000000000 --- a/view/es/smarty3/register_verify_eml.tpl +++ /dev/null @@ -1,23 +0,0 @@ - - -Se ha recibido la solicitud de registro de un nuevo usuario en -{{$sitename}} que requiere tu aprobación. - -Los datos de acceso son los siguientes: - -Nombre Completo: {{$username}} -Sitio: {{$siteurl}} -Nombre: {{$email}} - - -Para aprobar esta solicitud, visita el siguiente enlace: - -{{$siteurl}}/regmod/allow/{{$hash}} - -Para denegar la solicitud y eliminar la cuenta, por favor visita: - -{{$siteurl}}/regmod/deny/{{$hash}} - - -Gracias. - diff --git a/view/fr/register_verify_eml.tpl b/view/fr/register_verify_eml.tpl deleted file mode 100644 index 35d0a730b3..0000000000 --- a/view/fr/register_verify_eml.tpl +++ /dev/null @@ -1,25 +0,0 @@ - -Une nouvelle demande d'inscription a été reçue par $[sitename], elle -nécessite votre approbation. - - -Les détails du compte sont: - -Nom complet: $[username] -Adresse du site: $[siteurl] -Utilisateur: $[email] - - -Pour approuver, merci de visiter le lien suivant: - - -$[siteurl]/regmod/allow/$[hash] - - -Pour refuser et supprimer le compte: - - -$[siteurl]/regmod/deny/$[hash] - - -Merci d'avance. diff --git a/view/fr/smarty3/register_verify_eml.tpl b/view/fr/smarty3/register_verify_eml.tpl deleted file mode 100644 index f046797dbb..0000000000 --- a/view/fr/smarty3/register_verify_eml.tpl +++ /dev/null @@ -1,28 +0,0 @@ - - -Une nouvelle demande d'inscription a été reçue sur {{$sitename}}, et elle -nécessite votre approbation. - - -Les informations de connexion sont les suivantes : - -Nom complet : {{$username}} -Site : {{$siteurl}} -Pseudo/Courriel : {{$email}} - - -Pour approuver cette demande, merci de suivre le lien : - - -{{$siteurl}}/regmod/allow/{{$hash}} - - -Pour rejeter cette demande et supprimer le compte associé, -merci de suivre le lien : - - -{{$siteurl}}/regmod/deny/{{$hash}} - - -En vous remerçiant. - diff --git a/view/is/register_verify_eml.tpl b/view/is/register_verify_eml.tpl deleted file mode 100644 index 3ebc6fda40..0000000000 --- a/view/is/register_verify_eml.tpl +++ /dev/null @@ -1,25 +0,0 @@ - -Beiðni um nýjan notanda barst $[sitename] sem krefst -þíns samþykkis. - - -Innskráningar upplýsingarnar eru eftirfarandi: - -Fullt nafn: $[username] -Vefþjónn: $[siteurl] -Notendanafn: $[email] - - -Til að samþykkja beiðnina þarf að heimsækja eftirfarandi slóð: - - -$[siteurl]/regmod/allow/$[hash] - - -Til að synja beiðni og eyða notanda þá heimsækir þú slóðina: - - -$[siteurl]/regmod/deny/$[hash] - - -Takk fyrir. diff --git a/view/is/smarty3/register_verify_eml.tpl b/view/is/smarty3/register_verify_eml.tpl deleted file mode 100644 index 0b16695a9e..0000000000 --- a/view/is/smarty3/register_verify_eml.tpl +++ /dev/null @@ -1,26 +0,0 @@ - - -Beiðni um nýjan notanda barst {{$sitename}} sem krefst -þíns samþykkis. - - -Innskráningar upplýsingarnar eru eftirfarandi: - -Fullt nafn: {{$username}} -Vefþjónn: {{$siteurl}} -Notendanafn: {{$email}} - - -Til að samþykkja beiðnina þarf að heimsækja eftirfarandi slóð: - - -{{$siteurl}}/regmod/allow/{{$hash}} - - -Til að synja beiðni og eyða notanda þá heimsækir þú slóðina: - - -{{$siteurl}}/regmod/deny/{{$hash}} - - -Takk fyrir. diff --git a/view/it/smarty3/register_verify_eml.tpl b/view/it/smarty3/register_verify_eml.tpl deleted file mode 100644 index 931d9d4b0d..0000000000 --- a/view/it/smarty3/register_verify_eml.tpl +++ /dev/null @@ -1,25 +0,0 @@ - -Su {{$sitename}} è stata ricevuta una nuova richiesta di registrazione da parte di un utente che richiede -la tua approvazione. - - -I dati di accesso sono i seguenti: - -Nome completo:»{{$username}} -Sito:»{{$siteurl}} -Nome utente:»{{$email}} - - -Per approvare questa richiesta clicca su: - - -{{$siteurl}}/regmod/allow/{{$hash}} - - -Per negare la richiesta e rimuovere il profilo, clicca su: - - -{{$siteurl}}/regmod/deny/{{$hash}} - - -Grazie. diff --git a/view/nb-no/register_verify_eml.tpl b/view/nb-no/register_verify_eml.tpl deleted file mode 100644 index 4c2176d7da..0000000000 --- a/view/nb-no/register_verify_eml.tpl +++ /dev/null @@ -1,25 +0,0 @@ - -En ny forespørsel om brukerregistering ble mottatt hos $[sitename] og krever -din godkjenning. - - -Innloggingsdetaljene er som følger: - -Fullt navn:»$[username] -Nettstedsadresse:»$[siteurl] -Brukernavn:»$[email] - - -For å godkjenne denne forespørselen, vennligst besøk følgende lenke: - - -$[siteurl]/regmod/allow/$[hash] - - -For å avslå denne forespørselen og fjerne kontoen, vennligst besøk: - - -$[siteurl]/regmod/deny/$[hash] - - -Mange takk. diff --git a/view/nb-no/smarty3/register_verify_eml.tpl b/view/nb-no/smarty3/register_verify_eml.tpl deleted file mode 100644 index 00b5b93cf6..0000000000 --- a/view/nb-no/smarty3/register_verify_eml.tpl +++ /dev/null @@ -1,26 +0,0 @@ - - -En ny forespørsel om brukerregistering ble mottatt hos {{$sitename}} og krever -din godkjenning. - - -Innloggingsdetaljene er som følger: - -Fullt navn:»{{$username}} -Nettstedsadresse:»{{$siteurl}} -Brukernavn:»{{$email}} - - -For å godkjenne denne forespørselen, vennligst besøk følgende lenke: - - -{{$siteurl}}/regmod/allow/{{$hash}} - - -For å avslå denne forespørselen og fjerne kontoen, vennligst besøk: - - -{{$siteurl}}/regmod/deny/{{$hash}} - - -Mange takk. diff --git a/view/nl/register_verify_eml.tpl b/view/nl/register_verify_eml.tpl deleted file mode 100644 index 23388678d8..0000000000 --- a/view/nl/register_verify_eml.tpl +++ /dev/null @@ -1,25 +0,0 @@ - -Er heeft zich op $[sitename] een nieuwe gebruiker aangemeld. Dit verzoek vereist -uw toestemming. - - -De inloggegevens zijn als volgt: - -Volledige naam:»$[username] -Friendica-site:»$[siteurl] -Inlognaam:»$[email] - - -Om dit verzoek goed te keuren moet u op de volgende link klikken: - - -$[siteurl]/regmod/allow/$[hash] - - -Om dit verzoek af te keuren en de nieuwe gebruiker weer te verwijderen, moet u op de volgende link klikken: - - -$[siteurl]/regmod/deny/$[hash] - - -Bedankt. diff --git a/view/pl/register_verify_eml.tpl b/view/pl/register_verify_eml.tpl deleted file mode 100644 index 8faf05aeb1..0000000000 --- a/view/pl/register_verify_eml.tpl +++ /dev/null @@ -1,25 +0,0 @@ - -Nowy wniosek o rejestrację użytkownika wpłynął na $[sitename] i wymaga -potwierdzenia. - - -Oto szczegóły konta: - -Pełna nazwa:»$[username] -Jesteś na: $[siteurl] -Login:»$[email] - - -Aby potwierdzić rejestrację wejdź na: - - -$[siteurl]/regmod/allow/$[hash] - - -Aby anulować rejestrację i usunąć konto wejdź na: - - -$[siteurl]/regmod/deny/$[hash] - - -Dziękuję. diff --git a/view/pl/smarty3/register_verify_eml.tpl b/view/pl/smarty3/register_verify_eml.tpl deleted file mode 100644 index 2457f74e48..0000000000 --- a/view/pl/smarty3/register_verify_eml.tpl +++ /dev/null @@ -1,26 +0,0 @@ - - -Nowy wniosek o rejestrację użytkownika wpłynął na {{$sitename}} i wymaga -potwierdzenia. - - -Oto szczegóły konta: - -Pełna nazwa:»{{$username}} -Jesteś na: {{$siteurl}} -Login:»{{$email}} - - -Aby potwierdzić rejestrację wejdź na: - - -{{$siteurl}}/regmod/allow/{{$hash}} - - -Aby anulować rejestrację i usunąć konto wejdź na: - - -{{$siteurl}}/regmod/deny/{{$hash}} - - -Dziękuję. diff --git a/view/ro/smarty3/register_verify_eml.tpl b/view/ro/smarty3/register_verify_eml.tpl deleted file mode 100644 index 8d63a4eb5e..0000000000 --- a/view/ro/smarty3/register_verify_eml.tpl +++ /dev/null @@ -1,25 +0,0 @@ - -O nouă cererea de înregistrare utilizator a fost primită la $ [sitename], care impune -aprobarea ta. - - -Detaliile de login sunt următoarele ; - -Nume complet:»[$[username], -Locaţie Site»$[siteurl] -Login Name: $[email] - - -Pentru a aproba această cerere va rugam sa accesati link-ul următor: - - -$[siteurl]/regmod/allow/$[hash] - - -Pentru a refuza cererea și elimina contul, vă rugăm să vizitați: - - -$[siteurl]/regmod/deny/$[hash] - - -Vă mulţumesc. diff --git a/view/sv/register_verify_eml.tpl b/view/sv/register_verify_eml.tpl deleted file mode 100644 index aa72bc9aae..0000000000 --- a/view/sv/register_verify_eml.tpl +++ /dev/null @@ -1,17 +0,0 @@ -En registreringsförfrågan som kräver svar har mottagits -på $sitename - - -Här är inloggningsuppgifterna: - -Fullständigt namn: $username -Webbplats: $siteurl -Användarnamn: $email - - -Gå till denna adress om du vill godkänna: -$siteurl/regmod/allow/$hash - -Gå till denna adress om du vill avslå förfrågan och ta bort kontot: -$siteurl/regmod/deny/$hash - diff --git a/view/sv/smarty3/register_verify_eml.tpl b/view/sv/smarty3/register_verify_eml.tpl deleted file mode 100644 index 369c9a53c9..0000000000 --- a/view/sv/smarty3/register_verify_eml.tpl +++ /dev/null @@ -1,18 +0,0 @@ - -En registreringsförfrågan som kräver svar har mottagits -på {{$sitename}} - - -Här är inloggningsuppgifterna: - -Fullständigt namn: {{$username}} -Webbplats: {{$siteurl}} -Användarnamn: {{$email}} - - -Gå till denna adress om du vill godkänna: -{{$siteurl}}/regmod/allow/{{$hash}} - -Gå till denna adress om du vill avslå förfrågan och ta bort kontot: -{{$siteurl}}/regmod/deny/{{$hash}} - diff --git a/view/zh-cn/register_verify_eml.tpl b/view/zh-cn/register_verify_eml.tpl deleted file mode 100644 index eead002f5b..0000000000 --- a/view/zh-cn/register_verify_eml.tpl +++ /dev/null @@ -1,25 +0,0 @@ - -受到新的用户注册要求在$[sitename],要 -您的批准。 - - -登记信息是: - -全名: $[username] -网站位置: $[siteurl] -登记名: $[email] - - -为批准这个要求请点击这个按钮: - - -$[siteurl]/regmod/allow/$[hash] - - -为否定这个要求和删除账户,请点击这个按钮: - - -$[siteurl]/regmod/deny/$[hash] - - -谢谢您。 diff --git a/view/zh-cn/smarty3/register_verify_eml.tpl b/view/zh-cn/smarty3/register_verify_eml.tpl deleted file mode 100644 index 16a935fce3..0000000000 --- a/view/zh-cn/smarty3/register_verify_eml.tpl +++ /dev/null @@ -1,26 +0,0 @@ - - -受到新的用户注册要求在{{$sitename}},要 -您的批准。 - - -登记信息是: - -全名: {{$username}} -网站位置: {{$siteurl}} -登记名: {{$email}} - - -为批准这个要求请点击这个按钮: - - -{{$siteurl}}/regmod/allow/{{$hash}} - - -为否定这个要求和删除账户,请点击这个按钮: - - -{{$siteurl}}/regmod/deny/{{$hash}} - - -谢谢您。 From c72d850113fc1d611fe48206886458a5fe291f88 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sun, 7 Sep 2014 13:57:51 +0200 Subject: [PATCH 18/26] added slackr to duepuntoderivates --- view/theme/duepuntozero/deriv/slackr.css | 210 +++++++++++++++++++++++ 1 file changed, 210 insertions(+) create mode 100644 view/theme/duepuntozero/deriv/slackr.css diff --git a/view/theme/duepuntozero/deriv/slackr.css b/view/theme/duepuntozero/deriv/slackr.css new file mode 100644 index 0000000000..3b42cdd10b --- /dev/null +++ b/view/theme/duepuntozero/deriv/slackr.css @@ -0,0 +1,210 @@ +.wall-item-content-wrapper { + border: none; +} + +.wall-item-content-wrapper.comment { + background: #ffffff !important; + border-left: 1px solid #EEE; +} + +.wall-item-tools { + background: none; +} +.wall-item-body a:hover { + color: #ff6600; +} + + +.widget { +/* box-shadow: 4px 4px 3px 0 #444444; */ +} + +.comment-edit-text-empty, .comment-edit-text-full { + border: none; + border-left: 1px solid #EEE; + background: #EEEEEE; +} + +.comment-edit-wrapper, .comment-wwedit-wrapper { + background: #ffffff !important; +} + +section { + margin: 0px 32px; +} + +aside { + margin-left: 32px; +} +nav { + margin-left: 32px; + margin-right: 32px; +} + +nav #site-location { + top: 80px; + right: 36px; +} + +#profile-jot-text_parent, .mceLayout { + border-radius: 3px; + -moz-border-radius: 3px; + box-shadow: 4px 4px 3px 0 #444444; +} + +#profile-jot-text:hover { + color: #000000; +} + +#events-reminder { + border-radius: 3px; + -moz-border-radius: 3px; + opacity: 0.3; + filter:alpha(opacity=30); + margin-left: 5px; + margin-top: 5px; +} + +#events-reminder.birthday-today, #events-reminder.event-today { + opacity: 1.0; + filter:alpha(opacity=100); + box-shadow: 4px 4px 3px 0 #444444; + margin-left: 0px; + margin-top: 0px; +} + +#events-reminder:hover { + opacity: 1.0; + filter:alpha(opacity=100); + box-shadow: 4px 4px 3px 0 #444444; + margin-left: 0px; + margin-top: 0px; +} + +.fc-event-skin { + background-color: #3465a4 !important; +} +.wall-item-photo, .photo, .contact-block-img, .my-comment-photo { + border-radius: 3px; + -moz-border-radius: 3px; + box-shadow: 4px 4px 3px 0 #444444; +} + +.forumlist-img { + border-radius: 3px; + -moz-border-radius: 3px; + box-shadow: 4px 4px 3px 0 #444444; +} + +#datebrowse-sidebar select { + margin-left: 25px; + border-radius: 3px; + -moz-border-radius: 3px; + opacity: 0.3; + filter:alpha(opacity=30); +} + +#datebrowse-sidebar select:hover { + opacity: 1.0; + filter:alpha(opacity=100); +} + +#posted-date-selector { + margin-left: 30px !important; + margin-top: 5px !important; + margin-right: 0px !important; + margin-bottom: 0px !important; +} + + +#posted-date-selector:hover { + box-shadow: 4px 4px 3px 0 #444444; + margin-left: 25px !important; + margin-top: 0px !important; + margin-right: 5px !important; + margin-bottom: 5px !important; + +} + +.contact-entry-photo img, .profile-match-photo img, #photo-photo img, .directory-photo-img, .photo-album-photo, .photo-top-photo, .profile-jot-text, .group-selected, .nets-selected, .fileas-selected, #profile-jot-submit, .categories-selected { + border-radius: 3px; + -moz-border-radius: 3px; + box-shadow: 4px 4px 3px 0 #444444; +} +.settings-widget .selected { + border-radius: 3px; + -moz-border-radius: 3px; + box-shadow: 4px 4px 3px 0 #444444; +} + +#sidebar-page-list .label { + margin-left: 5px; +} + + +.photo { + border: 1px solid #AAAAAA; +} + +.photo-top-photo, .photo-album-photo { + padding: 10px; + max-width: 300px; + border: 1px solid #888888; +} + +.rotleft1 { +-webkit-transform: rotate(-1deg); +-moz-transform: rotate(-1deg); +-ms-transform: rotate(-1deg); +-o-transform: rotate(-1deg); +} + +.rotleft2 { +-webkit-transform: rotate(-2deg); +-moz-transform: rotate(-2deg); +-ms-transform: rotate(-2deg); +-o-transform: rotate(-2deg); +} + +.rotleft3 { +-webkit-transform: rotate(-3deg); +-moz-transform: rotate(-3deg); +-ms-transform: rotate(-3deg); +-o-transform: rotate(-3deg); +} + +.rotleft4 { +-webkit-transform: rotate(-4deg); +-moz-transform: rotate(-4deg); +-ms-transform: rotate(-4deg); +-o-transform: rotate(-4deg); +} + +.rotright1 { +-webkit-transform: rotate(1deg); +-moz-transform: rotate(1deg); +-ms-transform: rotate(1deg); +-o-transform: rotate(1deg); +} + +.rotright2 { +-webkit-transform: rotate(2deg); +-moz-transform: rotate(2deg); +-ms-transform: rotate(2deg); +-o-transform: rotate(2deg); +} + +.rotright3 { +-webkit-transform: rotate(3deg); +-moz-transform: rotate(3deg); +-ms-transform: rotate(3deg); +-o-transform: rotate(3deg); +} + +.rotright4 { +-webkit-transform: rotate(4deg); +-moz-transform: rotate(4deg); +-ms-transform: rotate(4deg); +-o-transform: rotate(4deg); +} + From a9782251e5a56a5897e0ca050d85c2c98aaa1b69 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sun, 7 Sep 2014 14:00:09 +0200 Subject: [PATCH 19/26] updating config files for duepuntozero --- view/theme/duepuntozero/config.php | 7 ++++++- view/theme/duepuntozero/theme.php | 17 +++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/view/theme/duepuntozero/config.php b/view/theme/duepuntozero/config.php index f8209bb872..edf12c35fa 100644 --- a/view/theme/duepuntozero/config.php +++ b/view/theme/duepuntozero/config.php @@ -43,6 +43,11 @@ function clean_form(&$a, &$colorset, $user){ $colorset = array( 'default'=>t('default'), 'greenzero'=>t('greenzero'), + 'purplezero'=>t('purplezero'), + 'easterbunny'=>t('easterbunny'), + 'darkzero'=>t('darkzero'), + 'comix'=>t('comix'), + 'slackr'=>t('slackr'), ); if ($user) { $color = get_pconfig(local_user(), 'duepuntozero', 'colorset'); @@ -54,7 +59,7 @@ function clean_form(&$a, &$colorset, $user){ '$submit' => t('Submit'), '$baseurl' => $a->get_baseurl(), '$title' => t("Theme settings"), - '$colorset' => array('duepuntozero_colorset', t('Color scheme'), $color, '', $colorset), + '$colorset' => array('duepuntozero_colorset', t('Variations'), $color, '', $colorset), )); return $o; } diff --git a/view/theme/duepuntozero/theme.php b/view/theme/duepuntozero/theme.php index e6c276c0a3..ba3f25d3e2 100644 --- a/view/theme/duepuntozero/theme.php +++ b/view/theme/duepuntozero/theme.php @@ -5,6 +5,23 @@ function duepuntozero_init(&$a) { $a->theme_info = array(); set_template_engine($a, 'smarty3'); + $colorset = get_pconfig( local_user(), 'duepuntozero','colorset'); + if (!$colorset) + $colorset = get_config('duepuntozero', 'colorset'); // user setting have priority, then node settings + if ($colorset) { + if ($colorset == 'greenzero') + $a->page['htmlhead'] .= ''."\n"; + if ($colorset == 'purplezero') + $a->page['htmlhead'] .= ''."\n"; + if ($colorset == 'easterbunny') + $a->page['htmlhead'] .= ''."\n"; + if ($colorset == 'darkzero') + $a->page['htmlhead'] .= ''."\n"; + if ($colorset == 'comix') + $a->page['htmlhead'] .= ''."\n"; + if ($colorset == 'slackr') + $a->page['htmlhead'] .= ''."\n"; + } $a->page['htmlhead'] .= <<< EOT