mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 12:48:29 +00:00
php -> lp
There are still a few cases left in debug.js, but as that feature is so far missing, I will leave them for now
This commit is contained in:
@@ -41,7 +41,7 @@ mg.include('scripts/pi-hole/lua/header_authenticated.lp','r')
|
||||
<div class="box-footer clearfix">
|
||||
<strong>Hints:</strong>
|
||||
<ol>
|
||||
<li>Please run <code>pihole -g</code> or update your gravity list <a href="gravity.php">online</a> after modifying your adlists.</li>
|
||||
<li>Please run <code>pihole -g</code> or update your gravity list <a href="gravity.lp">online</a> after modifying your adlists.</li>
|
||||
<li>Multiple adlists can be added by separating each <i>unique</i> URL with a space</li>
|
||||
<li>Click on the icon in the first column to get additional information about your lists. The icons correspond to the health of the list.</li>
|
||||
</ol>
|
||||
|
||||
@@ -77,7 +77,7 @@ $(function () {
|
||||
});
|
||||
|
||||
// Do we want to start updating immediately?
|
||||
// gravity.php?go
|
||||
// gravity.lp?go
|
||||
var searchString = window.location.search.substring(1);
|
||||
if (searchString.indexOf("go") !== -1) {
|
||||
$("#gravityBtn").prop("disabled", true);
|
||||
|
||||
@@ -277,7 +277,7 @@ function updateTopClientsTable(blocked) {
|
||||
var clientname = utils.escapeHtml(client.name);
|
||||
var clientip = utils.escapeHtml(client.ip);
|
||||
if (clientname.length === 0) clientname = clientip;
|
||||
url = '<a href="queries.php?client=' + clientip + '">' + clientname + "</a>";
|
||||
url = '<a href="queries.lp?client_ip=' + clientip + '">' + clientname + "</a>";
|
||||
percentage = (client.count / sum) * 100;
|
||||
|
||||
// Add row to table
|
||||
|
||||
@@ -142,9 +142,9 @@ $(function () {
|
||||
var ip = data.ips[index];
|
||||
if (ip.name !== null && ip.name.length > 0)
|
||||
ips.push(
|
||||
'<a href="queries.php?client=' + ip.ip + '">' + ip.ip + " (" + ip.name + ")</a>"
|
||||
'<a href="queries.lp?client_ip=' + ip.ip + '">' + ip.ip + " (" + ip.name + ")</a>"
|
||||
);
|
||||
else ips.push('<a href="queries.php?client=' + ip.ip + '">' + ip.ip + "</a>");
|
||||
else ips.push('<a href="queries.lp?client_ip=' + ip.ip + '">' + ip.ip + "</a>");
|
||||
}
|
||||
|
||||
if (data.ips.length > MAXIPDISPLAY) {
|
||||
|
||||
Reference in New Issue
Block a user