[Vtigercrm-commits] [vtiger-commits] r6716 - /vtigercrm/trunk/include/utils/ListViewUtils.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Mon May 29 16:48:11 EDT 2006
Author: richie
Date: Mon May 29 14:48:07 2006
New Revision: 6716
Log:
cntct image restored
Modified:
vtigercrm/trunk/include/utils/ListViewUtils.php
Modified: vtigercrm/trunk/include/utils/ListViewUtils.php
==============================================================================
--- vtigercrm/trunk/include/utils/ListViewUtils.php (original)
+++ vtigercrm/trunk/include/utils/ListViewUtils.php Mon May 29 14:48:07 2006
@@ -1410,11 +1410,14 @@
if($imagename != '')
{
$imgpath = "test/contact/".$imagename;
- $contact_image=' <img align="right" src="'.$imgpath.'" width="20" height="20" border="0" onMouseover=modifyimage("dynloadarea","'.$imgpath.'"); onMouseOut=hide("dynloadarea");>';
+ $contact_image='<img align="absmiddle" src="'.$imgpath.'" width="20" height="20" border="0" onMouseover=modifyimage("dynloadarea","'.$imgpath.'"); onMouseOut=fnhide("dynloadarea");>';
}
- }
+ $value = '<table width=100% border=0 cellpadding=0 cellspacing=0><tr><td align="left"><a href="index.php?action=DetailView&module='.$module.'&record='.$entity_id.'&parenttab='.$tabname.'">'.$temp_val.'</a></td><td align="right">'.$contact_image.'</td></tr></table>';
+ }else
+ {
//Commented to give link even to the first name - Jaguar
$value = $contact_image.'<a href="index.php?action=DetailView&module='.$module.'&record='.$entity_id.'&parenttab='.$tabname.'">'.$temp_val.'</a>';
+ }
}
elseif($module == "Activities")
{
More information about the vtigercrm-commits
mailing list