AAAAhome/academiac/www/plugins/vmpayment/payzen/payzen/elements/payzenmultilist.php000060400000004552151374272110024333 0ustar00children() as $option) { $val = $option->attributes('value'); $text = $option->data(); $options[] = JHTML::_('select.option', $val, JText::_($text)); } // Construct the various argument calls that are supported. $attribs = ' '; if ($v = $node->attributes( 'size' )) { $attribs .= 'size="'.$v.'"'; } if ($v = $node->attributes( 'class' )) { $attribs .= 'class="'.$v.'"'; } else { $attribs .= 'class="inputbox"'; } if ($m = $node->attributes( 'multiple' )) { $attribs .= ' multiple="multiple"'; $ctrl .= '[]'; } // Render the HTML SELECT list. return JHTML::_('select.genericlist', $options, $ctrl, $attribs, 'value', 'text', $value, $control_name.$name ); } }