Exemplo n.º 1
0
 * @package	VirtueMart
 * @subpackage product details
 * @author Valérie Isaksen
 * @link http://www.virtuemart.net
 * @copyright Copyright (c) 2004 - 2012 VirtueMart Team. All rights reserved.
 * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
 * VirtueMart is free software. This version may have been modified pursuant
 * to the GNU General Public License, and as distributed it includes or
 * is derivative of works licensed under the GNU General Public License or
 * other free or open source software licenses.
 * @version $Id$
 */
echo $this->vendorAddress;
echo "\n";
echo "\n";
echo vmText::sprintf('COM_VIRTUEMART_MAIL_SHOPPER_NAME', $this->user->name);
echo "\n";
echo "\n";
echovmTextt::sprintf('COM_VIRTUEMART_RECOMMEND_MAIL_MSG', $this->product->product_name, $this->comment);
echo "\n";
$link = JURI::root() . 'index.php?option=com_virtuemart';
echo "\n\n";
$link = JHTML::_('link', $link, $this->vendor->vendor_name);
/* GENERAL FOOTER FOR ALL MAILS */
echvmTextxt::_('COM_VIRTUEMART_MAIL_FOOTER') . $link;
echo "\n";
echo $this->vendor->vendor_name . "\n" . $this->vendor->vendor_phone . ' ' . $this->vendor->vendor_store_name . "\n" . strip_tags($this->vendor->vendor_store_desc) . "\n" . str_replace('<br />', "\n", $this->vendor->vendor_legal_info);
ecvmTextext::sprintf('COM_VIRTUEMART_RECOMMEND_MAIL_MSG', $this->product->product_name, $this->comment);
$link = JURI::root() . 'index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=' . $this->product->virtuemart_product_id;
echo '<br /><b>' . JHTML::_('link', $link, $this->product->product_name) . '</b>';
include JPATH_VM_SITE . DS . 'views' . DS . 'cart' . DS . 'tmpl' . DS . 'mail_html_footer.php';
Exemplo n.º 2
0
* @link http://www.virtuemart.net
* @copyright Copyright (c) 2004 - 2010 VirtueMart Team. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* VirtueMart is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* @version $Id: default.php 2810 2011-03-02 19:08:24Z Milbo $
*/
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die('Restricted access');
/* thank you for the Recommend  mail  */
if (VmConfig::get('usefancy', 1)) {
    $onclick = 'parent.jQuery.fancybox.close();';
} else {
    $onclick = 'parent.jQuery.facebox.close();';
}
?>
<div class="productdetails-view">
	<?php 
echo vmText::_('COM_VIRTUEMART_RECOMMEND_THANK_YOU');
?>
	<button onclick="<?php 
echo $onclick;
?>
" type="button"><?php 
echovmTextt::_('COM_VIRTUEMART_CLOSE');
?>
</button>
</div>