More fixing of PHP

Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
This commit is contained in:
Skylar "The Cobra" Widulski 2022-11-27 07:23:47 -05:00
parent 9bc2522284
commit dc1068bbcc
Signed by: cobra
GPG Key ID: 4FD8F812083FF6F9
3 changed files with 3 additions and 4 deletions

View File

@ -27,12 +27,12 @@
}
}
?>
<!--#include file="/nav.php" -->
<!--#include file="/en/nav.php" -->
<div class=h><h1 id=pgp>User PGP keys</h1> <a aria-hidden=true href=#pgp>#pgp</a></div>
<p>This is a list of users with PGP keys on ~vern.</p>
<ol>
<?php echo $list; ?>
</ol>
<!--#include file="/footer.cgi" -->
<!--#include file="/en/footer.cgi" -->
</body>
</html>

View File

@ -8,5 +8,4 @@
echo $protocol . $_SERVER['HTTP_HOST'] . "/p/$subdir.asc\n";
}
}
closedir($handle);
?>

View File

@ -65,7 +65,7 @@
?>
<!--#include file="nav.php" -->
<div class=h><h1 id=users>Users</h1> <a aria-hidden=true href=#users>#users</a></div>
<p>This is a list of all ~vern users, and whether they are online (<b><span class=green></span></b>) or not (<b><span class=red></span></b>) in alphabetical order. There are currently a total of <?php echo $total; ?> members, <?php echo $on; ?> of which <?php echo $on !== 1 ? are : is ?> online.</p>
<p>This is a list of all ~vern users, and whether they are online (<b><span class=green></span></b>) or not (<b><span class=red></span></b>) in alphabetical order. There are currently a total of <?php echo $total; ?> members, <?php echo $on; ?> of which <?php echo $on !== 1 ? "are" : "is" ?> online.</p>
<ol>
<?php echo $list; ?>
</ol>