');
+ $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') {
- &Apache::lontemplate::print_template($r,$syllabusfields{$field},$message,$allowed);
+ if($allowed){
+ $r->print('');
+ }
+ &Apache::lontemplate::print_template($r,$syllabusfields{$field},$message,$allowed,'LC_ContentBoxSpecial');
} else {
my $safeinit;
$r->print(&Apache::lonxml::xmlparse($r,'tex','
'.$syllabusfields{$field}.'
'));
@@ -347,6 +366,7 @@ sub handler {
if ($allowed) {
if ($target ne 'tex') {
&Apache::lontemplate::print_editbox_template($r,$syllabus{$field},$field);
+ $r->print('');
} else {
my $safeinit;
$r->print(&Apache::lonxml::xmlparse($r,'tex',$syllabus{$field},$safeinit));
@@ -355,16 +375,6 @@ sub handler {
}
}
}
- &Apache::lontemplate::end_ContentBox($r);
- if(!$allowed){
- $r->print($image);
- }
- &Apache::lontemplate::end_columnSection($r);
- 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').'');
@@ -374,9 +384,12 @@ sub handler {
if ($group ne '') {
&display_group_links($r,$target,$group,'view',$refarg,%groupinfo);
} else {
- $r->print(&mt('No page information provided.
'));
+ $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 {
@@ -399,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'}} = (
@@ -417,16 +430,27 @@ sub display_group_links {
}
}
if (@available > 0) {
- my $output = '