Diff for /loncom/interface/lonsyllabus.pm between versions 1.94 and 1.96

version 1.94, 2009/09/02 12:39:26 version 1.96, 2009/09/07 18:31:50
Line 259  ENDSCRIPT Line 259  ENDSCRIPT
                  .' '.&Apache::loncommon::help_open_topic('Syllabus_ExtLink')                   .' '.&Apache::loncommon::help_open_topic('Syllabus_ExtLink')
                  .'</p>'                   .'</p>'
                  .'<p class="LC_info">'                   .'<p class="LC_info">'
                  .&mt('Instead of using this template you can specify an external URL as Syllabus in the [_1]Course Parameters[_2].'                   .&mt('Instead of using this template you can specify an external URL as Syllabus in the [_1]Course Configuration[_2].'
                      ,'<a href="/adm/parmset?action=crsenv">','</a>')                       ,'<a href="/adm/courseprefs?actions=courseinfo&phase=display">','</a>')
                  .'</p>'                   .'</p>'
         );          );
         #-Print Help Text          #-Print Help Text
Line 363  ENDSCRIPT Line 363  ENDSCRIPT
 # ---------------------------------------------------------------- Get syllabus  # ---------------------------------------------------------------- Get syllabus
     if (($syllabus{'uploaded.lastmodified'}) || ($allowed)) {      if (($syllabus{'uploaded.lastmodified'}) || ($allowed)) {
         if ($allowed) {          if ($allowed) {
             $r->print('<form method="post">'.              $r->print('<form method="post" action="">'.
             '<input type="hidden" name="forceedit" value="edit" />');              '<input type="hidden" name="forceedit" value="edit" />');
         }          }
         my @htmlids=();          my @htmlids=();
Line 406  ENDSCRIPT Line 406  ENDSCRIPT
                     }                      }
                     $message=&Apache::lontexconvert::msgtexconverted($message);                      $message=&Apache::lontexconvert::msgtexconverted($message);
                     if ($target ne 'tex') {                      if ($target ne 'tex') {
                         if ($allowed) {  
                             $r->print('<p>');  
                         }  
                         &Apache::lontemplate::print_template($r, $syllabusfields{$field}, $message,$allowed,'LC_Box');                          &Apache::lontemplate::print_template($r, $syllabusfields{$field}, $message,$allowed,'LC_Box');
                     } else {                      } else {
                         $r->print('\\\\\textbf{'.$syllabusfields{$field}.'}\\\\'.                          $r->print('\\\\\textbf{'.$syllabusfields{$field}.'}\\\\'.
Line 418  ENDSCRIPT Line 415  ENDSCRIPT
                 }                  }
                 if ($allowed) {                  if ($allowed) {
                     if ($target ne 'tex') {                      if ($target ne 'tex') {
                         $r->print('</p>');  
                         &Apache::lontemplate::print_editbox_template($r, $syllabus{$field}, $field);                          &Apache::lontemplate::print_editbox_template($r, $syllabus{$field}, $field);
                     }                      }
                 }                  }

Removed from v.1.94  
changed lines
  Added in v.1.96


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