[Vtigercrm-commits] [vtiger-commits] r6632 - in /vtigercrm/trunk: Smarty/templates/AddMailAccount.tpl modules/Webmails/ListView.php modules/Webmails/WebmailsAjax.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Mon May 29 01:20:31 EDT 2006


Author: mmbrich
Date: Sun May 28 23:20:30 2006
New Revision: 6632

Log:
misc fixes

Modified:
    vtigercrm/trunk/Smarty/templates/AddMailAccount.tpl
    vtigercrm/trunk/modules/Webmails/ListView.php
    vtigercrm/trunk/modules/Webmails/WebmailsAjax.php

Modified: vtigercrm/trunk/Smarty/templates/AddMailAccount.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/AddMailAccount.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/AddMailAccount.tpl Sun May 28 23:20:30 2006
@@ -126,7 +126,8 @@
        <tr>
            <td class="dvtCellLabel" align="right">{$MOD.LBL_INT_MAILER}</td>
            <td class="dvtCellInfo">
-		<input type="radio" name="int_mailer" value="1" {$INT_MAILER} />&nbsp;{$MOD.LBL_INT_MAILER_USE}
+		<input type="radio" name="int_mailer" value="1" {$INT_MAILER_USE} />&nbsp;{$MOD.LBL_INT_MAILER_USE}
+		<input type="radio" name="int_mailer" value="0" {$INT_MAILER_NOUSE} />&nbsp;{$MOD.LBL_INT_MAILER_NOUSE}
 	   </td>	
            <td class="dvtCellInfo">&nbsp;</td>
        </tr>

Modified: vtigercrm/trunk/modules/Webmails/ListView.php
==============================================================================
--- vtigercrm/trunk/modules/Webmails/ListView.php (original)
+++ vtigercrm/trunk/modules/Webmails/ListView.php Sun May 28 23:20:30 2006
@@ -55,7 +55,7 @@
 
 
 addOnloadEvent(function() {
-		timer = window.setTimeout("periodic_event()",box_refresh);
+		window.setTimeout("periodic_event()",box_refresh);
 	}
 );
 </script>
@@ -63,7 +63,7 @@
 <?
 
 global $mbox,$displayed_msgs;
-$mbox = getImapMbox($mailbox,$temprow);
+$mbox = getImapMbox($mailbox,$temprow,"true");
 
 if($_POST["command"] == "move_msg" && $_POST["ajax"] == "true") {
 	imap_mail_move($mbox,$_REQUEST["mailid"],$_REQUEST["mvbox"]);

Modified: vtigercrm/trunk/modules/Webmails/WebmailsAjax.php
==============================================================================
--- vtigercrm/trunk/modules/Webmails/WebmailsAjax.php (original)
+++ vtigercrm/trunk/modules/Webmails/WebmailsAjax.php Sun May 28 23:20:30 2006
@@ -30,7 +30,7 @@
 if($_REQUEST["command"] == "check_mbox") {
 	$mbox = getImapMbox($mailbox,$temprow);
 
-	$search = imap_search($mbox, "NEW ALL");
+	$search = imap_search($mbox, "NEW");
 	if($search === false) {echo "failed";flush();exit();}
 
 	$data = imap_fetch_overview($mbox,implode(',',$search));





More information about the vtigercrm-commits mailing list