Diff for /loncom/imspackages/imsimportdocs.pm between versions 1.28 and 1.29

version 1.28, 2009/11/20 17:01:11 version 1.29, 2009/11/20 18:25:34
Line 218  sub display_one { Line 218  sub display_one {
     $r->print(      $r->print(
         '<form action="/adm/imsimportdocs" method="post"'          '<form action="/adm/imsimportdocs" method="post"'
        .' enctype="multipart/form-data" name="pickcms">'         .' enctype="multipart/form-data" name="pickcms">'
        .&Apache::lonhtmlcommon::topic_bar(      );
   
       # Step 1
       $r->print(
          &Apache::lonhtmlcommon::topic_bar(
             1,&mt('Specify the Course Management system used to create the package'))              1,&mt('Specify the Course Management system used to create the package'))
        .&mt('Please choose the CMS used to create your IMS content package:').' '         .&mt('Please choose the CMS used to create your IMS content package:').' '
        .'<select name="source">'         .'<select name="source">'
Line 229  sub display_one { Line 233  sub display_one {
        .'<option value="webctce4">WebCT 4 Campus Edition</option>'         .'<option value="webctce4">WebCT 4 Campus Edition</option>'
        .'</select>'         .'</select>'
     );      );
   
       # Step 2
     $r->print(      $r->print(
        &Apache::lonhtmlcommon::topic_bar(         &Apache::lonhtmlcommon::topic_bar(
            2,&mt('Locate the IMS content package you wish to upload'))             2,&mt('Locate the IMS content package you wish to upload'))
Line 237  sub display_one { Line 243  sub display_one {
       .&mt('File:')        .&mt('File:')
       .' <input type="file" name="uploadname" size="40" />'        .' <input type="file" name="uploadname" size="40" />'
     );      );
   
       # Buttons
     $r->print(      $r->print(
        '<hr />'         '<hr />'
       .'<p>'        .'<p>'
Line 247  sub display_one { Line 255  sub display_one {
       .' onclick="javascript:nextPage()" />'        .' onclick="javascript:nextPage()" />'
       .'</p>'        .'</p>'
     );      );
   
       $r->print('</form>');
 }  }
   
   
Line 338  sub display_two { Line 348  sub display_two {
     # Start output: Step 3 and step 4      # Start output: Step 3 and step 4
   
     $r->print(      $r->print(
         '<form name="pickoptions" method="post">'          '<form name="pickoptions" method="post" action="">'
        .&Apache::lonhtmlcommon::topic_bar(         .&Apache::lonhtmlcommon::topic_bar(
             3,&mt('Choose which content types you wish to import'))              3,&mt('Choose which content types you wish to import'))
        .'<p>'         .'<p>'
Line 620  sub display_three { Line 630  sub display_three {
     my $initbutton =      my $initbutton =
            '<input type="button" value="'             '<input type="button" value="'
           .&mt('re-initializing course')            .&mt('re-initializing course')
           .'" onClick="javascript:init(this.form)" />';            .'" onclick="javascript:init(this.form)" />';
     $r->print(      $r->print(
         '<form method="post" action="/adm/roles" target="loncapaclient" name="importDone">'          '<form method="post" action="/adm/roles" target="loncapaclient" name="importDone">'
        .'<input type="hidden" name="orgurl" value="/adm/coursedocs" />'         .'<input type="hidden" name="orgurl" value="/adm/coursedocs" />'

Removed from v.1.28  
changed lines
  Added in v.1.29


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