Changeset 2521


Ignore:
Timestamp:
04/14/10 14:21:26 (14 years ago)
Author:
rodsouza
Message:

Ticket #1009 - Correção de problemas no ExpressoMail? ao carregar imagens.

Location:
trunk
Files:
7 edited

Legend:

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

    r2519 r2521  
    1111emInfoContact.prototype.createCard = function(){ 
    1212        var pic= new Image();  
    13         pic.src="./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='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='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/doiMenuData.js

    r2517 r2521  
    1 _icon_dir="templates/"+template+"/images/menu/"; 
     1_icon_dir = URL_SERVER + '/expressoMail1_2/templates/'+template+'/images/menu/'; 
    22 
    33function ConstructMenuTools(){ 
     
    9494                var _tr = document.createElement("TR"); 
    9595                var _td = document.createElement("TD"); 
    96                 _td.innerHTML = "<img height=\"16px\" src=\"templates/"+template+"/images/menu/"+item[2]+"\">&nbsp;"+item[1]+"&nbsp;"; 
     96                _td.innerHTML = '<img height="16px" src="' + _icon_dir + item[2]+'">&nbsp;'+item[1]+'&nbsp;'; 
    9797                _td.style.color = "DARKBLUE"; 
    9898                _td.style.cursor = "pointer"; 
  • trunk/expressoMail1_2/js/jscode/drag_area.js

    r2517 r2521  
    2323        this.div_dd.style.display ='none'; 
    2424        this.envelope = new Image(); 
    25         this.envelope.src = "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/filters.js

    r2517 r2521  
    77                // Images 
    88                this.grp_open_img = new Image(); 
    9                 this.grp_open_img.src = '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 = '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 = '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 = '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 = '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/rich_text_editor.js

    r2517 r2521  
    179179                img.className = 'imagebutton'; 
    180180                img.align = 'center'; 
    181                 img.src = './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

    r1121 r2521  
    166166        cssNode.rel = 'stylesheet'; 
    167167        if (navigator.userAgent.toLowerCase().indexOf("msie") != -1) 
    168                 cssNode.href = "./js/modal/css/modal_ie.css"; 
     168                cssNode.href = URL_SERVER + "/expressoMail1_2/js/modal/css/modal_ie.css"; 
    169169        else 
    170                 cssNode.href = "./js/modal/css/modal_fx.css"; 
     170                cssNode.href = URL_SERVER + "/expressoMail1_2/js/modal/css/modal_fx.css"; 
    171171         
    172172        cssNode.media = 'screen'; 
  • trunk/phpgwapi/js/expressoAjax/expressoAjax.js

    r2520 r2521  
    622622                        handlerExecuteForm = null; 
    623623                } 
    624                 divUpload.innerHTML= "<iframe onload=\"cExecute('$this.functions.getReturnExecuteForm',"+form_handler+");\"  style='display:"+(debug_controller ? "" : "none")+";width:"+(debug_controller ? 400 : 0)+";height:"+(debug_controller ? 400 : 0)+";' name='uploadFile'></iframe>"; 
     624                divUpload.innerHTML= "<iframe onload=\"cExecute('expressoMail1_2.functions.getReturnExecuteForm',"+form_handler+");\"  style='display:"+(debug_controller ? "" : "none")+";width:"+(debug_controller ? 400 : 0)+";height:"+(debug_controller ? 400 : 0)+";' name='uploadFile'></iframe>"; 
    625625                form.action = URL_SERVER + "/controller.php"; 
    626626                form.target ="uploadFile"; 
Note: See TracChangeset for help on using the changeset viewer.