mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-19 04:03:26 +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:
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/**
|
||||
* Account confirm mail
|
||||
* Keept for compability
|
||||
* Keept for compatibility
|
||||
*
|
||||
* @package MyAAC
|
||||
* @author Slawkens <slawkens@gmail.com>
|
||||
@@ -13,4 +13,3 @@ defined('MYAAC') or die('Direct access not allowed!');
|
||||
if($action == 'confirm_email') {
|
||||
require_once PAGES . 'account/confirm_email.php';
|
||||
}
|
||||
?>
|
||||
|
@@ -159,4 +159,3 @@ if(isset($_POST['emailchangecancel']) && $_POST['emailchangecancel'] == 1) {
|
||||
'custom_buttons' => $custom_buttons
|
||||
));
|
||||
}
|
||||
?>
|
@@ -82,5 +82,3 @@ else
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
@@ -84,5 +84,3 @@ else
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
@@ -80,4 +80,3 @@ if($show_form) {
|
||||
}
|
||||
$twig->display('account.delete_character.html.twig');
|
||||
}
|
||||
?>
|
||||
|
@@ -202,4 +202,3 @@ function getPlayerNameByAccount($id)
|
||||
|
||||
return '';
|
||||
}
|
||||
?>
|
||||
|
@@ -339,4 +339,3 @@ $showed = $post = $reply = false;
|
||||
{
|
||||
echo '<br><br><a href="?subtopic=bugtracker&control=true">[ADMIN PANEL]</a>';
|
||||
}
|
||||
?>
|
||||
|
@@ -66,4 +66,3 @@ echo '<div style="text-align:center"><h3>Experience stages</h3></div>
|
||||
</tbody></table>
|
||||
</td></tr>
|
||||
</tbody></table>';
|
||||
?>
|
||||
|
@@ -185,4 +185,3 @@ class FAQ
|
||||
return !count($errors);
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
@@ -112,5 +112,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.";
|
||||
|
||||
?>
|
@@ -101,5 +101,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.';
|
||||
|
||||
?>
|
@@ -311,4 +311,3 @@ class Gallery
|
||||
return !count($errors);
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
@@ -119,5 +119,3 @@ else {
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
@@ -70,5 +70,3 @@ if(!empty($errors)) {
|
||||
'action' => '?subtopic=guilds'
|
||||
));
|
||||
}
|
||||
|
||||
?>
|
||||
|
@@ -73,5 +73,3 @@ if(!empty($errors)) {
|
||||
'action' => '?subtopic=guilds'
|
||||
));
|
||||
}
|
||||
|
||||
?>
|
@@ -66,4 +66,3 @@ else
|
||||
echo "0 players found.";
|
||||
|
||||
$twig->display('guilds.back_button.html.twig');
|
||||
?>
|
@@ -64,5 +64,3 @@ if(!empty($errors)) {
|
||||
'action' => '?subtopic=guilds'
|
||||
));
|
||||
}
|
||||
|
||||
?>
|
@@ -123,5 +123,3 @@ if(!empty($guild_errors)) {
|
||||
'action' => '?subtopic=guilds'
|
||||
));
|
||||
}
|
||||
|
||||
?>
|
||||
|
@@ -112,5 +112,3 @@ else
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
@@ -115,5 +115,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>';
|
||||
}
|
||||
|
||||
?>
|
@@ -547,4 +547,3 @@ elseif($action == 'setnewpassword')
|
||||
' . $twig->render('buttons.submit.html.twig') . '</div>
|
||||
</TD></TR></FORM></TABLE></TABLE>';
|
||||
}
|
||||
?>
|
||||
|
@@ -10,4 +10,3 @@
|
||||
*/
|
||||
$_GET['archive'] = true;
|
||||
require 'news.php';
|
||||
?>
|
||||
|
@@ -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,
|
||||
));
|
||||
?>
|
||||
|
||||
|
||||
|
@@ -73,4 +73,3 @@ foreach($groupList as $id => $group)
|
||||
$twig->display('team.html.twig', array(
|
||||
'groupmember' => $groupMember
|
||||
));
|
||||
?>
|
Reference in New Issue
Block a user