diff --git a/htdocs/index.php b/htdocs/index.php index 29062694..63ab5449 100644 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -336,7 +336,7 @@ $smarty->assign('error', $messages[$result]); // TODO : Make it clean $error_sms - START if ($action == 'sendsms') { - if (isset($result) && ($result == 'smscrypttokensrequired' || $result == 'smsuserfound' || $result == 'smssent' || $result == 'tokenattempts')) { + if (isset($result) && ($result == 'smscrypttokensrequired' || $result == 'smsuserfound' || $result == 'smssent' || $result == 'smssent_ifexists' || $result == 'tokenattempts')) { $smarty->assign('error_sms', $result); } else { $smarty->assign('error_sms', false); diff --git a/htdocs/sendsms.php b/htdocs/sendsms.php index a0ece870..def7b274 100644 --- a/htdocs/sendsms.php +++ b/htdocs/sendsms.php @@ -155,7 +155,7 @@ $result = "sendsms"; } if (!$match){ - list($result, $token) = obscure_info_sendsms("smssent","smsnomatch"); + list($result, $token) = obscure_info_sendsms("smssent_ifexists","smsnomatch"); error_log("SMS number $phone does not match for user $login"); } }else{ @@ -358,7 +358,7 @@ function get_mobile_and_displayname($login) { $displayname = ldap_get_values($ldap, $entry, $ldap_fullname_attribute); } if (!$userdn) { - list($result, $token) = obscure_info_sendsms("smssent","badcredentials"); + list($result, $token) = obscure_info_sendsms("smssent_ifexists","badcredentials"); error_log("LDAP - User $login not found"); } else { # Get first sms number for configured ldap attributes in sms_attributes. @@ -373,7 +373,7 @@ function get_mobile_and_displayname($login) { $sms = truncate_number($sms); } }else{ - list($result, $token) = obscure_info_sendsms("smssent","smsnonumber"); + list($result, $token) = obscure_info_sendsms("smssent_ifexists","smsnonumber"); error_log("No SMS number found for user $login"); } } diff --git a/lang/ar.inc.php b/lang/ar.inc.php index db5f76f0..ed8fb1f6 100644 --- a/lang/ar.inc.php +++ b/lang/ar.inc.php @@ -113,6 +113,7 @@ $messages['smsresetmessage'] = ": رمز إعادة تعيين كلمة السر الخاصة بك هو"; $messages['sendsmshelpnosms'] = ".أدخل اسم المستخدم الخاصة بك للحصول على رمز إعادة تعيين كلمة السر. ثم اكتب الرمز المرسل في الرسائل القصيرة"; $messages['smssent'] = "تم إرسال رمز التأكيد عن طريق الرسائل القصيرة"; +$messages['smssent_ifexists'] = "If account exists, a confirmation code has been send by SMS"; $messages['smsnotsent'] = "خطأ عند إرسال الرسائل القصيرة"; $messages['smsnonumber'] = "لا يمكن العثور على رقم الهاتف المحمول"; $messages['userfullname'] = "الإسم الكامل للمستخدم"; diff --git a/lang/ca.inc.php b/lang/ca.inc.php index f3ce0b03..497fb102 100644 --- a/lang/ca.inc.php +++ b/lang/ca.inc.php @@ -107,6 +107,7 @@ $messages['smsresetmessage'] = "El testimoni de restabliment de contrasenya és:"; $messages['sendsmshelpnosms'] = "Introdueixi el seu nom d'usuari per obtenir un testimoni de restabliment de contrasenya. A continuació, escriviu el testimoni en l'SMS enviat."; $messages['smssent'] = "Un codi de confirmació ha estat enviat per SMS"; +$messages['smssent_ifexists'] = "If account exists, a confirmation code has been send by SMS"; $messages['smsnotsent'] = "Error enviant el SMS"; $messages['smsnonumber'] = "No es pot trobar el número de telèfon mòbil"; $messages['userfullname'] = "Nom d'usuari complert"; diff --git a/lang/cn.inc.php b/lang/cn.inc.php index e9389406..aa62e877 100644 --- a/lang/cn.inc.php +++ b/lang/cn.inc.php @@ -109,6 +109,7 @@ $messages['sendsmshelpnosms'] = "Enter your login to get password reset token. Then type token in sent SMS."; $messages['smsnotsent'] = "Error when sending SMS"; $messages['smssent'] = "A confirmation code has been send by SMS"; +$messages['smssent_ifexists'] = "If account exists, a confirmation code has been send by SMS"; $messages['changehelpsms'] = "Reset your password with a SMS"; $messages['resetbysmshelp'] = "The token sent by sms allows you to reset your password. To get a new token, click here."; $messages['smsresetmessage'] = "Your password reset token is:"; diff --git a/lang/cs.inc.php b/lang/cs.inc.php index b3958fa4..593f202d 100644 --- a/lang/cs.inc.php +++ b/lang/cs.inc.php @@ -105,6 +105,7 @@ $messages['smsresetmessage'] = "Řetezec pro obnovu hesla je:"; $messages['sendsmshelpnosms'] = "Vložte své uživatelské jméno pro získání kódu pro obnovu hesla. Poté přepište kód z doručené SMS."; $messages['smssent'] = "Ověřovací kód byl odeslán pomocí SMS"; +$messages['smssent_ifexists'] = "If account exists, a confirmation code has been send by SMS"; $messages['smsnotsent'] = "Chyba při odesílání SMS"; $messages['smsnonumber'] = "Telefonní číslo nenalezeno"; $messages['userfullname'] = "Celé jméno"; diff --git a/lang/de.inc.php b/lang/de.inc.php index 5c413aeb..0a2e699e 100644 --- a/lang/de.inc.php +++ b/lang/de.inc.php @@ -104,6 +104,7 @@ $messages['smsresetmessage'] = "Ihr Bestätigungscode für die Passwortrücksetzung lautet:"; $messages['sendsmshelpnosms'] = "Geben Sie Ihren Benutzernamen ein, um einen Bestätigungscode für die Passwortrücksetzung zu erhalten. Geben Sie nachfolgend den per SMS erhaltenen Bestätigungscode ein."; $messages['smssent'] = "Ein Bestätigungscode wurde per SMS versandt"; +$messages['smssent_ifexists'] = "If account exists, a confirmation code has been send by SMS"; $messages['smsnotsent'] = "Fehler beim Versenden der SMS"; $messages['smsnonumber'] = "Kann Mobilfunknummer nicht finden"; $messages['userfullname'] = "Vollständiger Name des Benutzers"; diff --git a/lang/ee.inc.php b/lang/ee.inc.php index 0dd991e0..406f0d8d 100644 --- a/lang/ee.inc.php +++ b/lang/ee.inc.php @@ -115,6 +115,7 @@ $messages['smsresetmessage'] = "Sinu parooli lähtestamise ajutine kood on:"; $messages['sendsmshelpnosms'] = "Sisesta oma kasutajanimi, et saada parooli lähtestamise ajutine kood. Kasuta SMS teel saadud ajutist koodi."; $messages['smssent'] = "Kinnituskood saadetud SMS'iga"; +$messages['smssent_ifexists'] = "If account exists, a confirmation code has been send by SMS"; $messages['smsnotsent'] = "Viga SMS saatmisel"; $messages['smsnonumber'] = "Ei leia mobiiltelefoni numbrit"; $messages['userfullname'] = "Ees- ja perenimi"; diff --git a/lang/el.inc.php b/lang/el.inc.php index ff4dc609..8c8a3db1 100644 --- a/lang/el.inc.php +++ b/lang/el.inc.php @@ -105,6 +105,7 @@ $messages['smsresetmessage'] = "Το μοναδικό αναγνωριστικό αλλαγής του κωδικού σας είναι:"; $messages['sendsmshelpnosms'] = "Καταχωρήστε το όνομα χρήστη για να λάβετε μοναδικό αναγνωριστικό αλλαγής κωδικού. Στη συνέχεια καταχωρήστε το μοναδικό αναγνωριστικό που λάβατε μέσω SMS."; $messages['smssent'] = "Ένας κωδικός επιβεβαίωσης στάλθηκε μέσω SMS"; +$messages['smssent_ifexists'] = "If account exists, a confirmation code has been send by SMS"; $messages['smsnotsent'] = "Λάθος στην αποστολή SMS"; $messages['smsnonumber'] = "Δεν υπάρχει αριθμός κινητού τηλεφώνου"; $messages['userfullname'] = "Ονοματεπώνυμο χρήστη"; diff --git a/lang/en.inc.php b/lang/en.inc.php index c3852d60..2babb664 100644 --- a/lang/en.inc.php +++ b/lang/en.inc.php @@ -112,6 +112,7 @@ $messages['sms'] = "SMS number"; $messages['smsresetmessage'] = "Your password reset token is:"; $messages['smssent'] = "A confirmation code has been send by SMS"; +$messages['smssent_ifexists'] = "If account exists, a confirmation code has been send by SMS"; $messages['smsnotsent'] = "Error when sending SMS"; $messages['smsnonumber'] = "Can't find mobile number"; $messages['userfullname'] = "User full name"; diff --git a/lang/es.inc.php b/lang/es.inc.php index ca1b2714..0ee8e216 100644 --- a/lang/es.inc.php +++ b/lang/es.inc.php @@ -104,6 +104,7 @@ $messages['smsresetmessage'] = "Su código para resetear su contraseña es:"; $messages['sendsmshelpnosms'] = "Introduzca su nombre de usuario para obtener un reseteo de contraseña por código. Luego teclee el código y enviéela en un SMS."; $messages['smssent'] = "Un código de confirmación ha sido enviado por SMS"; +$messages['smssent_ifexists'] = "If account exists, a confirmation code has been send by SMS"; $messages['smsnotsent'] = "Error al enviar el SMS"; $messages['smsnonumber'] = "No se pudo encontrar el número del móvil"; $messages['userfullname'] = "Nombre completo del usuario"; diff --git a/lang/eu.inc.php b/lang/eu.inc.php index 820f4027..e70c04ad 100644 --- a/lang/eu.inc.php +++ b/lang/eu.inc.php @@ -104,6 +104,7 @@ $messages['smsresetmessage'] = "Pasahitza berrezartzeko kodea hau da:"; $messages['sendsmshelpnosms'] = "Zure erabiltzaile izena idatzi pasahitza kode bidez berrezartzeko. Kodea SMS bidez iritsiko zaizu."; $messages['smssent'] = "SMS bat bidali da kodearekin"; +$messages['smssent_ifexists'] = "If account exists, a confirmation code has been send by SMS"; $messages['smsnotsent'] = "Errorea SMS-a bidaltzean"; $messages['smsnonumber'] = "Telefono zenbakirik ez dago"; $messages['userfullname'] = "Erabiltzailearen izen osoa"; diff --git a/lang/fr.inc.php b/lang/fr.inc.php index 2d989fe4..60a73980 100644 --- a/lang/fr.inc.php +++ b/lang/fr.inc.php @@ -104,6 +104,7 @@ $messages['smsresetmessage'] = "Votre jeton est:"; $messages['sendsmshelpnosms'] = "Entrez votre identifiant pour obtenir votre code de confirmation. Entrez ensuite le code reçu par SMS."; $messages['smssent'] = "Le code de confirmation a été envoyé par SMS."; +$messages['smssent_ifexists'] = "Si ce compte exsite, le code de confirmation a été envoyé par SMS."; $messages['smsnotsent'] = "Erreur lors de l'envoi du SMS"; $messages['smsnonumber'] = "Le numéro de mobile n'a pas été trouvé."; $messages['userfullname'] = "Nom complet"; diff --git a/lang/hu.inc.php b/lang/hu.inc.php index 988948a9..fc37459b 100644 --- a/lang/hu.inc.php +++ b/lang/hu.inc.php @@ -105,6 +105,7 @@ $messages['smsresetmessage'] = "Jelszava megváltoztatásához írja be az alábbi kódot:"; $messages['sendsmshelpnosms'] = "Írja be felhasználónevét, majd az SMS-ben kapott aktiváló kódot."; $messages['smssent'] = "Aktiváló kód SMS-ben kiküldve"; +$messages['smssent_ifexists'] = "If account exists, a confirmation code has been send by SMS"; $messages['smsnotsent'] = "Hiba az SMS küldése közben"; $messages['smsnonumber'] = "Mobilszám nem található"; $messages['userfullname'] = "Teljes név"; diff --git a/lang/it.inc.php b/lang/it.inc.php index 4a862d5b..db0287b1 100644 --- a/lang/it.inc.php +++ b/lang/it.inc.php @@ -111,6 +111,7 @@ $messages['getuser'] = "Ottieni utente"; $messages['resetbysmshelp'] = "Il codice inviato via SMS ti permette di reimpostare la password. Per ricevere un nuovo codice, clicca qui."; $messages['smssent'] = "Un codice di conferma è stato inviato via SMS"; +$messages['smssent_ifexists'] = "If account exists, a confirmation code has been send by SMS"; $messages['smsuserfound'] = "Controlla che i dati siano corretti e premi 'Invia' per ricevere il codice via SMS"; $messages['nophpmbstring'] = "Devi installare PHP mbstring"; $messages['menuquestions'] = "Domande"; diff --git a/lang/ja.inc.php b/lang/ja.inc.php index 4a331e5b..52e70c44 100644 --- a/lang/ja.inc.php +++ b/lang/ja.inc.php @@ -105,6 +105,7 @@ $messages['smsresetmessage'] = "パスワードリセット用のトークン:"; $messages['sendsmshelpnosms'] = "パスワードリセット用のトークンを取得するにはログインIDを入力してください。その後、SMSで送信されたトークンを入力してください。"; $messages['smssent'] = "確認用のトークンをSMSで送信しました"; +$messages['smssent_ifexists'] = "If account exists, a confirmation code has been send by SMS"; $messages['smsnotsent'] = "SMSを送信する際にエラーが発生しました"; $messages['smsnonumber'] = "携帯電話番号を取得できません"; $messages['userfullname'] = "氏名"; diff --git a/lang/nb-NO.inc.php b/lang/nb-NO.inc.php index 37e158d9..e904e5fc 100644 --- a/lang/nb-NO.inc.php +++ b/lang/nb-NO.inc.php @@ -105,6 +105,7 @@ $messages['smsresetmessage'] = "Ditt engangspassord er:"; $messages['sendsmshelpnosms'] = "Angi brukernavn for å få tilsendt engangspassord. Angi engangspassordet fra SMS'en."; $messages['smssent'] = "Engangspassord er sendt på SMS"; +$messages['smssent_ifexists'] = "If account exists, a confirmation code has been send by SMS"; $messages['smsnotsent'] = "Feil ved sending av SMS"; $messages['smsnonumber'] = "Kan ikke finne mobilnummer"; $messages['userfullname'] = "Navn"; diff --git a/lang/nl.inc.php b/lang/nl.inc.php index 16462e38..f2fa5224 100644 --- a/lang/nl.inc.php +++ b/lang/nl.inc.php @@ -104,6 +104,7 @@ $messages['smsresetmessage'] = "Uw wachtwoord reset token is:"; $messages['sendsmshelpnosms'] = "Voer uw login informatie in om uw wachtwoord reset token te ontvangen. Voer vervolgens het token in wat toegestuurd is via SMS."; $messages['smssent'] = "Een bevestigingscode is verzonden via SMS"; +$messages['smssent_ifexists'] = "If account exists, a confirmation code has been send by SMS"; $messages['smsnotsent'] = "Fout tijdens het versturen van een SMS"; $messages['smsnonumber'] = "Mobiele nummer niet gevonden"; $messages['userfullname'] = "Volledige naam van gebruiker"; diff --git a/lang/pl.inc.php b/lang/pl.inc.php index 36bd9d11..9f819d72 100644 --- a/lang/pl.inc.php +++ b/lang/pl.inc.php @@ -106,6 +106,7 @@ $messages['smsresetmessage'] = "Twój Token resetowania hasła to:"; $messages['sendsmshelpnosms'] = "Wprowadź swój login, aby otrzymać Token resetowania hasła. Następnie wpisz token w wysłanej wiadomości SMS."; $messages['smssent'] = "Kod potwierdzający został wysłany SMS-em"; +$messages['smssent_ifexists'] = "If account exists, a confirmation code has been send by SMS"; $messages['smsnotsent'] = "Błąd podczas wysyłania wiadomości SMS"; $messages['smsnonumber'] = "Nie znaleziono numeru telefonu komórkowego"; $messages['userfullname'] = "Pełna nazwa użytkownika"; diff --git a/lang/pt-BR.inc.php b/lang/pt-BR.inc.php index 6e1bb177..4066f24d 100644 --- a/lang/pt-BR.inc.php +++ b/lang/pt-BR.inc.php @@ -113,6 +113,7 @@ $messages['smsresetmessage'] = "Seu código para redefinir a senha é:"; $messages['sendsmshelpnosms'] = "Informe seu nome de usuário para obter o código para redefinir sua senha. Depois digite o código enviado no SMS."; $messages['smssent'] = "Um código de confirmação foi enviado via SMS"; +$messages['smssent_ifexists'] = "If account exists, a confirmation code has been send by SMS"; $messages['smsnotsent'] = "Erro ao enviar SMS"; $messages['smsnonumber'] = "Não foi possível encontrar o número"; $messages['userfullname'] = "Nome completo"; diff --git a/lang/pt-PT.inc.php b/lang/pt-PT.inc.php index 7fe243f1..be2cd6fd 100644 --- a/lang/pt-PT.inc.php +++ b/lang/pt-PT.inc.php @@ -103,6 +103,7 @@ $messages['smsresetmessage'] = "O teu código para redefinir a password é:"; $messages['sendsmshelpnosms'] = "Indica o teu username para obteres o código para redefinir a tua password. Depois digita o código enviado por SMS."; $messages['smssent'] = "Um código de confirmação foi enviado via SMS."; +$messages['smssent_ifexists'] = "If account exists, a confirmation code has been send by SMS"; $messages['smsnotsent'] = "Erro ao enviar SMS."; $messages['smsnonumber'] = "Nao foi possível encontrar o teu número de telemóvel."; $messages['userfullname'] = "Nome completo"; diff --git a/lang/rs.inc.php b/lang/rs.inc.php index e7cd4196..38a74b17 100644 --- a/lang/rs.inc.php +++ b/lang/rs.inc.php @@ -113,6 +113,7 @@ $messages['smsresetmessage'] = "Vaš token za resetovanje lozinke je:"; $messages['sendsmshelpnosms'] = "Unesite svoje korisničko ime da dobijete token za resetovanje lozinke. Zatim ukucajte token koji ćete dobiti SMS-om."; $messages['smssent'] = "Vaš token je poslat SMS-om"; +$messages['smssent_ifexists'] = "If account exists, a confirmation code has been send by SMS"; $messages['smsnotsent'] = "Greška prilikom slanja SMS-a"; $messages['smsnonumber'] = "Nema broja mobilnog telefona"; $messages['userfullname'] = "Puno ime korisnika"; diff --git a/lang/ru.inc.php b/lang/ru.inc.php index 59e7d5a5..e84835ea 100644 --- a/lang/ru.inc.php +++ b/lang/ru.inc.php @@ -111,6 +111,7 @@ $messages['getuser'] = "Get user"; $messages['resetbysmshelp'] = "The token sent by sms allows you to reset your password. To get a new token, click here."; $messages['smssent'] = "A confirmation code has been send by SMS"; +$messages['smssent_ifexists'] = "If account exists, a confirmation code has been send by SMS"; $messages['smsuserfound'] = "Check that user information are correct and press Send to get SMS token"; $messages['nophpmbstring'] = "You should install PHP mbstring"; $messages['menuquestions'] = "Question"; diff --git a/lang/sk.inc.php b/lang/sk.inc.php index 398dbf86..77ccb54f 100644 --- a/lang/sk.inc.php +++ b/lang/sk.inc.php @@ -105,6 +105,7 @@ $messages['smsresetmessage'] = "Váš token pre zmenu hesla je:"; $messages['sendsmshelpnosms'] = "Zadajte Vaše prihlasovacie meno pre získanie tokenu pre zmenu hesla. Potom zadajte token v odoslanej SMS."; $messages['smssent'] = "Potvrdzovací kód bol poslaný SMSkou"; +$messages['smssent_ifexists'] = "If account exists, a confirmation code has been send by SMS"; $messages['smsnotsent'] = "Chyba pri posielaní SMSky"; $messages['smsnonumber'] = "Telefónne číslo sa nenašlo"; $messages['userfullname'] = "Meno a priezvisko"; diff --git a/lang/sl.inc.php b/lang/sl.inc.php index 22746e4d..24505a7b 100644 --- a/lang/sl.inc.php +++ b/lang/sl.inc.php @@ -105,6 +105,7 @@ $messages['smsresetmessage'] = "Žeton za ponastavitev gesla je:"; $messages['sendsmshelpnosms'] = "Vnesite uporabniško ime, da dobite žeton za ponastavitev gesla. Potem vnesite žeton v poslani SMS."; $messages['smssent'] = "Potrditvena koda je bila poslana preko SMS"; +$messages['smssent_ifexists'] = "If account exists, a confirmation code has been send by SMS"; $messages['smsnotsent'] = "Napaka pri pošiljanju SMS"; $messages['smsnonumber'] = "Ne najdem številke mobilnega telefona"; $messages['userfullname'] = "Polno ime uporabnika"; diff --git a/lang/sv.inc.php b/lang/sv.inc.php index 77f81512..5640da3d 100644 --- a/lang/sv.inc.php +++ b/lang/sv.inc.php @@ -105,6 +105,7 @@ $messages['smsresetmessage'] = "Lösenkod:"; $messages['sendsmshelpnosms'] = "Ange användarnamn för att får en Lösenkod. Ange sedan Lösenkoden som står i SMSet."; $messages['smssent'] = "En Lösenkod är skickad via SMS"; +$messages['smssent_ifexists'] = "If account exists, a confirmation code has been send by SMS"; $messages['smsnotsent'] = "Fel vid sändning av SMS"; $messages['smsnonumber'] = "Kan inte hitta mobilnummer"; $messages['userfullname'] = "Namn"; diff --git a/lang/tr.inc.php b/lang/tr.inc.php index 2780cd51..d4973afe 100644 --- a/lang/tr.inc.php +++ b/lang/tr.inc.php @@ -105,6 +105,7 @@ $messages['smsresetmessage'] = "Parola sıfırlama belirteciniz:"; $messages['sendsmshelpnosms'] = "SMS almak için kullanıcı adınızı, sonrasında da SMS ile yollanan belirteci girin."; $messages['smssent'] = "SMS ile bir doğrulama kodu gönderildi"; +$messages['smssent_ifexists'] = "If account exists, a confirmation code has been send by SMS"; $messages['smsnotsent'] = "SMS gönderilirken hata oluştu"; $messages['smsnonumber'] = "Mobil numara bulunamıyor"; $messages['userfullname'] = "Kullanıcının tam adı"; diff --git a/lang/uk.inc.php b/lang/uk.inc.php index 391f820a..230437e3 100644 --- a/lang/uk.inc.php +++ b/lang/uk.inc.php @@ -112,6 +112,7 @@ $messages['getuser'] = "Отримати користувача"; $messages['resetbysmshelp'] = "Жетон який дозволяє скинути пароль, відправлено через SMS. Щоб отримати новий жетон, клацніть тут."; $messages['smssent'] = "Код підтвердження був відправлений через SMS"; +$messages['smssent_ifexists'] = "If account exists, a confirmation code has been send by SMS"; $messages['smsuserfound'] = "Перевірте, що інформація про користувача вірна та натисніть «Відправити SMS», щоб отримати жетон"; $messages['nophpmbstring'] = "Ви повинні встановити PHP mbstring"; $messages['menuquestions'] = "Question"; diff --git a/lang/zh-CN.inc.php b/lang/zh-CN.inc.php index 513fa8a2..303fcdf3 100644 --- a/lang/zh-CN.inc.php +++ b/lang/zh-CN.inc.php @@ -112,6 +112,7 @@ $messages['sms'] = "短信号码"; $messages['smsresetmessage'] = "您的密码重置口令:"; $messages['smssent'] = "口令短信已发送"; +$messages['smssent_ifexists'] = "If account exists, a confirmation code has been send by SMS"; $messages['smsnotsent'] = "短信发送错误"; $messages['smsnonumber'] = "未发现手机号码"; $messages['userfullname'] = "用户全名"; diff --git a/lang/zh-TW.inc.php b/lang/zh-TW.inc.php index e18463e0..a8203639 100644 --- a/lang/zh-TW.inc.php +++ b/lang/zh-TW.inc.php @@ -112,6 +112,7 @@ $messages['sms'] = "簡訊號碼"; $messages['smsresetmessage'] = "您的密碼重新設定金鑰:"; $messages['smssent'] = "金鑰簡訊已發送"; +$messages['smssent_ifexists'] = "If account exists, a confirmation code has been send by SMS"; $messages['smsnotsent'] = "簡訊發送錯誤"; $messages['smsnonumber'] = "未發現手機號碼"; $messages['userfullname'] = "帳號全名"; diff --git a/templates/sendsms.tpl b/templates/sendsms.tpl index 72423a08..03637cd1 100644 --- a/templates/sendsms.tpl +++ b/templates/sendsms.tpl @@ -30,7 +30,7 @@ -{elseif $error_sms and ($error_sms == 'smssent' or $error_sms == 'tokenattempts')} +{elseif $error_sms and ($error_sms == 'smssent' or $error_sms == 'smssent_ifexists' or $error_sms == 'tokenattempts')}