| @@ 446-455 (lines=10) @@ | ||
| 443 | <select name="icon_board" id="icon_board_select"> |
|
| 444 | <option value="0"', empty($context['icon']['board_id']) ? ' selected' : '', '>', $txt['icons_edit_icons_all_boards'], '</option>'; |
|
| 445 | ||
| 446 | foreach ($context['categories'] as $category) |
|
| 447 | { |
|
| 448 | echo ' |
|
| 449 | <optgroup label="', $category['name'], '">'; |
|
| 450 | ||
| 451 | foreach ($category['boards'] as $board) |
|
| 452 | echo ' |
|
| 453 | <option value="', $board['id'], '"', $board['selected'] ? ' selected' : '', '>', $board['child_level'] > 0 ? str_repeat('==', $board['child_level'] - 1) . '=>' : '', ' ', $board['name'], '</option>'; |
|
| 454 | ||
| 455 | echo ' |
|
| 456 | </optgroup>'; |
|
| 457 | } |
|
| 458 | ||
| @@ 178-187 (lines=10) @@ | ||
| 175 | <div> |
|
| 176 | <span class="label">', $txt['calendar_post_in'], '</span> |
|
| 177 | <select name="board">'; |
|
| 178 | foreach ($context['event']['categories'] as $category) |
|
| 179 | { |
|
| 180 | echo ' |
|
| 181 | <optgroup label="', $category['name'], '">'; |
|
| 182 | ||
| 183 | foreach ($category['boards'] as $board) |
|
| 184 | echo ' |
|
| 185 | <option value="', $board['id'], '"', $board['selected'] ? ' selected' : '', '>', $board['child_level'] > 0 ? str_repeat('==', $board['child_level'] - 1) . '=>' : '', ' ', $board['name'], '</option>'; |
|
| 186 | echo ' |
|
| 187 | </optgroup>'; |
|
| 188 | } |
|
| 189 | echo ' |
|
| 190 | </select> |
|
| @@ 205-218 (lines=14) @@ | ||
| 202 | ', $txt['target_below'], ' (', $txt['board'], ': |
|
| 203 | <select name="targetboard" onchange="this.form.submit();">'; |
|
| 204 | ||
| 205 | foreach ($context['merge_categories'] as $cat) |
|
| 206 | { |
|
| 207 | echo ' |
|
| 208 | <optgroup label="', $cat['name'], '">'; |
|
| 209 | ||
| 210 | foreach ($cat['boards'] as $board) |
|
| 211 | echo ' |
|
| 212 | <option value="', $board['id'], '"', $board['selected'] ? ' selected' : '', '>', $board['child_level'] > 0 ? str_repeat('==', $board['child_level'] - 1) . '=>' : '', ' ', $board['name'], '</option>'; |
|
| 213 | ||
| 214 | echo ' |
|
| 215 | </optgroup>'; |
|
| 216 | } |
|
| 217 | echo ' |
|
| 218 | </select>) |
|
| 219 | <input type="hidden" name="from" value="' . $context['origin_topic'] . '"> |
|
| 220 | <input type="submit" value="', $txt['go'], '" class="button"> |
|
| 221 | </form>'; |
|
| @@ 846-855 (lines=10) @@ | ||
| 843 | <input type="checkbox" name="link_to_board"', (!empty($context['event']['board']) ? ' checked' : ''), ' onclick="toggleLinked(this.form);"> |
|
| 844 | <select name="board"', empty($context['event']['board']) ? ' disabled' : '', '>'; |
|
| 845 | ||
| 846 | foreach ($context['event']['categories'] as $category) |
|
| 847 | { |
|
| 848 | echo ' |
|
| 849 | <optgroup label="', $category['name'], '">'; |
|
| 850 | ||
| 851 | foreach ($category['boards'] as $board) |
|
| 852 | echo ' |
|
| 853 | <option value="', $board['id'], '"', $board['selected'] ? ' selected' : '', '>', $board['child_level'] > 0 ? str_repeat('==', $board['child_level'] - 1) . '=>' : '', ' ', $board['name'], '</option>'; |
|
| 854 | echo ' |
|
| 855 | </optgroup>'; |
|
| 856 | } |
|
| 857 | echo ' |
|
| 858 | </select> |
|