version 1.69.4.1, 2009/05/20 01:23:47
|
version 1.69.4.2, 2010/01/28 17:25:10
|
Line 150 ENDSCRIPT
|
Line 150 ENDSCRIPT
|
&Apache::lonhtmlcommon::clear_breadcrumbs(); |
&Apache::lonhtmlcommon::clear_breadcrumbs(); |
&Apache::lonhtmlcommon::add_breadcrumb |
&Apache::lonhtmlcommon::add_breadcrumb |
({href=>"javascript:ToCatalog()", |
({href=>"javascript:ToCatalog()", |
text=>"Course Catalog"}); |
text=>"Course/Community Catalog"}); |
if ($env{'form.coursenum'} ne '') { |
if ($env{'form.coursenum'} ne '') { |
&Apache::lonhtmlcommon::add_breadcrumb |
&Apache::lonhtmlcommon::add_breadcrumb |
({href=>"javascript:ToCatalog('details')", |
({href=>"javascript:ToCatalog('details')", |
Line 246 ENDSCRIPT
|
Line 246 ENDSCRIPT
|
.' <tt>'.$protocol.'://'. |
.' <tt>'.$protocol.'://'. |
&Apache::lonnet::hostname($homeserver).$r->uri.'</tt>'. |
&Apache::lonnet::hostname($homeserver).$r->uri.'</tt>'. |
&Apache::loncommon::help_open_topic('Syllabus_ExtLink').'</p>'. |
&Apache::loncommon::help_open_topic('Syllabus_ExtLink').'</p>'. |
'<p>'.&mt('You can specify an external URL as Syllabus in the [_1].','<a href="/adm/parmset?action=crsenv">'.&mt('Course Parameters').'</a>').'</p>'. |
'<p class="LC_info">'. |
|
&mt('Instead of using this template you can specify an external URL as Syllabus in the [_1]Course Configuration[_2].', |
|
'<a href="/adm/courseprefs?actions=courseinfo&phase=display">','</a>'). |
|
'</p>'. |
'<p><a href="'.$r->uri.'?forcestudent=1"><font size="+1">'. |
'<p><a href="'.$r->uri.'?forcestudent=1"><font size="+1">'. |
&mt('Show Public View').'</font></a>'. |
&mt('Show Public View').'</font></a>'. |
&Apache::loncommon::help_open_topic('Uploaded_Templates_PublicView'). |
&Apache::loncommon::help_open_topic('Uploaded_Templates_PublicView'). |
Line 362 ENDSCRIPT
|
Line 365 ENDSCRIPT
|
$r->print($message); |
$r->print($message); |
} |
} |
} else { |
} else { |
&Apache::lonfeedback::newline_to_br(\$message); |
if (!&Apache::lonfeedback::contains_block_html($message)) { |
$message =~s|(https?\://[^\s]+)|<a href="$1"><tt>$1</tt></a>|g; |
&Apache::lonfeedback::newline_to_br(\$message); |
|
} |
|
$message=&Apache::lonhtmlcommon::raw_href_to_link($message); |
if ($allowed) { |
if ($allowed) { |
$message=&Apache::lonspeller::markeduptext($message); |
$message=&Apache::lonspeller::markeduptext($message); |
} |
} |