| @@ 57-59 (lines=3) @@ | ||
| 54 | <dd> |
|
| 55 | <div id="known_themes_list">'; |
|
| 56 | ||
| 57 | foreach ($context['themes'] as $theme) |
|
| 58 | echo ' |
|
| 59 | <label for="options-known_themes_', $theme['id'], '"><input type="checkbox" name="options[known_themes][]" id="options-known_themes_', $theme['id'], '" value="', $theme['id'], '"', $theme['known'] ? ' checked' : '', ' class="input_check"> ', $theme['name'], '</label><br>'; |
|
| 60 | ||
| 61 | echo ' |
|
| 62 | </div> |
|
| @@ 76-78 (lines=3) @@ | ||
| 73 | <select name="options[theme_guests]" id="theme_guests">'; |
|
| 74 | ||
| 75 | // Put an option for each theme in the select box. |
|
| 76 | foreach ($context['themes'] as $theme) |
|
| 77 | echo ' |
|
| 78 | <option value="', $theme['id'], '"', $modSettings['theme_guests'] == $theme['id'] ? ' selected' : '', '>', $theme['name'], '</option>'; |
|
| 79 | ||
| 80 | echo ' |
|
| 81 | </select> |
|
| @@ 534-536 (lines=3) @@ | ||
| 531 | <select name="boardtheme" id="boardtheme" onchange="refreshOptions();"> |
|
| 532 | <option value="0"', $context['board']['theme'] == 0 ? ' selected' : '', '>', $txt['mboards_theme_default'], '</option>'; |
|
| 533 | ||
| 534 | foreach ($context['themes'] as $theme) |
|
| 535 | echo ' |
|
| 536 | <option value="', $theme['id'], '"', $context['board']['theme'] == $theme['id'] ? ' selected' : '', '>', $theme['name'], '</option>'; |
|
| 537 | ||
| 538 | echo ' |
|
| 539 | </select> |
|