[Vtigercrm-commits] [vtiger-commits] r10314 - /vtigercrm/branches/5.0.3/modules/Settings/Save.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Fri Mar 2 02:52:31 EST 2007
Author: richie
Date: Fri Mar 2 00:52:13 2007
New Revision: 10314
Log:
fixes #3048
Modified:
vtigercrm/branches/5.0.3/modules/Settings/Save.php
Modified: vtigercrm/branches/5.0.3/modules/Settings/Save.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Settings/Save.php (original)
+++ vtigercrm/branches/5.0.3/modules/Settings/Save.php Fri Mar 2 00:52:13 2007
@@ -10,6 +10,7 @@
********************************************************************************/
require_once("include/database/PearDatabase.php");
+global $mod_strings;
$server=$_REQUEST['server'];
$port=$_REQUEST['port'];
$server_username=$_REQUEST['server_username'];
@@ -99,8 +100,8 @@
$to_email = getUserEmailId('id',$current_user->id);
$from_email = $to_email;
- $subject = 'Test mail about the mail server configuration.';
- $description = 'Dear '.$current_user->user_name.', <br><br> This is a test mail sent to confirm if a mail is actually being sent through the vtiger system. You are free to delete this mail.<br> Thanks and Regards<br> Team vTiger <br><br>';
+ $subject = $mod_strings['MSG_TEST_MAIL_ABOUT_MAIL_SERVER'];
+ $description = $mod_strings['MSG_Dear'].' '.$current_user->user_name.', <br><br> '.$mod_strings['MSG_THIS_IS_TEST_MAIL'].' '.$mod_strings['MSG_YOU_ARE_FREE_TO_THIS_MAIL'].'<br> '.$mod_strings['MSG_THANKS_AND_REGARDS'].'<br> '.$mod_strings['MSG_TEAM_VTIGER'] <br><br>';
if($to_email != '')
{
$mail_status = send_mail('Users',$to_email,$current_user->user_name,$from_email,$subject,$description);
More information about the vtigercrm-commits
mailing list