Hello, I'm looking for the HTML file for the roundcube login page- I need to make a small change to some formatting. Where is it located on the server?
If you are looking for Skin Change for Larry :
Roundcube Installation Folder> Skins > Larry > Templates > login.html
Regards
AMOL KHADE.
Thanks.
I should've been more specific in my OP. I'm looking for the HTML because I've written a TOS for my webmail (just a little cover-my-a$$ blurb) and I want to insert a checkbox that says "I have read the Terms of Service" and disable the login button until this box is checked. Any thoughts?
Hello,
Method 1:
I ll suggest to write the plugin for Roundcube, Its easy too. http://trac.roundcube.net/wiki/Doc_Plugins
Method 2:
If you want to manage it without using plugin then just set the check box & use Java Script to build the logic for event in login.html page to do what you want.make sure you are not affecting any other dependencies.
Regards.
AMOL KHADE
Thanks, that helped a bit. I've got the checkbox on the page, but I'm having trouble getting it to validate if the box is checked.
Here's my code:
Validator module:
<script type="text/javascript">
// Checkbox validator
function validate(){
if (TOS.checked == 1){
}else
alert("Please check the box labeled 'I have read the Terms of Service'")
}
}
</script>
Checkbox:
<input id="TOS" type="checkbox" name="TOS" value="Yes"><font color="white">I have read the</font><a href="JavaScript:newPopup('http://www.XXXXXXXXXX.com/roundcubemail/TOS.html');">Terms of Service</a><br>
and the login button
<p class="formbuttons"><input type="submit" id="Submit" class="button mainaction" value="<roundcube:label name='login' "/>" onclick="validate()"/></p>
Hello,
I think, below link will guide you for your requirement:
http://stackoverflow.com/questions/1594952/jquery-disable-enable-submit-button
still if you cant, let me know.
Regards
AMOL KHADE.