| @@ 278-284 (lines=7) @@ | ||
| 275 | </select>'; |
|
| 276 | ||
| 277 | // Search within current topic? |
|
| 278 | if (!empty($context['current_topic'])) |
|
| 279 | echo ' |
|
| 280 | <input type="hidden" name="sd_topic" value="', $context['current_topic'], '">'; |
|
| 281 | // If we're on a certain board, limit it to this board ;). |
|
| 282 | elseif (!empty($context['current_board'])) |
|
| 283 | echo ' |
|
| 284 | <input type="hidden" name="sd_brd" value="', $context['current_board'], '">'; |
|
| 285 | ||
| 286 | echo ' |
|
| 287 | <input type="submit" name="search2" value="', $txt['search'], '" class="button_submit"> |
|
| @@ 83-85 (lines=3) @@ | ||
| 80 | </div> |
|
| 81 | </div><br>'; |
|
| 82 | ||
| 83 | if ($context['make_event'] && (!$context['event']['new'] || !empty($context['current_board']))) |
|
| 84 | echo ' |
|
| 85 | <input type="hidden" name="eventid" value="', $context['event']['id'], '">'; |
|
| 86 | ||
| 87 | // Start the main table. |
|
| 88 | echo ' |
|