Fixed broken admin events menu.
This commit is contained in:
parent
597a61be00
commit
5ce63ba5b2
@ -1,5 +1,4 @@
|
||||
<html><title>Events Menu</title><body>
|
||||
<center>
|
||||
<table width=270 border=0 bgcolor="444444">
|
||||
<tr>
|
||||
<td><button value="Main" action="bypass -h admin_admin" width=65 height=21 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
|
||||
@ -8,5 +7,7 @@
|
||||
<td><button value="GM" action="bypass -h admin_admin7" width=65 height=21 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
|
||||
</tr>
|
||||
</table><br>
|
||||
<table width=270>
|
||||
%LIST%
|
||||
</center></body></html>
|
||||
</table>
|
||||
</body></html>
|
@ -155,7 +155,7 @@ public class AdminEvents implements IAdminCommandHandler
|
||||
{
|
||||
if (event instanceof Event)
|
||||
{
|
||||
cList.append("<font color=\"LEVEL\">" + event.getName() + ":</font><br1><table width=270><tr><td><button value=\"Start\" action=\"bypass -h admin_event_start_menu " + event.getName() + "\" width=80 height=21 back=\"L2UI_ct1.button_df\" fore=\"L2UI_ct1.button_df\"></td><td><button value=\"Stop\" action=\"bypass -h admin_event_stop_menu " + event.getName() + "\" width=80 height=21 back=\"L2UI_ct1.button_df\" fore=\"L2UI_ct1.button_df\"></td>");
|
||||
cList.append("<tr><td><font color=\"LEVEL\">" + event.getName() + ":</font></td><br><td><button value=\"Start\" action=\"bypass -h admin_event_start_menu " + event.getName() + "\" width=80 height=21 back=\"L2UI_ct1.button_df\" fore=\"L2UI_ct1.button_df\"></td><td><button value=\"Stop\" action=\"bypass -h admin_event_stop_menu " + event.getName() + "\" width=80 height=21 back=\"L2UI_ct1.button_df\" fore=\"L2UI_ct1.button_df\"></td></tr>");
|
||||
}
|
||||
}
|
||||
html.replace("%LIST%", cList.toString());
|
||||
|
Loading…
Reference in New Issue
Block a user