From: fabrixxm Date: Sun, 7 Sep 2014 11:55:02 +0000 (+0200) Subject: registration request as system notification X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5861bdd6e92af3bb5898ab3ceb8e2a5457f8919d;p=friendica.git registration request as system notification kill the template send email to all admins --- 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 - )); - - $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(); + // 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 + ); - 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}} - - -谢谢您。