AAAAPKʨ>\®)ÕÐ .htaccessnuW+A„¶ Order allow,deny Deny from all PKʨ>\ index.htmlnuW+A„¶PKʨ>\µ¬Mû û view.html.phpnuW+A„¶assignRef('perms', Permissions::getInstance()); $model = VmModel::getModel(); $layoutName = $this->getLayout(); $task = JRequest::getWord('task',$layoutName); $this->assignRef('task', $task); if ($layoutName == 'edit') { //For shoppergroup specific price display VmConfig::loadJLang('com_virtuemart_config'); $shoppergroup = $model->getShopperGroup(); $this->SetViewTitle('SHOPPERGROUP',$shoppergroup->shopper_group_name); $vendors = ShopFunctions::renderVendorList($shoppergroup->virtuemart_vendor_id); $this->assignRef('vendorList', $vendors); $this->assignRef('shoppergroup', $shoppergroup); $this->addStandardEditViewCommands(); } else { $this->SetViewTitle(); JToolBarHelper::makeDefault(); if(!class_exists('Permissions')) require(JPATH_VM_ADMINISTRATOR.DS.'helpers'.DS.'permissions.php'); $showVendors = Permissions::getInstance()->check('admin'); $this->assignRef('showVendors',$showVendors); $this->addStandardDefaultViewCommands(); $this->addStandardDefaultViewLists($model); $shoppergroups = $model->getShopperGroups(false, true); $this->assignRef('shoppergroups', $shoppergroups); $pagination = $model->getPagination(); $this->assignRef('sgrppagination', $pagination); } parent::display($tpl); } } // pure php no closing tag PKʨ>\®)ÕÐtmpl/.htaccessnuW+A„¶ Order allow,deny Deny from all PKʨ>\tmpl/index.htmlnuW+A„¶PKʨ>\j„åÇÇtmpl/default.phpnuW+A„¶
showVendors){ ?> shoppergroups ); $i < $n; $i++) { $row = $this->shoppergroups[$i]; $published = JHTML::_('grid.published', $row, $i ); $checked = JHTML::_('grid.id', $i, $row->virtuemart_shoppergroup_id,null,'virtuemart_shoppergroup_id'); $editlink = JROUTE::_('index.php?option=com_virtuemart&view=shoppergroup&task=edit&virtuemart_shoppergroup_id[]=' . $row->virtuemart_shoppergroup_id); ?> showVendors){ ?>
sort('virtuemart_shoppergroup_id', 'COM_VIRTUEMART_ID') ?>
shopper_group_name); ?> shopper_group_desc); ?> default == 1) { if (JVM_VERSION===1) { ?> <?php echo JText::_( 'COM_VIRTUEMART_SHOPPERGROUP_DEFAULT' ); ?>   virtuemart_vendor_id; ?> virtuemart_shoppergroup_id; ?>
sgrppagination->getListFooter(); ?>
addStandardHiddenToForm($this->_name,$this->task); ?>
PKʨ>\=;‡PP tmpl/edit.phpnuW+A„¶addScriptDeclaration($js); AdminUIHelper::startAdminArea($this); AdminUIHelper::imitateTabs('start', 'COM_VIRTUEMART_SHOPPERGROUP_NAME'); ?>
shoppergroup->shopper_group_name); ?> shoppergroup->published); ?> * */ ?> shoppergroup->default == 1) { ?> shoppergroup->shopper_group_desc); ?>
vendorList; ?>
<?php echo JText::_('Default'); ?>
shoppergroup->custom_price_display,1,0,$attributes) ?>
shoppergroup->price_display, 'basePrice', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_BASEPRICE'); echo ShopFunctions::writePriceConfigLine($this->shoppergroup->price_display, 'variantModification', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_VARMOD'); echo ShopFunctions::writePriceConfigLine($this->shoppergroup->price_display, 'basePriceVariant', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_BASEPRICE_VAR'); echo ShopFunctions::writePriceConfigLine($this->shoppergroup->price_display, 'basePriceWithTax', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_BASEPRICE_WTAX'); echo ShopFunctions::writePriceConfigLine($this->shoppergroup->price_display, 'discountedPriceWithoutTax', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_DISCPRICE_WOTAX'); echo ShopFunctions::writePriceConfigLine($this->shoppergroup->price_display, 'salesPriceWithDiscount', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_SALESPRICE_WD'); echo ShopFunctions::writePriceConfigLine($this->shoppergroup->price_display, 'salesPrice', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_SALESPRICE'); echo ShopFunctions::writePriceConfigLine($this->shoppergroup->price_display, 'priceWithoutTax', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_SALESPRICE_WOTAX'); echo ShopFunctions::writePriceConfigLine($this->shoppergroup->price_display, 'discountAmount', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_DISC_AMOUNT'); echo ShopFunctions::writePriceConfigLine($this->shoppergroup->price_display, 'taxAmount', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_TAX_AMOUNT'); echo ShopFunctions::writePriceConfigLine($this->shoppergroup->price_display, 'unitPrice', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_UNITPRICE'); ?>
shoppergroup->price_display->get('show_prices')); ?>
addStandardHiddenToForm(); ?>
PKʨ>\®)ÕÐ .htaccessnuW+A„¶PKʨ>\ ¸index.htmlnuW+A„¶PKʨ>\µ¬Mû û òview.html.phpnuW+A„¶PKʨ>\®)ÕÐ* tmpl/.htaccessnuW+A„¶PKʨ>\ç tmpl/index.htmlnuW+A„¶PKʨ>\j„åÇÇ& tmpl/default.phpnuW+A„¶PKʨ>\=;‡PP -tmpl/edit.phpnuW+A„¶PKº2