Skip to content

Commit ec11e52

Browse files
committed
phpcs
1 parent c0b7e1e commit ec11e52

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

webroot/panel/new_account.php

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@
3030
}
3131
$USER->getPIGroup()->requestGroup($SEND_PIMESG_TO_ADMINS);
3232
}
33-
}
34-
elseif (isset($_POST["cancel"])) {
33+
} elseif (isset($_POST["cancel"])) {
3534
foreach ($pending_requests as $request) {
3635
if ($request["request_for"] == "admin") {
3736
$USER->getPIGroup()->cancelGroupRequest();
@@ -69,7 +68,13 @@
6968
<hr>
7069
<p><strong>Requesting Ownership of PI Account/Group</strong></p>
7170
<p>You will receive an email when your account has been approved.</p>
72-
<p>Email <a href="mailto:<?php echo $CONFIG['mail']['support']; ?>"><?php echo $CONFIG['mail']['support_name']; ?></a> if you have not heard back in one business day. </p>
71+
<p>
72+
<?php
73+
$addr = $CONFIG['mail']['support'];
74+
$name = $CONFIG['mail']['support_name'];
75+
echo "<p>Email <a href=\"mailto:$addr\">$name</a> if you have not heard back in one business day.</p>";
76+
?>
77+
</p>
7378
<br>
7479
<p><strong>Requesting Membership in a PI Group</strong></p>
7580
<p>You will receive an email when your account has been approved by the PI.</p>

0 commit comments

Comments
 (0)