Author: Jim Winstead (jimwins)
Date: 2024-08-23T17:58:25-07:00
Commit:
https://github.com/php/web-news/commit/1ba1f8938b493e6a1feb235d8b7e0869d7c3f00f
Raw diff:
https://github.com/php/web-news/commit/1ba1f8938b493e6a1feb235d8b7e0869d7c3f00f.diff
Fix formatting (forgot phpcs!)
Changed paths:
M group.php
Diff:
diff --git a/group.php b/group.php
index 0c93455..c8848e6 100644
--- a/group.php
+++ b/group.php
@@ -74,29 +74,30 @@
$groups = $nntpClient->listGroups($group);
if ($groups[$group]['status'] == 'n') {
-?>
- <p class="warning">
- <strong>Warning:</strong> This list is closed to new posts
and subscribers.
- </p>
-<?php
+ ?>
+ <p class="warning">
+ <strong>Warning:</strong> This list is closed to new
+ posts and subscribers.
+ </p>
+ <?php
} else {
if ($groups[$group]['status'] == 'm') {
-?>
- <p class="warning">
- <strong>Note:</strong> This list is only for
- announcements, so only approved posters can send messages.
- </p>
-<?php
+ ?>
+ <p class="warning">
+ <strong>Note:</strong> This list is only for
+ announcements, so only approved posters can send
messages.
+ </p>
+ <?php
}
$subscription_address =
htmlspecialchars(get_subscribe_address($group));
-?>
- <p>
- Subscribe to this list by sending a blank email to
- <a href="mailto:<?= $subscription_address ?>">
- <?= $subscription_address ?>
- </a>
- </p>
-<?php
+ ?>
+ <p>
+ Subscribe to this list by sending a blank email to
+ <a href="mailto:<?= $subscription_address ?>">
+ <?= $subscription_address ?>
+ </a>
+ </p>
+ <?php
}
}
navbar($group, $overview['group']['low'], $overview['group']['high'],
$overview['group']['start']);