Moved announcements to SQL.

This commit is contained in:
MobiusDevelopment
2021-04-24 12:49:26 +00:00
parent 0b60bf915e
commit e43087f9cd
82 changed files with 2014 additions and 1928 deletions

View File

@@ -7,12 +7,9 @@
<center>Write the message of the announcement.</center>
<center><multiedit var="new_announcement" width=240 height=30></center><br>
<center><table><tr>
<td><button value="Add" action="bypass -h admin_add_announcement $new_announcement" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
<td><button value="Announce" action="bypass -h admin_announce_menu $new_announcement" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
<td><button value="Reload" action="bypass -h admin_announce_announcements" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
</tr>
<tr>
<td align="center"><button value="Auto Ann." action="bypass -h admin_autoannounce $menu_command" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
<td><button value="Auto" action="bypass -h admin_autoannounce $menu_command" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
<td><button value="Add" action="bypass -h admin_add_announcement $new_announcement" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
</tr>
</table></center>
%announces%

View File

@@ -0,0 +1,19 @@
<html><body>
<table width=260><tr>
<td width=40><button value="Main" action="bypass -h admin_admin" width=40 height=15 back="sek.cbui94" fore="sek.cbui92"></td>
<td width=180><center>Auto Announcements Menu</center></td>
<td width=40><button value="Back" action="bypass -h admin_admin" width=40 height=15 back="sek.cbui94" fore="sek.cbui92"></td></tr>
</table><br><br>
<center>Write the message of the announcement.</center>
<center><multiedit var="new_announcement" width=240 height=30><br><br>
Delay (in seconds) <edit var="delay" width=70><br>
Minimum time is 30 seconds.<br1>
<br><br>
<table><tr>
<td><button value="Auto" action="bypass -h admin_autoannounce $menu_command" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
<td><button value="Announce" action="bypass -h admin_announce_menu $new_announcement" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
<td><button value="Add" action="bypass -h admin_add_autoannouncement $delay $new_announcement" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
</tr>
</table></center>
%announces%
</body></html>