[ Index ]
 

Code source de vtiger CRM 5.0.2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/modules/Settings/ -> DeleteMailAccount.php (source)

   1  <?php
   2  /*********************************************************************************
   3  ** The contents of this file are subject to the vtiger CRM Public License Version 1.0
   4   * ("License"); You may not use this file except in compliance with the License
   5   * The Original Code is:  vtiger CRM Open Source
   6   * The Initial Developer of the Original Code is vtiger.
   7   * Portions created by vtiger are Copyright (C) vtiger.
   8   * All Rights Reserved.
   9  *
  10    ********************************************************************************/
  11  
  12  global $adb;
  13  
  14  if($_REQUEST['idstring'] != '')
  15      $idlist = $_REQUEST['idstring'];
  16  elseif($_REQUEST['idlist'] != '')
  17      $idlist = $_REQUEST['idlist'];
  18  
  19  $selected_array = explode(";",$idlist);
  20  foreach($selected_array as $account_id)
  21  {
  22      if($account_id != '')
  23      {
  24          $query = "update vtiger_mail_accounts set status=0 where account_id=".$account_id;
  25          $adb->query($query);
  26      }
  27  }
  28  
  29  header("Location:index.php?module=Settings&action=ListMailAccount");
  30  
  31  ?>


Généré le : Sun Feb 25 10:22:19 2007 par Balluche grâce à PHPXref 0.7