diff options
author | cflip <36554078+cflip@users.noreply.github.com> | 2021-04-07 16:25:26 -0600 |
---|---|---|
committer | cflip <36554078+cflip@users.noreply.github.com> | 2021-04-07 16:25:26 -0600 |
commit | aa0be9c9de3e30f6db45b00aa601853cac51300f (patch) | |
tree | af3ff6ff23d9d605d671a8670bea70d2f2d538dc /viewcategory.php | |
parent | 3b0349188c83b24cb8ff7dfe76796dabc3916e83 (diff) |
Use short echo tags
Diffstat (limited to 'viewcategory.php')
-rw-r--r-- | viewcategory.php | 8 |
1 files changed, 4 insertions, 4 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)) { <!DOCTYPE html> <html> <head> - <title><?php echo $current->name; ?> - cflip.net forum</title> + <title><?= $current->name; ?> - cflip.net forum</title> <link rel="stylesheet" href="styles/style.css"> </head> <body> <?php include_once 'templates/header.php';?> - <h1><?php echo $current->name; ?></h1> - <p><?php echo $current->description; ?></p> + <h1><?= $current->name; ?></h1> + <p><?= $current->description; ?></p> <span class="info"> - <?php echo $current->thread_count . ' threads, ' . $current->post_count . ' posts'; ?> + <?= $current->thread_count . ' threads, ' . $current->post_count . ' posts'; ?> </span> <h2>Threads</h2> <table width="100%"> |