[Vtigercrm-commits] [vtiger-commits] r10793 - in /vtigercrm/branches/5.0.3/modules/Dashboard: Chart_lead_source_by_outcome.php Chart_outcome_by_month.php Chart_pipeline_by_lead_source.php Chart_pipeline_by_sales_stage.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Thu Apr 26 10:42:51 EDT 2007


Author: richie
Date: Thu Apr 26 08:42:44 2007
New Revision: 10793

Log:
changes made for dashboard homepage. --minnie

Modified:
    vtigercrm/branches/5.0.3/modules/Dashboard/Chart_lead_source_by_outcome.php
    vtigercrm/branches/5.0.3/modules/Dashboard/Chart_outcome_by_month.php
    vtigercrm/branches/5.0.3/modules/Dashboard/Chart_pipeline_by_lead_source.php
    vtigercrm/branches/5.0.3/modules/Dashboard/Chart_pipeline_by_sales_stage.php

Modified: vtigercrm/branches/5.0.3/modules/Dashboard/Chart_lead_source_by_outcome.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Dashboard/Chart_lead_source_by_outcome.php (original)
+++ vtigercrm/branches/5.0.3/modules/Dashboard/Chart_lead_source_by_outcome.php Thu Apr 26 08:42:44 2007
@@ -131,7 +131,7 @@
 <?php if($is_admin==false && $profileGlobalPermission[2] == 1 && ($defaultOrgSharingPermission[getTabid('Potentials')] == 3 or $defaultOrgSharingPermission[getTabid('Potentials')] == 0)) { ?>
 	<td valign='top'><select name="lsbo_ids[]" multiple size='3'><?php echo get_select_options_with_id(get_user_array(FALSE, "Active", $current_user->id,'private'),$_SESSION['lsbo_ids']); ?></select></td>
 <?php } else { ?>
-	<td valign='top' ><select name="lsbo_ids[]" multiple size='3'><?php echo get_select_options_with_id(get_user_array(FALSE),$_SESSION['lsbo_ids']); ?></select></td>
+	<td valign='top' ><select name="lsbo_ids[]" multiple size='3'><?php echo get_select_options_with_id(get_user_array(FALSE, "Active",$current_user->id),$_SESSION['lsbo_ids']); ?></select></td>
 <?php } ?>	
 </tr><tr>
 <td align="right"><br /> <input class="button" type="submit" title="<?php echo $app_strings['LBL_SELECT_BUTTON_TITLE']; ?>" accessKey="<?php echo $app_strings['LBL_SELECT_BUTTON_KEY']; ?>" value="<?php echo $app_strings['LBL_SELECT_BUTTON_LABEL']?>" /></td>

Modified: vtigercrm/branches/5.0.3/modules/Dashboard/Chart_outcome_by_month.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Dashboard/Chart_outcome_by_month.php (original)
+++ vtigercrm/branches/5.0.3/modules/Dashboard/Chart_outcome_by_month.php Thu Apr 26 08:42:44 2007
@@ -144,7 +144,7 @@
 <?php if($is_admin==false && $profileGlobalPermission[2] == 1 && ($defaultOrgSharingPermission[getTabid('Potentials')] == 3 or $defaultOrgSharingPermission[getTabid('Potentials')] == 0)) { ?>
 	<td valign='top' ><select name="obm_ids[]" multiple size='3'><?php echo get_select_options_with_id(get_user_array(FALSE, "Active", $current_user->id,'private'),$_SESSION['obm_ids']); ?></select></td>
 <?php } else { ?>
-	<td valign='top' ><select name="obm_ids[]" multiple size='3'><?php echo get_select_options_with_id(get_user_array(FALSE),$_SESSION['obm_ids']); ?></select></td>
+	<td valign='top' ><select name="obm_ids[]" multiple size='3'><?php echo get_select_options_with_id(get_user_array(FALSE, "Active",$current_user->id),$_SESSION['obm_ids']); ?></select></td>
 <?php } ?>
 </tr><tr>
 <td align="right"><br /> <input class="button" onclick="return verify_chart_data(outcome_by_month);" type="submit" title="<?php echo $app_strings['LBL_SELECT_BUTTON_TITLE']; ?>" accessKey="<?php echo $app_strings['LBL_SELECT_BUTTON_KEY']; ?>" value="<?php echo $app_strings['LBL_SELECT_BUTTON_LABEL']?>" /></td>

Modified: vtigercrm/branches/5.0.3/modules/Dashboard/Chart_pipeline_by_lead_source.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Dashboard/Chart_pipeline_by_lead_source.php (original)
+++ vtigercrm/branches/5.0.3/modules/Dashboard/Chart_pipeline_by_lead_source.php Thu Apr 26 08:42:44 2007
@@ -132,7 +132,7 @@
 <?php if($is_admin==false && $profileGlobalPermission[2] == 1 && ($defaultOrgSharingPermission[getTabid('Potentials')] == 3 or $defaultOrgSharingPermission[getTabid('Potentials')] == 0)) { ?>
 	<td valign='top'><select name="pbls_ids[]" multiple size='3'><?php echo get_select_options_with_id(get_user_array(FALSE, "Active", $current_user->id,'private'),$_SESSION['pbls_ids']); ?></select></td>
 <?php } else { ?>
-	<td valign='top'><select name="pbls_ids[]" multiple size='3'><?php echo get_select_options_with_id(get_user_array(false),$_SESSION['pbls_ids']); ?></select></td>
+	<td valign='top'><select name="pbls_ids[]" multiple size='3'><?php echo get_select_options_with_id(get_user_array(false, "Active" ,$current_user->id),$_SESSION['pbls_ids']); ?></select></td>
 <?php } ?>		
 </tr><tr>
 <td align="right"><br /> <input class="button" type="submit" title="<?php echo $app_strings['LBL_SELECT_BUTTON_TITLE']; ?>" accessKey="<?php echo $app_strings['LBL_SELECT_BUTTON_KEY']; ?>" value="<?php echo $app_strings['LBL_SELECT_BUTTON_LABEL']?>" /></td>

Modified: vtigercrm/branches/5.0.3/modules/Dashboard/Chart_pipeline_by_sales_stage.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Dashboard/Chart_pipeline_by_sales_stage.php (original)
+++ vtigercrm/branches/5.0.3/modules/Dashboard/Chart_pipeline_by_sales_stage.php Thu Apr 26 08:42:44 2007
@@ -183,8 +183,8 @@
 <td valign='top' nowrap><?php echo $current_module_strings['LBL_USERS'];?></td>
 <?php if($is_admin==false && $profileGlobalPermission[2] == 1 && ($defaultOrgSharingPermission[getTabid('Potentials')] == 3 or $defaultOrgSharingPermission[getTabid('Potentials')] == 0)) { ?>
 	<td valign='top'><select name="pbss_ids[]" multiple size='3'><?php echo get_select_options_with_id(get_user_array(FALSE, "Active", $current_user->id,'private'),$_SESSION['pbss_ids']); ?></select></td>
-<?php } else { ?>
-	<td valign='top'><select name="pbss_ids[]" multiple size='3'><?php echo get_select_options_with_id(get_user_array(FALSE),$_SESSION['pbss_ids']); ?></select></td>	
+	<?php } else { ?>
+	<td valign='top'><select name="pbss_ids[]" multiple size='3'><?php echo get_select_options_with_id(get_user_array(FALSE,"Active",$current_user->id),$_SESSION['pbss_ids']); ?></select></td>	
 <?php } ?>		
 </tr><tr>
 <td align="right"><br /> <input class="button" onclick="return verify_chart_data(pipeline_by_sales_stage);" type="submit" title="<?php echo $app_strings['LBL_SELECT_BUTTON_TITLE']; ?>" accessKey="<?php echo $app_strings['LBL_SELECT_BUTTON_KEY']; ?>" value="<?php echo $app_strings['LBL_SELECT_BUTTON_LABEL']?>" /></td>





More information about the vtigercrm-commits mailing list