<% content_for('sidebar') { %>
<%= render :partial => 'shared/folders' %>
<% } %>
<%= @folder_name %>
<%= form_tag({:controller=>'webmail', :action=>'messages'})%>
<%=_('Operations')%>
<%=_('Operations on marked messages')%>
<%= submit_tag(_('delete'), :name=>'op')%>
<%= submit_tag(_('copy'), :name=> 'op')%>
<%= submit_tag(_('move'), :name=>'op')%>
<%= submit_tag(_('mark read'), :name=>'op')%>
<%= submit_tag(_('mark unread'), :name=>'op')%>
<%=_('Destination for move and copy operations')%>
<%= render :partial => "search" %>
<%= page_navigation_webmail @pages if @pages.page_count > 1 %>
|
<% if @folder_name == CDF::CONFIG[:mail_sent] %>
<%= link_to(_('To'), :controller=>'/webmail/webmail', :action=>'messages', :op=>'SORT', :page=>@page, :scc=>'to_flat')%> |
<% else %>
<%= link_to(_('From'), :controller=>'/webmail/webmail', :action=>'messages', :op=>'SORT', :page=>@page, :scc=>'from_flat')%> |
<% end%>
<%= link_to(_('Subject'), :controller=>'/webmail/webmail', :action=>'messages', :op=>'SORT', :page=>@page, :scc=>'subject')%> |
<%= link_to(_('Date'), :controller=>'/webmail/webmail', :action=>'messages', :op=>'SORT', :page=>@page, :scc=>'date')%> |
<%= link_to(_('Size'), :controller=>'/webmail/webmail', :action=>'messages', :op=>'SORT', :page=>@page, :scc=>'size')%> |
|
<% for message in @messages %>
<%= render :partial => 'message_row', :object => message %>
<% end %>
<%= page_navigation_webmail @pages if @pages.page_count > 1 %>