Author |
|
matthiask2 Newbie
Joined: 08 April 2009
Online Status: Offline Posts: 6
|
Posted: 14 April 2009 at 1:24am | IP Logged
|
|
|
hey!
is there a possibility of integrating the admin panel into an iframe like the 'integration api' for the normal login screen?
regards,
matthew
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 14 April 2009 at 3:16am | IP Logged
|
|
|
Since AdminPanel login screen is much more simple comparing to main login screen, using API is not required. Just create a form similar to actual login form of Admin Panel and use appropriate URL as action value. The following HTML code should do the trick for WebMail Pro PHP:
Code:
<form method="POST" action="http://server/webmail-pro-php/adminpanel/index.php?l ogin">
<input type="text" id="login" name="loginInput">
<input type="password" id="password" name="passwordInput">
<input type="submit" value="Submit">
</form> |
|
|
If the form is located in main window and you need to open admin panel in iframe, conside using target attribute of form tag.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
matthiask2 Newbie
Joined: 08 April 2009
Online Status: Offline Posts: 6
|
Posted: 14 April 2009 at 5:06am | IP Logged
|
|
|
thanks for the quick reply, works just fine!
is it also possible to make a redirect when clicking "logout" to a custom page?
regards,
matthias
|
Back to Top |
|
|