customs->items; //$roles = $this->customlistsroles; ?> custom_parent_id)){ echo ''; } ?> $custom) { $checked = JHtml::_('grid.id', $i , $custom->virtuemart_custom_id,false,'virtuemart_custom_id'); if (!is_null($custom->virtuemart_custom_id)) { $published = $this->gridPublished( $custom, $i ); } else $published = ''; ?> custom_parent_id."&option=".$option; ?> virtuemart_custom_id; if ($custom->is_cart_attribute) $cartIcon= 'default'; else $cartIcon= 'default-off'; ?> custom_parent_id)){ ?>
'.$this->sort('ordering'); echo JHtml::_('grid.order', $customs ).' sort('virtuemart_custom_id', 'COM_VIRTUEMART_ID') ?>
hasKey($custom->group_title) ? vmText::_($custom->group_title) : $custom->group_title; echo JHtml::_('link', JRoute::_($link,FALSE),$text, array('title' => vmText::_('COM_VIRTUEMART_FILTER_BY').' '.htmlentities($text))); ?> custom_title), array('title' => vmText::_('COM_VIRTUEMART_EDIT').' '.htmlentities($custom->custom_title))); ?> custom_desc); ?> layout_pos); ?> field_type_display); ?> virtuemart_custom_id; ?>
pagination->getListFooter(); ?>
custom_parent_id)){ vmJsApi::addJScript('sortable','Virtuemart.sortable;'); /*vmJsApi::addJScript('sortable','jQuery(function() { jQuery( ".adminlist" ).sortable({ handle: ".vmicon-16-move", items: \'tr:not(:first,:last)\', opacity: 0.8, update: function() { var i = 1; jQuery(function updatenr(){ jQuery(\'input.ordering\').each(function(idx) { jQuery(this).val(idx); }); }); jQuery(function updaterows() { jQuery(".order").each(function(index){ var row = jQuery(this).parent(\'td\').parent(\'tr\').prevAll().length; jQuery(this).val(row); i++; }); }); } }); });');*/ } ?>