Diff for /loncom/interface/loncommon.pm between versions 1.240 and 1.241

version 1.240, 2004/12/02 21:30:16 version 1.241, 2004/12/04 02:05:23
Line 2608  ENDROLE Line 2608  ENDROLE
     $formaction=~s/\/+/\//g;      $formaction=~s/\/+/\//g;
             unless ($customtitle) {  #this is for resources; directories have customtitle, and crumbs and select recent are created in lonpubdir.pm                unless ($customtitle) {  #this is for resources; directories have customtitle, and crumbs and select recent are created in lonpubdir.pm  
                 my $parentpath = '';                  my $parentpath = '';
                 if ($thisdisfn =~ m-(.+/)[^/]*$-) {                  my $lastitem = '';
                   if ($thisdisfn =~ m-(.+/)([^/]*)$-) {
                     $parentpath = $1;                      $parentpath = $1;
                       $lastitem = $2;
                   } else {
                       $lastitem = $thisdisfn;
                 }                  }
         $titleinfo = &Apache::loncommon::help_open_menu('','','','',3,'Authoring').          $titleinfo = &Apache::loncommon::help_open_menu('','','','',3,'Authoring').
                       '<font face="Arial, Helvetica, sans-serif"><b>Construction Space</b>:</font>&nbsp;'.                         '<font face="Arial, Helvetica, sans-serif"><b>Construction Space</b>:</font>&nbsp;'. 
                       '<form name="dirs" method="post" action="'.$formaction                        '<form name="dirs" method="post" action="'.$formaction
     .'" target="_top"><tt><b>'      .'" target="_top"><tt><b>'
     .&Apache::lonhtmlcommon::crumbs($uname.'/'.$parentpath,'_top','/priv','','+1',1)."</b></tt><br />"      .&Apache::lonhtmlcommon::crumbs($uname.'/'.$parentpath,'_top','/priv','','+1',1)."<font size=\"+1\">$lastitem</font></b></tt><br />"
     .&Apache::lonhtmlcommon::select_recent('construct','recent','this.form.action=this.form.recent.value;this.form.submit()')      .&Apache::lonhtmlcommon::select_recent('construct','recent','this.form.action=this.form.recent.value;this.form.submit()')
     .'</form>'      .'</form>'
     .&Apache::lonmenu::constspaceform();      .&Apache::lonmenu::constspaceform();

Removed from v.1.240  
changed lines
  Added in v.1.241


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>