');
+ $r->print('
'.$message.'
');
+ $r->print('
');
} else {
my $safeinit;
$r->print(&Apache::lonxml::xmlparse($r,'tex',''.$message.'
'));
}
if ($allowed) {
- if ($env{'form.grade_target'} ne 'tex') {
- $r->print('
'.&mt('Title').'
');
+ if ($env{'form.grade_target'} ne 'tex') {
+ &Apache::lontemplate::print_template($r, &mt('Title'), $message, $allowed, 'LC_ContentBoxSpecial');
&Apache::lontemplate::print_editbox_template($r,$syllabus{$field},$field);
$r->print('');
} else {
my $safeinit;
$r->print(&Apache::lonxml::xmlparse($r,'tex',$syllabus{$field},$safeinit));
}
- }
+ }
+ if(!$allowed) {$r->print($image); }
} else {
if ($target ne 'tex') {
if($allowed){
@@ -366,16 +375,6 @@ sub handler {
}
}
}
-
- if(!$allowed){
- $r->print($image);
- }
-
- if ($allowed) {
- $r->print(''.'
'
- .''.&mt('Show Student View').''.
- &Apache::loncommon::help_open_topic('Uploaded_Templates_PublicView').'
');
- }
if ($allowed && ($env{'form.grade_target'} ne 'tex')) {
$r->print(&Apache::lonhtmlcommon::htmlareaselectactive
('bbb_content').'');
@@ -388,6 +387,9 @@ sub handler {
$r->print(''.&mt('No page information provided.').'
');
}
}
+
+ $r->print('
');
+ $r->print('
');
if ($env{'form.grade_target'} ne 'tex') {
$r->print(&Apache::loncommon::end_page());
} else {
@@ -410,7 +412,7 @@ sub display_group_links {
href => '/adm/groupboards?group='.$group.$refarg,
);
%{$menu{'chat'}} = (
- text => 'Group Chat',
+ text => 'Group Chat Room',
href => "javascript:group_chat('$group')",
);
%{$menu{'files'}} = (
@@ -459,7 +461,7 @@ sub display_group_links {
if ($context eq 'edit') {
$output = &mt('No group functionality.');
} else {
- $output = &mt('No group functionality (e.g., e-mail, discussion, chat or file upload) is currently available to you in this group: [_1].','