private function lOrderDone() { $display_title = vRequest::getBool('display_title', true); $this->assignRef('display_title', $display_title); //Do not change this. It contains the payment form $this->html = vRequest::get('html', vmText::_('COM_VIRTUEMART_ORDER_PROCESSED')); //Show Thank you page or error due payment plugins like paypal express }
* 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_reviews.php 8508 2014-10-22 18:57:14Z Milbo $ */ // Check to ensure this file is included in Joomla! defined('_JEXEC') or die('Restricted access'); // Customer Reviews $review_editable = true; if ($this->allowRating || $this->allowReview || $this->showRating || $this->showReview) { $maxrating = VmConfig::get('vm_maximum_rating_scale', 5); $ratingsShow = VmConfig::get('vm_num_ratings_show', 3); // TODO add vm_num_ratings_show in vmConfig $stars = array(); $showall = vRequest::getBool('showall', FALSE); $ratingWidth = $maxrating * 24; for ($num = 0; $num <= $maxrating; $num++) { $stars[] = ' <span title="' . (vmText::_("COM_VIRTUEMART_RATING_TITLE") . $num . '/' . $maxrating) . '" class="vmicon ratingbox" style="display:inline-block;width:' . 24 * $maxrating . 'px;"> <span class="stars-orange" style="width:' . 24 * $num . 'px"> </span> </span>'; } echo '<div class="customer-reviews">'; if ($this->rating_reviews) { foreach ($this->rating_reviews as $review) { /* Check if user already commented */ // if ($review->virtuemart_userid == $this->user->id ) { if ($review->created_by == $this->user->id && !$review->review_editable) { $review_editable = false;
private function lOrderDone() { $this->display_title = !isset($this->display_title) ? vRequest::getBool('display_title', true) : $this->display_title; $this->display_loginform = !isset($this->display_loginform) ? vRequest::getBool('display_loginform', true) : $this->display_loginform; //Do not change this. It contains the payment form $this->html = !isset($this->html) ? vRequest::get('html', vmText::_('COM_VIRTUEMART_ORDER_PROCESSED')) : $this->html; //Show Thank you page or error due payment plugins like paypal express }
<?php // Related Products ?> <?php // Customer Reviews if ($this->allowRating || $this->showReview) { $maxrating = VmConfig::get('vm_maximum_rating_scale', 5); $ratingsShow = VmConfig::get('vm_num_ratings_show', 3); // TODO add vm_num_ratings_show in vmConfig $starsPath = JURI::root() . VmConfig::get('assets_general_path') . 'images/stars/'; $stars = array(); $showall = vRequest::getBool('showall', false); for ($num = 0; $num <= $maxrating; $num++) { $title = vmText::_("VM_RATING_TITLE") . ' : ' . $num . '/' . $maxrating; $stars[] = JHtml::image($starsPath . $num . '.gif', vmText::_($num . '_STARS'), array("title" => $title)); } ?> <div class="customer-reviews"> <?php } if ($this->showReview) { $alreadycommented = false; ?> <h4><?php
defined('_JEXEC') or die(''); /** * * Template for the shopping cart * * @package VirtueMart * @subpackage Cart * @author Max Milbers * * @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. */ if (vRequest::getBool('display_loginform', true)) { $cuser = JFactory::getUser(); if (!$cuser->guest) { echo shopFunctionsF::getLoginForm(); } } echo '<div class="vm-wrap vm-order-done">'; if (vRequest::getBool('display_title', true)) { echo '<h3>' . vmText::_('COM_VIRTUEMART_CART_ORDERDONE_THANK_YOU') . '</h3>'; } $this->html = vRequest::get('html', vmText::_('COM_VIRTUEMART_ORDER_PROCESSED')); echo $this->html; echo '</div>';
defined('_JEXEC') or die(''); /** * * Template for the shopping cart * * @package VirtueMart * @subpackage Cart * @author Max Milbers * * @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. */ echo '<div class="vm-wrap vm-order-done">'; if (vRequest::getBool('display_title', true)) { echo '<h3>' . vmText::_('COM_VIRTUEMART_CART_ORDERDONE_THANK_YOU') . '</h3>'; } $this->html = vRequest::get('html', vmText::_('COM_VIRTUEMART_ORDER_PROCESSED')); echo $this->html; if (vRequest::getBool('display_loginform', true)) { $cuser = JFactory::getUser(); if (!$cuser->guest) { echo shopFunctionsF::getLoginForm(); } } echo '</div>';