Diff for /rat/lonpageflip.pm between versions 1.80.8.2 and 1.80.8.3

version 1.80.8.2, 2013/05/10 23:24:19 version 1.80.8.3, 2013/12/13 14:48:05
Line 468  sub handler { Line 468  sub handler {
      'explain' =>       'explain' =>
      'You have reached the end of the sequence of materials.',       'You have reached the end of the sequence of materials.',
      'back' => 'Go Back',       'back' => 'Go Back',
      'nav' => 'Navigate Course Content',       'nav' => 'Course Contents',
      'wherenext' =>       'wherenext' =>
      'There are several possibilities of where to go next',       'There are several possibilities of where to go next',
      'pick' =>       'pick' =>
      'Please click on the the resource you intend to access',       'Please click on the the resource you intend to access',
      'titleheader' => 'Title',       'titleheader' => 'Title',
      'type' => 'Type');       'type' => 'Type');
                     if (&Apache::loncommon::course_type() eq 'Community') {
                         $lt{'nav'} = &mt('Community Contents');
                     }
                   if ($#possibilities>0) {                    if ($#possibilities>0) {
       my $start_page=        my $start_page=
   &Apache::loncommon::start_page('Multiple Resources');    &Apache::loncommon::start_page('Multiple Resources');
Line 500  ENDSTART Line 503  ENDSTART
                      }                       }
                      $r->print('</table>');                       $r->print('</table>');
                   } else {                    } else {
       my $start_page=                        $r->print(
   &Apache::loncommon::start_page('No Resource');                            &Apache::loncommon::start_page('No Resource')
       $r->print(<<ENDNONE);                           .'<h2>'.$lt{'title'}.'</h2>'
 $start_page                           .'<p>'.$lt{'explain'}.'</p>');
 <h3>$lt{'title'}</h3>  
 <p>$lt{'explain'}</p>  
 ENDNONE  
   }    }
   $r->print(<<ENDMENU);                    $r->print(
 <ul>                        &Apache::lonhtmlcommon::actionbox(
 <li><a href="/adm/flip?postdata=return:">$lt{'back'}</a></li>                            ['<a href="/adm/flip?postdata=return:">'.$lt{'back'}.'</a></li>',
 <li><a href="/adm/navmaps">$lt{'nav'}</a></li>                             '<a href="/adm/navmaps">'.$lt{'nav'}.'</a></li>'
 </ul>                            ])
 ENDMENU                       .&Apache::loncommon::end_page());
                   $r->print(&Apache::loncommon::end_page());  
                   return OK;                    return OK;
       }        }
   } else {    } else {

Removed from v.1.80.8.2  
changed lines
  Added in v.1.80.8.3


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