* fixed some php short tag

* fixed guild change description back button
This commit is contained in:
slawkens1 2017-11-22 00:22:31 +01:00
parent 8b302749ff
commit 036520566c
3 changed files with 5 additions and 4 deletions

View File

@ -61,7 +61,7 @@ else
}
?>
<table border="0" cellspacing="1" cellpadding="4" width="100%">
<?
<?php
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>';

View File

@ -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))
{
@ -69,8 +72,6 @@ if(empty($errors))
if(!$player->isLoaded())
$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))
{

View File

@ -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/>
<br/>
<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') }}
</form>
</center>