?> <?php } elseif ($this->_tpl_vars['elem']['type'] == 'select') { ?> <?php if ($this->_tpl_vars['elem']['prefix']) { ?> <span class="affix prefix"><?php echo $this->_tpl_vars['elem']['prefix']; ?> </span><?php } ?> <select <?php echo OA_Admin_Template::_function_form_input_attributes(array('elem' => $this->_tpl_vars['elem'], 'parent' => $this->_tpl_vars['parent']), $this); ?> > <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['elem']['options'], 'selected' => $this->_tpl_vars['elem']['value']), $this); ?> </select><?php if ($this->_tpl_vars['elem']['suffix']) { ?> <span class="affix suffix"><?php echo $this->_tpl_vars['elem']['suffix']; ?> </span><?php } } elseif ($this->_tpl_vars['elem']['type'] == 'plugin-custom') {