summaryrefslogtreecommitdiff
path: root/viewcategory.php
diff options
context:
space:
mode:
Diffstat (limited to 'viewcategory.php')
-rw-r--r--viewcategory.php8
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%">