mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
* renamed guild action create_guild to simply create
This commit is contained in:
parent
e45d27b5c7
commit
85d1f3419a
@ -116,7 +116,7 @@ if(isset($todo) && $todo == 'save')
|
|||||||
$player->setRank($rank);
|
$player->setRank($rank);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
echo $twig->render('guilds.create_guild.success.html.twig', array(
|
echo $twig->render('guilds.create.success.html.twig', array(
|
||||||
'guild_name' => $guild_name,
|
'guild_name' => $guild_name,
|
||||||
'leader_name' => $player->getName()
|
'leader_name' => $player->getName()
|
||||||
));
|
));
|
||||||
@ -127,7 +127,7 @@ if(isset($todo) && $todo == 'save')
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
sort($array_of_player_nig);
|
sort($array_of_player_nig);
|
||||||
echo $twig->render('guilds.create_guild.html.twig', array(
|
echo $twig->render('guilds.create.html.twig', array(
|
||||||
'players' => $array_of_player_nig
|
'players' => $array_of_player_nig
|
||||||
));
|
));
|
||||||
}
|
}
|
@ -66,7 +66,7 @@ if($_REQUEST['preview'] == 2)
|
|||||||
<TD colspan="4">';
|
<TD colspan="4">';
|
||||||
if($logged)
|
if($logged)
|
||||||
echo '
|
echo '
|
||||||
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0><FORM ACTION="?subtopic=guilds&action=create_guild" METHOD=post><TR><TD>
|
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0><FORM ACTION="?subtopic=guilds&action=create" METHOD=post><TR><TD>
|
||||||
<INPUT TYPE=image NAME="Create Guild" ALT="Create Guild" SRC="'.$template_path.'/images/global/buttons/sbutton_createguild.png" BORDER=0 WIDTH=120 HEIGHT=18>
|
<INPUT TYPE=image NAME="Create Guild" ALT="Create Guild" SRC="'.$template_path.'/images/global/buttons/sbutton_createguild.png" BORDER=0 WIDTH=120 HEIGHT=18>
|
||||||
</TD></TR></FORM></TABLE>';
|
</TD></TR></FORM></TABLE>';
|
||||||
|
|
||||||
@ -115,7 +115,7 @@ else
|
|||||||
|
|
||||||
echo '</TABLE><br><br>';
|
echo '</TABLE><br><br>';
|
||||||
if($logged)
|
if($logged)
|
||||||
echo '<TABLE BORDER=0 WIDTH=100%><TR><TD ALIGN=center><IMG SRC="'.$template_path.'/images/general/blank.gif" WIDTH=80 HEIGHT=1 BORDER=0<BR></TD><TD ALIGN=center><TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0><FORM ACTION="?subtopic=guilds&action=create_guild" METHOD=post><TR><TD>
|
echo '<TABLE BORDER=0 WIDTH=100%><TR><TD ALIGN=center><IMG SRC="'.$template_path.'/images/general/blank.gif" WIDTH=80 HEIGHT=1 BORDER=0<BR></TD><TD ALIGN=center><TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0><FORM ACTION="?subtopic=guilds&action=create" METHOD=post><TR><TD>
|
||||||
<INPUT TYPE=image NAME="Create Guild" ALT="Create Guild" SRC="'.$template_path.'/images/global/buttons/sbutton_createguild.png" BORDER=0 WIDTH=120 HEIGHT=18>
|
<INPUT TYPE=image NAME="Create Guild" ALT="Create Guild" SRC="'.$template_path.'/images/global/buttons/sbutton_createguild.png" BORDER=0 WIDTH=120 HEIGHT=18>
|
||||||
</TD></TR></FORM></TABLE></TD><TD ALIGN=center><IMG SRC="'.$template_path.'/images/general/blank.gif" WIDTH=80 HEIGHT=1 BORDER=0<BR></TD></TR></TABLE>
|
</TD></TR></FORM></TABLE></TD><TD ALIGN=center><IMG SRC="'.$template_path.'/images/general/blank.gif" WIDTH=80 HEIGHT=1 BORDER=0<BR></TD></TR></TABLE>
|
||||||
<BR />If you have any problem with guilds try:
|
<BR />If you have any problem with guilds try:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<form action="?subtopic=guilds&action=create_guild&todo=save" method="post">
|
<form action="?subtopic=guilds&action=create&todo=save" method="post">
|
||||||
<table width="100%" border="0" cellspacing="1" cellpadding="4">
|
<table width="100%" border="0" cellspacing="1" cellpadding="4">
|
||||||
<tr>
|
<tr>
|
||||||
<td bgcolor="{{ config.vdarkborder }}" class="white"><B>Create a {{ config.lua.serverName }} Guild</b></td>
|
<td bgcolor="{{ config.vdarkborder }}" class="white"><B>Create a {{ config.lua.serverName }} Guild</b></td>
|
Loading…
x
Reference in New Issue
Block a user