Option to extend the highscores with hooks

This commit is contained in:
slawkens
2025-05-16 15:03:03 +02:00
parent 1e9b10d648
commit 606fb0673c
3 changed files with 111 additions and 82 deletions

View File

@@ -9,7 +9,7 @@
<td>
<label for="skillFilter">Choose a Skill</label>
<select onchange="location = this.value;" id="skillFilter">
{% for link, name in types %}
{% for link, name in categories %}
<option value="{{ getLink('highscores') }}/{{ link|urlencode }}{% if vocation is not null %}/{{ vocation|lower|urlencode }}{% endif %}" class="size_xs" {% if list is not null and list == link %}selected{% endif %}>{{ name }}</option>
{% endfor %}
</select>
@@ -102,7 +102,7 @@
</tr>
<tr bgcolor="{{ config.lightborder }}">
<td>
{% for link, name in types %}
{% for link, name in categories %}
<a href="{{ getLink('highscores') }}/{{ link|urlencode }}{% if vocation is not null %}/{{ vocation|urlencode }}{% endif %}" class="size_xs">{{ name }}</a><br/>
{% endfor %}
</td>