From d79aedc5585c30833ab4a8a41dcc6a5a67404752 Mon Sep 17 00:00:00 2001 From: Daniel Winzen Date: Wed, 25 Jan 2023 22:53:13 +0100 Subject: [PATCH] Simplified form actions --- www/index.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/www/index.php b/www/index.php index 239b5c9..6c7bbcb 100644 --- a/www/index.php +++ b/www/index.php @@ -342,7 +342,7 @@ function get_table(PDOStatement $stmt, int &$numrows = 0, bool $promoted = false $class=''; } $timeadded=date('Y-m-d', $link['timeadded']); - echo '
'.$link['description'].'
'.$lastup.'
'.$timeadded.'
'; + echo '
'.$link['description'].'
'.$lastup.'
'.$timeadded.'
'; } } while($link=$stmt->fetch(PDO::FETCH_ASSOC)){ @@ -364,11 +364,11 @@ function get_table(PDOStatement $stmt, int &$numrows = 0, bool $promoted = false $class.=' promo'; } if($link['locked']==1){ - $edit='-'; + $edit=''; }else{ - $edit='
'; + $edit='
'; } - echo '
'.$link['description'].'
'.$lastup.'
'.$timeadded.'
'.$edit.'
'; + echo '
'.$link['description'].'
'.$lastup.'
'.$timeadded.'
'.$edit.'
'; ++$numrows; } echo '';