[Vtigercrm-commits] [vtiger-commits] r4647 - /vtigercrm/trunk/modules/Campaigns/Campaign.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed Mar 29 04:12:48 EST 2006
Author: saraj
Date: Wed Mar 29 02:12:39 2006
New Revision: 4647
Log:
junk code has been removed
Modified:
vtigercrm/trunk/modules/Campaigns/Campaign.php
Modified: vtigercrm/trunk/modules/Campaigns/Campaign.php
==============================================================================
--- vtigercrm/trunk/modules/Campaigns/Campaign.php (original)
+++ vtigercrm/trunk/modules/Campaigns/Campaign.php Wed Mar 29 02:12:39 2006
@@ -64,10 +64,6 @@
$focus = new Contact();
$button = '';
- if(isPermitted("Contacts",1,"") == 'yes')
- {
- $button .= '<input title="New Contact" accessyKey="F" class="button" onclick="this.form.action.value=\'EditView\';this.form.module.value=\'Contacts\'" type="submit" name="button" value="'.$mod_strings['LBL_NEW_CONTACT'].'"> </td>';
- }
$returnset = '&return_module=Campaigns&return_action=DetailView&return_id='.$id;
$query = 'SELECT contactdetails.*, crmentity.crmid, crmentity.smownerid from contactdetails inner join crmentity on crmentity.crmid = contactdetails.contactid where crmentity.deleted=0 and contactdetails.campaignid = '.$id;
@@ -81,10 +77,6 @@
$focus = new Lead();
$button = '';
- if(isPermitted("Leads",1,"") == 'yes')
- {
- $button .= '<input title="New Lead" accessyKey="F" class="button" onclick="this.form.action.value=\'EditView\';this.form.module.value=\'Leads\'" type="submit" name="button" value="'.$mod_strings['LBL_NEW_LEAD'].'"> </td>';
- }
$returnset = '&return_module=Campaigns&return_action=DetailView&return_id='.$id;
$query = 'SELECT leaddetails.*, crmentity.crmid, crmentity.smownerid from leaddetails inner join crmentity on crmentity.crmid = leaddetails.leadid where crmentity.deleted=0 and leaddetails.campaignid = '.$id;
More information about the vtigercrm-commits
mailing list