Changeset 3026
- Timestamp:
- 07/09/10 16:11:09 (14 years ago)
- Location:
- branches/2.2/expressoMail1_2
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/expressoMail1_2/js/filter.js
r3018 r3026 276 276 * quando a caixa de seleção para manter o e-mail na caixa de entrada do usuário for selecionada 277 277 */ 278 cfilter.prototype.disable_radio3 = function() 279 { 278 cfilter.prototype.disable_radio = function() 279 { 280 radio4 = Element('radio4'); 280 281 radio3 = Element('radio3'); 282 cb2 = Element('checkBox2'); 281 283 field6 = Element('field6'); 282 cb2 = Element('checkBox2');283 284 284 285 if (cb2.checked) 285 286 { 286 287 radio3.disabled = true; 288 radio4.disabled = true; 287 289 field6.disabled = true; 288 290 … … 295 297 { 296 298 radio3.disabled = false; 299 radio4.disabled = true; 297 300 field6.disabled = false; 298 301 } … … 304 307 var form = ""; 305 308 form = "<div id='div_rule' style='display:none'><table id='table_rule' border='0' cellpading='0' cellspacing='0' width='100%'>"+ 306 "<tr><td colspan='2'><input type='checkBox' id='checkBox1' name='checkb'>"+get_lang('Also check message against next rule') + "</td></tr>"+ 307 "<tr><td colspan='2'><input type='checkBox' id='checkBox2' onclick='filter.disable_radio3();' name='checkb'>"+get_lang('Keep a copy of the message at your Inbox')+ "</td><tr>"+ 308 "<tr><td colspan='2'><hr size='1' width='100%'></td></tr><tr>"+ 309 "<td rowspan='4' width='20%'>"+get_lang('Coincident')+"<br><select id='select_rules' name='select_rules'>"+ 310 "<option value='0'>"+get_lang("with all")+"</option><option value='1'>"+get_lang("with some")+"</option>"+ 311 "</select></td><td>"+get_lang('The field \"%1\" of the message it contains',get_lang('From'))+".: <input type='text' id='field1' name='field1' size='35' maxlength='200'></td>"+ 309 "<tr><td colspan='2'><b>"+get_lang("Criteria")+":</b></td></tr><tr>"+ 310 "<td rowspan='4' width='20%'>"+get_lang('Find items')+":<br><select id='select_rules' name='select_rules'>"+ 311 "<option value='1'>"+get_lang("If any criterion is met")+"</option><option value='0'>"+get_lang("If all criteria is met")+"</option>"+ 312 "</select></td><td>"+get_lang('The field \"%1\" of the message it contains',get_lang('From'))+".: <input type='text' id='field1' name='field1' size='35' maxlength='200'></td>"+ 312 313 "</tr><tr><td>"+get_lang('The field \"%1\" of the message it contains', get_lang('To'))+".: <input type='text' id='field2' name='field2' size='35' maxlength='200'></td>"+ 313 314 "</tr><tr><td>"+get_lang('The field \"%1\" of the message it contains', get_lang('Subject'))+".: <input type='text' id='field3' name='field3' size='35' maxlength='200'></td>"+ 314 315 "</tr><tr><td>"+get_lang('The size of the message is')+".:  <select id='select_size' name='select_size'>"+ 315 "<option value=' 0'>"+get_lang("Less than")+"</option><option value='1'>"+get_lang("Greater than")+"</option>"+316 "<option value='1'>"+get_lang("Greater than")+"</option><option value='0'>"+get_lang("Less than")+"</option>"+ 316 317 "</select> <input type='text' id='field4' name='field4' size='8' maxlength='8'> Kb</td>"+ 317 "</tr><tr><td colspan='2'><hr size='1' width='100%'>< /td></tr>"+318 "</tr><tr><td colspan='2'><hr size='1' width='100%'><b>"+get_lang("Action")+":</b></td></tr>"+ 318 319 "</table><table id='table_rule1' border='0' cellpading='0' cellspacing='0' width='100%'>"+ 319 "<tr><td width='50%'><input type='radio' id='radio1' name='radio' value='folder'>"+get_lang('Store at')+".:</td>"+ 320 "<tr><td colspan='2'><input type='checkBox' id='checkBox2' onclick='filter.disable_radio();' name='checkb'>"+get_lang('Keep a copy of the message at your Inbox')+ "</td><tr>"+ 321 "<tr><td width='50%'><input type='radio' id='radio1' name='radio' value='folder'>"+get_lang('Store at')+".:</td>"+ 320 322 "<td width='50%'><select id='select_mailboxes' name='select_mailboxes'></select></td>"+ 321 323 "</tr><tr><td width='50%'><input type='radio' id='radio2' name='radio' value='address'>"+get_lang('Forward to the address')+".:</td>"+ -
branches/2.2/expressoMail1_2/js/filters.js
r3018 r3026 146 146 147 147 cfilterSh.prototype.vl_rule = function(rule,pos,type) 148 { 149 var fields = rule.split("&&"); 150 if(type == 'voip') 151 return " <a href='javascript:void(0)' onclick=filter.form_r('"+pos+"','voip')><b>" + get_lang("Status") + " : </b>" + "<font color='red'>" + get_lang(fields[2]) + "</font>" + " - " + fields[3] + " <b>" + get_lang("Subject") + ":</b> " + fields[5] + "</a>"; 152 else 153 return " <a href='javascript:void(0)' onclick=filter.form_r('"+pos+"','')><b>" + get_lang("Status") + " : </b>" + "<font color='red'>" + get_lang(fields[2]) + "</font>" + " - <b>" + get_lang("E-mail rule") + ":</b> " + fields[3] + " - <b>" + get_lang("Action") + ":</b> " + fields[6] + "</a>"; 154 } 148 { 149 var fields = rule.split("&&"); 150 if(type == 'voip') 151 return " <a href='javascript:void(0)' onclick=filter.form_r('"+pos+"','voip')><b>" + get_lang("Status") + " : </b>" + "<font color='red'>" + get_lang(fields[2]) + "</font>" + " - " + fields[3] + " <b>" + get_lang("Subject") + ":</b> " + fields[5] + "</a>"; 152 else{ 153 154 var _criteria = " "; 155 if (fields[3].length > 0) 156 _criteria = "<b>"+get_lang("is from")+"</b>:"+fields[3]; 157 if (fields[4].length > 0) 158 _criteria += "<b>"+get_lang("is to")+"</b>:"+fields[4]; 159 if (fields[5].length > 0) 160 _criteria += "<b>"+get_lang("subject is")+"</b>:"+fields[5]; 161 if (parseInt(fields[11]) > 0) 162 { 163 if(fields[8] == "2") 164 _criteria += "<b>"+get_lang("size is over than")+"</b>:"+fields[11]; 165 else 166 _criteria += "<b>"+get_lang("size is under than")+"</b>:"+fields[11]; 167 } 168 var _action = " "; 169 if (fields[6] == 'folder') 170 _action = get_lang("Store at")+" "+(fields[7].split("/"))[1]; 171 else 172 _action = get_lang(fields[6]); 173 174 return " <a href='javascript:void(0)' onclick=filter.form_r('"+pos+"','')><b>" + get_lang("Status") + " : </b>" + "<font color='red'>" + get_lang(fields[2]) + "</font>" + " - <b>" + get_lang("if email") + " </b>" + _criteria + " - <b>" + get_lang("Action") + ":</b> " + _action + "</a>"; 175 } 176 } 155 177 156 178 cfilterSh.prototype.vl_outOffice = function(outOffice){ -
branches/2.2/expressoMail1_2/setup/phpgw_pt-br.lang
r3021 r3026 187 187 Hide details expressoMail1_2 pt-br Ocultar detalhes 188 188 Show details expressoMail1_2 pt-br Mostrar detalhes 189 if email expressoMail1_2 pt-br Se o email 190 is from expressoMail1_2 pt-br é de 191 is to expressoMail1_2 pt-br é para 192 subject is expressoMail1_2 pt-br tem assunto 193 reject expressoMail1_2 pt-br Rejeitar 194 discard expressoMail1_2 pr-br Descartar 189 195 Hide options expressoMail1_2 pt-br Ocultar opções 190 196 Hide Search expressoMail1_2 pt-br Ocultar Pesquisa 197 size is over than expressoMail1_2 pt-br tem tamanho maior que 198 size is under than expressoMail1_2 pt-br tem tamanho menor que 199 Criteria expressoMail1_2 pt-br Critério 200 Find items expressoMail1_2 pt-br Processar mensagens 201 if any criterion is met expressoMail1_2 pt-br Se algum critério for atendido 202 if all criteria is met expressoMail1_2 pt-br Se todos os critérios forem atendidos 191 203 hlp_msg_addcreate_acl expressoMail1_2 pt-br Outros usuários poderão CRIAR/ADICIONAR novas mensagens 192 204 hlp_msg_delmov_acl expressoMail1_2 pt-br Outros usuários poderão APAGAR/MOVER suas mensagens -
branches/2.2/expressoMail1_2/templates/default/main.css
r3021 r3026 48 48 .tr_msg_read2 { 49 49 color: #3f3f3f; 50 background-color: # f4f8fb;50 background-color: #DEE8F0; 51 51 -moz-user-select: none; 52 52 }
Note: See TracChangeset
for help on using the changeset viewer.