Simple solutions for your varied technology needs.
}.gsub(/^ /, '')
@rhtml_footer_template = %{
}.gsub(/^ /, '')
end
def show_default
rhtml_body_content = %{
Password Management
Want to change your password?
Passwords must be at least 8 characters long, are case sensitive, and can contain letters and numbers.
Forgotten your password?
Have it reset and mailed ot you:
}.gsub(/^ /, '')
rhtml_page_content = @rhtml_header_template.concat(rhtml_body_content).concat(@rhtml_footer_template)
end
def account_create_start
rhtml_body_content = %{
Create New Account
Usernames must be between 1 and 32 characters long, are case sensitive and can contain letters, numbers, and the following characters: '-', '_', and '.'.
Passwords must be at least 8 characters long, are case sensitive, and can contain letters and numbers.
A valid email address is required to complete registration.
}.gsub(/^ /, '')
rhtml_page_content = @rhtml_header_template.concat(rhtml_body_content).concat(@rhtml_footer_template)
end
def account_create_failure(error_message)
rhtml_body_content = %{
New Account NOT Created
The account was not created because: <%= error_message %>.
Usernames must be between 1 and 32 characters long, are case sensitive and can contain letters, numbers, and the following characters: '-', '_', and '.'.
Passwords must be at least 8 characters long, are case sensitive, and can contain letters and numbers.
A valid email address is required to complete registration.
}.gsub(/^ /, '')
rhtml_page_content = @rhtml_header_template.concat(rhtml_body_content).concat(@rhtml_footer_template)
end
def account_create_success(username, email, webdavurl)
rhtml_body_content = %{
New Account Request Received
Your request for a new account has been received, with the following information:
Username: <%= username %>
Email: <%= email %>
WebDAV: https://miscit.com/ofwd/<%= webdavurl %>/
Before you will be able to use the account, you will need to complete the registration by verifying your email address.
You will receive an email from OFWD with a verficiation link address in it. Simply open that link in a web browser to verify your address and gain access to your account.
}.gsub(/^ /, '')
rhtml_page_content = @rhtml_header_template.concat(rhtml_body_content).concat(@rhtml_footer_template)
end
def reset_password_success
rhtml_body_content = %{
Your password was not changed because: <%= error_message %>.
Passwords must be at least 8 characters long, are case sensitive, and can contain letters and numbers.
}.gsub(/^ /, '')
rhtml_page_content = @rhtml_header_template.concat(rhtml_body_content).concat(@rhtml_footer_template)
end
def change_password_success
rhtml_body_content = %{