17 |
printf("</HEAD>\n"); |
printf("</HEAD>\n"); |
18 |
|
|
19 |
|
|
20 |
|
// Default access settings |
21 |
|
$sess_time_human = ""; |
22 |
|
$sess_staff_account = ""; |
23 |
|
$sess_staff_id = 0; |
24 |
|
$sess_access_level = 0; |
25 |
|
$sess_access = ""; |
26 |
|
$sess_last_name = ""; |
27 |
|
$sess_first_name = ""; |
28 |
|
|
29 |
|
|
30 |
// Page header |
// Page header |
31 |
require_once ($GLOBAL_ADMIN_HEADER); |
require_once ($GLOBAL_ADMIN_HEADER); |
32 |
|
|
91 |
<?php |
<?php |
92 |
printf("<form method = \"POST\" action = \"subject_builder.phtml\" >\n"); |
printf("<form method = \"POST\" action = \"subject_builder.phtml\" >\n"); |
93 |
printf("<select name = \"subject_id\" size=\"6\">\n"); |
printf("<select name = \"subject_id\" size=\"6\">\n"); |
94 |
dropDownAuthSubjects($con, $sess_access_level, $sess_staff_id); |
dropDownAuthSubjects($sess_access_level, $sess_staff_id); |
95 |
printf("</select>\n"); |
printf("</select>\n"); |
96 |
print "<br>\n"; |
print "<br>\n"; |
97 |
printf("<input type = \"Submit\" value = \"Edit Page\" > "); |
printf("<input type = \"Submit\" value = \"Edit Page\" > "); |
107 |
<form method = "POST" action = "scribe.phtml"> |
<form method = "POST" action = "scribe.phtml"> |
108 |
<select name = "page_id" size="6"> |
<select name = "page_id" size="6"> |
109 |
<?php |
<?php |
110 |
dropDownAuthCourses($con, $sess_access_level, $sess_staff_id); |
dropDownAuthCourses($sess_access_level, $sess_staff_id); |
111 |
?> |
?> |
112 |
</select><br> |
</select><br> |
113 |
<input type = "submit" value = "Edit or Delete Page"><br> |
<input type = "submit" value = "Edit or Delete Page"><br> |
121 |
<form method = "POST" action = "scribe.phtml"> |
<form method = "POST" action = "scribe.phtml"> |
122 |
<select name = "page_id" size="6"> |
<select name = "page_id" size="6"> |
123 |
<?php |
<?php |
124 |
dropDownAuthPages($con, $sess_access_level, $sess_staff_id); |
dropDownAuthPages($sess_access_level, $sess_staff_id); |
125 |
?> |
?> |
126 |
</select><br> |
</select><br> |
127 |
<input type = "submit" value = "Edit or Delete Page"> |
<input type = "submit" value = "Edit or Delete Page"> |
177 |
<b>Initial Master Subject:</b><br> |
<b>Initial Master Subject:</b><br> |
178 |
|
|
179 |
<select name = "mastersubject_id"> |
<select name = "mastersubject_id"> |
180 |
<?php dropDownFieldOmit($con, "mastersubject", "mastersubject", "mastersubject_id", " WHERE mastersubject_id <> 2"); ?> |
<?php dropDownFieldOmit("mastersubject", "mastersubject", "mastersubject_id", " WHERE mastersubject_id <> 2"); ?> |
181 |
</select><br><br> |
</select><br><br> |
182 |
|
|
183 |
<b>Limit to Master Information Type:</b><br> |
<b>Limit to Master Information Type:</b><br> |
184 |
|
|
185 |
<select name = "masterinfotype_id"> |
<select name = "masterinfotype_id"> |
186 |
<?php dropDownFieldOmit($con, "masterinfotype", "masterinfotype", "masterinfotype_id", " WHERE masterinfotype_id > 0"); ?> |
<?php dropDownFieldOmit("masterinfotype", "masterinfotype", "masterinfotype_id", " WHERE masterinfotype_id > 0"); ?> |
187 |
</select> |
</select> |
188 |
|
|
189 |
<br><br> |
<br><br> |
238 |
<td> |
<td> |
239 |
|
|
240 |
<select name ="infotype_id"> |
<select name ="infotype_id"> |
241 |
<?php dropDownFieldOmit($con, "infotype", "infotype", "infotype_id", " WHERE infotype_id > 0 "); ?> |
<?php dropDownFieldOmit("infotype", "infotype", "infotype_id", " WHERE infotype_id > 0 "); ?> |
242 |
</select> |
</select> |
243 |
</td> |
</td> |
244 |
<td width="30%"> |
<td width="30%"> |
255 |
<form method="POST" action="masterinfotype_drill.phtml"> |
<form method="POST" action="masterinfotype_drill.phtml"> |
256 |
<td> |
<td> |
257 |
<select name ="masterinfotype_id"> |
<select name ="masterinfotype_id"> |
258 |
<?php dropDownFieldOmit($con, "masterinfotype", "masterinfotype", "masterinfotype_id", " WHERE masterinfotype_id > 0 "); ?> |
<?php dropDownFieldOmit("masterinfotype", "masterinfotype", "masterinfotype_id", " WHERE masterinfotype_id > 0 "); ?> |
259 |
</select> |
</select> |
260 |
</td> |
</td> |
261 |
<td> |
<td> |
273 |
<form method="POST" action="mastersubject_drill.phtml"> |
<form method="POST" action="mastersubject_drill.phtml"> |
274 |
<td> |
<td> |
275 |
<select name ="mastersubject_id"> |
<select name ="mastersubject_id"> |
276 |
<?php dropDownFieldOmit($con, "mastersubject", "mastersubject", "mastersubject_id", " WHERE mastersubject_id > 0 "); ?> |
<?php dropDownFieldOmit("mastersubject", "mastersubject", "mastersubject_id", " WHERE mastersubject_id > 0 "); ?> |
277 |
</select> |
</select> |
278 |
</td> |
</td> |
279 |
<td> |
<td> |