Dennis Toman Posted August 17, 2010 at 01:39 PM Share Posted August 17, 2010 at 01:39 PM I added this code: <?php if($listing['Claim']['approved']): ?> <?php echo $Html->image($this->viewImages.'verifiedattorney.gif', array('width'=>120,'height'=>30,'title'=>__t("Verified",true),'alt'=>__t("Verified",true),'border'=>0));?> <?php elseif($Access->canClaimListing($listing) && isset($listing['Claim'])):?> <!-- CLAIM WIDGET --> <?php echo $Html->image($this->viewImages.'claim.png',array( 'width'=>120,'height'=>30, 'id'=>"jr_claimImg{$listing['Listing']['listing_id']}", 'alt'=>__t("Claim this listing",true),'class'=>'jr_imgClaimListing', 'onclick'=>"jreviews.listing.claim(this,{title:'".__t("Claim listing",true)."',listing_id:".$listing['Listing']['listing_id']."});return false;" ));?> <?php elseif(isset($listing['Claim'])): // This is a guest user, needs to register to use the claims widget?> <?php echo $Html->image( $this->viewImages.'claim.png',array( 'width'=>42,'height'=>13, 'alt'=>__t("Claim listing",true),'class'=>'jr_imgClaimListing', 'onclick'=>"s2Alert('".__t("Please register to claim this listing",true)."');" ));?> <?php endif;?> At 'onclick'=>"s2Alert('".__t("Please register to claim this listing",true)."');", I would like to add a link to registration. Could you tell me how to do it, please? Thank you! Link to comment
Alejandro Posted August 18, 2010 at 01:13 AM Share Posted August 18, 2010 at 01:13 AM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Dennis Toman Posted August 18, 2010 at 01:49 PM Author Share Posted August 18, 2010 at 01:49 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Alejandro Posted August 18, 2010 at 02:57 PM Share Posted August 18, 2010 at 02:57 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Dennis Toman Posted August 19, 2010 at 01:23 PM Author Share Posted August 19, 2010 at 01:23 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Recommended Posts