-
Notifications
You must be signed in to change notification settings - Fork 0
/
formMaterialTypeSwitch.cfm
63 lines (63 loc) · 1.97 KB
/
formMaterialTypeSwitch.cfm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<cfset pageTitle = "Add an Instructional Material">
<cfinclude template="incBegin.cfm">
<cfoutput>
<form action="addNewMaterial.cfm"
method="post"
name="SelectMaterial"
id="SelectMaterial">
<span class="formSectionTitle">#pageTitle#</span>
<div class="form">
<table width="350" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="2">
<p>Please select the type of instructional material your would like to add:</p>
</td>
</tr>
<tr valign="middle">
<td class="rest">
<input name="IsFile" type="radio" value="1" checked>
</td>
<td width="90%" class="rest">
A local file on my computer such as a print handout in Word<sup>®</sup> or Adobe
PDF<sup>®</sup>, a PowerPoint<sup>®</sup> presentation, spreadsheet, etc.
</td>
</tr>
<tr valign="middle">
<td class="rest">
<input name="IsFile" type="radio" value="0">
</td>
<td class="rest">
An online resource such as a Web site, database, digital learning object, course Web site, etc.
</td>
</tr>
<tr valign="top">
<td class="rest"> </td>
<td class="rest"> </td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0">
<tr valign="top">
<td>
<input name="newMat" type="hidden" value="1">
<cfif isDefined("ActID")>
<input name="ActID" type="hidden" value="#ActID#">
</cfif>
<cfif isDefined("SessID")>
<input name="SessID" type="hidden" value="#SessID#">
</cfif>
<input type="submit" class="mainControl" style="width:100px;" value="OK">
</form>
</td>
<td>
<cfif isDefined("ActID") and ActID neq "0">
<form action="session.cfm?ActID=#ActID#&SessID=#SessID#" method="post">
<cfelse>
<form action="materials.cfm?UID=#SESSION.UID#" method="post">
</cfif>
<input type="submit" class="mainControl" value="Cancel">
</form>
</td>
</tr>
</table>
</div>
</cfoutput>