mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
* fixed some php short tag
* fixed guild change description back button
This commit is contained in:
parent
8b302749ff
commit
036520566c
@ -61,7 +61,7 @@ else
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<table border="0" cellspacing="1" cellpadding="4" width="100%">
|
<table border="0" cellspacing="1" cellpadding="4" width="100%">
|
||||||
<?
|
<?php
|
||||||
if($_page > 0)
|
if($_page > 0)
|
||||||
echo '<tr><td width="100%" align="right" valign="bottom"><a href="?subtopic=changelog&page=' . ($_page - 1) . '" class="size_xxs">Previous Page</a></td></tr>';
|
echo '<tr><td width="100%" align="right" valign="bottom"><a href="?subtopic=changelog&page=' . ($_page - 1) . '" class="size_xxs">Previous Page</a></td></tr>';
|
||||||
|
|
||||||
|
@ -61,6 +61,9 @@ if(empty($errors))
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(!$guild_vice)
|
||||||
|
$errors[] = 'You are not a leader or vice leader of guild <b>' . $guild_name . '</b>.';
|
||||||
}
|
}
|
||||||
if(empty($errors))
|
if(empty($errors))
|
||||||
{
|
{
|
||||||
@ -69,8 +72,6 @@ if(empty($errors))
|
|||||||
if(!$player->isLoaded())
|
if(!$player->isLoaded())
|
||||||
$errors[] = 'Player with name <b>' . $name . '</b> doesn\'t exist.';
|
$errors[] = 'Player with name <b>' . $name . '</b> doesn\'t exist.';
|
||||||
}
|
}
|
||||||
if(!$guild_vice)
|
|
||||||
$errors[] = 'You are not a leader or vice leader of guild <b>' . $guild_name . '</b>.';
|
|
||||||
|
|
||||||
if(empty($errors))
|
if(empty($errors))
|
||||||
{
|
{
|
||||||
|
@ -6,7 +6,7 @@ Here you can change description of your guild.<br/>
|
|||||||
(max. {{ config.guild_description_lines_limit }} lines, max. {{ config.guild_description_chars_limit }} chars) <input type="submit" value="Save description"/></form><br/>
|
(max. {{ config.guild_description_lines_limit }} lines, max. {{ config.guild_description_chars_limit }} chars) <input type="submit" value="Save description"/></form><br/>
|
||||||
<br/>
|
<br/>
|
||||||
<center>
|
<center>
|
||||||
<form action="?subtopic=guilds&guild='.$guild->getName().'&action=manager" method="post">
|
<form action="?subtopic=guilds&guild={{ guild.getName() }}&action=manager" method="post">
|
||||||
{{ include('buttons.back.html.twig') }}
|
{{ include('buttons.back.html.twig') }}
|
||||||
</form>
|
</form>
|
||||||
</center>
|
</center>
|
Loading…
x
Reference in New Issue
Block a user