mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-13 17:24:54 +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:
@@ -112,5 +112,3 @@ function error_($desc) {
|
||||
));
|
||||
exit();
|
||||
}
|
||||
|
||||
?>
|
@@ -12,7 +12,7 @@
|
||||
$vocation = 'Unknown vocation';
|
||||
if(isset($config['vocations'][$player->getVocation()]))
|
||||
$vocation = $config['vocations'][$player->getVocation()];
|
||||
|
||||
|
||||
imagettftext($image , $fontsize, 0, 20, 52, $color, $font, 'Level:');
|
||||
imagettftext($image , $fontsize, 0, 70, 52, $color, $font, $player->getLevel() . ' ' . $vocation);
|
||||
|
||||
@@ -26,4 +26,3 @@
|
||||
imagettftext($image , $fontsize, 0, 100, 95, $color, $font, (($player->getLastLogin() > 0) ? date("j F Y, g:i a", $player->getLastLogin()) : 'Never logged in.'));
|
||||
imagepng($image, SIGNATURES_CACHE . $player->getID() . '.png');
|
||||
imagedestroy($image);
|
||||
?>
|
@@ -168,4 +168,3 @@
|
||||
}
|
||||
|
||||
$MadGD->save($player->getID());
|
||||
?>
|
||||
|
Reference in New Issue
Block a user