mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 09:49:22 +02:00
bcsub is not needed here
bcmath module is not required anymore
This commit is contained in:
parent
4e85f857a4
commit
780f8d193f
@ -51,8 +51,7 @@ if(empty($errors)) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$twig->display('guilds.change_description.html.twig', array(
|
$twig->display('guilds.change_description.html.twig', array(
|
||||||
'guild' => $guild,
|
'guild' => $guild
|
||||||
'rows' => bcsub($config['guild_description_lines_limit'],1)
|
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@ -72,4 +71,4 @@ if(!empty($errors)) {
|
|||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
Here you can change description of your guild.<br/>
|
Here you can change description of your guild.<br/>
|
||||||
<form enctype="multipart/form-data" action="?subtopic=guilds&guild={{ guild.getName() }}&action=change_description" method="post">
|
<form enctype="multipart/form-data" action="?subtopic=guilds&guild={{ guild.getName() }}&action=change_description" method="post">
|
||||||
<input type="hidden" name="todo" value="save"/>
|
<input type="hidden" name="todo" value="save"/>
|
||||||
<textarea name="description" cols="60" rows="{{ rows }}">{{ guild.getCustomField('description')|raw }}</textarea><br>
|
<textarea name="description" cols="60" rows="{{ config.guild_description_lines_limit - 1 }}">{{ guild.getCustomField('description')|raw }}</textarea><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/>
|
||||||
<div style="text-align:center">
|
<div style="text-align: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>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user