diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index 65a76fd..aefb8ac 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -126,28 +126,6 @@ module ApplicationHelper
link_to text, homepage_path(:profile => doc.profile.identifier , :page => path)
end
- def shortcut_header_links
-# search_link = ( lightbox_link_to content_tag('span', _('Search')), { :controller => 'search', :action => 'popup' }, { :id => 'open_search'} )
-#
-# if logged_in?
-# [
-# ( link_to_homepage ''+ current_user.login,
-# current_user.login, :id=>"link_go_home" ),
-# ( link_to_myprofile( content_tag('span', _('control panel')), {}, nil, { :id => 'link_edit_profile'} ) ),
-# ( link_to content_tag('span', _('Admin')), { :controller => 'admin_panel' }, :id => 'link_admin_panel' if current_user.person.is_admin?),
-# ( lightbox_link_to content_tag('span', _('Logout')), { :controller => 'account', :action => 'logout_popup'}, :id => 'link_logout'),
-# search_link,
-# ]
-# else
-# [
-# ( lightbox_link_to content_tag('span', _('Login')), { :controller => 'account', :action => 'login_popup' }, :id => 'link_login' ),
-# search_link,
-# ]
-# end.join(" ")
- end
-
def link_if_permitted(link, permission = nil, target = nil)
if permission.nil? || current_user.person.has_permission?(permission, target)
link
diff --git a/app/views/content_viewer/_comment_form.rhtml b/app/views/content_viewer/_comment_form.rhtml
index fe363c2..3dcb518 100644
--- a/app/views/content_viewer/_comment_form.rhtml
+++ b/app/views/content_viewer/_comment_form.rhtml
@@ -1,6 +1,15 @@
-
<%= _('Post a comment') %>
+ +<% form_tag( {}, { :id => comment_form_id, :style => 'display:none' } ) do %> <% unless logged_in? %> @@ -14,8 +23,10 @@ <% end %> <%= labelled_form_field(_('Title'), text_field(:comment, :title)) %> - <%= labelled_form_field(_('Enter your comment'), text_area(:comment, :body)) %> + <%= labelled_form_field(_('Enter your comment'), text_area(:comment, :body, :rows => 5)) %> <% button_bar do %> - <%= submit_button('post', _('Post comment')) %> + <%= submit_button('add', _('Post comment')) %> <% end %> <% end %> + +