version 1.29, 2005/05/20 17:00:40
|
version 1.32, 2006/04/13 17:57:17
|
Line 31 package Apache::loncommunicate;
|
Line 31 package Apache::loncommunicate;
|
|
|
use strict; |
use strict; |
use Apache::Constants qw(:common); |
use Apache::Constants qw(:common); |
use Apache::lonmsg(); |
use Apache::lonmsgdisplay(); |
use Apache::loncommon; |
use Apache::loncommon; |
use Apache::lonlocal; |
use Apache::lonlocal; |
use Apache::lonnet; |
use Apache::lonnet; |
Line 47 sub menu {
|
Line 47 sub menu {
|
'unr' => |
'unr' => |
'User Notes, Records of Face-to-Face Discussions, and Critical Messages', |
'User Notes, Records of Face-to-Face Discussions, and Critical Messages', |
|
|
'cbs' => 'Configure blocking of student communication during exams' |
'cbs' => 'Configure Blocking of Student Communication during Exams', |
|
'blog' => 'Edit to my Blogs' |
|
|
); |
); |
my %help=(); |
my %help=(); |
Line 65 sub menu {
|
Line 66 sub menu {
|
<td bgcolor="#FFFFAA"> |
<td bgcolor="#FFFFAA"> |
<b><a href="/adm/email?compose=individual">$lt{'smu'}</a></b> |
<b><a href="/adm/email?compose=individual">$lt{'smu'}</a></b> |
</td></tr> |
</td></tr> |
|
<tr><td bgcolor="#FFFFAA"> |
|
<b><a href="/adm/$env{'user.domain'}/$env{'user.name'}/_rss.html">$lt{'blog'}</a></b> |
|
</td><td></td></tr> |
END |
END |
if (($env{'request.course.id'}) && |
if (($env{'request.course.id'}) && |
( |
( |
Line 97 sub handler {
|
Line 101 sub handler {
|
# |
# |
# Start document |
# Start document |
# |
# |
my $html=&Apache::lonxml::xmlbegin(); |
|
$r->print(<<END); |
|
$html |
|
<head> |
|
<title>The LearningOnline Network with CAPA</title> |
|
</head> |
|
END |
|
|
|
# ----------------------------------------------------------------- Breadcrumbs |
# ----------------------------------------------------------------- Breadcrumbs |
&Apache::lonhtmlcommon::clear_breadcrumbs(); |
&Apache::lonhtmlcommon::clear_breadcrumbs(); |
Line 113 END
|
Line 110 END
|
faq=>12,bug=>'Communication Tools',}); |
faq=>12,bug=>'Communication Tools',}); |
|
|
# ---------------------------------------------------------------------- Header |
# ---------------------------------------------------------------------- Header |
&Apache::lonmsg::header($r); |
&Apache::lonmsgdisplay::header($r); |
&menu($r); |
&menu($r); |
&Apache::lonmsg::disall($r,'new'); |
&Apache::lonmsgdisplay::disall($r,'new'); |
|
$r->print(&Apache::loncommon::end_page()); |
return OK; |
return OK; |
} |
} |
|
|