[Vtigercrm-commits] [vtiger-commits] r9884 - /vtigercrm/branches/5.0.3/modules/Webmails/ListView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Nov 21 08:30:08 EST 2006
Author: richie
Date: Tue Nov 21 06:30:03 2006
New Revision: 9884
Log:
Removed Move To button but added similar implementation
Modified:
vtigercrm/branches/5.0.3/modules/Webmails/ListView.php
Modified: vtigercrm/branches/5.0.3/modules/Webmails/ListView.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Webmails/ListView.php (original)
+++ vtigercrm/branches/5.0.3/modules/Webmails/ListView.php Tue Nov 21 06:30:03 2006
@@ -280,7 +280,8 @@
sort($list);
$i=0;
if (is_array($list)) {
- $boxes = '<select name="mailbox" id="mailbox_select">';
+ $boxes = '<select name="mailbox" id="mailbox_select" onChange="move_messages();">';
+ $boxes .= '<option value="move_to" SELECTED>Move To...</option>';
foreach ($list as $key => $val) {
$tmpval = preg_replace(array("/\{.*?\}/i"),array(""),$val->name);
if(preg_match("/trash/i",$tmpval))
@@ -293,7 +294,7 @@
$i++;
if ($_REQUEST["mailbox"] == $tmpval) {
- $boxes .= '<option value="'.$tmpval.'" SELECTED>'.$tmpval;
+ $boxes .= '<option value="'.$tmpval.'">'.$tmpval;
$_SESSION["mailboxes"][$tmpval] = $new_msgs;
if($numEmails==0) {$num=$numEmails;} else {$num=($numEmails-1);}
More information about the vtigercrm-commits
mailing list