version 1.109, 2009/03/07 15:07:09
|
version 1.112, 2009/03/18 16:35:38
|
Line 118 sub handler {
|
Line 118 sub handler {
|
} |
} |
if (!$candisplay) { |
if (!$candisplay) { |
if ($target eq 'tex') { |
if ($target eq 'tex') { |
$r->print('\noindent{\large\textbf{'.&mt('No user home page available').'}}\\\\\\\\'); |
$r->print('\noindent{\large\textbf{'.&mt('No user personal information page available').'}}\\\\\\\\'); |
} else { |
} else { |
$r->print(&Apache::loncommon::start_page("Personal Information Page")); |
$r->print(&Apache::loncommon::start_page("Personal Information Page")); |
$r->print('<h2>'.&mt('No user home page available') .'</h2>'. |
$r->print('<h2>'.&mt('No user personal information page available') .'</h2>'. |
&mt('This is a result of one of the following:').'<ul>'. |
&mt('This is a result of one of the following:').'<ul>'. |
'<li>'.&mt('The administrator of this domain has disabled home page functionality for this specific user.').'</li>'. |
'<li>'.&mt('The administrator of this domain has disabled personal information page functionality for this specific user.').'</li>'. |
'<li>'.&mt('The domain has been configured to disable, by default, home page functionality for all users in the domain.').'</li>'. |
'<li>'.&mt('The domain has been configured to disable, by default, personal information page functionality for all users in the domain.').'</li>'. |
'</ul>'); |
'</ul>'); |
$r->print(&Apache::loncommon::end_page()); |
$r->print(&Apache::loncommon::end_page()); |
} |
} |
Line 179 sub handler {
|
Line 179 sub handler {
|
'force_register' => $env{'forceregister'}, |
'force_register' => $env{'forceregister'}, |
'bread_crumbs' => $brcrum}); |
'bread_crumbs' => $brcrum}); |
$r->print($start_page); |
$r->print($start_page); |
$r->print('<h2>'.&mt('Group files').'</h2>'); |
$r->print('<h2>'.&mt('Group Portfolio').'</h2>'); |
&print_portfiles_link($r,$is_course); |
&print_portfiles_link($r,$is_course); |
$r->print(&Apache::loncommon::end_page()); |
$r->print(&Apache::loncommon::end_page()); |
} |
} |
Line 391 my $image;
|
Line 391 my $image;
|
&& &Apache::lonnet::allowed('srm',$env{'request.course.id'}) |
&& &Apache::lonnet::allowed('srm',$env{'request.course.id'}) |
&& &in_course($cdom,$cnum)) { |
&& &in_course($cdom,$cnum)) { |
if ($target ne 'tex') { |
if ($target ne 'tex') { |
&Apache::lontemplate::print_start_template($r,&mt('User Notes, Records of Face-To-Face Discussions, and Critical Messages in Course').' '.&mt('Shared by course faculty and staff').&Apache::loncommon::help_open_topic("Course_Face_To_Face_Records,Course_Critical_Message"),'LC_ContentBoxSpecial'); |
&Apache::lontemplate::print_start_template($r,&mt('User Notes, Records of Face-To-Face Discussions, and Critical Messages in Course'),'LC_ContentBoxSpecial'); |
|
$r->print('<div style="padding-left: 20px">'); |
|
$r->print('<p>'); |
|
$r->print(&mt('Shared by course faculty and staff').&Apache::loncommon::help_open_topic("Course_Face_To_Face_Records,Course_Critical_Message")); |
|
$r->print('</p>'); |
&Apache::lonmsgdisplay::disfacetoface($r,$cnum,$cdom); |
&Apache::lonmsgdisplay::disfacetoface($r,$cnum,$cdom); |
|
$r->print('</div>'); |
&Apache::lontemplate::print_end_template($r); |
&Apache::lontemplate::print_end_template($r); |
|
|
} else { |
} else { |