I am working on a mobile style, and am going to completely redoing the menu, and I would like to pull the sign out button out of it, and put it in a different location. I have been able to do that with the sign in button, but not for the sign out. I am using iWebKit, and since I am not experienced with PHP I don't know what I am doing. I've managed to change the button from Sign In to Sign Out by checking the session. My problem is being able to produce a authenticated URL to sign out.
Here is the code for my sign button:
<a class='SignInPopup' href='/index.php/entry/?Target=discussions'>Sign In</a></div>
That was pretty easy, but how do I get the user to be able to sign out from my button? I think I have to use this:
Any help would be greatly appreciated.
0 • •