--- loncom/interface/loncommon.pm 2023/06/10 23:55:36 1.1406 +++ loncom/interface/loncommon.pm 2023/06/11 20:45:35 1.1407 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.1406 2023/06/10 23:55:36 raeburn Exp $ +# $Id: loncommon.pm,v 1.1407 2023/06/11 20:45:35 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -6369,6 +6369,8 @@ Input: (optional) filename from which br If page header is being requested for use in a frameset, then the second (option) argument -- frameset will be true, and the target attribute set for links should be target="_parent". + If $title is supplied as the thitd arg, that will be used to + the left of the breadcrumbs tail for the current path. Returns: HTML div with CSTR path and recent box To be included on Authoring Space pages @@ -6376,7 +6378,7 @@ Returns: HTML div with CSTR path and rec =cut sub CSTR_pageheader { - my ($trailfile,$frameset,$title,$diraction) = @_; + my ($trailfile,$frameset,$title) = @_; if ($trailfile eq '') { $trailfile = $env{'request.filename'}; } @@ -6424,7 +6426,7 @@ sub CSTR_pageheader { } my $output = - '
' + '
' .&Apache::loncommon::help_open_menu('','',3,'Authoring') #FIXME: Broken? Where is it? .''.$title.' ' .'
' @@ -6447,7 +6449,7 @@ sub CSTR_pageheader { .'
' .&Apache::lonmenu::constspaceform($frameset); } - $output .= '
'.$diraction; + $output .= '
'; return $output; }