[Vtigercrm-commits] [vtiger-commits] r10306 - /vtigercrm/branches/5.0.3/modules/Contacts/Save.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Fri Mar 2 02:37:14 EST 2007


Author: richie
Date: Fri Mar  2 00:36:53 2007
New Revision: 10306

Log:
fixes #3042

Modified:
    vtigercrm/branches/5.0.3/modules/Contacts/Save.php

Modified: vtigercrm/branches/5.0.3/modules/Contacts/Save.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Contacts/Save.php (original)
+++ vtigercrm/branches/5.0.3/modules/Contacts/Save.php Fri Mar  2 00:36:53 2007
@@ -193,15 +193,15 @@
 			$adb->query($sql);
 		}
 
-		$subject = "Customer Portal Login Details";
-		$contents = "Dear ".$_REQUEST['firstname'].' '.$_REQUEST['lastname'].',<br><br>';
-		$contents .= 'Your Customer Portal Login details are given below:';
-		$contents .= "<br><br>User Id : ".$_REQUEST['email'];
-		$contents .= '<br>Password : '.$password;
-		$contents .= "<br><br><a href='".$PORTAL_URL."/login.php'>Please Login Here</a>";
-
-		$contents .= '<br><br><b>Note : </b>We suggest you to change your password after logging in first time.';
-		$contents .= '<br><br>Support Team';
+		$subject = $mod_strings['Customer Portal Login Details'];
+		$contents = $mod_strings['Dear']." ".$_REQUEST['firstname']." ".$_REQUEST['lastname'].",<br><br>";
+		$contents .= $mod_strings['Your Customer Portal Login details are given below:'];
+		$contents .= "<br><br>".$mod_strings['User Id :']." ".$_REQUEST['email'];
+		$contents .= "<br>".$mod_strings['Password :']." ".$password;
+		$contents .= "<br><br><a href=''.$PORTAL_URL.'/login.php'>".$mod_strings['Please Login Here']."</a>";
+
+		$contents .= "<br><br><b>".$mod_strings['Note :']." </b>".$mod_strings['We suggest you to change your password after logging in first time'];
+		$contents .= "<br><br>".$mod_strings['Support Team'];
 
 		$log->info("Customer Portal Information Updated in database and details are going to send => '".$_REQUEST['email']."'");
 		if($insert == 'true' || $update == 'true')





More information about the vtigercrm-commits mailing list