[Vtigercrm-commits] [vtiger-commits] r5245 - /vtigercrm/trunk/modules/Users/User.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Sat Apr 22 10:11:06 EDT 2006
Author: richie
Date: Sat Apr 22 08:11:01 2006
New Revision: 5245
Log:
Rearranged the Listview of Users Module
Modified:
vtigercrm/trunk/modules/Users/User.php
Modified: vtigercrm/trunk/modules/Users/User.php
==============================================================================
--- vtigercrm/trunk/modules/Users/User.php (original)
+++ vtigercrm/trunk/modules/Users/User.php Sat Apr 22 08:11:01 2006
@@ -492,13 +492,13 @@
function getUserListViewHeader()
{
global $mod_strings;
- $header_array=array($mod_strings['LBL_LIST_TOOLS'],
+ $header_array=array(
+ $mod_strings['LBL_LIST_TOOLS'],
+ $mod_strings['LBL_LIST_USER_NAME'],
+ $mod_strings['LBL_USER_ROLE'],
+ $mod_strings['LBL_LIST_EMAIL'],
$mod_strings['LBL_LIST_NAME'],
- $mod_strings['LBL_LIST_USER_NAME'],
- $mod_strings['LBL_LIST_DEPARTMENT'],
- $mod_strings['LBL_LIST_EMAIL'],
- $mod_strings['LBL_USER_ROLE'],
- $mod_strings['LBL_LIST_ADMIN']);
+ $mod_strings['LBL_LIST_ADMIN']);
return $header_array;
}
@@ -520,7 +520,7 @@
$entries[]='<a href="index.php?action=EditView&return_action=ListView&return_module=Users&module=Users&parenttab=Settings&record='.$id.'"><img src="'.$image_path.'edit.gif" border="0" alt="Edit" title="Edit"/></a> <a href="#" onClick=DeleteProfile("'.$id.'");><img src="'.$image_path.'del.gif" border="0" alt="Delete" title="Delete"/></a>';
$entries[]=$this->db->query_result($result,$i-1,'first_name').' '.$this->db->query_result($result,$i-1,'last_name');
$entries[]='<a href="index.php?action=DetailView&module=Users&parenttab=Settings&record='.$id.'">'.$this->db->query_result($result,$i-1,'user_name').'</a>';
- $entries[]=$this->db->query_result($result,$i-1,'department');
+// $entries[]=$this->db->query_result($result,$i-1,'department');
$entries[]=$this->db->query_result($result,$i-1,'email1');
$rolecode= fetchUserRole($this->db->query_result($result,$i-1,'id'));
$entries[]='<a href="index.php?action=DetailView&module=Users&parenttab=Settings&record='.$id.'">'.$roleinfo[$rolecode][0];
More information about the vtigercrm-commits
mailing list