2009-02-07 20:01:59 +01:00
|
|
|
<% content_for('sidebar') { %>
|
|
|
|
<%= render :partial => 'shared/folders' %>
|
|
|
|
<% } %>
|
2009-09-01 14:23:05 +02:00
|
|
|
<h1><%= t :mailbox %></h1>
|
2009-01-07 20:27:12 +01:00
|
|
|
<div id="header">
|
|
|
|
<ul id="primary">
|
|
|
|
<li><%=link_folders%></li>
|
|
|
|
<li><%=link_send_mail%></li>
|
2009-09-01 14:23:05 +02:00
|
|
|
<li><span><%= t :preferences %></span></li>
|
2009-01-07 20:27:12 +01:00
|
|
|
<li><%=link_mail_filters%></li>
|
|
|
|
<li><%=link_main%></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div id="tab_main">
|
|
|
|
<div id="tab_content">
|
|
|
|
<div id="prefs">
|
2009-02-07 19:38:30 +01:00
|
|
|
<form action="/webmail/prefs" method="post">
|
2009-01-07 20:27:12 +01:00
|
|
|
<%= hidden_field "mailpref", "id" %>
|
|
|
|
<%= hidden_field "mailpref", "customer_id" %>
|
|
|
|
<table class="edit">
|
2009-09-01 14:23:05 +02:00
|
|
|
<%= form_input(:text_field, 'customer', 'fname', t(:first_name), 'class'=>'two_columns') %>
|
|
|
|
<%= form_input(:text_field, 'customer', 'lname', t(:last_name), 'class'=>'two_columns') %>
|
2009-01-07 20:27:12 +01:00
|
|
|
<tr class="two_rows">
|
2009-09-01 14:23:05 +02:00
|
|
|
<td><label><%= t :send_type %></label></td>
|
2009-01-07 20:27:12 +01:00
|
|
|
<td><select name="mailpref[mail_type]">
|
|
|
|
<%= options_for_select(CDF::CONFIG[:mail_send_types], @mailpref.mail_type)%>
|
|
|
|
</select></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr class="two_rows">
|
2009-09-01 14:23:05 +02:00
|
|
|
<td><label><%= t :messages_per_page %></label></td>
|
2009-01-07 20:27:12 +01:00
|
|
|
<td><select name="mailpref[wm_rows]">
|
|
|
|
<%= options_for_select(CDF::CONFIG[:mail_message_rows], @mailpref.wm_rows)%>
|
|
|
|
</select></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr class="two_rows">
|
2009-09-01 14:23:05 +02:00
|
|
|
<td><label for="mailpref_check_external_mail"><%=t :check_external_mail %></label></td>
|
2009-01-07 20:27:12 +01:00
|
|
|
<td>
|
|
|
|
<%=check_box('mailpref', 'check_external_mail')%>
|
2009-09-01 14:23:05 +02:00
|
|
|
<%= t :check_external_mail_txt %>
|
2009-01-07 20:27:12 +01:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr class="two_rows">
|
|
|
|
<td colspan='2' class="buttonBar">
|
2009-09-01 14:23:05 +02:00
|
|
|
<input type="submit" name="op" value="<%= t :save %>"/>
|
|
|
|
<input type="button" value="<%= t :cancel %>" onclick="window.location='/webmail/webmail/folders'"/>
|
2009-01-07 20:27:12 +01:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|