|
|
|
1 neenan 1.1 <!--- Name: dsp_editcontactconfirm.cfm 2 Purpose: This file displayed when the program and its details of contact is being edited. It provides the user with more 3 options to add more contacts or not. On clicking YES a variable value is compared and the 4 dsp_addcontact form is bought up for adding further contacts. It is called each time 5 a user selects "YES" to add one or more contacts.It also transfers all the form variables to act_updatecontact.cfm 6 and the actual action of inserting the data into the table(contact) happens in act_updatecontact.cfm 7 8 Date created: 02/23/2005 9 Dependancy: URl.Orgid - The organization id on the form URL to reference in Queries 10 Variables: getOrgID.OrganizationName and GetOrgID.OrgId are used to display newly added organization name and orgID. 11 12 Functions: 13 Date changed: 14 02/23/2005 Prabin & Neena creation and Documentation 15 ---> 16 17 <cfquery name="getcontacts" datasource="#programsdb#"> 18 Select * 19 From dContacts, dOrganization 20 Where dContacts.OrgID = dOrganization.OrgID 21 And dOrganization.OrgID = #URL.OrgID# 22 neenan 1.1 23 </cfquery> 24 25 <!-- #BeginEditable "Content" --> 26 <table width="100%" border="0" cellspacing="0" cellpadding="10" name="text"> 27 <tr> 28 <td> 29 <p> | ||
30 neenan 1.2 <!--- <span class="subheading"> ---> 31 EDIT A PROGRAM -> <!--- <img src="../images/siteimage/dart.gif" border="0"> ---> 32 CONTACT PERSON INFO <!--- <img src="../images/siteimage/dart.gif" border="0"></span> ---> 33 <!--- <span class="sublink2"> --->Step 2 <!--- <img src="../images/siteimage/dart.gif" border="0"></span> ---><br><br> | ||
34 neenan 1.1 35 <!--- <form name="addContact" action="addeditprograms.cfm?fuseaction=<cfoutput>#action#</cfoutput>&OrgID=<cfoutput>#getOrgID.OrgID#</cfoutput>" method="post"> ---> 36 <table width="95%" border="0" cellspacing="0" cellpadding="5" bgcolor="#F4FFE9"> 37 <tr> 38 <td><div class="formtext">Would you like to edit more contacts?</div> 39 </tr> 40 <tr> 41 <td> </td> 42 <td><div class="formtext"> 43 <strong>Yes</strong> 44 45 <cfif #URL.fuseaction# IS "editmorecontacts1"> 46 <a href="addeditprograms.cfm?fuseaction=editProgramTypes1&OrgID=<cfoutput>#URl.Orgid#</cfoutput>"><strong>No</strong></div></td> 47 <cfelseif #URL.fuseaction# IS "editmorecontacts"> 48 <a href="addeditprograms.cfm?fuseaction=editProgramTypes&OrgID=<cfoutput>#URl.Orgid#</cfoutput>"><strong>No</strong></div></td> 49 </cfif> 50 51 </tr> 52 <tr> 53 <td colspan="2"><div class="formtext"> 54 IF <strong>YES</strong>, please click on contact person's name to update information. 55 neenan 1.1 </td> 56 </tr> 57 <tr> 58 <td><div class="formtext"> 59 <cfif #URL.fuseaction# Is "EditMoreContacts1"> 60 <cfoutput query="getcontacts"> 61 <a href="addeditprograms.cfm?fuseaction=EditContacts1&OrgID=#OrgID#&ContactID=#ContactID#&EditContact=yes" class="linktext2"> 62 <strong>#FirstName# #LastName#</strong></a> 63 </cfoutput> 64 <cfelseif #URL.fuseaction# Is "EditMoreContacts"> 65 <cfoutput query="getcontacts"> 66 <a href="addeditprograms.cfm?fuseaction=EditContacts&OrgID=#OrgID#&ContactID=#ContactID#&EditContact=yes" class="linktext2"> 67 <strong>#FirstName# #LastName#</strong></a> 68 </cfoutput> 69 </cfif> 70 </td> 71 </tr> 72 73 </table> 74 75 </td> 76 neenan 1.1 </tr> 77 </table> 78 </p> |
| CVS Admin |
Powered by ViewCVS 1.0-dev |