mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-17 19:23:27 +02:00
* moved guilds actions (pages) to guilds/ directory
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<center><h2>Change guild description</h2></center>
|
||||
Here you can change description of your guild.<br/>
|
||||
<form enctype="multipart/form-data" action="?subtopic=guilds&guild={{ guild.getName() }}&action=changedescription" 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"/>
|
||||
<textarea name="description" cols="60" rows="{{ rows }}">{{ 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/>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<center><h2>Change guild logo</h2></center>
|
||||
Here you can change logo of your guild.<br/>Actuall logo: <img src="images/guilds/{{ guild_logo }}" height="64" width="64"><br/><br/>
|
||||
<form enctype="multipart/form-data" action="?subtopic=guilds&guild={{ guild.getName() }}&action=changelogo" method="post" id="upload_form">
|
||||
<form enctype="multipart/form-data" action="?subtopic=guilds&guild={{ guild.getName() }}&action=change_logo" method="post" id="upload_form">
|
||||
<input type="hidden" name="todo" value="save" />
|
||||
<input type="hidden" name="MAX_FILE_SIZE" value="{{ max_image_size_b }}" />
|
||||
Select new logo: <input name="newlogo" id="newlogo" type="file" />
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<center><h2>Change guild MOTD</h2></center>
|
||||
Here you can change MOTD (Message of the Day, showed in game!) of your guild.<br/>
|
||||
<form enctype="multipart/form-data" action="?subtopic=guilds&guild={{ guild.getName() }}&action=changemotd" method="post">
|
||||
<form enctype="multipart/form-data" action="?subtopic=guilds&guild={{ guild.getName() }}&action=change_motd" method="post">
|
||||
<input type="hidden" name="todo" value="save"/>
|
||||
<textarea name="motd" cols="60" rows="3">{{ guild.getCustomField('motd')|raw }}</textarea><br/>
|
||||
(max. {{ config.guild_motd_chars_limit }} chars) <input type="submit" value="Save MOTD" /></form><br/>
|
||||
|
@@ -1,4 +1,4 @@
|
||||
<form action="?subtopic=guilds&action=createguild&todo=save" method="post">
|
||||
<form action="?subtopic=guilds&action=create_guild&todo=save" method="post">
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="4">
|
||||
<tr>
|
||||
<td bgcolor="{{ config.vdarkborder }}" class="white"><B>Create a {{ config.lua.serverName }} Guild</b></td>
|
||||
|
@@ -19,7 +19,7 @@
|
||||
<table style="width:100%;" >
|
||||
<tr>
|
||||
<td>Are you sure you want delete guild <b>{{ guild.getName() }}</b>?<br/>
|
||||
<form action="?subtopic=guilds&guild={{ guild.getName() }}&action=deleteguild" method="post">
|
||||
<form action="?subtopic=guilds&guild={{ guild.getName() }}&action=delete_guild" method="post">
|
||||
<input type="hidden" name="todo" value="save"/>
|
||||
<input type="submit" value="Yes, delete"/>
|
||||
</form>
|
||||
|
@@ -12,7 +12,7 @@ Here you can change names of ranks, delete and add ranks, pass leadership to oth
|
||||
</tr>
|
||||
<tr bgcolor="{{ config.lightborder }}">
|
||||
<td width="170">
|
||||
<b><a href="?subtopic=guilds&guild={{ guild.getName() }}&action=passleadership">Pass Leadership</a></b>
|
||||
<b><a href="?subtopic=guilds&guild={{ guild.getName() }}&action=pass_leadership">Pass Leadership</a></b>
|
||||
</td>
|
||||
<td>
|
||||
<b>Pass leadership of guild to other guild member.</b>
|
||||
@@ -20,7 +20,7 @@ Here you can change names of ranks, delete and add ranks, pass leadership to oth
|
||||
</tr>
|
||||
<tr bgcolor="{{ config.darkborder }}">
|
||||
<td width="170">
|
||||
<b><a href="?subtopic=guilds&guild={{ guild.getName() }}&action=deleteguild">Delete Guild</a></b>
|
||||
<b><a href="?subtopic=guilds&guild={{ guild.getName() }}&action=delete_guild">Delete Guild</a></b>
|
||||
</td>
|
||||
<td>
|
||||
<b>Delete guild, kick all members.</b>
|
||||
@@ -28,7 +28,7 @@ Here you can change names of ranks, delete and add ranks, pass leadership to oth
|
||||
</tr>
|
||||
<tr bgcolor="{{ config.lightborder }}">
|
||||
<td width="170">
|
||||
<b><a href="?subtopic=guilds&guild={{ guild.getName() }}&action=changedescription">Change Description</a></b>
|
||||
<b><a href="?subtopic=guilds&guild={{ guild.getName() }}&action=change_description">Change Description</a></b>
|
||||
</td>
|
||||
<td>
|
||||
<b>Change description of guild.</b>
|
||||
@@ -37,7 +37,7 @@ Here you can change names of ranks, delete and add ranks, pass leadership to oth
|
||||
{% if constant('MOTD_EXISTS') %}
|
||||
<tr bgcolor="{{ config.darkborder }}">
|
||||
<td width="170">
|
||||
<b><a href="?subtopic=guilds&guild={{ guild.getName() }}&action=changemotd">Change MOTD</a></b>
|
||||
<b><a href="?subtopic=guilds&guild={{ guild.getName() }}&action=change_motd">Change MOTD</a></b>
|
||||
</td>
|
||||
<td>
|
||||
<b>Change MOTD of guild.</b>
|
||||
@@ -46,7 +46,7 @@ Here you can change names of ranks, delete and add ranks, pass leadership to oth
|
||||
{% endif %}
|
||||
<tr bgcolor="{{ config.lightborder }}">
|
||||
<td width="170">
|
||||
<b><a href="?subtopic=guilds&guild={{ guild.getName() }}&action=changelogo">Change guild logo</a></b>
|
||||
<b><a href="?subtopic=guilds&guild={{ guild.getName() }}&action=change_logo">Change guild logo</a></b>
|
||||
</td>
|
||||
<td>
|
||||
<b>Upload new guild logo.</b>
|
||||
@@ -75,7 +75,7 @@ Here you can change names of ranks, delete and add ranks, pass leadership to oth
|
||||
<tr>
|
||||
<td width="120" valign="top">New rank name:</td>
|
||||
<td>
|
||||
<form action="?subtopic=guilds&guild={{ guild.getName() }}&action=addrank" method="post">
|
||||
<form action="?subtopic=guilds&guild={{ guild.getName() }}&action=add_rank" method="post">
|
||||
<input type="text" name="rank_name" size="20"/>
|
||||
<input type="submit" value="Add"/>
|
||||
</form>
|
||||
@@ -88,7 +88,7 @@ Here you can change names of ranks, delete and add ranks, pass leadership to oth
|
||||
</table>
|
||||
</div>
|
||||
<center><h3>Change rank names and levels</h3></center>
|
||||
<form action="?subtopic=guilds&action=saveranks&guild={{ guild.getName() }}" method="post">
|
||||
<form action="?subtopic=guilds&action=save_ranks&guild={{ guild.getName() }}" method="post">
|
||||
<table style="clear:both" border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr bgcolor="{{ config.vdarkborder }}">
|
||||
<td rowspan="2" width="120" align="center">
|
||||
@@ -115,7 +115,7 @@ Here you can change names of ranks, delete and add ranks, pass leadership to oth
|
||||
{% set i = 0 %}
|
||||
{% for rank in rank_list %}
|
||||
<tr bgcolor="{{ getStyle(i) }}">
|
||||
<td align="center">{{ rank.getId() }} // <a href="?subtopic=guilds&guild={{ guild.getName() }}&action=deleterank&rankid={{ rank.getId() }}" border="0"><img src="{{ template_path }}/images/news/delete.png" border="0" alt="Delete Rank"></a>
|
||||
<td align="center">{{ rank.getId() }} // <a href="?subtopic=guilds&guild={{ guild.getName() }}&action=delete_rank&rankid={{ rank.getId() }}" border="0"><img src="{{ template_path }}/images/news/delete.png" border="0" alt="Delete Rank"></a>
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="{{ rank.getId() }}_name" value="{{ rank.getName() }}" size="35"/>
|
||||
|
@@ -19,7 +19,7 @@
|
||||
<table style="width:100%;">
|
||||
<tr>
|
||||
<td>Pass leadership to: </b><br>
|
||||
<form action="?subtopic=guilds&guild={{ guild.getName() }}&action=passleadership" method="post">
|
||||
<form action="?subtopic=guilds&guild={{ guild.getName() }}&action=pass_leadership" method="post">
|
||||
<input type="hidden" name="todo" value="save"/>
|
||||
<input type="text" size="40" name="player"/>
|
||||
<input type="submit" value="Save">
|
||||
|
Reference in New Issue
Block a user