Changeset 1661
- Timestamp:
- 11/17/09 14:55:18 (14 years ago)
- Location:
- sandbox/expresso2.2
- Files:
-
- 7 added
- 1 deleted
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/expresso2.2/expressoMail1_2/index.php
r1622 r1661 195 195 </body> 196 196 </html> 197 <script src="js/connector.js?<?=$update_version?>" type="text/javascript"></script>198 197 <script src="../phpgwapi/js/dftree/dftree.js?<?=$update_version?>" type="text/javascript"></script> 199 <script language="Javascript"> connector.updateVersion = "<?=$update_version?>";init();</script>198 <script language="Javascript">expresso.connector.updateVersion = "<?=$update_version?>";init();</script> 200 199 <!-----Expresso Mail - Version Updated:<?=$update_version?>--------> -
sandbox/expresso2.2/expressoMail1_2/js/TreeShow.js
r1558 r1661 7 7 this.name_folder = ""; 8 8 this.name_func = ""; 9 connector.loadScript("TreeS");9 expresso.connector.loadScript("TreeS"); 10 10 } 11 11 Tree_Box.prototype.update_folder = function(){ … … 175 175 ttreeBox.name_folder = "root"; //or use var newpast 176 176 this.name_func = "newpast"; 177 connector.purgeCache();177 expresso.connector.purgeCache(); 178 178 ttreeBox.update_folder(); 179 179 } … … 224 224 var handler_return = function(data) 225 225 { 226 connector.purgeCache();226 expresso.connector.purgeCache(); 227 227 ttreeBox.name_folder = "root"; 228 228 ttreeBox.update_folder(); … … 290 290 alert(data); 291 291 }else{ 292 connector.purgeCache();292 expresso.connector.purgeCache(); 293 293 ttreeBox.name_folder = "root"; 294 294 ttreeBox.update_folder(); -
sandbox/expresso2.2/expressoMail1_2/js/abas.js
r1247 r1661 35 35 if (Element('viewsource_rt_checkbox').checked) 36 36 { 37 connector.loadScript("rich_text_editor");37 expresso.connector.loadScript("rich_text_editor"); 38 38 RichTextEditor.viewsource(false); 39 39 } … … 60 60 try{ 61 61 if(ID){ 62 connector.loadScript("rich_text_editor");62 expresso.connector.loadScript("rich_text_editor"); 63 63 RichTextEditor.loadEditor(ID); 64 64 } -
sandbox/expresso2.2/expressoMail1_2/js/draw_api.js
r1653 r1661 311 311 //Timeout to release HTTPRequest , loadScript and update tree folders. 312 312 if(data) 313 setTimeout(" connector.loadScript('TreeShow');ttreeBox.update_folder();",500);313 setTimeout("expresso.connector.loadScript('TreeShow');ttreeBox.update_folder();",500); 314 314 } 315 315 cExecute("$this.imap_functions.create_extra_mailbox",handler_correct_folders,"nw_folders="+folder_create); … … 327 327 if ( data && data.imap_error ) 328 328 { 329 connector.newRequest('error.html', 'templates/'+template+'/error.html', 'GET',329 expresso.connector.newRequest('error.html', 'templates/'+template+'/error.html', 'GET', 330 330 function(data) 331 331 { … … 733 733 "TreeShow"); 734 734 735 connector.loadAllScripts(scripts);735 expresso.connector.loadAllScripts(scripts); 736 736 } 737 737 } … … 2399 2399 table_message.appendChild(tbody_message); 2400 2400 form.appendChild(table_message); 2401 connector.loadScript("rich_text_editor");2401 expresso.connector.loadScript("rich_text_editor"); 2402 2402 RichTextEditor.loadEditor(ID); 2403 2403 ////////////////////////////////////////////////////////////////////////////////////////////////////// … … 2773 2773 function draw_plugin_cc(ID, addrs) 2774 2774 { 2775 connector.loadScript("ccQuickAdd");2775 expresso.connector.loadScript("ccQuickAdd"); 2776 2776 2777 2777 var array_addrs = ''; … … 2811 2811 } 2812 2812 function deny_email(email){ 2813 connector.loadScript("filter");2814 connector.loadScript("filters");2813 expresso.connector.loadScript("filter"); 2814 expresso.connector.loadScript("filters"); 2815 2815 var dn_em = document.createElement("SPAN"); 2816 2816 dn_em.id = "tt_d"; -
sandbox/expresso2.2/expressoMail1_2/js/main.js
r1658 r1661 38 38 39 39 if (preferences.use_local_messages==1) { 40 connector.loadScript('mail_sync');40 expresso.connector.loadScript('mail_sync'); 41 41 setTimeout('auto_archiving()', 30000); 42 42 if (expresso_local_messages.is_offline_installed()) { … … 80 80 Element('tableDivAppbox').width = '100%'; 81 81 else 82 connector.createXMLHTTP();82 expresso.connector.createXMLHTTP(); 83 83 Element('divStatusBar').innerHTML = '<table height="16px" border=0 width=100% cellspacing=0 cellpadding=2>' + 84 84 '<tr>' + … … 278 278 // operação na applet 279 279 280 connector.showProgressBar();280 expresso.connector.showProgressBar(); 281 281 282 282 // if ((msg_info.DispositionNotificationTo) && ((msg_info.Unseen == 'U') || (msg_info.Recent == 'N'))){ … … 434 434 updateBoxBgColor(box.childNodes); 435 435 } 436 connector.purgeCache();436 expresso.connector.purgeCache(); 437 437 update_menu(); 438 438 } … … 580 580 updateBoxBgColor(box); 581 581 } 582 connector.purgeCache();582 expresso.connector.purgeCache(); 583 583 } 584 584 … … 638 638 if(typeof(data) == 'string') 639 639 if (data.match(/^(.*)TRYCREATE(.*)$/)){ 640 connector.loadScript('TreeS');640 expresso.connector.loadScript('TreeS'); 641 641 var move_to_folder = data.match(/^(.*)Spam(.*)$/) ? "Spam" : trashfolder; 642 642 alert(get_lang('There is not %1 folder, Expresso is creating it for you... Please, repeat your request later.', move_to_folder)); 643 connector.loadScript('TreeShow');643 expresso.connector.loadScript('TreeShow'); 644 644 ttree.FOLDER = 'root'; 645 645 ttreeBox.new_past(move_to_folder); … … 794 794 var update_tree; 795 795 for (var i = 0; i < data.length; i++) { 796 msg_info = connector.unserialize(data[i]);796 msg_info = expresso.connector.unserialize(data[i]); 797 797 if ( folder == 'INBOX/Lixeira/tmpMoveToLocal' ){ 798 798 msg_info.msg_folder += (Date.parse(new Date)); … … 1191 1191 tmp = link_attachment.innerHTML.substring(0,link_attachment.innerHTML.lastIndexOf("(")); 1192 1192 a_tmp[2] = "'"+tmp.substring(0,tmp.length-1)+"'"; 1193 s_tmp = escape( connector.serialize(a_tmp));1193 s_tmp = escape(expresso.connector.serialize(a_tmp)); 1194 1194 1195 1195 divFiles.innerHTML += "<input style='border:0' type='CHECKBOX' name='forwarding_attachments[]' checked value=\""+s_tmp+"\"/>"; … … 1297 1297 tmp = link_attachment.innerHTML.substring(0,link_attachment.innerHTML.lastIndexOf("(")); 1298 1298 a_tmp[2] = "'"+tmp.substring(0,tmp.length-1)+"'"; 1299 s_tmp = escape( connector.serialize(a_tmp));1299 s_tmp = escape(expresso.connector.serialize(a_tmp)); 1300 1300 divFiles.innerHTML += "<input style='border:0' type='CHECKBOX' name='forwarding_attachments[]' checked value=\""+s_tmp+"\"/>"; 1301 1301 divFiles.appendChild(link_attachment); … … 1413 1413 tmp = link_attachment.innerHTML.substring(0,link_attachment.innerHTML.lastIndexOf("(")); 1414 1414 a_tmp[2] = "'"+tmp.substring(0,tmp.length-1)+"'"; 1415 s_tmp = escape( connector.serialize(a_tmp));1415 s_tmp = escape(expresso.connector.serialize(a_tmp)); 1416 1416 divOriginalAttachments.innerHTML += "<input style='border:0' type='CHECKBOX' name='forwarding_attachments[]' checked value=\""+s_tmp+"\"/>"; 1417 1417 divOriginalAttachments.appendChild(link_attachment); … … 1507 1507 } 1508 1508 if(!expresso_offline) 1509 connector.hideProgressBar();1509 expresso.connector.hideProgressBar(); 1510 1510 } 1511 1511 … … 1522 1522 if (!smime){ // Erro aconteceu ao assinar ou decifrar e-mail 1523 1523 connector = new cConnector(); 1524 connector.hideProgressBar();1524 expresso.connector.hideProgressBar(); 1525 1525 return; 1526 1526 } … … 1705 1705 if (data.append.match(/^(.*)TRYCREATE(.*)$/)) 1706 1706 { 1707 connector.loadScript('TreeS');1707 expresso.connector.loadScript('TreeS'); 1708 1708 alert(get_lang('There is not %1 folder, Expresso is creating it for you... Please, repeat your request later.',draftsfolder)); 1709 connector.loadScript('TreeShow');1709 expresso.connector.loadScript('TreeShow'); 1710 1710 ttree.FOLDER = 'root'; 1711 1711 ttreeBox.new_past(draftsfolder); … … 1774 1774 divParent.appendChild(divFiles); 1775 1775 1776 var attach_files = connector.unserialize(data.files);1776 var attach_files = expresso.connector.unserialize(data.files); 1777 1777 if (attach_files != null) { 1778 1778 openTab.countFile[border_id] = attach_files.length; … … 1790 1790 var a_tmp = href.split(','); 1791 1791 a_tmp[2] = fileName; 1792 s_tmp = escape( connector.serialize(a_tmp));1792 s_tmp = escape(expresso.connector.serialize(a_tmp)); 1793 1793 1794 1794 var check_attachment = document.createElement("INPUT"); -
sandbox/expresso2.2/phpgwapi/inc/class.common.inc.php
r1576 r1661 1219 1219 { 1220 1220 echo parse_navbar(); 1221 } 1221 } 1222 echo "<script type='text/javascript' src='../phpgwapi/expressoAjax/expressoAjax.js'></script>"; 1223 1222 1224 } 1223 1225
Note: See TracChangeset
for help on using the changeset viewer.