[Vtigercrm-commits] [vtiger-commits] r5212 - in /vtigercrm/trunk/modules: Accounts/ListView.php Contacts/ListView.php HelpDesk/ListView.php Leads/ListView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Fri Apr 21 04:42:22 EDT 2006
Author: don
Date: Fri Apr 21 02:42:12 2006
New Revision: 5212
Log:
Security Support for Merge Done
Modified:
vtigercrm/trunk/modules/Accounts/ListView.php
vtigercrm/trunk/modules/Contacts/ListView.php
vtigercrm/trunk/modules/HelpDesk/ListView.php
vtigercrm/trunk/modules/Leads/ListView.php
Modified: vtigercrm/trunk/modules/Accounts/ListView.php
==============================================================================
--- vtigercrm/trunk/modules/Accounts/ListView.php (original)
+++ vtigercrm/trunk/modules/Accounts/ListView.php Fri Apr 21 02:42:12 2006
@@ -182,7 +182,7 @@
{
echo "<input name='allids' type='hidden' value='".implode($ids,";")."'>";
}
-if(isPermitted("Accounts",8,'') == 'yes')
+if(isPermitted("Accounts","Merge") == 'yes')
{
$smarty->assign("MERGEBUTTON","<td><input title=\"$app_strings[LBL_MERGE_BUTTON_TITLE]\" accessKey=\"$app_strings[LBL_MERGE_BUTTON_KEY]\" class=\"small\" onclick=\"return massMerge()\" type=\"submit\" name=\"Merge\" value=\" $app_strings[LBL_MERGE_BUTTON_LABEL]\"></td>");
$wordTemplateResult = fetchWordTemplateList("Accounts");
Modified: vtigercrm/trunk/modules/Contacts/ListView.php
==============================================================================
--- vtigercrm/trunk/modules/Contacts/ListView.php (original)
+++ vtigercrm/trunk/modules/Contacts/ListView.php Fri Apr 21 02:42:12 2006
@@ -191,7 +191,7 @@
{
echo "<input name='allids' type='hidden' value='".implode($ids,";")."'>";
}
-if(isPermitted("Contacts",8,'') == 'yes')
+if(isPermitted("Contacts","Merge") == 'yes')
{
$smarty->assign("MERGEBUTTON","<td><input title=\"$app_strings[LBL_MERGE_BUTTON_TITLE]\" accessKey=\"$app_strings[LBL_MERGE_BUTTON_KEY]\" class=\"small\" onclick=\"return massMerge()\" type=\"submit\" name=\"Merge\" value=\" $app_strings[LBL_MERGE_BUTTON_LABEL]\"></td>");
$wordTemplateResult = fetchWordTemplateList("Contacts");
Modified: vtigercrm/trunk/modules/HelpDesk/ListView.php
==============================================================================
--- vtigercrm/trunk/modules/HelpDesk/ListView.php (original)
+++ vtigercrm/trunk/modules/HelpDesk/ListView.php Fri Apr 21 02:42:12 2006
@@ -172,7 +172,7 @@
{
echo "<input name='allids' type='hidden' value='".implode($ids,";")."'>";
}
-if(isPermitted("HelpDesk",8,'') == 'yes')
+if(isPermitted("HelpDesk","Merge") == 'yes')
{
$smarty->assign("MERGEBUTTON","<input title=\"$app_strings[LBL_MERGE_BUTTON_TITLE]\" accessKey=\"$app_strings[LBL_MERGE_BUTTON_KEY]\" class=\"button\" onclick=\"return massMerge()\" type=\"submit\" name=\"Merge\" value=\" $app_strings[LBL_MERGE_BUTTON_LABEL]\"></td>");
$wordTemplateResult = fetchWordTemplateList("HelpDesk");
Modified: vtigercrm/trunk/modules/Leads/ListView.php
==============================================================================
--- vtigercrm/trunk/modules/Leads/ListView.php (original)
+++ vtigercrm/trunk/modules/Leads/ListView.php Fri Apr 21 02:42:12 2006
@@ -187,7 +187,7 @@
{
echo "<input name='allids' type='hidden' value='".implode($ids,";")."'>";
}
-if(isPermitted("Leads",8,'') == 'yes')
+if(isPermitted("Leads","Merge") == 'yes')
{
$smarty->assign("MERGEBUTTON","<td><input title=\"$app_strings[LBL_MERGE_BUTTON_TITLE]\" accessKey=\"$app_strings[LBL_MERGE_BUTTON_KEY]\" class=\"small\" onclick=\"return massMerge()\" type=\"submit\" name=\"Merge\" value=\" $app_strings[LBL_MERGE_BUTTON_LABEL]\"></td>");
$wordTemplateResult = fetchWordTemplateList("Leads");
More information about the vtigercrm-commits
mailing list