Update packages, use correct casing for "escapeUrl"

This commit is contained in:
Wruczek 2023-03-31 03:06:08 +02:00
parent 3f40534f3b
commit c7d72ee455
3 changed files with 8 additions and 6 deletions

View File

@ -3,17 +3,19 @@
"vendor-dir": "private/vendor" "vendor-dir": "private/vendor"
}, },
"require": { "require": {
"roave/security-advisories": "dev-master",
"php": "^7.2.0", "php": "^7.2.0",
"ext-mbstring": "*", "ext-mbstring": "*",
"ext-json": "*", "ext-json": "*",
"ext-tokenizer": "*", "ext-tokenizer": "*",
"ext-ctype": "*", "ext-ctype": "*",
"planetteamspeak/ts3-php-framework": "1.1.34", "planetteamspeak/ts3-php-framework": "1.1.35",
"latte/latte": "^2.10", "latte/latte": "^2.11",
"wruczek/php-file-cache": "^0", "wruczek/php-file-cache": "^0",
"catfan/medoo": "~1.7.10" "catfan/medoo": "~1.7.10"
}, },
"require-dev": {
"roave/security-advisories": "dev-latest"
},
"suggest": { "suggest": {
"ext-pdo_mysql": "*", "ext-pdo_mysql": "*",
"ext-pdo_sqlite": "*" "ext-pdo_sqlite": "*"

View File

@ -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"}&nbsp;</span> <span><i class="fas fa-globe fa-fw"></i>{_"STATUS_ADDRESS"}&nbsp;</span>
<span><a href="ts3server://{$config["query_displayip"]|escapeurl}">{$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"}&nbsp;</span> <span><i class="fas fa-power-off fa-fw"></i>{_"STATUS_CLIENTS_ONLINE"}&nbsp;</span>

View File

@ -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"]|escapeurl}">{$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"]|escapeurl}" 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>