1 |
dpavlin |
1 |
<?php |
2 |
|
|
header ("Expires: Fri,09 Sep 1966 06:09:06 GMT"); |
3 |
|
|
header ("Last-Modified: ") . gmdate("D, d M Y H:i:s") . " GMT"; |
4 |
|
|
header ("Cache-Control: no-store, no-cache, must-revalidate"); |
5 |
|
|
header ("Pragma: no-cache"); |
6 |
|
|
|
7 |
|
|
|
8 |
|
|
// Load globals |
9 |
|
|
require_once ("global_vars.php"); |
10 |
|
|
|
11 |
|
|
|
12 |
|
|
// HTML |
13 |
|
|
printf("<html>\n"); |
14 |
dpavlin |
67 |
printf("<head>\n"); |
15 |
dpavlin |
1 |
printf("<title>PageScribe/CourseLib Authoring</title>\n"); |
16 |
|
|
printf("<link rel=\"stylesheet\" href=\"%s\" type=\"text/css\">\n", $GLOBAL_ADMIN_CSS); |
17 |
dpavlin |
67 |
printf("</head>\n"); |
18 |
dpavlin |
1 |
?> |
19 |
|
|
|
20 |
|
|
<center> |
21 |
|
|
<table width="100%" border="0" bgcolor = "#ffffff"> |
22 |
|
|
<tr> |
23 |
|
|
<td> |
24 |
|
|
<?php |
25 |
|
|
switch ($pagetype_id) { |
26 |
|
|
case 2: printf("<h2>PageScribe Page</h2>\n"); |
27 |
|
|
break; |
28 |
|
|
|
29 |
|
|
case 3: printf("<h2>CourseLib</h2>\n"); |
30 |
|
|
break; |
31 |
|
|
default: printf("<h2>PageScribe/CourseLib Page</h2>\n"); |
32 |
|
|
break; |
33 |
|
|
} |
34 |
|
|
?> |
35 |
|
|
</td> |
36 |
|
|
|
37 |
|
|
<td align="right"> |
38 |
|
|
|
39 |
|
|
<?php |
40 |
|
|
// Admin links |
41 |
|
|
printf("<a href=\"%sconsole.phtml\">Authoring Console</a> | ", $GLOBAL_ADMIN_URL); |
42 |
|
|
printf("<a href=\"%sscribe_start.phtml\">CourseLib/PageScribe Pages</a> | ", $GLOBAL_ADMIN_URL); |
43 |
|
|
printf("<a href=\"%sselect_subject.phtml\">Research QuickStart Page Builder</a><br>", $GLOBAL_ADMIN_URL); |
44 |
|
|
|
45 |
|
|
// Public and documentation links |
46 |
|
|
printf("<a href=\"%ssubjects.phtml\">User RQS</a> | ", $GLOBAL_RQS_URL); |
47 |
|
|
printf("<a href=\"%scourses.phtml\">User CourseLib</a> | ", $GLOBAL_SCRIBE_URL); |
48 |
|
|
printf("<a href=\"%sdocs/documentation.phtml\">Docs</a> | ", $GLOBAL_ADMIN_URL); |
49 |
|
|
printf("<a href=\"http://staff.lib.umn.edu/libdata\">LibData Project Site</a><br>"); |
50 |
|
|
?> |
51 |
|
|
|
52 |
|
|
</td> |
53 |
|
|
</tr> |
54 |
|
|
|
55 |
|
|
<tr> |
56 |
|
|
|
57 |
|
|
<td colspan="2"> |
58 |
|
|
<hr size="2"> |
59 |
|
|
</td> |
60 |
|
|
|
61 |
|
|
</tr> |
62 |
|
|
|
63 |
|
|
</table> |
64 |
|
|
</center> |
65 |
dpavlin |
67 |
<body bgcolor = "#ffffff"> |