|
|
|
|
File: [Development] / p2rx-programs / dsp_addcontactconfirm.cfm
(download)
Revision: 1.2, Tue Mar 22 19:21:31 2005 UTC (4 years, 8 months ago) by neenan Branch: MAIN Changes since 1.1: +1 -3 lines Removed some commented lines for clarity. |
<!--- Name: dsp_addcontactconfirm.cfm
Purpose: This file displays the choice if more contacts need to be added or not. On clicking YES a variable value is compared and the
dsp_addcontact form is bought up for adding further contacts. It is called each time
a user selects "YES" to add one or more contacts.It also transfers all the form variables to act_addcontact.cfm
and the actual action of inserting the data into the table(contact) happens in act_addcontact.cfm
Date created: 02/23/2005
Dependancy: URl.Orgid - The organization id on the form URL to reference in Queries
Variables: getOrgID.OrganizationName and GetOrgID.OrgId are used to display newly added organization name and ID.
Functions:
Date changed:
02/23/2005 Prabin & Neena creation and Documentation
--->
<cfoutput>
<cfquery name="GetOrgID" datasource="#ProgramsDB#">
Select OrgID, OrganizationName, Times
From dOrganization org
Where org.orgid = #URL.orgid#
</cfquery>
</cfoutput>
<!-- #BeginEditable "Content" -->
<table width="100%" border="0" cellspacing="0" cellpadding="10" name="text">
<tr>
<td>
<p>
<span class="subheading">
ADD A PROGRAM <img src="../images/siteimage/dart.gif" border="0">
CONTACT PERSON INFO <img src="../images/siteimage/dart.gif" border="0"></span>
<span class="sublink2">Step 2 <img src="../images/siteimage/dart.gif" border="0"></span><br><br>
<cfoutput>Organization Name: <strong>#getORGID.OrganizationName#</strong></cfoutput><br><br>
<table width="95%" border="0" cellspacing="0" cellpadding="5" bgcolor="#F4FFE9">
<tr>
<td><div class="formtext">Would you like to add more contacts?</div>
</tr>
<tr>
<td> </td>
<td><div class="formtext">
<cfif #URL.fuseaction# IS "addmorecontacts">
<a href="addeditprograms.cfm?fuseaction=addnewcontacts&OrgID=<cfoutput>#URL.orgid#</cfoutput>&confirm=yes"><strong>Yes</strong></a>
<a href="addeditprograms.cfm?fuseaction=AssociateProgramTypes&OrgID=<cfoutput>#URl.Orgid#</cfoutput>"><strong>No</strong></a></div>
<cfelseif #URL.fuseaction# IS "addmorecontacts1">
<a href="addeditprograms.cfm?fuseaction=addnewcontacts1&OrgID=<cfoutput>#URL.orgid#</cfoutput>&confirm=yes"><strong>Yes</strong></a>
<a href="addeditprograms.cfm?fuseaction=EditProgramTypes1&OrgID=<cfoutput>#URl.Orgid#</cfoutput>"><strong>No</strong></a></div>
</cfif>
</td>
</tr>
</table>
</td>
</tr>
</table>
</p>
| CVS Admin |
Powered by ViewCVS 1.0-dev |