OLD | NEW |
(Empty) | |
| 1 var helpParent = document.getElementById('help'); |
| 2 |
| 3 var title = document.createElement('h2'); |
| 4 title.appendChild(document.createTextNode(' ' + translate.get('help'))); |
| 5 helpParent.appendChild(title); |
| 6 |
| 7 var help = ['help_not_working', 'help_unblocked', 'help_overblocked', 'help_my_o
verblocked', 'help_unsolved']; |
| 8 for(i in help) { |
| 9 var subtitle = document.createElement('h3'); |
| 10 subtitle.appendChild(document.createTextNode(translate.get(help[i]))); |
| 11 helpParent.appendChild(subtitle); |
| 12 var text = document.createElement('p'); |
| 13 text.innerHTML = translate.get(help[i] + '_text'); |
| 14 helpParent.appendChild(text); |
| 15 } |
OLD | NEW |