Ignore:
Timestamp:
08/13/07 17:18:06 (17 years ago)
Author:
niltonneto
Message:

Vide change_log.txt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/js/filter.js

    r41 r53  
    228228                        var form   = ""; 
    229229                        form       = "<div id='div_rule' style='display:none'><table id='table_rule' border='0' cellpading='0' cellspacing='0' width='100%'>"+ 
    230                                                  "<tr><td colspan='2'><input type='checkBox' id='checkBox1' name='checkb'>"+get_lang('To also check message against next rule') + "</td></tr>"+ 
    231                                                  "<tr><td colspan='2'><input type='checkBox' id='checkBox2' name='checkb'>"+get_lang('To keep a copy of the message in its Box of Entrance')+ "</td><tr>"+ 
     230                                                 "<tr><td colspan='2'><input type='checkBox' id='checkBox1' name='checkb'>"+get_lang('Also check message against next rule') + "</td></tr>"+ 
     231                                                 "<tr><td colspan='2'><input type='checkBox' id='checkBox2' name='checkb'>"+get_lang('Keep a copy of the message at your Inbox')+ "</td><tr>"+ 
    232232                                                 "<tr><td colspan='2'><hr size='1' width='100%'></td></tr><tr>"+ 
    233233                                                 "<td rowspan='4' width='20%'>"+get_lang('Coincident')+"<br><select id='select_rules' name='select_rules'>"+ 
     
    241241                                                 "</tr><tr><td colspan='2'><hr size='1' width='100%'></td></tr>"+ 
    242242                                                 "</table><table id='table_rule1' border='0' cellpading='0' cellspacing='0' width='100%'>"+ 
    243                                                  "<tr><td width='50%'><input type='radio' id='radio1' name='radio' value='folder'>"+get_lang('To file')+".:</td>"+ 
     243                                                 "<tr><td width='50%'><input type='radio' id='radio1' name='radio' value='folder'>"+get_lang('Store at')+".:</td>"+ 
    244244                                                 "<td width='50%'><select id='select_mailboxes' name='select_mailboxes'></select></td>"+ 
    245                                                  "</tr><tr><td width='50%'><input type='radio' id='radio2' name='radio' value='address'>"+get_lang('It directs for the address')+".:</td>"+ 
     245                                                 "</tr><tr><td width='50%'><input type='radio' id='radio2' name='radio' value='address'>"+get_lang('Forward to the address')+".:</td>"+ 
    246246                                                 "<td width='50%'><input type='text' id='field5' name='field5' size='35' maxlength='70'></td>"+ 
    247                                                  "</tr><tr><td width='50%'><input type='radio' id='radio3' name='radio' value='reject'>"+get_lang('It sends a rejection message')+".:</td>"+ 
     247                                                 "</tr><tr><td width='50%'><input type='radio' id='radio3' name='radio' value='reject'>"+get_lang('Send a rejection message')+".:</td>"+ 
    248248                                                 "<td width='50%'><textarea id='field6' name='field6' rows='3' cols='25'></textarea></td>"+ 
    249                                                  "</tr><tr><td colspan='2'><input type='radio' id='radio4' name='radio' value='discard'>"+get_lang('It erases the message')+"</td>"+ 
     249                                                 "</tr><tr><td colspan='2'><input type='radio' id='radio4' name='radio' value='discard'>"+get_lang('Erase the message')+"</td>"+ 
    250250                                                 "</tr></table></div><div id='div_vacation' style='display:none'>"+ 
    251251                                                 "<table id='table_vacation' border='0' cellpading='0' cellspacing='0' width='100%'>"+ 
    252                                                  "<tr><td width='40%' valign='top'>"+get_lang('To answer messages sent')+":<select multiple id='select_1' name='select_1' size='6' style='width:250px'></select></td>"+ 
     252                                                 "<tr><td width='40%' valign='top'>"+get_lang('Reply sent messages to')+":<select multiple id='select_1' name='select_1' size='6' style='width:250px'></select></td>"+ 
    253253                                                 "<td width='8%'><table border='0' cellpading='0' cellspacing='0' width='100%'>"+ 
    254254                                                 "<tr><td align='right' valign='top'><br><a href=javascript:void(0) onclick='filter.box_select(0);'><<</a> <br><br></td>"+ 
     
    256256                                                 "</tr></table></td><td width='52%' valign='top'>"+get_lang('Emails of the account')+":<br><select multiple id='select_2' name='select_2' size='6' style='width:250px'></select>"+ 
    257257                                                 "</td></tr><tr><td colspan='3'><hr size='1' width='100%'></td>"+ 
    258                                                  "</tr><tr><td colspan='3'>"+get_lang('During (days are of the office)')+": <input type='text' id='select_days' size='3'> "+get_lang('day(s)')+"</td>"+ 
     258                                                 "</tr><tr><td colspan='3'>"+get_lang('During (days off the office)')+": <input type='text' id='select_days' size='3'> "+get_lang('day(s)')+"</td>"+ 
    259259                                                 "</tr><tr><td colspan='3'><hr size='1' width='100%'></td></tr><tr><td colspan='3'>"+get_lang('With the following message')+".:</td>"+ 
    260260                                                 "</tr><tr><td colspan='3'><textarea id='field8' rows='3' cols='50'></textarea></td></tr></table></div>"+ 
    261                                                  "<span align='right'><input type='button' value="+get_lang("to come back")+" onclick='filter.form_m()'></span>"+ 
    262                                                  "<span align='right'><input type='button' value="+get_lang("to save")+" onclick='filter.saved_rules()'></span>";                                                 
     261                                                 "<span align='right'><input type='button' value="+get_lang("to go back")+" onclick='filter.form_m()'></span>"+ 
     262                                                 "<span align='right'><input type='button' value="+get_lang("Save")+" onclick='filter.saved_rules()'></span>";                                            
    263263                return form; 
    264264        } 
     
    316316                var emailReg = /^[a-z][a-z-_0-9\.]+@[a-z-_=>0-9\.]+\.[a-z]{2,3}$/i 
    317317        if(!emailReg.test(email)){ 
    318                         alert(get_lang("It informs a valid email!")); 
     318                        alert(get_lang("Inform a valid e-mail!")); 
    319319                        return false; 
    320320                } 
     
    404404                        if(LTrim(Element("field1").value) == "" && LTrim(Element("field2").value) == "" && LTrim(Element("field3").value) == "" && Element("field4").value == "") 
    405405                        { 
    406                                 alert(get_lang("It defines criteria for the fields From, To and Subject with more than 3 characters!")); 
     406                                alert(get_lang("Define some criterion to the fields From, To and Subject with more than 3 characters!")); 
    407407                                return false; 
    408408                        } 
    409409 
    410410                        if((LTrim(Element("field1").value).length <= 3) && (LTrim(Element("field2").value).length <= 3) && (LTrim(Element("field3").value).length <= 3 && Element("field4").value == "")){ 
    411                                 alert(get_lang("It defines criteria for the fields From, To and Subject with more than 3 characters!")); 
     411                                alert(get_lang("Define some criterion to the fields From, To and Subject with more than 3 characters!")); 
    412412                                return false; 
    413413                        } 
     
    424424                                mount_rule += "address&&"; 
    425425                                if(Element("field5").value == ""){ 
    426                                         alert(get_lang("It informs a guiding email!")); 
     426                                        alert(get_lang("Inform a forwarding e-mail!")); 
    427427                                        return false; 
    428428                                }else{ 
     
    431431                                                mount_rule += Element("field5").value + "&&"; 
    432432                                        }else{ 
    433                                                 alert(get_lang("It informs a valid email!")); 
     433                                                alert(get_lang("Inform a valid e-mail!")); 
    434434                                                return false; 
    435435                                        } 
     
    440440                                mount_rule += "reject&&"; 
    441441                                if(Element("field6").value == ""){ 
    442                                         alert(get_lang("It informs a text for rejection!")); 
     442                                        alert(get_lang("Inform a text for rejection!")); 
    443443                                        return false; 
    444444                                }else{ 
     
    452452                        } 
    453453                        if(!v_checked){ 
    454                                 alert(get_lang("No option was not marked!")); 
     454                                alert(get_lang("No option marked!")); 
    455455                                return false; 
    456456                        } 
     
    481481                                        mount_rule += fld_days.value + "&&"; 
    482482                                }else{ 
    483                                         alert(get_lang("It informs between 1 and 31!")); 
     483                                        alert(get_lang("Inform between 1 and 31!")); 
    484484                                        return false; 
    485485                                } 
    486486                        }else{ 
    487                                 alert(get_lang("It informs the days!")); 
     487                                alert(get_lang("Inform the days!")); 
    488488                                return false; 
    489489                        } 
     
    496496                                mount_rule += fld_men.value + "&&on "; 
    497497                        }else{ 
    498                                 alert(get_lang("It informs email(s) for guiding!")); 
     498                                alert(get_lang("Inform the forwarding e-mail(s)!")); 
    499499                                return false; 
    500500                        } 
    501501                        if(LTrim(fld_men.value) == ""){ 
    502                                 alert(get_lang("It informs a message!")); 
     502                                alert(get_lang("Inform a message!")); 
    503503                                return false; 
    504504                        } 
Note: See TracChangeset for help on using the changeset viewer.