Fix query_displayip containing semicolon not showing in links
Closes #141
This commit is contained in:
parent
00a27f2e8e
commit
cf6d9e046b
|
@ -11,7 +11,7 @@
|
||||||
<!-- The NBSP is here to preserve a space when the text gets truncated -->
|
<!-- The NBSP is here to preserve a space when the text gets truncated -->
|
||||||
<p>
|
<p>
|
||||||
<span><i class="fas fa-globe fa-fw"></i>{_"STATUS_ADDRESS"} </span>
|
<span><i class="fas fa-globe fa-fw"></i>{_"STATUS_ADDRESS"} </span>
|
||||||
<span><a href="ts3server://{$config["query_displayip"]}">{$config["query_displayip"]}</a></span>
|
<span><a href="ts3server://{$config["query_displayip"]|escapeurl}">{$config["query_displayip"]}</a></span>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<span><i class="fas fa-power-off fa-fw"></i>{_"STATUS_CLIENTS_ONLINE"} </span>
|
<span><i class="fas fa-power-off fa-fw"></i>{_"STATUS_CLIENTS_ONLINE"} </span>
|
||||||
|
|
|
@ -31,8 +31,8 @@
|
||||||
<!-- Not connected to the server message -->
|
<!-- Not connected to the server message -->
|
||||||
<div class="not-connected text-center" style="display: none">
|
<div class="not-connected text-center" style="display: none">
|
||||||
<h3>Not connected</h3>
|
<h3>Not connected</h3>
|
||||||
<p>Connect to <a href="ts3server://{$config["query_displayip"]}">{$config["query_displayip"]}</a> and wait ±30 seconds.<br>The website will auto-refresh.</p>
|
<p>Connect to <a href="ts3server://{$config["query_displayip"]|escapeurl}">{$config["query_displayip"]}</a> and wait ±30 seconds.<br>The website will auto-refresh.</p>
|
||||||
<a href="ts3server://{$config["query_displayip"]}" class="btn btn-primary">
|
<a href="ts3server://{$config["query_displayip"]|escapeurl}" class="btn btn-primary">
|
||||||
<i class="fas fa-sign-in-alt"></i>Connect
|
<i class="fas fa-sign-in-alt"></i>Connect
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue