class OfwdView def initialize @rhtml_header_template = %{ Miscellaneous IT » Blog Archive » Welcome to Miscellaneous IT

}.gsub(/^ /, '') @rhtml_footer_template = %{

}.gsub(/^ /, '') end def show_default rhtml_body_content = %{

Password Management

Want to change your password?

Account name:
Current password:
New Password:
Repeat New 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:
Your account name:

}.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

Account Name:
Valid Email Address:
New Password:
Repeat New Password:
I understand and agree to the
Terms of Service and other Policies:

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 %>.

Account Name:
Valid Email Address:
New Password:
Repeat New Password:
I understand and agree to the
Terms of Service and other Policies:

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: 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 = %{

Password reset

Your password has been reset and mailed to you.

Return. }.gsub(/^ /, '') rhtml_page_content = @rhtml_header_template.concat(rhtml_body_content).concat(@rhtml_footer_template) end def reset_password_failure rhtml_body_content = %{

Password was NOT reset

Your account could not be found. Please try again.

Your account name:

}.gsub(/^ /, '') rhtml_page_content = @rhtml_header_template.concat(rhtml_body_content).concat(@rhtml_footer_template) end def change_password_failure(error_message) rhtml_body_content = %{

Password was NOT reset

Your password was not changed because: <%= error_message %>.

Account name:
Current password:
New Password:
Repeat New Password:

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 = %{

Password changed

Your password has been changed.

Return. }.gsub(/^ /, '') rhtml_page_content = @rhtml_header_template.concat(rhtml_body_content).concat(@rhtml_footer_template) end def account_verify_success rhtml_body_content = %{

Account Verified

You account should now be active and will be available for use within 2 minutes.

Return. }.gsub(/^ /, '') rhtml_page_content = @rhtml_header_template.concat(rhtml_body_content).concat(@rhtml_footer_template) end def account_verify_failure rhtml_body_content = %{

Account NOT Verified

We could not find an account associated with the link you used.

Return. }.gsub(/^ /, '') rhtml_page_content = @rhtml_header_template.concat(rhtml_body_content).concat(@rhtml_footer_template) end end