[Vtigercrm-commits] [vtiger-commits] r10439 - in /vtigercrm/branches/5.0.3/include: language/en_us.lang.php utils/DetailViewUtils.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu Mar 15 04:08:38 EDT 2007
Author: saraj
Date: Thu Mar 15 02:08:30 2007
New Revision: 10439
Log:
fix for Contact images display oddly. Fixes #2780 --Minnie
Modified:
vtigercrm/branches/5.0.3/include/language/en_us.lang.php
vtigercrm/branches/5.0.3/include/utils/DetailViewUtils.php
Modified: vtigercrm/branches/5.0.3/include/language/en_us.lang.php
==============================================================================
--- vtigercrm/branches/5.0.3/include/language/en_us.lang.php (original)
+++ vtigercrm/branches/5.0.3/include/language/en_us.lang.php Thu Mar 15 02:08:30 2007
@@ -825,6 +825,7 @@
'MSG_THANKS'=>'Thanks,',
'MSG_VTIGERTEAM'=>' vTiger Team',
'MSG_IS_NOT_UPLOADED'=>'is not uploaded. Allowed file types - jpeg, png, jpg, pjpeg, x-png or gif',
+'MSG_IMAGE_ERROR'=>'Image not found',
);
$app_list_strings = array (
Modified: vtigercrm/branches/5.0.3/include/utils/DetailViewUtils.php
==============================================================================
--- vtigercrm/branches/5.0.3/include/utils/DetailViewUtils.php (original)
+++ vtigercrm/branches/5.0.3/include/utils/DetailViewUtils.php Thu Mar 15 02:08:30 2007
@@ -483,7 +483,7 @@
$image_name = $adb->query_result($image_res,0,'name');
$imgpath = $image_path.$image_id."_".$image_name;
if($image_name != '')
- $label_fld[] ='<img src="'.$imgpath.'" class="reflect" width="450" height="300" alt="">';
+ $label_fld[] ='<img src="'.$imgpath.'" alt="'.$app_strings['MSG_IMAGE_ERROR'].'">';
else
$label_fld[] = '';
}
More information about the vtigercrm-commits
mailing list