return '<span id="jr_claimImg'.$listing_id.'" class="jrButton jr_claimListing" title="'.__t("Claim This Business", true).'" onclick="s2Alert(\''.__t("Please register to claim this business",true).'\');">'. __t("Claim This Business", true).'</span>';
I tried several combination but none work and I get always an error. This is probably due to the fact another "Onclick event" is present in the code and I do not see how to include it correctly...
Unfortunately I do not have any PHP knowledges so is not easy...
Somebody have an idea about the correct syntax to use ???
Or maybe it seem is because the PHP code is a bit unusual (for what I see because on some place the developer have add some backslash before quote) and is not possible to add my own Onclick Event without making some adaptation...
excellent it seem it was the solution because I don't get any more error. I just hope now the inclusion of my second Onclick Event will work like expected...
Bookmarks