[670] | 1 | <script src="js/main.js"></script> |
---|
[2] | 2 | <center> |
---|
| 3 | |
---|
[389] | 4 | <table width="65%" border="0" cellspacing="2" cellpadding="2"> |
---|
[2] | 5 | |
---|
[389] | 6 | <form method="POST" action="{save_action}" onSubmit="selectValues()"> |
---|
[2] | 7 | <input type="hidden" name="try_saved" value="false"> |
---|
| 8 | <tr bgcolor="{th_bg}"> |
---|
| 9 | <td colspan="2" align="center">{lang_config_expressoMail}</td> |
---|
| 10 | </tr> |
---|
| 11 | <tr bgcolor="{tr_color1}"> |
---|
[197] | 12 | <td>{lang_max_emails_per_page}</td> |
---|
[2] | 13 | <td align="center"> |
---|
| 14 | <select name="max_emails_per_page"> |
---|
| 15 | <option {option_25_selected} value="25">25</option> |
---|
| 16 | <option {option_50_selected} value="50">50</option> |
---|
| 17 | <option {option_75_selected} value="75">75</option> |
---|
| 18 | <option {option_100_selected} value="100">100</option> |
---|
| 19 | </select> |
---|
| 20 | </td> |
---|
| 21 | </tr> |
---|
| 22 | <tr bgcolor="{tr_color2}"> |
---|
| 23 | <td>{lang_save_deleted_msg}</td> |
---|
| 24 | <td align="center"> |
---|
| 25 | <input type="checkbox" name="save_deleted_msg" value=1 {checked_save_deleted_msg}> |
---|
| 26 | </td> |
---|
| 27 | </tr> |
---|
| 28 | <tr bgcolor="{tr_color1}"> |
---|
| 29 | <td>{lang_delete_trash_messages_after_n_days}</td> |
---|
| 30 | <td align="center"> |
---|
| 31 | <select name="delete_trash_messages_after_n_days"> |
---|
[197] | 32 | <option {delete_trash_messages_option_0_selected} value="0">{lang_none}</option> |
---|
[83] | 33 | <option {delete_trash_messages_option_1_selected} value="1">{one_day}</option> |
---|
| 34 | <option {delete_trash_messages_option_2_selected} value="2">{two_days}</option> |
---|
| 35 | <option {delete_trash_messages_option_3_selected} value="3">{three_days}</option> |
---|
| 36 | <option {delete_trash_messages_option_4_selected} value="4">{four_days}</option> |
---|
| 37 | <option {delete_trash_messages_option_5_selected} value="5">{five_days}</option> |
---|
[2] | 38 | </select> |
---|
| 39 | </td> |
---|
| 40 | </tr> |
---|
[670] | 41 | {open_comment_local_messages_config} |
---|
| 42 | <tr bgcolor="{tr_color2}"> |
---|
| 43 | <td>{lang_Would_you_like_to_use_local_messages_?}</td> |
---|
| 44 | <td align="center"> |
---|
| 45 | <select name="use_local_messages" id="use_local_messages" onchange="disable_field(document.getElementById('keep_archived_messages'),'document.getElementById(\'use_local_messages\').value==\'0\'')"> |
---|
| 46 | <option {use_local_messages_option_No_selected} value="0">{lang_No}</option> |
---|
| 47 | <option {use_local_messages_option_Yes_selected} value="1">{lang_Yes}</option> |
---|
| 48 | </select> |
---|
| 49 | </td> |
---|
| 50 | </tr> |
---|
| 51 | <tr bgcolor="{tr_color1}"> |
---|
| 52 | <td>{lang_Would_you_like_to_keep_archived_messages_?}</td> |
---|
| 53 | <td align="center"> |
---|
| 54 | <select name="keep_archived_messages" id="keep_archived_messages"> |
---|
| 55 | <option {keep_archived_messages_option_No_selected} value="0">{lang_No}</option> |
---|
| 56 | <option {keep_archived_messages_option_Yes_selected} value="1">{lang_Yes}</option> |
---|
| 57 | </select> |
---|
| 58 | </td> |
---|
| 59 | </tr> |
---|
| 60 | {close_comment_local_messages_config} |
---|
[2] | 61 | <tr bgcolor="{tr_color2}"> |
---|
| 62 | <td>{lang_delete_and_show_previous_message}</td> |
---|
| 63 | <td align="center"> |
---|
| 64 | <input type="checkbox" name="delete_and_show_previous_message" value=1 {checked_delete_and_show_previous_message}> |
---|
| 65 | </td> |
---|
| 66 | </tr> |
---|
| 67 | <tr bgcolor="{tr_color1}"> |
---|
| 68 | <td>{lang_alert_new_msg}</td> |
---|
| 69 | <td align="center"> |
---|
| 70 | <input type="checkbox" name="alert_new_msg" value=1 {checked_alert_new_msg}> |
---|
| 71 | </td> |
---|
| 72 | </tr> |
---|
| 73 | <tr bgcolor="{tr_color2}"> |
---|
[197] | 74 | <td>{lang_hook_home}</td> |
---|
[2] | 75 | <td align="center"> |
---|
| 76 | <input type="checkbox" name="mainscreen_showmail" value=1 {checked_mainscreen_showmail}> |
---|
| 77 | </td> |
---|
| 78 | </tr> |
---|
| 79 | <tr bgcolor="{tr_color1}"> |
---|
| 80 | <td>{lang_save_in_folder}</td> |
---|
[325] | 81 | <td align="center"> |
---|
[2] | 82 | <select name="save_in_folder">{value_save_in_folder}</select> |
---|
| 83 | </td> |
---|
| 84 | </tr> |
---|
| 85 | <tr bgcolor="{tr_color2}"> |
---|
[197] | 86 | <td>{lang_hide_menu}</td> |
---|
[325] | 87 | <td align="center"> |
---|
[2] | 88 | <input type="checkbox" name="check_menu" value=1 {checked_menu}> |
---|
| 89 | </td> |
---|
| 90 | </tr> |
---|
| 91 | <tr bgcolor="{tr_color1}"> |
---|
| 92 | <td>{lang_line_height}</td> |
---|
| 93 | <td align="center"> |
---|
[325] | 94 | <select name="line_height"> |
---|
[83] | 95 | <option {line_height_option_20_selected} value="20">{normal}</option> |
---|
| 96 | <option {line_height_option_30_selected} value="30">{medium}</option> |
---|
[325] | 97 | <option {line_height_option_40_selected} value="40">{big}</option> |
---|
[2] | 98 | </select> |
---|
| 99 | </td> |
---|
| 100 | </tr> |
---|
| 101 | <tr bgcolor="{tr_color2}"> |
---|
| 102 | <td>{lang_font_size}</td> |
---|
| 103 | <td align="center"> |
---|
| 104 | <select name="font_size"> |
---|
[83] | 105 | <option {font_size_option_10_selected} value="10">{small}</option> |
---|
| 106 | <option {font_size_option_11_selected} value="11">{normal}</option> |
---|
[325] | 107 | <option {font_size_option_15_selected} value="15">{big}</option> |
---|
[2] | 108 | </select> |
---|
| 109 | </td> |
---|
| 110 | </tr> |
---|
| 111 | <tr bgcolor="{tr_color1}"> |
---|
[413] | 112 | <td>{lang_use_dynamic_contacts}</td> |
---|
| 113 | <td align="center"> |
---|
| 114 | <input type="checkbox" name="use_dynamic_contacts" value=1 {checked_dynamic_contacts}> |
---|
| 115 | </td> |
---|
| 116 | </tr> |
---|
| 117 | <tr bgcolor="{tr_color2}"> |
---|
[127] | 118 | <td> |
---|
[197] | 119 | {lang_use_shortcuts} |
---|
[127] | 120 | </td> |
---|
| 121 | <td align="center"> |
---|
| 122 | <input type="checkbox" name="use_shortcuts" value=1 {checked_shortcuts}> |
---|
| 123 | </td> |
---|
| 124 | </tr> |
---|
[325] | 125 | |
---|
[413] | 126 | <tr bgcolor="{tr_color1}"> |
---|
[271] | 127 | <td> |
---|
| 128 | {lang_auto_save_draft} |
---|
| 129 | </td> |
---|
| 130 | <td align="center"> |
---|
| 131 | <input type="checkbox" name="auto_save_draft" value=1 {checked_auto_save_draft}> |
---|
| 132 | </td> |
---|
| 133 | </tr> |
---|
[389] | 134 | <tr bgcolor="{th_bg}"> |
---|
| 135 | <td colspan="2" align="center">{lang_config_signature}</td> |
---|
| 136 | </tr> |
---|
[325] | 137 | <tr bgcolor="{tr_color1}"> |
---|
[320] | 138 | <td> |
---|
[325] | 139 | {lang_use_signature} |
---|
[320] | 140 | </td> |
---|
| 141 | <td align="center"> |
---|
[325] | 142 | <input type="checkbox" name="use_signature" value=1 {checked_use_signature}> |
---|
[320] | 143 | </td> |
---|
| 144 | </tr> |
---|
[127] | 145 | <tr bgcolor="{tr_color2}"> |
---|
[389] | 146 | <td valign="center"> |
---|
| 147 | {lang_type_signature} |
---|
[2] | 148 | </td> |
---|
[389] | 149 | <td align="center"> |
---|
| 150 | <select id="type_signature" name="type_signature" onChange="javascript:changeTypeSignature(this.value)"> |
---|
| 151 | <option {type_signature_option_text_selected} value="text">{simple_text}</option> |
---|
| 152 | <option {type_signature_option_html_selected} value="html">{html_text}</option> |
---|
| 153 | </select> |
---|
| 154 | </td> |
---|
[2] | 155 | </tr> |
---|
[389] | 156 | <tr bgcolor="{tr_color2}"> |
---|
| 157 | <td colspan='2' valign="center" id="td_html_signature" style="{type_signature_td_html}"> |
---|
| 158 | {rtf_signature} |
---|
| 159 | </td> |
---|
| 160 | </tr> |
---|
| 161 | <tr bgcolor="{tr_color2}"> |
---|
| 162 | <td colspan='2' align="center" id="td_text_signature" style="{type_signature_td_text}"> |
---|
| 163 | <textarea name='text_signature' rows='4' cols='70'>{text_signature}</textarea> |
---|
| 164 | </td> |
---|
| 165 | </tr> |
---|
[2] | 166 | <tr bgcolor="{th_bg}"> |
---|
| 167 | <td colspan="2" > |
---|
| 168 | <table width="100%" border="0" cellspacing="2" cellpadding="2"> |
---|
| 169 | <tr> |
---|
| 170 | <td align="left"> |
---|
[39] | 171 | <input type="button" name="cancel" value="{lang_cancel}" onClick="javascript:document.location.href = '../expressoMail1_2/index.php'"> |
---|
[2] | 172 | </td> |
---|
| 173 | <td align="right"> |
---|
| 174 | <input type="submit" name="submit" value="{lang_save}" onClick="try_saved.value='true';"> |
---|
[325] | 175 | </td> |
---|
[2] | 176 | </tr> |
---|
[325] | 177 | </td> |
---|
[2] | 178 | </tr> |
---|
| 179 | |
---|
| 180 | </table> |
---|
[389] | 181 | </center> |
---|
| 182 | <script language="JavaScript" type="text/javascript"> |
---|
[670] | 183 | disable_field(document.getElementById('keep_archived_messages'),'document.getElementById(\'use_local_messages\').value==\'0\'') |
---|
[389] | 184 | var form = document.forms[0]; |
---|
| 185 | |
---|
| 186 | function selectValues(){ |
---|
| 187 | var signature = eval("form."+form.type_signature.value+"_signature"); |
---|
| 188 | signature.name = "signature"; |
---|
| 189 | return true; |
---|
| 190 | } |
---|
| 191 | |
---|
| 192 | function changeTypeSignature(value){ |
---|
| 193 | var html_signature = FCKeditorAPI.GetInstance("html_signature"); |
---|
| 194 | |
---|
| 195 | if(value == 'text'){ |
---|
| 196 | form.text_signature.value = html_signature.GetHTML(); |
---|
| 197 | document.getElementById("td_text_signature").style.display = ''; |
---|
| 198 | document.getElementById("td_html_signature").style.display = 'none'; |
---|
| 199 | } |
---|
| 200 | else if(value == 'html'){ |
---|
| 201 | html_signature.SetHTML(form.text_signature.value); |
---|
| 202 | document.getElementById("td_text_signature").style.display = 'none'; |
---|
| 203 | document.getElementById("td_html_signature").style.display = ''; |
---|
| 204 | } |
---|
| 205 | |
---|
| 206 | } |
---|
[670] | 207 | </script> |
---|