AAAAhome/academiac/www/administrator/components/com_virtuemart/elements/vmcategories.php000060400000005274151374132050025336 0ustar00element['key_field'] ? $this->element['key_field'] : 'value'); $val = ($this->element['value_field'] ? $this->element['value_field'] : $this->name); VmConfig::loadJLang('com_virtuemart', false); $categorylist = ShopFunctions::categoryListTree(array($this->value)); $html = '"; return $html; } function fetchElement($name, $value, &$node, $control_name) { JPlugin::loadLanguage('com_virtuemart', JPATH_ADMINISTRATOR); $categorylist = ShopFunctions::categoryListTree(array($value)); $class = ($node->attributes('class') ? 'class="' . $node->attributes('class') . '"' : ''); $html = '"; return $html; } } if (JVM_VERSION === 2 ) { class JFormFieldVmCategories extends VmElementVmCategories { } } else { class JElementVmCategories extends VmElementVmCategories { } }