Quote Originally Posted by koolsid View Post
Define a Global Boolean variable in your module and set them to true when there is an admin login and set them to false when user logs in. Depending upon that variable enable/disable you buttons/text box

How to do that sir? I have no idea sorry for that