mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 01:34:55 +02:00
* moved forum.new_post to twig templates
* moved forum functions to Forum class * minimum PHP version to install AAC is now 5.3.0 cause of Anonymous functions used by Twig
This commit is contained in:
@@ -105,9 +105,9 @@ if(Forum::canPost($account_logged))
|
||||
echo '<br/>You are not an author of this post.';
|
||||
}
|
||||
else
|
||||
echo '<br/>Post with ID '.$post_id.' doesn\'t exist.';
|
||||
echo "<br/>Post with ID " . $post_id . " doesn't exist.";
|
||||
}
|
||||
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.';
|
||||
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.";
|
||||
|
||||
?>
|
Reference in New Issue
Block a user