version 1.6, 2002/09/13 20:46:09
|
version 1.10, 2003/02/10 15:19:43
|
Line 72 ENDDOCUMENT
|
Line 72 ENDDOCUMENT
|
$r->print('<h1>'.&Apache::loncommon::plainname($cnum,$cdom).'</h1>'); |
$r->print('<h1>'.&Apache::loncommon::plainname($cnum,$cdom).'</h1>'); |
if ($courseenv{'nickname'}) { |
if ($courseenv{'nickname'}) { |
$r->print( |
$r->print( |
'<h2>"'.&Apache::lonnet::unescape($courseenv{'nickname'}). |
'<h2>"'.$courseenv{'nickname'}. |
'"</h2>'); |
'"</h2>'); |
} |
} |
$r->print('<h3>'.$Apache::lonnet::domaindescription{$cdom}.'</h3>'. |
$r->print('<h3>'.$Apache::lonnet::domaindescription{$cdom}.'</h3>'. |
Line 89 ENDDOCUMENT
|
Line 89 ENDDOCUMENT
|
|
|
if ($allowed) { |
if ($allowed) { |
$r->print('<p><b>Privacy Note:</b> The information you submit can be viewed by anybody who is logged into LON-CAPA. Do not provide information that you are not ready to share publically.</p>'. |
$r->print('<p><b>Privacy Note:</b> The information you submit can be viewed by anybody who is logged into LON-CAPA. Do not provide information that you are not ready to share publically.</p>'. |
'<p><a href="'.$r->uri.'?forcestudent=1">Show Public View</a></p>'); |
'<p><a href="'.$r->uri.'?forcestudent=1">Show Public View</a>'. |
|
&Apache::loncommon::help_open_topic('Uploaded_Templates_PublicView').</p>'); |
} |
} |
if (($ENV{'form.uploaddoc.filename'}) && |
if (($ENV{'form.uploaddoc.filename'}) && |
($ENV{'form.storeupl'}) && ($allowed)) { |
($ENV{'form.storeupl'}) && ($allowed)) { |
Line 153 ENDDOCUMENT
|
Line 154 ENDDOCUMENT
|
} else { |
} else { |
$r->print('<p>No personal information provided.</p>'); |
$r->print('<p>No personal information provided.</p>'); |
} |
} |
|
if ($ENV{'request.course.id'}) { |
|
if (&Apache::lonnet::allowed('srm',$ENV{'request.course.id'})) { |
|
$r->print('<hr /><h3>User Notes, Records of Face-To-Face Discussions, and Critical Messages in Course</h3>Shared by course faculty and staff<br />'); |
|
&Apache::lonmsg::disfacetoface($r,$cnum,$cdom); |
|
$r->print(&Apache::loncommon::noteswrapper('Add Records',$cnum,$cdom)); |
|
} |
|
} |
$r->print('</body></html>'); |
$r->print('</body></html>'); |
return OK; |
return OK; |
} |
} |