1
0

Added "Latest version" to the PrimaryServerVersion in webadmin settings (patch contributed by STR_Warrior)

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1091 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
madmaxoft@gmail.com 2012-12-21 12:44:46 +00:00
parent 033af999ba
commit e690694aa2

View File

@ -16,10 +16,11 @@ end
local function HTML_Select_Version( name, defaultValue )
return [[<select name="]] .. name .. [[">]]
.. HTML_Option("29", "1.2.5", defaultValue == 3 )
.. HTML_Option("39", "1.3.2", defaultValue == 2 )
.. HTML_Option("47", "1.4.2", defaultValue == 1 )
.. HTML_Option("49", "1.4.5", defaultValue == 0 )
.. HTML_Option("0", "Latest Version", defaultValue == 0 )
.. HTML_Option("49", "1.4.5", defaultValue == 1 )
.. HTML_Option("47", "1.4.2", defaultValue == 2 )
.. HTML_Option("39", "1.3.2", defaultValue == 3 )
.. HTML_Option("29", "1.2.5", defaultValue == 4 )
.. [[</select>]]
end