diff options
author | STRWarrior <niels.breuker@hotmail.nl> | 2015-04-04 13:38:35 +0200 |
---|---|---|
committer | STRWarrior <niels.breuker@hotmail.nl> | 2015-04-04 13:38:35 +0200 |
commit | 5e8630649e058da7464156b9d3de810d1a6c4269 (patch) | |
tree | c9af7e8a83f997ea4c009d1d57ed21dc23e7554f /MCServer/Plugins/DumpInfo | |
parent | Fixed players not appearing/disappearing when traveling to a new world. (diff) | |
download | cuberite-5e8630649e058da7464156b9d3de810d1a6c4269.tar cuberite-5e8630649e058da7464156b9d3de810d1a6c4269.tar.gz cuberite-5e8630649e058da7464156b9d3de810d1a6c4269.tar.bz2 cuberite-5e8630649e058da7464156b9d3de810d1a6c4269.tar.lz cuberite-5e8630649e058da7464156b9d3de810d1a6c4269.tar.xz cuberite-5e8630649e058da7464156b9d3de810d1a6c4269.tar.zst cuberite-5e8630649e058da7464156b9d3de810d1a6c4269.zip |
Diffstat (limited to 'MCServer/Plugins/DumpInfo')
-rw-r--r-- | MCServer/Plugins/DumpInfo/Init.lua | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/MCServer/Plugins/DumpInfo/Init.lua b/MCServer/Plugins/DumpInfo/Init.lua index 5d9c752b0..1faa8d60f 100644 --- a/MCServer/Plugins/DumpInfo/Init.lua +++ b/MCServer/Plugins/DumpInfo/Init.lua @@ -28,17 +28,18 @@ function HandleDumpPluginRequest(a_Request) Content = Content .. [[ <table> -<th colspan="2">DumpInfo</th>]] + <tr> + <th colspan="2">DumpInfo</th> + </tr>]] -- Loop through each plugin that is found. for PluginName, k in pairs(cPluginManager:Get():GetAllPlugins()) do - -- Check if there is a file called 'Info.lua' or 'info.lua' if (cFile:Exists("Plugins/" .. PluginName .. "/Info.lua")) then - Content = Content .. "<tr>" - Content = Content .. "<td>" .. PluginName .. "</td>" - Content = Content .. "<td> <form method='POST'> <input type='hidden' value='" .. PluginName .. "' name='DumpInfo'> <input type='submit' value='DumpInfo'> </form>" - Content = Content .. "</td>" + Content = Content .. "\n<tr>\n" + Content = Content .. "\t<td>" .. PluginName .. "</td>\n" + Content = Content .. "\t<td><form method='POST'> <input type='hidden' value='" .. PluginName .. "' name='DumpInfo'> <input type='submit' value='DumpInfo'></form></td>\n" + Content = Content .. "</tr>\n" end end |