Archive: ComponentOwl Rails app, DB backups, go redirect script

This commit is contained in:
EC2 Default User
2026-03-23 16:20:05 +00:00
commit 50037f386f
218 changed files with 14558 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
<div class="subscribe-content">
<h2><%= t('txt.download.started') %></h2>
<% remote_form_for newsletter_subscription("download-page"), :html => { :onsubmit => "if (!validate_newsletter_form(this)) return false" } do |f| -%>
<% f.field_set "Optional" do -%>
<% name = @product.has_newsletter? ? t('txt.download.newsletter_product', :product => @product.name) : t('txt.download.newsletter_general') %>
<p><%= t('txt.download.newsletter', :name => name) %></p>
<div class="newsletter-box">
<%= hidden_field_tag "form_id", "#new_subscription" %>
<%= hidden_field_tag "callback", "download_subscription_saved" %>
<%= f.hidden_field :subscription_location_id %>
<div class="field">
<%= f.label :first_name, t("txt.common.first_name") %>
<%= f.text_field :first_name, :class => "name stressed" %>
</div>
<div class="field">
<%= f.label :email, t("txt.common.your_email") %>
<%= f.text_field :email, :class => "email stressed" %>
</div>
<%= subscription_lists('download-page', @product) %>
<%= subscribe :hilight %>
<div class="clear"></div>
</div>
<% end -%>
<% end -%>
</div>

View File

@@ -0,0 +1,9 @@
<div class="subpage support-content">
<h1>Component Owl Newsletter</h1>
<p>You've been unsubscribed.</p>
<p>You can now continue to our <%= link_to "home page", root_path %>.</p>
</div>