|
|
|
|
File: [Development] / p2rx-programs / dsp_editcontactconfirm.cfm
(download)
Revision: 1.2, Tue Mar 22 19:42:52 2005 UTC (4 years, 8 months ago) by neenan Branch: MAIN CVS Tags: HEAD Changes since 1.1: +4 -4 lines Commented out span and image reference links. |
<!--- Name: dsp_editcontactconfirm.cfm
Purpose: This file displayed when the program and its details of contact is being edited. It provides the user with more
options to add more contacts 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_updatecontact.cfm
and the actual action of inserting the data into the table(contact) happens in act_updatecontact.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 orgID.
Functions:
Date changed:
02/23/2005 Prabin & Neena creation and Documentation
--->
<cfquery name="getcontacts" datasource="#programsdb#">
Select *
From dContacts, dOrganization
Where dContacts.OrgID = dOrganization.OrgID
And dOrganization.OrgID = #URL.OrgID#
</cfquery>
<!-- #BeginEditable "Content" -->
<table width="100%" border="0" cellspacing="0" cellpadding="10" name="text">
<tr>
<td>
<p>
<!--- <span class="subheading"> --->
EDIT 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>
<!--- <form name="addContact" action="addeditprograms.cfm?fuseaction=<cfoutput>#action#</cfoutput>&OrgID=<cfoutput>#getOrgID.OrgID#</cfoutput>" method="post"> --->
<table width="95%" border="0" cellspacing="0" cellpadding="5" bgcolor="#F4FFE9">
<tr>
<td><div class="formtext">Would you like to edit more contacts?</div>
</tr>
<tr>
<td> </td>
<td><div class="formtext">
<strong>Yes</strong>
<cfif #URL.fuseaction# IS "editmorecontacts1">
<a href="addeditprograms.cfm?fuseaction=editProgramTypes1&OrgID=<cfoutput>#URl.Orgid#</cfoutput>"><strong>No</strong></div></td>
<cfelseif #URL.fuseaction# IS "editmorecontacts">
<a href="addeditprograms.cfm?fuseaction=editProgramTypes&OrgID=<cfoutput>#URl.Orgid#</cfoutput>"><strong>No</strong></div></td>
</cfif>
</tr>
<tr>
<td colspan="2"><div class="formtext">
IF <strong>YES</strong>, please click on contact person's name to update information.
</td>
</tr>
<tr>
<td><div class="formtext">
<cfif #URL.fuseaction# Is "EditMoreContacts1">
<cfoutput query="getcontacts">
<a href="addeditprograms.cfm?fuseaction=EditContacts1&OrgID=#OrgID#&ContactID=#ContactID#&EditContact=yes" class="linktext2">
<strong>#FirstName# #LastName#</strong></a>
</cfoutput>
<cfelseif #URL.fuseaction# Is "EditMoreContacts">
<cfoutput query="getcontacts">
<a href="addeditprograms.cfm?fuseaction=EditContacts&OrgID=#OrgID#&ContactID=#ContactID#&EditContact=yes" class="linktext2">
<strong>#FirstName# #LastName#</strong></a>
</cfoutput>
</cfif>
</td>
</tr>
</table>
</td>
</tr>
</table>
</p>
| CVS Admin |
Powered by ViewCVS 1.0-dev |