[Vtigercrm-commits] [vtiger-commits] r7572 - in /vtigercrm/trunk/modules/Home: index.php language/en_us.lang.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Jun 27 08:31:54 EDT 2006
Author: saraj
Date: Tue Jun 27 06:31:44 2006
New Revision: 7572
Log:
changes made to integrate home page dashboard
Modified:
vtigercrm/trunk/modules/Home/index.php
vtigercrm/trunk/modules/Home/language/en_us.lang.php
Modified: vtigercrm/trunk/modules/Home/index.php
==============================================================================
--- vtigercrm/trunk/modules/Home/index.php (original)
+++ vtigercrm/trunk/modules/Home/index.php Tue Jun 27 06:31:44 2006
@@ -54,7 +54,7 @@
}
if( count($home_section_order) < 1 )
{
- $home_section_order = array("ALVT","PLVT","QLTQ","CVLVT","HLT","OLV","GRT","OLTSO","ILTI");
+ $home_section_order = array("ALVT","PLVT","QLTQ","CVLVT","HLT","OLV","GRT","OLTSO","ILTI","HDB");
}
require('user_privileges/user_privileges_'.$current_user->id.'.php');
@@ -136,6 +136,13 @@
$home_values['Invoice']=getTopInvoice();
}
break;
+ case 'HDB':
+ if(isPermitted('Dashboard','index') == "yes")
+ {
+ require_once('modules/Dashboard/HomepageDB.php');
+ $home_values['Dashboard']=getHomepageDB();
+ }
+ break;
}
}
function getActivityType($id)
Modified: vtigercrm/trunk/modules/Home/language/en_us.lang.php
==============================================================================
--- vtigercrm/trunk/modules/Home/language/en_us.lang.php (original)
+++ vtigercrm/trunk/modules/Home/language/en_us.lang.php Tue Jun 27 06:31:44 2006
@@ -46,6 +46,7 @@
'LBL_UPCOMING_EVENTS'=>'Upcoming Activities',
'LBL_PENDING_EVENTS'=>'Pending Activities',
'LBL_TODAYEVENT'=>'Events for Last Ten days',
+'recordsforuser'=>'Records for',
);
More information about the vtigercrm-commits
mailing list