Ignore:
Timestamp:
04/27/10 09:54:22 (14 years ago)
Author:
rodsouza
Message:

Ticket #1009 - Mitigando problema com escopo do dominio.

Location:
trunk/expressoMail1_2/js
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/js/jscode/InfoContact.js

    r2572 r2630  
    1111emInfoContact.prototype.createCard = function(){ 
    1212        var pic= new Image();  
    13         pic.src=URL_SERVER + "/expressoMail1_2/templates/"+template+"/images/card.gif";  
     13        pic.src=URL_SERVER + "expressoMail1_2/templates/"+template+"/images/card.gif";  
    1414        card = document.createElement("DIV"); 
    1515        card.id = "card_cc"; 
     
    9191        Element("card_cc_td").innerHTML = "<table cellpadding=0 cellspacing=0 border=0 height='100%' width='100%'><tr><td width='70' height='93' style='padding-top:5px;padding-left:6px' align='center' valign='center'>"+ 
    9292                                                                                "<img src='./inc/show_img.php?email="+data.email+"'></td><td style='padding-left:2px' align='left' valign='top'>"+ 
    93                                                                                 "<br><img align='center' src='"+URL_SERVER+"/expressoMail1_2/templates/"+template+"/images/"+(data.type)+"_catalog.png'><font size=1 color=BLACK>&nbsp;<b>"+get_lang("Sender's Information")+"</b></font>"+ 
     93                                                                                "<br><img align='center' src='"+URL_SERVER+"expressoMail1_2/templates/"+template+"/images/"+(data.type)+"_catalog.png'><font size=1 color=BLACK>&nbsp;<b>"+get_lang("Sender's Information")+"</b></font>"+ 
    9494                                                                                _this.verifyIM(data.uid,data.email)+ 
    95                                                                                 "<br><img align='center' src='"+URL_SERVER+"/expressoMail1_2/templates/"+template+"/images/phone.gif'>&nbsp;<font  size=1  color=BLACK>"+(phoneUser ? phoneUser : get_lang("None") )+"</font>"+ 
     95                                                                                "<br><img align='center' src='"+URL_SERVER+"expressoMail1_2/templates/"+template+"/images/phone.gif'>&nbsp;<font  size=1  color=BLACK>"+(phoneUser ? phoneUser : get_lang("None") )+"</font>"+ 
    9696                                                                                "</td></tr><tr><td valign='top' align='center' colspan='2'>"+ 
    9797                                                                                "<font size=1 color=BLACK>"+cn+"</font>"+ 
  • trunk/expressoMail1_2/js/jscode/abas.js

    r2579 r2630  
    140140                borderTitle = borderTitle.substring(0, resize*0.08); 
    141141 
    142         td.innerHTML = "<table width=100% border=0 cellspacing=0 cellpadding=0><tr><td id=font_border_id_" + ID+" class='font-menu' width=*>" + borderTitle + "</td><td width=1px><img onmousedown='javascript:return false' style='cursor:pointer' onclick=delete_border('" + ID + "','false') src='"+URL_SERVER+"/expressoMail1_2/templates/"+template+"/images/close_button.gif'></td></tr></table>"; 
     142        td.innerHTML = "<table width=100% border=0 cellspacing=0 cellpadding=0><tr><td id=font_border_id_" + ID+" class='font-menu' width=*>" + borderTitle + "</td><td width=1px><img onmousedown='javascript:return false' style='cursor:pointer' onclick=delete_border('" + ID + "','false') src='"+URL_SERVER+"expressoMail1_2/templates/"+template+"/images/close_button.gif'></td></tr></table>"; 
    143143 
    144144        bb = document.getElementById("border_blank"); 
  • trunk/expressoMail1_2/js/jscode/doiMenuData.js

    r2579 r2630  
    1 _icon_dir = URL_SERVER + '/expressoMail1_2/templates/'+template+'/images/menu/'; 
     1_icon_dir = URL_SERVER + 'expressoMail1_2/templates/'+template+'/images/menu/'; 
    22 
    33function ConstructMenuTools(){ 
  • trunk/expressoMail1_2/js/jscode/drag_area.js

    r2572 r2630  
    2323        this.div_dd.style.display ='none'; 
    2424        this.envelope = new Image(); 
    25         this.envelope.src = URL_SERVER + "/expressoMail1_2/templates/"+template+"/images/envelope.png"; 
     25        this.envelope.src = URL_SERVER + "expressoMail1_2/templates/"+template+"/images/envelope.png"; 
    2626        document.body.appendChild(this.div_dd); 
    2727 
  • trunk/expressoMail1_2/js/jscode/draw_api_folders.js

    r2628 r2630  
    8080        td_element5.align = "center"; 
    8181        td_element5.innerHTML = "<B>"+get_lang("Date")+"</B>";   
    82         td_element5.innerHTML += '<img src ="' + URL_SERVER + '/expressoMail1_2/templates/'+template+'/images/arrow_descendant.gif">'; 
     82        td_element5.innerHTML += '<img src ="' + URL_SERVER + 'expressoMail1_2/templates/'+template+'/images/arrow_descendant.gif">'; 
    8383        td_element6 = document.createElement("TD"); 
    8484        td_element6.setAttribute("width", "10%"); 
     
    206206 
    207207        var sm_envelope_img1 = '<img style="cursor:'+ (is_ie ? 'hand' : 'pointer') +'" title="' + get_lang("Add Contact") + 
    208                 '" onclick="ccQuickAddOne.showList(\''+cc_data+'\')" src="' + URL_SERVER + '/expressoMail1_2/templates/'+template+'/images/user_card.png">'; 
     208                '" onclick="ccQuickAddOne.showList(\''+cc_data+'\')" src="' + URL_SERVER + 'expressoMail1_2/templates/'+template+'/images/user_card.png">'; 
    209209        var to_addybook_add = "<SPAN id='insert_plugin_"+idx_cc+"_"+ID+"'>"; 
    210210        to_addybook_add += addrs; 
     
    251251                td21.height="15"; 
    252252                td22 = document.createElement("TD");     
    253                 td21.setAttribute("background", URL_SERVER + '/phpgwapi/templates/' + template + '/images/dsunused.gif'); 
     253                td21.setAttribute("background", URL_SERVER + 'phpgwapi/templates/' + template + '/images/dsunused.gif'); 
    254254                table221 = document.createElement("TABLE"); 
    255255                tbody221 = document.createElement("TBODY"); 
     
    271271                } 
    272272                else if(value > 80) 
    273                         td221.setAttribute("background", URL_SERVER + '/expressoMail1_2/templates/' + template + '/images/dswarn.gif'); 
     273                        td221.setAttribute("background", URL_SERVER + 'expressoMail1_2/templates/' + template + '/images/dswarn.gif'); 
    274274                else 
    275275                        td221.className = 'dsused'; 
     
    633633 
    634634if (trash_span) 
    635         trash_span.style.backgroundImage="url(" + URL_SERVER + "/phpgwapi/templates/"+template+"/images/foldertree_trash.png)"; 
     635        trash_span.style.backgroundImage="url(" + URL_SERVER + "phpgwapi/templates/"+template+"/images/foldertree_trash.png)"; 
    636636 
    637637if (draft_span) 
    638         draft_span.style.backgroundImage="url(" + URL_SERVER + "/phpgwapi/templates/"+template+"/images/foldertree_draft.png)"; 
     638        draft_span.style.backgroundImage="url(" + URL_SERVER + "phpgwapi/templates/"+template+"/images/foldertree_draft.png)"; 
    639639 
    640640if (sent_span) 
    641         sent_span.style.backgroundImage="url(" + URL_SERVER + "/phpgwapi/templates/"+template+"/images/foldertree_sent.png)"; 
     641        sent_span.style.backgroundImage="url(" + URL_SERVER + "phpgwapi/templates/"+template+"/images/foldertree_sent.png)"; 
    642642 
    643643if (spam_span) 
    644         spam_span.style.backgroundImage="url(" + URL_SERVER + "/phpgwapi/templates/"+template+"/images/foldertree_spam.png)"; 
     644        spam_span.style.backgroundImage="url(" + URL_SERVER + "phpgwapi/templates/"+template+"/images/foldertree_spam.png)"; 
    645645 
    646646 
     
    759759                        } 
    760760                } 
    761                 expresso.connector.newRequest('error.html', URL_SERVER + '/expressoMail1_2/templates/'+template+'/error.html', 'GET', 
     761                expresso.connector.newRequest('error.html', URL_SERVER + 'expressoMail1_2/templates/'+template+'/error.html', 'GET', 
    762762                                function(data) 
    763763                                { 
     
    920920        td_element2.setAttribute("width", "2%"); 
    921921        if (headers_msgs.attachment && headers_msgs.attachment.number_attachments > 0) 
    922                 td_element2.innerHTML = '<img src ="' + URL_SERVER + '/expressoMail1_2/templates/'+template+'/images/clip.gif" title="' + url_decode(headers_msgs.attachment.names) + '">';                      
     922                td_element2.innerHTML = '<img src ="' + URL_SERVER + 'expressoMail1_2/templates/'+template+'/images/clip.gif" title="' + url_decode(headers_msgs.attachment.names) + '">';                       
    923923 
    924924        td_element21 = document.createElement("TD"); 
     
    932932                { 
    933933                        if (url_decode(attach_name[item]) != 'smime.p7s' && url_decode(attach_name[item]) != 'smime.p7m'){ 
    934                                 td_element21.innerHTML = '<img src ="' + URL_SERVER + '/expressoMail1_2/templates/'+template+'/images/clip.gif" title="' + url_decode(attach_name[item]) + '">'; 
     934                                td_element21.innerHTML = '<img src ="' + URL_SERVER + 'expressoMail1_2/templates/'+template+'/images/clip.gif" title="' + url_decode(attach_name[item]) + '">'; 
    935935                                break; 
    936936                        } 
     
    939939 
    940940        if ((headers_msgs.Forwarded == 'F')  || (headers_msgs.Draft == 'X' && headers_msgs.Answered == 'A')){ 
    941                 td_element21.innerHTML = '<img src ="' + URL_SERVER + '/expressoMail1_2/templates/'+template+'/images/forwarded.gif" title="'+get_lang('Forwarded')+'">'; 
     941                td_element21.innerHTML = '<img src ="' + URL_SERVER + 'expressoMail1_2/templates/'+template+'/images/forwarded.gif" title="'+get_lang('Forwarded')+'">'; 
    942942                headers_msgs.Draft = ''; 
    943943                headers_msgs.Answered = ''; 
     
    945945        } 
    946946        else if (headers_msgs.Draft == 'X') 
    947                 td_element21.innerHTML = '<img src ="' + URL_SERVER + '/expressoMail1_2/templates/'+template+'/images/draft.gif" title="'+get_lang('Draft')+'">'; 
     947                td_element21.innerHTML = '<img src ="' + URL_SERVER + 'expressoMail1_2/templates/'+template+'/images/draft.gif" title="'+get_lang('Draft')+'">'; 
    948948        else if (headers_msgs.Answered == 'A') 
    949                 td_element21.innerHTML = '<img src ="' + URL_SERVER + '/expressoMail1_2/templates/'+template+'/images/answered.gif" title="'+get_lang('Answered')+'">'; 
     949                td_element21.innerHTML = '<img src ="' + URL_SERVER + 'expressoMail1_2/templates/'+template+'/images/answered.gif" title="'+get_lang('Answered')+'">'; 
    950950        else 
    951951                td_element21.innerHTML = "&nbsp;&nbsp;&nbsp;"; 
     
    963963                case "signature": 
    964964                { 
    965                         td_element22.innerHTML = '<img src ="' + URL_SERVER + '/expressoMail1_2/templates/'+template+'/images/signed_msg.gif" title="' + get_lang('Signed message') + '">'; 
     965                        td_element22.innerHTML = '<img src ="' + URL_SERVER + 'expressoMail1_2/templates/'+template+'/images/signed_msg.gif" title="' + get_lang('Signed message') + '">'; 
    966966                        break; 
    967967                } 
    968968                case "cipher": 
    969969                { 
    970                         td_element22.innerHTML = '<img src ="' + URL_SERVER + '/expressoMail1_2/templates/'+template+'/images/lock.gif" title="' + get_lang('Crypted message') + '">'; 
     970                        td_element22.innerHTML = '<img src ="' + URL_SERVER + 'expressoMail1_2/templates/'+template+'/images/lock.gif" title="' + get_lang('Crypted message') + '">'; 
    971971                        break; 
    972972                } 
     
    984984        if (headers_msgs.Flagged == 'F' || (headers_msgs.Importance.toLowerCase().indexOf("high") != -1 && parseInt(preferences.use_important_flag))) 
    985985        { 
    986                 td_element23.innerHTML = '<img src ="' + URL_SERVER + '/expressoMail1_2/templates/'+template+'/images/important.gif" title="'+get_lang('Important')+'">'; 
     986                td_element23.innerHTML = '<img src ="' + URL_SERVER + 'expressoMail1_2/templates/'+template+'/images/important.gif" title="'+get_lang('Important')+'">'; 
    987987        } 
    988988        else 
     
    996996        // preload image 
    997997        var _img_sent = new Image(); 
    998         _img_sent.src    = URL_SERVER + '/expressoMail1_2/templates/'+template+'/images/sent.gif'; 
     998        _img_sent.src    = URL_SERVER + 'expressoMail1_2/templates/'+template+'/images/sent.gif'; 
    999999 
    10001000        td_element3 = document.createElement("TD"); 
     
    10151015                else{                            
    10161016                        if(headers_msgs.to.email != null && headers_msgs.to.email.toLowerCase() != Element("user_email").value) 
    1017                                 td_element24.innerHTML = '<img valign="center" src ="' + URL_SERVER + '/expressoMail1_2/templates/'+template+'/images/sent.gif" title="'+get_lang('Sent')+'">'; 
     1017                                td_element24.innerHTML = '<img valign="center" src ="' + URL_SERVER + 'expressoMail1_2/templates/'+template+'/images/sent.gif" title="'+get_lang('Sent')+'">'; 
    10181018 
    10191019                        if ((headers_msgs.to)&&(headers_msgs.to.name != null)) 
  • trunk/expressoMail1_2/js/jscode/draw_api_messages.js

    r2624 r2630  
    7777        document.getElementById("message_header_SORTARRIVAL_"+numBox).innerHTML = get_lang("Date"); 
    7878        document.getElementById("message_header_SORTSIZE_"+numBox).innerHTML    = get_lang("Size");      
    79         document.getElementById("message_header_"+(sort_box_type.lastIndexOf("SORT") != "-1" ? sort_box_type : "SORTARRIVAL")+"_"+numBox ).innerHTML = "<B>"+type_name+'</B><img src ="' + URL_SERVER + '/expressoMail1_2/templates/'+template+'/images/arrow_'+(sort_box_reverse == 1 ? 'desc' : 'asc')+'endant.gif">'; 
     79        document.getElementById("message_header_"+(sort_box_type.lastIndexOf("SORT") != "-1" ? sort_box_type : "SORTARRIVAL")+"_"+numBox ).innerHTML = "<B>"+type_name+'</B><img src ="' + URL_SERVER + 'expressoMail1_2/templates/'+template+'/images/arrow_'+(sort_box_reverse == 1 ? 'desc' : 'asc')+'endant.gif">'; 
    8080} 
    8181function draw_message(info_msg, ID){ 
     
    9595        var img_next_msg = document.createElement("IMG"); 
    9696        img_next_msg.id = 'msg_opt_next_' + ID; 
    97         img_next_msg.src = URL_SERVER + '/expressoMail1_2/templates/'+template+'/images/down.button.png'; 
     97        img_next_msg.src = URL_SERVER + 'expressoMail1_2/templates/'+template+'/images/down.button.png'; 
    9898        img_next_msg.title = get_lang('Next'); 
    9999        img_next_msg.style.cursor = 'pointer'; 
     
    125125                else 
    126126                { 
    127                         img_next_msg.src = URL_SERVER + '/expressoMail1_2/templates/'+template+'/images/down.gray.button.png'; 
     127                        img_next_msg.src = URL_SERVER + 'expressoMail1_2/templates/'+template+'/images/down.gray.button.png'; 
    128128                        img_next_msg.style.cursor = 'default'; 
    129129 
     
    132132        else 
    133133        { 
    134                 img_next_msg.src = URL_SERVER + '/expressoMail1_2/templates/'+template+'/images/down.gray.button.png'; 
     134                img_next_msg.src = URL_SERVER + 'expressoMail1_2/templates/'+template+'/images/down.gray.button.png'; 
    135135                img_next_msg.style.cursor = 'default'; 
    136136                if (!proxy_mensagens.is_local_folder(get_current_folder()) && !(info_msg.msg_folder == "INBOX/decifradas")) // testa se a mensagem e local 
     
    151151        var img_previous_msg = document.createElement("IMG"); 
    152152        img_previous_msg.id = 'msg_opt_previous_' + ID; 
    153         img_previous_msg.src = URL_SERVER + '/expressoMail1_2/templates/'+template+'/images/up.button.png'; 
     153        img_previous_msg.src = URL_SERVER + 'expressoMail1_2/templates/'+template+'/images/up.button.png'; 
    154154        img_previous_msg.title = get_lang('Previous'); 
    155155        img_previous_msg.style.cursor = 'pointer'; 
     
    180180                else 
    181181                { 
    182                         img_previous_msg.src = URL_SERVER + '/expressoMail1_2/templates/'+template+'/images/up.gray.button.png'; 
     182                        img_previous_msg.src = URL_SERVER + 'expressoMail1_2/templates/'+template+'/images/up.gray.button.png'; 
    183183                        img_previous_msg.style.cursor = 'default'; 
    184184                } 
     
    186186        else 
    187187        { 
    188                 img_previous_msg.src = URL_SERVER + '/expressoMail1_2/templates/'+template+'/images/up.gray.button.png'; 
     188                img_previous_msg.src = URL_SERVER + 'expressoMail1_2/templates/'+template+'/images/up.gray.button.png'; 
    189189                img_previous_msg.style.cursor = 'default'; 
    190190                if (!proxy_mensagens.is_local_folder(get_current_folder()) && !(info_msg.msg_folder == "INBOX/decifradas")) // testa se a mensagem e local 
     
    235235        td.innerHTML = _name.bold() + ', ' + info_msg.smalldate; 
    236236        if (info_msg.attachments.length > 0) 
    237                 td.innerHTML += "&nbsp<img style='cursor:pointer' onclick='javascript:Element(\"option_hide_more_"+ID+"\").onclick()' src ='" + URL_SERVER + "/expressoMail1_2/templates/"+template+"/images/clip.gif' title='"+info_msg.attachments.names+"'>"; 
     237                td.innerHTML += "&nbsp<img style='cursor:pointer' onclick='javascript:Element(\"option_hide_more_"+ID+"\").onclick()' src ='" + URL_SERVER + "expressoMail1_2/templates/"+template+"/images/clip.gif' title='"+info_msg.attachments.names+"'>"; 
    238238 
    239239        if (typeof(info_msg.signature) == 'string') 
    240240        {        
    241241                if (info_msg.signature != "void") 
    242                         td.innerHTML += '&nbsp;<img style="cursor:pointer" onclick="alert(\''+ get_lang("This message is signed, and you can trust.") + info_msg.signature +'\');" src="' + URL_SERVER + '/expressoMail1_2/templates/'+template+'/images/signed.gif">'; 
     242                        td.innerHTML += '&nbsp;<img style="cursor:pointer" onclick="alert(\''+ get_lang("This message is signed, and you can trust.") + info_msg.signature +'\');" src="' + URL_SERVER + 'expressoMail1_2/templates/'+template+'/images/signed.gif">'; 
    243243                else 
    244                         td.innerHTML += "&nbsp;<img style='cursor:pointer' onclick='alert(\""+get_lang("This message is signed, but it is invalid. You should not trust on it.")+"\");' title='"+get_lang("Voided message")+"' src='" + URL_SERVER + "/expressoMail1_2/templates/"+template+"/images/invalid.gif'>"; 
     244                        td.innerHTML += "&nbsp;<img style='cursor:pointer' onclick='alert(\""+get_lang("This message is signed, but it is invalid. You should not trust on it.")+"\");' title='"+get_lang("Voided message")+"' src='" + URL_SERVER + "expressoMail1_2/templates/"+template+"/images/invalid.gif'>"; 
    245245        } 
    246246 
    247247        if (info_msg.DispositionNotificationTo) 
    248248        { 
    249                 td.innerHTML += '&nbsp;<img style="cursor:pointer" alt="'+ get_lang('Message with read notification') + '" title="'+ get_lang('Message with read notification') + '" src="' + URL_SERVER + '/expressoMail1_2/templates/'+template+'/images/notification.gif">'; 
     249                td.innerHTML += '&nbsp;<img style="cursor:pointer" alt="'+ get_lang('Message with read notification') + '" title="'+ get_lang('Message with read notification') + '" src="' + URL_SERVER + 'expressoMail1_2/templates/'+template+'/images/notification.gif">'; 
    250250        } 
    251251 
     
    319319                option_reply_options.id = 'msg_opt_reply_options_'+ID; 
    320320                option_reply_options.onmouseover = function(){ 
    321                                 option_reply_options.src= URL_SERVER+'/expressoMail1_2/templates/default/images/over.png'; 
     321                                option_reply_options.src= URL_SERVER+'expressoMail1_2/templates/default/images/over.png'; 
    322322                }; 
    323323                option_reply_options.onmouseout = function(){ 
    324324                        if (this.value == 'show') 
    325325                        { 
    326                                 option_reply_options.src= URL_SERVER+'/expressoMail1_2/templates/default/images/down.png'; 
     326                                option_reply_options.src= URL_SERVER+'expressoMail1_2/templates/default/images/down.png'; 
    327327                        } 
    328328                        else 
    329329                        { 
    330                                 option_reply_options.src= URL_SERVER+'/expressoMail1_2/templates/default/images/pressed.png'; 
     330                                option_reply_options.src= URL_SERVER+'expressoMail1_2/templates/default/images/pressed.png'; 
    331331                        } 
    332332                }; 
     
    334334                        if (this.value == 'show'){ 
    335335                                this.value = 'hide'; 
    336                                 option_reply_options.src= URL_SERVER+'/expressoMail1_2/templates/default/images/pressed.png'; 
     336                                option_reply_options.src= URL_SERVER+'expressoMail1_2/templates/default/images/pressed.png'; 
    337337                                Element('tr_other_options_'+ID).style.display = ''; 
    338338 
     
    340340                        else{ 
    341341                                this.value = 'show'; 
    342                                 option_reply_options.src= URL_SERVER+'/expressoMail1_2/templates/default/images/down.png'; 
     342                                option_reply_options.src= URL_SERVER+'expressoMail1_2/templates/default/images/down.png'; 
    343343                                Element('tr_other_options_'+ID).style.display = 'none'; 
    344344                        } 
    345345                }; 
    346                 option_reply_options.src= URL_SERVER+'/expressoMail1_2/templates/default/images/down.png'; 
     346                option_reply_options.src= URL_SERVER+'expressoMail1_2/templates/default/images/down.png'; 
    347347                option_reply_options.value = 'show'; 
    348348                var option_reply = document.createElement("SPAN"); 
     
    413413                        if(signature_status_pos < 0 ) 
    414414                        { 
    415                                 td.innerHTML += '&nbsp;<img style="cursor:pointer" src="' + URL_SERVER + '/expressoMail1_2/templates/'+template+'/images/signed_error.gif" title="'+get_lang("Details")+'">'; 
     415                                td.innerHTML += '&nbsp;<img style="cursor:pointer" src="' + URL_SERVER + 'expressoMail1_2/templates/'+template+'/images/signed_error.gif" title="'+get_lang("Details")+'">'; 
    416416                                tr_signature.style.display = ''; 
    417417                        } 
    418418                        else 
    419419                        { 
    420                                 td.innerHTML += '&nbsp;<img style="cursor:pointer" src="' + URL_SERVER + '/expressoMail1_2/templates/'+template+'/images/signed_table.gif" title="'+get_lang("Details")+'">'; 
     420                                td.innerHTML += '&nbsp;<img style="cursor:pointer" src="' + URL_SERVER + 'expressoMail1_2/templates/'+template+'/images/signed_table.gif" title="'+get_lang("Details")+'">'; 
    421421                        } 
    422422                        td.onclick = function(){ 
     
    861861                                if (forbidden) 
    862862                                { 
    863                                         newBody = newBody.replace(imgTag[j],"<img src='" + URL_SERVER + "/expressoMail1_2/templates/"+template+"/images/forbidden.jpg'>"); 
     863                                        newBody = newBody.replace(imgTag[j],"<img src='" + URL_SERVER + "expressoMail1_2/templates/"+template+"/images/forbidden.jpg'>"); 
    864864                                        blocked=true; 
    865865                                } 
     
    939939                } 
    940940 
    941                 td.innerHTML += "<BR><img src='" + URL_SERVER + "/expressoMail1_2/templates/"+template+"/images/menu/ktip.png'>"+get_lang("<b>Tip:</b> For faster save, click over the image with <u>right button</u>."); 
     941                td.innerHTML += "<BR><img src='" + URL_SERVER + "expressoMail1_2/templates/"+template+"/images/menu/ktip.png'>"+get_lang("<b>Tip:</b> For faster save, click over the image with <u>right button</u>."); 
    942942                td.innerHTML += "<BR>"; 
    943943 
     
    11591159        if (!expresso_offline) { 
    11601160                var img_search = document.createElement("IMG"); 
    1161                 img_search.src = URL_SERVER + '/expressoMail1_2/templates/'+template+'/images/search.gif'; 
     1161                img_search.src = URL_SERVER + 'expressoMail1_2/templates/'+template+'/images/search.gif'; 
    11621162                img_search.title = get_lang('Search') + " | " + get_lang('Use F9 Key as shortcut.'); 
    11631163                img_search.onclick = function () {emQuickSearch(document.getElementById('to_'+ID).value, 'to', ID);}; 
     
    12831283        td_cc.appendChild(input_cc); 
    12841284        var img_search = document.createElement("IMG"); 
    1285         img_search.src = URL_SERVER + '/expressoMail1_2/templates/'+template+'/images/search.gif'; 
     1285        img_search.src = URL_SERVER + 'expressoMail1_2/templates/'+template+'/images/search.gif'; 
    12861286        img_search.onclick = function () {emQuickSearch(document.getElementById('cc_'+ID).value, 'cc', ID)}; 
    12871287        img_search.title = get_lang('Search') + " | " + get_lang('Use F9 Key as shortcut.'); 
     
    13661366        td_cco.appendChild(input_cco); 
    13671367        var img_search = document.createElement("IMG"); 
    1368         img_search.src = URL_SERVER + '/expressoMail1_2/templates/'+template+'/images/search.gif'; 
     1368        img_search.src = URL_SERVER + 'expressoMail1_2/templates/'+template+'/images/search.gif'; 
    13691369        img_search.title = get_lang('Search') + " | " + get_lang('Use F9 Key as shortcut.');     
    13701370        img_search.onclick = function () {emQuickSearch(document.getElementById('cco_'+ID).value, 'cco', ID);}; 
     
    17331733        dn_em.setAttribute("title",get_lang("Block Sender")); 
    17341734        dn_em.style.cursor = "pointer";          
    1735         dn_em.innerHTML = "<img align='top' onclick=filter.new_rule('"+email+"') src='" + URL_SERVER + "/expressoMail1_2/templates/"+template+"/images/deny.gif'>"; 
     1735        dn_em.innerHTML = "<img align='top' onclick=filter.new_rule('"+email+"') src='" + URL_SERVER + "expressoMail1_2/templates/"+template+"/images/deny.gif'>"; 
    17361736        return dn_em; 
    17371737 
  • trunk/expressoMail1_2/js/jscode/filters.js

    r2521 r2630  
    77                // Images 
    88                this.grp_open_img = new Image(); 
    9                 this.grp_open_img.src = URL_SERVER + '/expressoMail1_2/templates/'+template+'/images/filtro/group_open.gif'; 
     9                this.grp_open_img.src = URL_SERVER + 'expressoMail1_2/templates/'+template+'/images/filtro/group_open.gif'; 
    1010                this.grp_close_img = new Image(); 
    11                 this.grp_close_img.src = URL_SERVER + '/expressoMail1_2/templates/'+template+'/images/filtro/group_close.gif'; 
     11                this.grp_close_img.src = URL_SERVER + 'expressoMail1_2/templates/'+template+'/images/filtro/group_close.gif'; 
    1212                this.filter_img = new Image(); 
    13                 this.filter_img.src = URL_SERVER + '/expressoMail1_2/templates/'+template+'/images/filtro/filters.gif'; 
     13                this.filter_img.src = URL_SERVER + 'expressoMail1_2/templates/'+template+'/images/filtro/filters.gif'; 
    1414                this.for_email_img = new Image(); 
    15                 this.for_email_img.src = URL_SERVER + '/expressoMail1_2/templates/'+template+'/images/filtro/answered.gif'; 
     15                this.for_email_img.src = URL_SERVER + 'expressoMail1_2/templates/'+template+'/images/filtro/answered.gif'; 
    1616                this.telephone_voip = new Image(); 
    17                 this.telephone_voip.src = URL_SERVER + '/expressoMail1_2/templates/'+template+'/images/filtro/telephone_voip.jpg'; 
     17                this.telephone_voip.src = URL_SERVER + 'expressoMail1_2/templates/'+template+'/images/filtro/telephone_voip.jpg'; 
    1818        }                
    1919 
  • trunk/expressoMail1_2/js/jscode/globals.js

    r2611 r2630  
    2323        '<tr><td align=left height=16px width="1%" nowrap class="table_top">&nbsp;'+ 
    2424        '<a href=# onclick="javascript:new_message(\'new\',\'null\')" align=left>'+ 
    25         '<img src="' + URL_SERVER + '/expressoMail1_2/templates/'+template+'/images/menu/createmail.gif">'+ 
     25        '<img src="' + URL_SERVER + 'expressoMail1_2/templates/'+template+'/images/menu/createmail.gif">'+ 
    2626        '&nbsp;Novo</a>&nbsp;&nbsp;'+ 
    2727        '<a href="#" onclick="javascript:wfolders.makeWindow(\'\', \'change_folder\')" align=left>'+ 
    28         '<img src="' + URL_SERVER + '/expressoMail1_2/templates/'+template+'/images/menu/editfolders.png">'+ 
     28        '<img src="' + URL_SERVER + 'expressoMail1_2/templates/'+template+'/images/menu/editfolders.png">'+ 
    2929        '&nbsp;Trocar Pasta</a>&nbsp;&nbsp'+     
    3030        '<a href="#" onclick="javascript:refresh();" align=left>'+ 
    31         '<img src="' + URL_SERVER + '/expressoMail1_2/templates/'+template+'/images/menu/checkmail.gif">'+ 
     31        '<img src="' + URL_SERVER + 'expressoMail1_2/templates/'+template+'/images/menu/checkmail.gif">'+ 
    3232        '&nbsp;Atualizar</a>&nbsp;&nbsp;'+ 
    3333        '<a id="link_tools" href="#" align=left>'+ 
    34         '<img height="16px" src="' + URL_SERVER + '/expressoMail1_2/templates/'+template+'/images/menu/tools.gif">'+ 
     34        '<img height="16px" src="' + URL_SERVER + 'expressoMail1_2/templates/'+template+'/images/menu/tools.gif">'+ 
    3535        '&nbsp;Ferramentas...</a>&nbsp;&nbsp;</td><td style="padding-left:17px" width="1%" id="content_quota" align=left nowrap></td><td width=* id="div_menu_c3" align="right"></td></tr></table>'; 
    3636 
  • trunk/expressoMail1_2/js/jscode/load_lang.js

    r2603 r2630  
    55 
    66        var request = _connector.cache( ).go( { 
    7                 'access' : URL_SERVER + '/expressoMail1_2/inc/load_lang.php?lang=' + lang, 
     7                'access' : URL_SERVER + 'expressoMail1_2/inc/load_lang.php?lang=' + lang, 
    88                'handler' : function( data ) 
    99                { 
  • trunk/expressoMail1_2/js/jscode/main.js

    r2628 r2630  
    14211421                title = title.substring(0, parseInt(resize)*0.08); 
    14221422 
    1423         Element("border_id_" + new_border_ID).innerHTML = "<table width=100% border=0 cellspacing=0 cellpadding=0><tr><td id=font_border_id_" + new_border_ID +" class='font-menu' width=*>" +title + "</td><td width=1px><img onmousedown='javascript:return false' style='cursor:pointer' onclick=delete_border('" + new_border_ID + "','false') src='"+URL_SERVER+"/expressoMail1_2/templates/"+template+"/images/close_button.gif'></td></tr></table>"; 
     1423        Element("border_id_" + new_border_ID).innerHTML = "<table width=100% border=0 cellspacing=0 cellpadding=0><tr><td id=font_border_id_" + new_border_ID +" class='font-menu' width=*>" +title + "</td><td width=1px><img onmousedown='javascript:return false' style='cursor:pointer' onclick=delete_border('" + new_border_ID + "','false') src='"+URL_SERVER+"expressoMail1_2/templates/"+template+"/images/close_button.gif'></td></tr></table>"; 
    14241424        return new_border_ID; //Preciso retornar o ID da nova mensagem. 
    14251425} 
     
    20682068                if (data.status && Element("td_message_answered_"+msg_number)) {         
    20692069                        if(flag == 'answered') 
    2070                                 Element("td_message_answered_"+msg_number).innerHTML = '<img src="'+URL_SERVER+'/expressoMail1_2/templates/'+template+'/images/answered.gif" title="Respondida">'; 
     2070                                Element("td_message_answered_"+msg_number).innerHTML = '<img src="'+URL_SERVER+'expressoMail1_2/templates/'+template+'/images/answered.gif" title="Respondida">'; 
    20712071                        else if(flag == 'forwarded') 
    2072                                 Element("td_message_answered_"+msg_number).innerHTML = '<img src="'+URL_SERVER+'/expressoMail1_2/templates/'+template+'/images/forwarded.gif" title="Encaminhada">'; 
     2072                                Element("td_message_answered_"+msg_number).innerHTML = '<img src="'+URL_SERVER+'expressoMail1_2/templates/'+template+'/images/forwarded.gif" title="Encaminhada">'; 
    20732073                } 
    20742074        }; 
  • trunk/expressoMail1_2/js/jscode/rich_text_editor.js

    r2572 r2630  
    179179                img.className = 'imagebutton'; 
    180180                img.align = 'center'; 
    181                 img.src = URL_SERVER + '/expressoMail1_2/templates/'+template+'/images/'+buttons[i]+'.gif'; 
     181                img.src = URL_SERVER + 'expressoMail1_2/templates/'+template+'/images/'+buttons[i]+'.gif'; 
    182182                img.title = get_lang(buttons[i]); 
    183183                img.style.cursor = 'pointer'; 
  • trunk/expressoMail1_2/js/modal/modal.js

    r2563 r2630  
    166166        cssNode.rel = 'stylesheet'; 
    167167        if (navigator.userAgent.toLowerCase().indexOf("msie") != -1) 
    168                 cssNode.href = URL_SERVER + "/expressoMail1_2/js/modal/css/modal_ie.css"; 
     168                cssNode.href = URL_SERVER + "expressoMail1_2/js/modal/css/modal_ie.css"; 
    169169        else 
    170                 cssNode.href = URL_SERVER + "/expressoMail1_2/js/modal/css/modal_fx.css"; 
     170                cssNode.href = URL_SERVER + "expressoMail1_2/js/modal/css/modal_fx.css"; 
    171171         
    172172        cssNode.media = 'screen'; 
Note: See TracChangeset for help on using the changeset viewer.