version 1.9, 2003/02/10 14:44:36
|
version 1.10, 2003/02/10 15:19:43
|
Line 97 ENDDOCUMENT
|
Line 97 ENDDOCUMENT
|
} |
} |
if ($allowed) { |
if ($allowed) { |
$r->print('<p>This syllabus can be publically viewed at <tt>http://'. |
$r->print('<p>This syllabus can be publically viewed at <tt>http://'. |
$Apache::lonnet::hostname{$homeserver}.$r->uri.'</tt></p>'. |
$Apache::lonnet::hostname{$homeserver}.$r->uri.'</tt>'. |
'<p><a href="'.$r->uri.'?forcestudent=1">Show Student View</a></p>'); |
&Apache::loncommon::help_open_topic('Syllabus_ExtLink').'</p>'. |
|
'<p><a href="'.$r->uri.'?forcestudent=1">Show Student View</a>'. |
|
&Apache::loncommon::help_open_topic('Uploaded_Templates_PublicView'). |
|
'</p>'); |
} |
} |
if (($allowed) && ($ENV{'form.storesyl'})) { |
if (($allowed) && ($ENV{'form.storesyl'})) { |
foreach (keys %syllabusfields) { |
foreach (keys %syllabusfields) { |
Line 181 ENDDOCUMENT
|
Line 184 ENDDOCUMENT
|
} |
} |
if ($allowed) { |
if ($allowed) { |
$r->print('<h3>'.$syllabusfields{$_}. |
$r->print('<h3>'.$syllabusfields{$_}. |
'</h3>URLs provided will be included into the page output.'. |
&Apache::loncommon::help_open_topic('Syllabus_URLs').'</h3>'. |
'<br />Format:<br /><pre>'. |
'<p><a href="'.$r->uri.'?forcestudent=1">Show Student View</a>'. |
"http://www.foo.org/foo.html\n/res/foo/author/foo.html\n</pre>". |
&Apache::loncommon::help_open_topic('Uploaded_Templates_PublicView').'</p>'); |
'<p><a href="'.$r->uri.'?forcestudent=1">Show Student View</a></p>'); |
|
} else { |
} else { |
$r->print($message); |
$r->print($message); |
} |
} |