Merge branch 'main' of github.com:sorenpeter/timeline

forgot to pull before push
This commit is contained in:
sørenpeter 2024-12-12 15:37:29 +01:00
commit 2c248c094c
2 changed files with 4 additions and 5 deletions

View file

@ -18,7 +18,7 @@ include 'partials/header.php';
<!-- <th></th> --> <!-- <th></th> -->
<th>Nick</th> <th>Nick</th>
<th>URL</th> <th>URL</th>
<?php if($_SESSION['password']=="$password") { ?> <?php if(isset($_SESSION['password']) && $_SESSION['password']=="$password") { ?>
<th>Time ago</th> <th>Time ago</th>
<?php } ?> <?php } ?>
</tr> </tr>
@ -33,7 +33,7 @@ include 'partials/header.php';
<!-- <a href="?remove_url=<?= $currentFollower[1] ?>">Remove</a> --> <!-- <a href="?remove_url=<?= $currentFollower[1] ?>">Remove</a> -->
<!-- <?php // } ?> --> <!-- <?php // } ?> -->
</td> </td>
<?php if($_SESSION['password']=="$password") { ?> <?php if(isset($_SESSION['password']) && $_SESSION['password']=="$password") { ?>
<td> <td>
<?php <?php
// Test first if URL is a valid feed: // Test first if URL is a valid feed:
@ -60,4 +60,4 @@ include 'partials/header.php';
</center> </center>
<!-- FOOTER --><?php include 'partials/footer.php';?> <!-- FOOTER --><?php include 'partials/footer.php';?>

View file

@ -1,4 +1,3 @@
<?php <?php
if (!empty($_GET['url'])) { // Show twts for some user (Profile view) if (!empty($_GET['url'])) { // Show twts for some user (Profile view)
@ -72,4 +71,4 @@ if (!empty($_GET['url'])) { // Show twts for some user
<!-- PHP: FOOTER --><?php include_once 'partials/footer.php';?> <!-- PHP: FOOTER --><?php include_once 'partials/footer.php';?>
*/ */