| @@ 288-294 (lines=7) @@ | ||
| 285 | </select>'; |
|
| 286 | ||
| 287 | // Search within current topic? |
|
| 288 | if (!empty($context['current_topic'])) |
|
| 289 | echo ' |
|
| 290 | <input type="hidden" name="sd_topic" value="', $context['current_topic'], '">'; |
|
| 291 | // If we're on a certain board, limit it to this board ;). |
|
| 292 | elseif (!empty($context['current_board'])) |
|
| 293 | echo ' |
|
| 294 | <input type="hidden" name="sd_brd" value="', $context['current_board'], '">'; |
|
| 295 | ||
| 296 | echo ' |
|
| 297 | <input type="submit" name="search2" value="', $txt['search'], '" class="button"> |
|
| @@ 85-87 (lines=3) @@ | ||
| 82 | </div> |
|
| 83 | <br>'; |
|
| 84 | ||
| 85 | if ($context['make_event'] && (!$context['event']['new'] || !empty($context['current_board']))) |
|
| 86 | echo ' |
|
| 87 | <input type="hidden" name="eventid" value="', $context['event']['id'], '">'; |
|
| 88 | ||
| 89 | // Start the main table. |
|
| 90 | echo ' |
|