/**
* generates the additional details span to be retrieved via ajax
*
* @param GUID id id of the record
* @return array string to attach to field
*/
function getAdditionalDetailsAjax($id)
{
global $app_strings;
$jscalendarImage = SugarThemeRegistry::current()->getImageURL('info_inline.gif');
$extra = "<span id='adspan_" . $id . "' onmouseout=\"return SUGAR.util.clearAdditionalDetailsCall()\" ""
. "onmouseover=\"lvg_dtails ('$id')\"
. "onmouseout=\"return nd(1000);\" style='position: relative;'><img vertical-align='middle' class='info' border='0' src='$jscalendarImage'></span>";
return array('fieldToAddTo' => $this->additionalDetailsFieldToAdd, 'string' => $extra);
}
The line in red bold is giving an error after new installation prior to logging in after the set-up wizard completes:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/virads/public_html/vl2/include/ListView/ListViewData.php on line 490
---------------------------------
My editing program (Dreamweaver) says, "Marked invalid because it contains a duplicate attribute. Remove the duplicate attribute."
I am an html programmer, not a php programmer, but can get into the code and make changes if someone can tell me what to do to fix this. Thanks!


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks