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 |
|
15 |
//printf("<head>\n"); |
16 |
printf("<title>PageScribe/CourseLib Authoring</title>\n"); |
17 |
printf("<link rel=\"stylesheet\" href=\"%s\" type=\"text/css\">\n", $GLOBAL_ADMIN_CSS); |
18 |
//printf("</head>\n"); |
19 |
?> |
20 |
|
21 |
<center> |
22 |
<table width="100%" border="0" bgcolor = "#ffffff"> |
23 |
<tr> |
24 |
<td> |
25 |
<?php |
26 |
switch ($pagetype_id) { |
27 |
case 2: printf("<h2>PageScribe Page</h2>\n"); |
28 |
break; |
29 |
|
30 |
case 3: printf("<h2>CourseLib</h2>\n"); |
31 |
break; |
32 |
default: printf("<h2>PageScribe/CourseLib Page</h2>\n"); |
33 |
break; |
34 |
} |
35 |
?> |
36 |
</td> |
37 |
|
38 |
<td align="right"> |
39 |
|
40 |
<?php |
41 |
// Admin links |
42 |
printf("<a href=\"%sconsole.phtml\">Authoring Console</a> | ", $GLOBAL_ADMIN_URL); |
43 |
printf("<a href=\"%sscribe_start.phtml\">CourseLib/PageScribe Pages</a> | ", $GLOBAL_ADMIN_URL); |
44 |
printf("<a href=\"%sselect_subject.phtml\">Research QuickStart Page Builder</a><br>", $GLOBAL_ADMIN_URL); |
45 |
|
46 |
// Public and documentation links |
47 |
printf("<a href=\"%ssubjects.phtml\">User RQS</a> | ", $GLOBAL_RQS_URL); |
48 |
printf("<a href=\"%scourses.phtml\">User CourseLib</a> | ", $GLOBAL_SCRIBE_URL); |
49 |
printf("<a href=\"%sdocs/documentation.phtml\">Docs</a> | ", $GLOBAL_ADMIN_URL); |
50 |
printf("<a href=\"http://staff.lib.umn.edu/libdata\">LibData Project Site</a><br>"); |
51 |
?> |
52 |
|
53 |
</td> |
54 |
</tr> |
55 |
|
56 |
<tr> |
57 |
|
58 |
<td colspan="2"> |
59 |
<hr size="2"> |
60 |
</td> |
61 |
|
62 |
</tr> |
63 |
|
64 |
</table> |
65 |
</center> |
66 |
<body bgcolor = "#ffffff"> |