mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-10-13 18:04:54 +02:00
Small voting box improvement (#337)
* Add OTServers.eu voting * Hide voting by default and use simple vote url if the user isn't logged in * Fix indentation * Convert to tabs * Convert to tabs
This commit is contained in:

committed by
Stefan A. Brannfjell

parent
f79a48fc06
commit
9404c902f5
@@ -6,7 +6,7 @@
|
||||
include 'layout/widgets/login.php';
|
||||
}
|
||||
if (user_logged_in() && is_admin($user_data)) include 'layout/widgets/Wadmin.php';
|
||||
if (user_logged_in()) include 'layout/widgets/vote.php';
|
||||
if ($config['otservers_eu_voting']['enabled']) include 'layout/widgets/vote.php';
|
||||
include 'layout/widgets/charactersearch.php';
|
||||
include 'layout/widgets/topplayers.php';
|
||||
include 'layout/widgets/highscore.php';
|
||||
|
Reference in New Issue
Block a user