AAAAPK ʨ>\®)ÕÐ .htaccessnu W+A„¶
Order allow,deny
Deny from all
PK ʨ>\
index.htmlnu W+A„¶ PK ʨ>\µ¬Mû û
view.html.phpnu W+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/.htaccessnu W+A„¶
Order allow,deny
Deny from all
PK ʨ>\ tmpl/index.htmlnu W+A„¶ PK ʨ>\j„åÇ Ç tmpl/default.phpnu W+A„¶
PK ʨ>\=;‡P P
tmpl/edit.phpnu W+A„¶ addScriptDeclaration($js);
AdminUIHelper::startAdminArea($this);
AdminUIHelper::imitateTabs('start', 'COM_VIRTUEMART_SHOPPERGROUP_NAME');
?>
PK ʨ>\®)ÕÐ .htaccessnu W+A„¶ PK ʨ>\
¸ index.htmlnu W+A„¶ PK ʨ>\µ¬Mû û
ò view.html.phpnu W+A„¶ PK ʨ>\®)ÕÐ * tmpl/.htaccessnu W+A„¶ PK ʨ>\ ç tmpl/index.htmlnu W+A„¶ PK ʨ>\j„åÇ Ç & tmpl/default.phpnu W+A„¶ PK ʨ>\=;‡P P
- tmpl/edit.phpnu W+A„¶ PK º2