From aa0be9c9de3e30f6db45b00aa601853cac51300f Mon Sep 17 00:00:00 2001 From: cflip <36554078+cflip@users.noreply.github.com> Date: Wed, 7 Apr 2021 16:25:26 -0600 Subject: Use short echo tags --- viewcategory.php | 8 ++++---- viewuser.php | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/viewcategory.php b/viewcategory.php index 85dc7ea..0d69ed8 100644 --- a/viewcategory.php +++ b/viewcategory.php @@ -22,15 +22,15 @@ if (!isset($_GET['id']) || !filter_var($_GET['id'], FILTER_VALIDATE_INT)) { - <?php echo $current->name; ?> - cflip.net forum + <?= $current->name; ?> - cflip.net forum -

name; ?>

-

description; ?>

+

name; ?>

+

description; ?>

- thread_count . ' threads, ' . $current->post_count . ' posts'; ?> + thread_count . ' threads, ' . $current->post_count . ' posts'; ?>

Threads

diff --git a/viewuser.php b/viewuser.php index c43a700..3a33de0 100644 --- a/viewuser.php +++ b/viewuser.php @@ -14,12 +14,12 @@ if (!isset($_GET['id'])) { - <?php echo $current->name; ?>'s Profile - cflip.net forum + <?= $current->name; ?>'s Profile - cflip.net forum -

name; ?>

- member since date)); ?> +

name; ?>

+ member since date)); ?> -- cgit v1.2.3