Diff for /loncom/interface/lonindexer.pm between versions 1.196 and 1.198

version 1.196, 2009/04/07 20:12:06 version 1.198, 2009/07/03 09:59:06
Line 409  function gothere(val) { Line 409  function gothere(val) {
 ENDHEADER  ENDHEADER
   
         my ($headerdom)=($uri=~m{^/res/($match_domain)/});          my ($headerdom)=($uri=~m{^/res/($match_domain)/});
  $r->print(&Apache::loncommon::start_page('Content Library',$js,  
  {'domain' => $headerdom,}));          if ($env{'form.catalogmode'}) {
               # "Popup mode"
               $r->print(&Apache::loncommon::start_page('Browse published resources',$js,
                                                        {'only_body' => 1,
                                                         'domain' => $headerdom,}));
           } else {
               # Only display page header and breadcrumbs in non-popup mode
               &Apache::lonhtmlcommon::clear_breadcrumbs();
               &Apache::lonhtmlcommon::add_breadcrumb({
                   'text'  => 'Browse published resources',
                   'href'  => '/res/fhwfdev/?launch=1',
               });
               $r->print(&Apache::loncommon::start_page('Browse published resources',$js,
                                                        {'domain' => $headerdom,})
                        .&Apache::lonhtmlcommon::breadcrumbs()
               );
           }
   
 # ---------------------------------- get state of file types to be showing  # ---------------------------------- get state of file types to be showing
  if ($env{'form.only'}) {   if ($env{'form.only'}) {
     $typeselect = $env{'form.only'};      $typeselect = $env{'form.only'};
Line 885  sub display_line { Line 902  sub display_line {
    'enctype="application/x-www-form-urlencoded"'.     'enctype="application/x-www-form-urlencoded"'.
                    '>'."\n");                     '>'."\n");
  $r->print(&Apache::loncommon::inhibit_menu_check('input'));   $r->print(&Apache::loncommon::inhibit_menu_check('input'));
  $r->print ('<input type=hidden name=openuri value="'.   $r->print ('<input type="hidden" name="openuri" value="'.
    $startdir.'" />'."\n");     $startdir.'" />'."\n");
         $r->print ('<input type="hidden" name="acts" value="" />'."\n");          $r->print ('<input type="hidden" name="acts" value="" />'."\n");
  $r->print ('<a href="#" onClick="document.dirpathUP.submit()"><img src="'.$iconpath.'arrow.up.gif"');   $r->print ('<a href="#" onClick="document.dirpathUP.submit()"><img src="'.$iconpath.'arrow.up.gif"');

Removed from v.1.196  
changed lines
  Added in v.1.198


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