equal
deleted
inserted
replaced
557 { |
557 { |
558 // IE <6 pseudo-compatibility |
558 // IE <6 pseudo-compatibility |
559 if ( KILL_SWITCH ) |
559 if ( KILL_SWITCH ) |
560 return true; |
560 return true; |
561 var inner_html = ''; |
561 var inner_html = ''; |
562 inner_html += '<p><label>Theme: '; |
562 inner_html += '<p><label>' + $lang.get('ajax_changestyle_lbl_theme') + ' '; |
563 inner_html += ' <select id="chtheme_sel_theme" onchange="ajaxGetStyles(this.value);">'; |
563 inner_html += ' <select id="chtheme_sel_theme" onchange="ajaxGetStyles(this.value);">'; |
564 inner_html += ' <option value="_blank" selected="selected">' + $lang.get('ajax_changestyle_select') + '</option>'; |
564 inner_html += ' <option value="_blank" selected="selected">' + $lang.get('ajax_changestyle_select') + '</option>'; |
565 inner_html += ENANO_THEME_LIST; |
565 inner_html += ENANO_THEME_LIST; |
566 inner_html += ' </select>'; |
566 inner_html += ' </select>'; |
567 inner_html += '</label></p>'; |
567 inner_html += '</label></p>'; |
608 options.push(option); |
608 options.push(option); |
609 } |
609 } |
610 var p_parent = document.createElement('p'); |
610 var p_parent = document.createElement('p'); |
611 var label = document.createElement('label'); |
611 var label = document.createElement('label'); |
612 p_parent.id = 'chtheme_sel_style_parent'; |
612 p_parent.id = 'chtheme_sel_style_parent'; |
613 label.appendChild(document.createTextNode('Style: ')); |
613 label.appendChild(document.createTextNode($lang.get('ajax_changestyle_lbl_style') + ' ')); |
614 var select = document.createElement('select'); |
614 var select = document.createElement('select'); |
615 select.id = 'chtheme_sel_style'; |
615 select.id = 'chtheme_sel_style'; |
616 for ( var i in options ) |
616 for ( var i in options ) |
617 { |
617 { |
618 select.appendChild(options[i]); |
618 select.appendChild(options[i]); |