コード例 #1
0
 /**
  * Writes an Email icon
  * @author Patrick Kohl
  * @param string $link
  * @param boolean $use_icon
  * @deprecated
  */
 function EmailIcon($virtuemart_product_id, $use_icon, $modal)
 {
     if ($virtuemart_product_id > 0) {
         $link = 'index.php?option=com_virtuemart&view=productdetails&task=recommend&virtuemart_product_id=' . $virtuemart_product_id . '&tmpl=component';
         return VmView::linkIcon($link, 'COM_VIRTUEMART_EMAIL', 'emailButton', 'show_emailfriend', $modal, $use_icon);
     }
 }