Styling Hook
Add a distinct class-name for the footer in the page view.
This commit is contained in:
parent
bb3ccfed4e
commit
51474e06c8
|
@ -26,7 +26,7 @@
|
|||
<% end %>
|
||||
</div>
|
||||
|
||||
<div class="navigation">
|
||||
<div class="navigation navfoot">
|
||||
|
||||
<%= navigation_menu_for_page.join(' | ') %>
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<%= author_link(@page, { :mode => (@link_mode || :show) }) %>
|
||||
</div>
|
||||
|
||||
<div class="navigation">
|
||||
<div class="navigation navfoot">
|
||||
<span class="views">
|
||||
<% if WikiReference.pages_in_category(@web, 'S5-slideshow').map.include?(@page.name) %>
|
||||
Views:
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
<%= link_to_page @revision.author.delete("\x01-\x08\x0B\x0C\x0E-\x1F") %>
|
||||
</div>
|
||||
|
||||
<div class="navigation">
|
||||
<div class="navigation navfoot">
|
||||
<%= navigation_menu_for_revision.join(' | ') %>
|
||||
<%= render :partial => 'inbound_links' %>
|
||||
</div>
|
||||
|
|
|
@ -21,41 +21,6 @@ module ActionView
|
|||
alias_method :tag_without_form_spam_protection, :tag
|
||||
alias_method :tag, :tag_with_form_spam_protection
|
||||
end
|
||||
|
||||
# module FormTagHelper
|
||||
# def form_tag_with_spam_protection(*args, &proc)
|
||||
# form_tag_method_with_spam_protection :form_tag, *args, &proc
|
||||
# end
|
||||
#
|
||||
# # alias_method_chain :form_tag, :spam_protection
|
||||
# alias_method :form_tag_without_spam_protection, :form_tag
|
||||
# alias_method :form_tag, :form_tag_with_spam_protection
|
||||
#
|
||||
# protected
|
||||
# def form_tag_method_with_spam_protection(method_name, *args, &proc)
|
||||
# old_method_name = "#{method_name}_without_spam_protection"
|
||||
# returning send(old_method_name, *args) do |out|
|
||||
# if @protect_form_from_spam
|
||||
# session[:form_keys] ||= {}
|
||||
# form_key = Digest::SHA1.hexdigest(self.object_id.to_s + rand.to_s)
|
||||
# session[:form_keys][form_key] = 0
|
||||
# out << enkode(hidden_field_tag('_form_key', form_key))
|
||||
# end
|
||||
# end
|
||||
# end
|
||||
#
|
||||
#
|
||||
# end
|
||||
#
|
||||
# module PrototypeHelper
|
||||
# def form_remote_tag_with_spam_protection(*args, &proc)
|
||||
# form_tag_method_with_spam_protection :form_remote_tag, *args, &proc
|
||||
# end
|
||||
#
|
||||
# # alias_method_chain :form_remote_tag, :spam_protection
|
||||
# alias_method :form_remote_tag_without_spam_protection, :form_remote_tag
|
||||
# alias_method :form_remote_tag, :form_remote_tag_with_spam_protection
|
||||
# end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue