BioTorrents.de’s version of Gazelle
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

header.twig 2.8KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <h2><a href="forums.php">Forums</a> &rsaquo; <a href="forums.php#{{ forum.categoryId }}">{{ forum.categoryName }}</a> &rsaquo; {{ forum.name }}</h2>
  2. <div class="linkbox">
  3. {% for d in dept_list %}
  4. <a class="brackets" href="forums.php?action=viewforum&amp;forumid={{ d.forum_id }}">
  5. {%- if d.active %}<b>{% endif %}{{ d.name }}{% if d.active %}</b>{% endif -%}
  6. {%- if d.unread %} <span title="unread">({{ d.unread|number_format }})</span>{% endif -%}
  7. </a>
  8. {% endfor %}
  9. </div>
  10. <div class="linkbox">
  11. {% if create %}
  12. <a href="forums.php?action=new&amp;forumid={{ forum.id }}" class="brackets">New thread</a>
  13. {% endif %}
  14. <a href="#" onclick="$('#searchforum').gtoggle(); this.innerHTML = (this.innerHTML == 'Search this forum' ? 'Hide search' : 'Search this forum'); return false;" class="brackets">Search this forum</a>
  15. <div id="searchforum" class="hidden center">
  16. <div style="display: inline-block;">
  17. <h3>Search this forum:</h3>
  18. <form class="search_form" name="forum" action="forums.php" method="get">
  19. <table cellpadding="6" cellspacing="1" border="0" class="layout border">
  20. <tr>
  21. <td>
  22. <input type="hidden" name="action" value="search" />
  23. <input type="hidden" name="forums[]" value="{{ forum.id }}" />
  24. <strong>Search for:</strong>
  25. </td>
  26. <td>
  27. <input type="search" id="searchbox" name="search" size="70" />
  28. </td>
  29. </tr>
  30. <tr>
  31. <td><strong>Search in:</strong></td>
  32. <td>
  33. <input type="radio" name="type" id="type_title" value="title" checked="checked" />
  34. <label for="type_title">Titles</label>
  35. <input type="radio" name="type" id="type_body" value="body" />
  36. <label for="type_body">Post bodies</label>
  37. </td>
  38. </tr>
  39. <tr>
  40. <td><strong>Posted by:</strong></td>
  41. <td><input type="search" id="username" name="user" placeholder="Username" size="70" /></td>
  42. </tr>
  43. <tr>
  44. <td colspan="2" style="text-align: center;">
  45. <input type="submit" name="submit" value="Search" />
  46. </td>
  47. </tr>
  48. </table>
  49. </form>
  50. <br />
  51. </div>
  52. </div>
  53. </div>