diff --git a/src/apps/system/sID.lua b/src/apps/system/sID.lua index 5362c09..b349b10 100644 --- a/src/apps/system/sID.lua +++ b/src/apps/system/sID.lua @@ -47,15 +47,15 @@ local function login() paintutils.drawLine(1,1,w,1,colors.blue) term.setTextColor(colors.black) term.setBackgroundColor(colors.white) - sertextext.center(3," Setup Sertex ID") - sertextext.center(7," Your Username") + visum.align("center"," Setup Sertex ID",false,3) + visum.align("center"," Your Username",false,7) term.setCursorPos(3,8) name = read() - sertextext.center(9, " Your Password") + visum.align("center", " Your Password",false,9) term.setCursorPos(3,10) term.clearLine() pw = read("*") - sertextext.center(11, " Checking...") + visum.align("center", " Checking...",false,11) rServer = http.post("http://sertex.x10.bz/login.php", "user="..name.."&password="..pw).readAll() if rServer ~= "true" then print(" Wrong Username/Password") @@ -79,16 +79,16 @@ local function register() paintutils.drawLine(1,1,w,1,colors.blue) term.setTextColor(colors.black) term.setBackgroundColor(colors.white) - sertextext.center(3," Setup Sertex ID") - sertextext.center(7," Your Username") + visum.align("center"," Setup Sertex ID",false,3) + visum.align("center"," Your Username",false,7) term.setCursorPos(3,8) name = read() while true do - sertextext.center(9, " Your Password") + visum.align("center", " Your Password",false,9) term.setCursorPos(3,10) term.clearLine() pw = read("*") - sertextext.center(11, " Repeat") + visum.align("center", " Repeat",false,11) term.setCursorPos(3,12) term.clearLine() pwr = read("*")