AAAAhome/academiac/www/plugins/vmpayment/paypal/paypal/elements/term.php000060400000002550151374047600021765 0ustar00attributes('class') ? 'class="' . $node->attributes('class') . '"' : ''); $max = ($node->attributes('max') ? intval($node->attributes('max')) : 52); $options = array(); for($i=1; $i<=$max; $i++) { $options[] = JHTML::_('select.option', $i, $i); } return JHTML::_ ('select.genericlist', $options, $control_name . '[' . $name . ']', $class, 'value', 'text', $value, $control_name . $name); } }