cleanup: Switch to short tags

This commit is contained in:
overflowerror 2024-07-28 00:27:31 +02:00
parent 8fc7bef7f2
commit b6108d1ed9
2 changed files with 5 additions and 5 deletions

View file

@ -1,6 +1,6 @@
<div class="mob">
<img src="/images/mobs/<?php echo $mob["image"] ?? "_placeholder.png"; ?>"><br />
<?php echo $mob["id"]; ?><br />
<?php echo $mob["name"]; ?><br />
<?php echo $mob["rating"]; ?><br />
<img src="/images/mobs/<?= $mob["image"] ?? "_placeholder.png"; ?>"><br />
<?= $mob["id"]; ?><br />
<?= $mob["name"]; ?><br />
<?= $mob["rating"]; ?><br />
</div>

View file

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title><?php echo $title ?? ""; ?></title>
<title><?= $title ?? ""; ?></title>
<link rel="stylesheet" type="text/css" href="/styles/main.css" />
</head>
<body>