version 1.60, 2006/12/11 03:46:31
|
version 1.62, 2007/05/02 01:33:48
|
Line 131 sub handler {
|
Line 131 sub handler {
|
'"</h2>'); |
'"</h2>'); |
} |
} |
if ($target ne 'tex') { |
if ($target ne 'tex') { |
$r->print('<h3>'.$Apache::lonnet::domaindescription{$cdom}.'</h3>'. |
$r->print('<h3>'.&Apache::lonnet::domain($cdom,'description').'</h3>'. |
'<p>'.&Apache::loncommon::messagewrapper('Send me a message',$cnum,$cdom).'</p>'.&Apache::lonrss::advertisefeeds($cnum,$cdom)); |
'<p>'.&Apache::loncommon::messagewrapper('Send me a message',$cnum,$cdom).'</p>'.&Apache::lonrss::advertisefeeds($cnum,$cdom)); |
} else { |
} else { |
$r->print('\textbf{'.$Apache::lonnet::domaindescription{$cdom}.'}\\\\'); |
$r->print('\textbf{'.&Apache::lonnet::domain($cdom,'description').'}\\\\'); |
} |
} |
my %syllabus=&Apache::lonnet::dump('aboutme',$cdom,$cnum); |
my %syllabus=&Apache::lonnet::dump('aboutme',$cdom,$cnum); |
my $allowed=0; |
my $allowed=0; |
Line 236 sub handler {
|
Line 236 sub handler {
|
$r->print('<br /><textarea cols="80" rows="6" name="'.$field.'">'. |
$r->print('<br /><textarea cols="80" rows="6" name="'.$field.'">'. |
&HTML::Entities::encode($syllabus{$field},'"&<>'). |
&HTML::Entities::encode($syllabus{$field},'"&<>'). |
'</textarea><input type="submit" name="storesyl" value="'. |
'</textarea><input type="submit" name="storesyl" value="'. |
&mt('Store').'" />'); |
&mt('Save').'" />'); |
} |
} |
} |
} |
} |
} |