Hello everyone, I am using Roundcube on my Linux server for my clients, but instead of having my customers login through webmail and then having to chose Roundcube, I want to create a custom form for them within a subdomain on their own site that takes them directly to Roundcube; subdomain.domain.com
I found the following code and it works, but for some reason it displays the Horde, Squirrell and Roundcube options for about 2 seconds and then automatically jumps into Roundcube. But I want it to jump straight into Roundcube.... Any suggestions or ideas? Thank you
<div id="content-wrap"><form action="http://domain.com:2095/3rdparty/roundcube/?_task=mail" method="post"> <input name="login_theme" type="hidden" value="cpanel" />
<table class="login" style="width: 200px;" border="0" cellspacing="0" cellpadding="0">
<tbody style="text-align: left;">
<tr style="text-align: left;">
<td style="text-align: left;"><strong>Login</strong></td>
<td style="text-align: left;"> </td>
</tr>
<tr style="text-align: left;">
<td class="login_lines" style="text-align: left;">Email:</td>
<td class="login_lines" style="text-align: left;"><input id="user" name="user" size="16" type="text" tabindex="1" /></td>
</tr>
<tr class="row2" style="text-align: left;">
<td class="login_lines" style="text-align: left;">Password:</td>
<td class="login_lines" style="text-align: left;"><input id="pass" name="pass" size="16" type="password" tabindex="2" /></td>
</tr>
<tr style="text-align: left;">
<td style="text-align: left;" colspan="2"><input id="login" class="input-button" type="submit" value="Login" tabindex="3" /></td>
</tr>
</tbody>
</table>
<input name="goto_uri" type="hidden" value="/?login_theme=cpanel" /> </form> <br /> <br />
<script type="text/javascript"><!--
/* Must not include external javascript -jnk 06.20.09 */
var init = function() {
document.getElementById("user").value = '';
document.getElementById("pass").value = '';
document.getElementById("user").focus();
};
if( window.addEventListener ) {
window.addEventListener('load',init,false);
} else if( document.addEventListener ) {
document.addEventListener('load',init,false);
}
// --></script>
</div>