--- loncom/interface/lonaboutme.pm 2004/05/10 14:11:13 1.25
+++ loncom/interface/lonaboutme.pm 2004/08/25 18:08:11 1.30
@@ -1,7 +1,7 @@
# The LearningOnline Network
# "About Me" Personal Information
#
-# $Id: lonaboutme.pm,v 1.25 2004/05/10 14:11:13 sakharuk Exp $
+# $Id: lonaboutme.pm,v 1.30 2004/08/25 18:08:11 sakharuk Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -153,8 +153,12 @@ ENDDOCUMENT
if ($syllabus{'uploaded.photourl'}) {
&Apache::lonnet::allowuploaded('/adm/aboutme',
$syllabus{'uploaded.photourl'});
- $r->print('
');
+ my $image='
';
+ if ($target eq 'tex') {
+ $image=&Apache::lonxml::xmlparse($r,'tex',$image);
+ }
+ $r->print($image);
}
if ($allowed) {
$r->print(
@@ -170,6 +174,9 @@ ENDDOCUMENT
$message=~s/\n/\
/g;
$message
=~s/(http\:\/\/[^\s]+)/\\$1\<\/tt\>\<\/a\>/g;
+ if ($allowed) {
+ $message=&Apache::lonspeller::markeduptext($message);
+ }
$message=&Apache::lontexconvert::msgtexconverted($message);
if ($target ne 'tex') {
$r->print(''.$syllabusfields{$_}.'
'.
@@ -196,6 +203,7 @@ ENDDOCUMENT
if ($ENV{'request.course.id'}) {
if (&Apache::lonnet::allowed('srm',$ENV{'request.course.id'})) {
if ($target ne 'tex') {
+ $r->print('');
$r->print('
'.
&mt('User Notes, Records of Face-To-Face Discussions, and Critical Messages in Course').'
'.
&mt('Shared by course faculty and staff').