[ Index ]
 

Code source de vtiger CRM 5.0.2

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

title

Body

[fermer]

/modules/Users/ -> RoleDeleteStep1.php (source)

   1  <?php
   2  
   3  /*********************************************************************************
   4  ** The contents of this file are subject to the vtiger CRM Public License Version 1.0
   5   * ("License"); You may not use this file except in compliance with the License
   6   * The Original Code is:  vtiger CRM Open Source
   7   * The Initial Developer of the Original Code is vtiger.
   8   * Portions created by vtiger are Copyright (C) vtiger.
   9   * All Rights Reserved.
  10  *
  11   ********************************************************************************/
  12  
  13  
  14  require_once ('include/database/PearDatabase.php');
  15  require_once ('include/utils/utils.php');
  16  require_once ('include/utils/UserInfoUtil.php');
  17  require_once ('Smarty_setup.php');
  18  
  19  $delete_role_id = $_REQUEST['roleid'];
  20  $delete_role_name = getRoleName($delete_role_id);
  21  global $app_strings;
  22  global $app_list_strings;
  23  global $mod_strings;
  24  $smarty=new vtigerCRM_Smarty;
  25  $smarty->assign("APP", $app_strings);
  26  $smarty->assign("MOD", return_module_language($current_language,'Settings'));
  27  $smarty->assign("CMOD", $mod_strings);
  28  global $theme;
  29  $theme_path="themes/".$theme."/";
  30  $image_path=$theme_path."images/";
  31  $smarty->assign("IMAGE_PATH",$image_path);
  32  
  33  $smarty->assign("ROLEID", $delete_role_id);
  34  $smarty->assign("ROLENAME", $delete_role_name);
  35  $opt = '<a href="javascript:openPopup(\''.$delete_role_id.'\');"><img src="'.$image_path.'select.gif" border="0" align="absmiddle"></a>';
  36  $smarty->assign("ROLEPOPUPBUTTON", $opt);
  37  $smarty->display("DeleteRole.tpl");
  38  
  39  ?>


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