mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 09:44:55 +02:00
WIP - Removing unneccessary closing tags to prevent potential issues. (#223)
* Part 1 Removing closing tags when no HTML or other output comes after the last PHP codeblock. * Further removals * nothing --------- Co-authored-by: slawkens <slawkens@gmail.com>
This commit is contained in:
@@ -166,4 +166,3 @@ if(isset($_POST['emailchangecancel']) && $_POST['emailchangecancel'] == 1) {
|
||||
'custom_buttons' => $custom_buttons
|
||||
));
|
||||
}
|
||||
?>
|
||||
|
@@ -112,5 +112,3 @@ else
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
@@ -91,5 +91,3 @@ else
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
@@ -546,4 +546,3 @@ elseif($action == 'setnewpassword')
|
||||
' . $twig->render('buttons.submit.html.twig') . '</div>
|
||||
</TD></TR></FORM></TABLE></TABLE>';
|
||||
}
|
||||
?>
|
||||
|
@@ -339,4 +339,3 @@ $showed = $post = $reply = false;
|
||||
{
|
||||
echo '<br><br><a href="?subtopic=bugtracker&control=true">[ADMIN PANEL]</a>';
|
||||
}
|
||||
?>
|
||||
|
@@ -185,4 +185,3 @@ class FAQ
|
||||
return !count($errors);
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
@@ -114,5 +114,3 @@ if(Forum::canPost($account_logged))
|
||||
}
|
||||
else
|
||||
echo "<br/>Your account is banned, deleted or you don't have any player with level " . $config['forum_level_required'] . " on your account. You can't post.";
|
||||
|
||||
?>
|
||||
|
@@ -103,5 +103,3 @@ if(Forum::canPost($account_logged))
|
||||
}
|
||||
else
|
||||
echo 'Your account is banned, deleted or you don\'t have any player with level '.$config['forum_level_required'].' on your account. You can\'t post.';
|
||||
|
||||
?>
|
||||
|
@@ -312,4 +312,3 @@ class Gallery
|
||||
return !count($errors);
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
@@ -72,5 +72,3 @@ if(!empty($errors)) {
|
||||
'action' => '?subtopic=guilds'
|
||||
));
|
||||
}
|
||||
|
||||
?>
|
||||
|
@@ -75,5 +75,3 @@ if(!empty($errors)) {
|
||||
'action' => '?subtopic=guilds'
|
||||
));
|
||||
}
|
||||
|
||||
?>
|
||||
|
@@ -68,4 +68,3 @@ else
|
||||
echo "0 players found.";
|
||||
|
||||
$twig->display('guilds.back_button.html.twig');
|
||||
?>
|
||||
|
@@ -66,5 +66,3 @@ if(!empty($errors)) {
|
||||
'action' => '?subtopic=guilds'
|
||||
));
|
||||
}
|
||||
|
||||
?>
|
||||
|
@@ -125,5 +125,3 @@ if(!empty($guild_errors)) {
|
||||
'action' => '?subtopic=guilds'
|
||||
));
|
||||
}
|
||||
|
||||
?>
|
||||
|
@@ -114,5 +114,3 @@ else
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
@@ -117,5 +117,3 @@ if(!empty($guild_errors)) {
|
||||
|
||||
echo '<br/><div style="text-align:center"><form action="?subtopic=guilds" method="post">' . $twig->render('buttons.back.html.twig') . '</form></div>';
|
||||
}
|
||||
|
||||
?>
|
||||
|
@@ -369,4 +369,3 @@ function getColorByPercent($percent)
|
||||
echo 'This poll doesn\'t exist.<br>';
|
||||
echo '<div class=\'hr1\'></div><a href="?subtopic='.$link.'"><span style="font-size: 13px"><b>Go to list of polls</b></span></a>';
|
||||
}
|
||||
?>
|
||||
|
@@ -108,6 +108,3 @@ $twig->display('serverinfo.html.twig', array(
|
||||
'finalBanishmentLength' => isset($config['lua']['final_banishment_length']) ? eval('return (' . $config['lua']['final_banishment_length'] . ') / (24 * 60 * 60);') : null,
|
||||
'ipBanishmentLength' => isset($config['lua']['ip_banishment_length']) ? eval('return (' . $config['lua']['ip_banishment_length'] . ') / (24 * 60 * 60);') : null,
|
||||
));
|
||||
?>
|
||||
|
||||
|
||||
|
@@ -74,4 +74,3 @@ foreach($groupList as $id => $group)
|
||||
$twig->display('team.html.twig', array(
|
||||
'groupmember' => $groupMember
|
||||
));
|
||||
?>
|
Reference in New Issue
Block a user