[Vtigercrm-commits] [vtiger-commits] r6500 - /vtigercrm/trunk/modules/Webmails/ListView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Fri May 26 16:51:28 EDT 2006
Author: mmbrich
Date: Fri May 26 14:51:27 2006
New Revision: 6500
Log:
removed un-needed customview code
Modified:
vtigercrm/trunk/modules/Webmails/ListView.php
Modified: vtigercrm/trunk/modules/Webmails/ListView.php
==============================================================================
--- vtigercrm/trunk/modules/Webmails/ListView.php (original)
+++ vtigercrm/trunk/modules/Webmails/ListView.php Fri May 26 14:51:27 2006
@@ -35,6 +35,7 @@
$mail_protocol=$temprow["mail_protocol"];
$account_name=$temprow["account_name"];
$show_hidden=$_REQUEST["show_hidden"];
+
// BEGIN MASSIVE AMOUNTS OF JAVASCRIPT
?>
@@ -376,20 +377,10 @@
<?
// END MASSIVE AMOUNTS OF JAVASCRIPT
-$viewname="20";
-
-// CUSTOM VIEW
-//<<<<cutomview>>>>>>>
-global $currentModule;
-$oCustomView = new CustomView("Webmails");
-$viewid = $oCustomView->getViewId($currentModule);
-$customviewcombo_html = $oCustomView->getCustomViewCombo($viewid);
-$viewnamedesc = $oCustomView->getCustomViewByCvid($viewid);
-//<<<<<customview>>>>>
+
global $mbox,$displayed_msgs;
$mbox = getImapMbox($mailbox,$temprow);
-
if($_POST["command"] == "move_msg" && $_POST["ajax"] == "true") {
imap_mail_move($mbox,$_REQUEST["mailid"],$_REQUEST["mvbox"]);
@@ -622,9 +613,7 @@
}
$smarty = new vtigerCRM_Smarty;
-
$smarty->assign("USERID", $current_user->id);
-$smarty->assign("CUSTOMVIEW_OPTION",$customviewcombo_html);
$smarty->assign("MOD", $mod_strings);
$smarty->assign("APP", $app_strings);
$smarty->assign("IMAGE_PATH",$image_path);
@@ -641,5 +630,4 @@
$smarty->assign("ACCOUNT", $account_name);
$smarty->assign("BOXLIST",$folders);
$smarty->display("Webmails.tpl");
-//$smarty->display("ListView.tpl");
?>
More information about the vtigercrm-commits
mailing list