|
|
|
|
File: [Development] / p2rx-programs / act_getPrograms.cfm
(download)
Revision: 1.3, Tue Mar 22 19:06:14 2005 UTC (4 years, 8 months ago) by neenan Branch: MAIN CVS Tags: HEAD Changes since 1.2: +4 -4 lines File was updated with Cflocation tags for editing organizations and a few statements were commented out which were only valid on p2ric site. |
<!--- Name: act_getPrograms.cfm
Purpose: This functions as the action file to retreive the organizational information entered by the current user accessing the Programadmin forms.
The information is displayed on the dsp_editOrganization.cfm via the "editorganization" fuseaction method.
This page is called in the edit mode, changes are done using the act_updateorganization.cfm form to the dorganization table.
Dated: 02/24/2005
Dependancy: URL.Orgid
Variables:
Functions:
Date changed:
02/24/2005 Prabin & Neena Created & Documentation
03/22/2005 Neena updated the file to use cflocation tags to be redirected directly to Edit
organizational information form
--->
<P>
<!--- <a href="Link to your directory/programs.cfm or other such file" > --->
Agencies and Programs
</p>
<cfquery name="provider" datasource="#programsdb#">
SELECT organizationname,*
FROM dOrganization
where orgID = #URL.orgid#
</cfquery>
<cfif #URL.fuseaction# IS "GetOrganizations">
<!--- <table width="100%" border="0" cellspacing="0" cellpadding="10" name="text">
<tr>
<td>
<p><span class="tableheading">Programs in Region 7</span> <br><br>
<p><cfoutput query="provider"><a href="details.cfm?orgid=#orgid#" class="subheading">#organizationName#</a>
<a href="addeditprograms.cfm?FuseAction=Editorganization&OrgID=#orgid#">Edit</a>
<br><br></cfoutput>
<a href="#top"><img src="../images/SiteImage/top.gif" border="0"></a><br><br>
</tr>
</table> --->
<cflocation url="addeditprograms.cfm?FuseAction=Editorganization&OrgID=#orgid#" addToken="No">
</cfif>
<cfif #URL.fuseaction# IS "EDITORGANIZATIONS">
<!--- <table width="100%" border="0" cellspacing="0" cellpadding="10" name="text">
<tr>
<td>
<p><span class="tableheading">Programs in Region 7</span> <br><br>
<p><cfoutput query="provider"><a href="details.cfm?orgid=#orgid#" class="subheading">#provider.organizationName#</a>
<a href="addeditprograms.cfm?FuseAction=Editorg&OrgID=#orgid#">Edit</a>
<br><br></cfoutput>
<a href="#top"><img src="../images/SiteImage/top.gif" border="0"></a><br><br>
</tr>
</table> --->
<cflocation url="addeditprograms.cfm?FuseAction=Editorg&OrgID=#orgid#" addToken="No">
</CFIF>
| CVS Admin |
Powered by ViewCVS 1.0-dev |