[Vtigercrm-commits] [vtiger-commits] r5634 - /vtigercrm/trunk/modules/Users/User.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue May 2 03:08:43 EDT 2006
Author: saraj
Date: Tue May 2 01:08:30 2006
New Revision: 5634
Log:
Checked in the file with modified UI- Ahmed
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 Tue May 2 01:08:30 2006
@@ -493,12 +493,12 @@
{
global $mod_strings;
$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_ADMIN']);
+ $mod_strings['LBL_LIST_ADMIN'],
+ $mod_strings['LBL_LIST_TOOLS']);
return $header_array;
}
@@ -517,24 +517,23 @@
$entries=array();
$id=$this->db->query_result($result,$i-1,'id');
+ $entries[]='<a href="index.php?action=DetailView&module=Users&parenttab=Settings&record='.$id.'">'.$this->db->query_result($result,$i-1,'user_name').'</a>';
+
+ $rolecode= fetchUserRole($this->db->query_result($result,$i-1,'id'));
+ $entries[]='<a href="index.php?action=RoleDetailView&module=Users&parenttab=Settings&roleid='.$rolecode.'">'.$roleinfo[$rolecode][0];
+
+ $entries[]='<a href="mailto:'.$this->db->query_result($result,$i-1,'email1').'">'.$this->db->query_result($result,$i-1,'email1').' </a>';
+
+ $entries[]='<a href="index.php?action=DetailView&module=Users&parenttab=Settings&record='.$id.'">'. $this->db->query_result($result,$i-1,'first_name').' '.$this->db->query_result($result,$i-1,'last_name').'</a>';
+
+ $entries[]=$this->db->query_result($result,$i-1,'is_admin');
if($this->db->query_result($result,$i-1,'user_name') == 'admin' || $this->db->query_result($result,$i-1,'user_name') == 'standarduser' )
{
- $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> ';
+ $entries[]='<a href="index.php?action=EditView&return_action=ListView&return_module=Users&module=Users&parenttab=Settings&record='.$id.'"><img src="'.$image_path.'editfield.gif" border="0" alt="Edit" title="Edit"/></a> ';
}
else
- $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[]='<a href="index.php?action=DetailView&module=Users&parenttab=Settings&record='.$id.'">'.$this->db->query_result($result,$i-1,'user_name').'</a>';
-
- $rolecode= fetchUserRole($this->db->query_result($result,$i-1,'id'));
- $entries[]='<a href="index.php?action=RoleDetailView&module=Users&parenttab=Settings&roleid='.$rolecode.'">'.$roleinfo[$rolecode][0];
-
- $entries[]='<a href="mailto:'.$this->db->query_result($result,$i-1,'email1').'">'.$this->db->query_result($result,$i-1,'email1').' </a>';
-
- $entries[]='<a href="index.php?action=DetailView&module=Users&parenttab=Settings&record='.$id.'">'. $this->db->query_result($result,$i-1,'first_name').' '.$this->db->query_result($result,$i-1,'last_name').'</a>';
-
- $entries[]=$this->db->query_result($result,$i-1,'is_admin');
+ $entries[]='<a href="index.php?action=EditView&return_action=ListView&return_module=Users&module=Users&parenttab=Settings&record='.$id.'"><img src="'.$image_path.'editfield.gif" border="0" alt="Edit" title="Edit"/></a> <a href="#" onClick=DeleteProfile("'.$id.'");><img src="'.$image_path.'delete.gif" border="0" alt="Delete" title="Delete"/></a>';
$entries_list[]=$entries;
More information about the vtigercrm-commits
mailing list