Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
loader->register('ElementOption', 'elements:option/option.php'); /* Class: ElementSelect The select element class */ class ElementSelect extends ElementOption { /* Function: edit Renders the edit form field. Returns: String - html */ public function edit(){ // init vars $options_from_config = $this->config->get('option', array()); $multiple = $this->config->get('multiple'); $default = $this->config->get('default'); $name = $this->config->get('name'); if (count($options_from_config)) { // set default, if item is new if ($default != '' && $this->_item != null && $this->_item->id == 0) { $this->set('option', $default); } $options = array(); if (!$multiple) { $options[] = $this->app->html->_('select.option', '', '-' . JText::sprintf('Select %s', $name) . '-'); } foreach ($options_from_config as $option) { $options[] = $this->app->html->_('select.option', $option['value'], $option['name']); } $style = $multiple ? 'multiple="multiple" size="5"' : ''; $html[] = $this->app->html->_('select.genericlist', $options, $this->getControlName('option', true), $style, 'value', 'text', $this->get('option', array())); // workaround: if nothing is selected, the element is still being transfered $html[] = ''; return implode("\n", $html); } return JText::_("There are no options to choose from."); } }