<% content_for('sidebar') { %>
<%=_('Folders')%>
<%=link_manage_folders%>
<% for folder in @folders %>
- <%=folder_link(folder)%>
<% end %>
<% } %>
<%= @folder_name %>
<%= start_form_tag({:controller=>'/webmail/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 'webmail/webmail/message_row', message %>
<% end %>
<%= page_navigation_webmail @pages if @pages.page_count > 1 %>