mirror of https://github.com/tildeclub/site.git
Update index.php
This commit is contained in:
parent
0b3bd2a8f1
commit
84cb556779
|
@ -15,7 +15,8 @@
|
||||||
if (!empty($activeUsers)) {
|
if (!empty($activeUsers)) {
|
||||||
echo "<ul>";
|
echo "<ul>";
|
||||||
foreach ($activeUsers as $user) {
|
foreach ($activeUsers as $user) {
|
||||||
echo "<li>" . htmlspecialchars($user) . "</li>";
|
$username = htmlspecialchars($user);
|
||||||
|
echo "<li><a href='/~$username'>$username</a></li>";
|
||||||
}
|
}
|
||||||
echo "</ul>";
|
echo "</ul>";
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue