[Mapbender-commits] r5938 - branches/3_dev/core/lib
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Sun Apr 11 10:49:06 EDT 2010
Author: astrid_emde
Date: 2010-04-11 10:49:05 -0400 (Sun, 11 Apr 2010)
New Revision: 5938
Modified:
branches/3_dev/core/lib/class_User.php
Log:
Modified: branches/3_dev/core/lib/class_User.php
===================================================================
--- branches/3_dev/core/lib/class_User.php 2010-04-11 14:30:21 UTC (rev 5937)
+++ branches/3_dev/core/lib/class_User.php 2010-04-11 14:49:05 UTC (rev 5938)
@@ -432,19 +432,19 @@
public function sendUserLoginMail () {
$admin = new administration();
- $userMessage = "Your Mapbender login data:\n";
- $userMessage .= "Your login name is: ".$this->name."\n";
- $userMessage .= "Please set your password using the following link: \n";
+ $userMessage = _mb("Your Mapbender login data:")."\n\n";
+ $userMessage .= _mb("Your login name is:")." ".$this->name."\n\n";
+ $userMessage .= _mb("Please set your password using the following link:")." \n";
$mbUrl = substr(LOGIN, 0, -9);
- $userMessage .= $mbUrl."../plugins/mod_confirmLogin.php?user_id=".$this->id."&user_name=".$this->name."&user_ticket=".$this->passwordTicket."\n";
- $userMessage .= "Follow this link to login to Mapbender: \n";
+ $userMessage .= $mbUrl."../plugins/mod_confirmLogin.php?user_id=".$this->id."&user_name=".$this->name."&user_ticket=".$this->passwordTicket."\n\n";
+ $userMessage .= _mb("Follow this link to login to Mapbender:")." \n";
$userMessage .= LOGIN."\n";
- if(!$admin->sendEmail("", "", $this->email, $this->name, utf8_decode("Your Mapbender account"), utf8_decode($userMessage), $error_msg)) {
- return "Registry data could not be send. Please check mail address.";
+ if(!$admin->sendEmail("", "", $this->email, $this->name, utf8_decode(_mb("Mapbender: Set your Mapbender password")), utf8_decode($userMessage), $error_msg)) {
+ return _mb("Registry data could not be send. Please check mail address.");
}
else {
- return "Registry data has been sent successfully.";
+ return _mb("Registry data has been sent successfully.");
}
}
More information about the Mapbender_commits
mailing list