[Vtigercrm-commits] [vtiger-commits] r7040 - /vtigercrm/trunk/modules/Users/profilePrivileges.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue Jun 13 08:34:07 EDT 2006


Author: saraj
Date: Tue Jun 13 06:34:01 2006
New Revision: 7040

Log:
Update profile privelege file for new ui - ahmed

Modified:
    vtigercrm/trunk/modules/Users/profilePrivileges.php

Modified: vtigercrm/trunk/modules/Users/profilePrivileges.php
==============================================================================
--- vtigercrm/trunk/modules/Users/profilePrivileges.php (original)
+++ vtigercrm/trunk/modules/Users/profilePrivileges.php Tue Jun 13 06:34:01 2006
@@ -290,7 +290,7 @@
 	}
 
 }
-$privileges_tab = array_chunk($privileges_tab, 2);
+$privileges_tab = array_chunk($privileges_tab, 4);
 $smarty->assign("TAB_PRIV",$privileges_tab);			
 
 //utilities privileges
@@ -412,7 +412,7 @@
 			$field=array();
 			if($fieldListResult[$module_name][$j][1] == 0)
 			{
-				$visible = "<img src=".$image_path."/yes.gif>";
+				$visible = "<img src=".$image_path."/prvPrfSelectedTick.gif>";
 			}
 			else
 			{
@@ -422,7 +422,7 @@
 			$field[]=$visible;
 			$field_module[]=$field;
 		}
-		$privilege_field[$module_name] = array_chunk($field_module,2);
+		$privilege_field[$module_name] = array_chunk($field_module,4);
 		next($fieldListResult);
 	}
 }
@@ -458,7 +458,7 @@
 			$field[]='<input type="checkbox" name="'.$fieldListResult[$module_name][$j][4].'" '.$visible.' '.$readonly.'>';
 			$field_module[]=$field;
 		}
-		$privilege_field[$module_name] = array_chunk($field_module,2);
+		$privilege_field[$module_name] = array_chunk($field_module,4);
 		next($fieldListResult);
 	}
 }
@@ -496,7 +496,7 @@
 				$field[]='<input type="checkbox" name="'.$fieldListResult[$module_name][$j][4].'" '.$visible.' '.$readonly.'>';
 				$field_module[]=$field;
 			}
-			$privilege_field[$module_name] = array_chunk($field_module,2);
+			$privilege_field[$module_name] = array_chunk($field_module,4);
 			next($fieldListResult);
 		}
 	}
@@ -525,7 +525,7 @@
 				$field[]='<input type="checkbox" name="'.$fieldListResult[$module_name][$j][4].'" '.$visible.' '.$readonly.'>';
 				$field_module[]=$field;
 			}
-			$privilege_field[$module_name] = array_chunk($field_module,2);
+			$privilege_field[$module_name] = array_chunk($field_module,4);
 			next($fieldListResult);
 		}	
 	}
@@ -548,7 +548,7 @@
 	}
 	elseif($id == 0)
 	{
-		$value = '<img src="'.$image_path.'yes.gif">';
+		$value = '<img src="'.$image_path.'prvPrfSelectedTick.gif">';
 	}
 	elseif($id == 1)
 	{
@@ -601,7 +601,7 @@
 	}
 	elseif($id == 0)
 	{
-		$value = '<img src="'.$image_path.'yes.gif">';
+		$value = '<img src="'.$image_path.'prvPrfSelectedTick.gif">';
 	}
 	elseif($id == 1)
 	{





More information about the vtigercrm-commits mailing list