From d16f8bf3e53098b5172ea391d4f6fb7116f6cfd5 Mon Sep 17 00:00:00 2001 From: Ale32bit Date: Fri, 27 Nov 2015 22:43:36 +0100 Subject: [PATCH] Update sID.lua --- src/apps/system/sID.lua | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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("*")