mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-05-01 03:39:21 +02:00
$config['use_guild_logos'] now actually works, toggle it between true and false.
This commit is contained in:
parent
5349c96018
commit
0c6f177d45
@ -299,7 +299,7 @@
|
||||
$config['invalidNameTags'] = array("god", "gm", "cm", "gamemaster", "hoster", "admin", "admim", "adm", "owner", "staff");
|
||||
|
||||
// Use guild logo system
|
||||
$config['use_guild_logos'] = 4;
|
||||
$config['use_guild_logos'] = true;
|
||||
|
||||
// Level requirement to create guild? (Just set it to 1 to allow all levels).
|
||||
$config['create_guild_level'] = 8;
|
||||
|
13
guilds.php
13
guilds.php
@ -168,8 +168,17 @@ if (user_logged_in() === true) {
|
||||
// Display the specific guild page
|
||||
?>
|
||||
|
||||
<h1><img src="<?php logo_exists(sanitize($_GET['name'])); ?>"></img> Guild: <?php echo sanitize($_GET['name']);
|
||||
?> </h1>
|
||||
<div id="guildTitleDiv">
|
||||
<?php if ($config['use_guild_logos']): ?>
|
||||
<div id="guildImageDiv" style="float: left; margin-right: 10px;">
|
||||
<img style="max-width: 100px; max-height: 100px;" src="<?php logo_exists(sanitize($_GET['name'])); ?>"></img>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<div id="guildDescription">
|
||||
<h1>Guild: <?php echo sanitize($_GET['name']); ?></h1>
|
||||
<p>Motive of the Guild</p>
|
||||
</div>
|
||||
</div>
|
||||
<table id="guildViewTable" class="table table-striped">
|
||||
<tr class="yellow">
|
||||
<th>Rank:</th>
|
||||
|
Loading…
x
Reference in New Issue
Block a user