Diff for /loncom/homework/structuretags.pm between versions 1.555 and 1.556

version 1.555, 2017/07/02 16:50:30 version 1.556, 2017/11/08 00:34:41
Line 3147  sub end_simpleeditbutton { Line 3147  sub end_simpleeditbutton {
 }  }
   
 sub practice_problem_header {  sub practice_problem_header {
     return '<span class="LC_info"><h3>'.&mt('Practice Problem').'</h3></span>'.      return '<h3 class="LC_info">'.&mt('Practice Problem').'</h3>'.
            '<span class="LC_info">'.&mt('Submissions are not permanently recorded').             '<span class="LC_info">'.&mt('Submissions are not permanently recorded').
            '</span>';             '</span>';
 }  }
Line 3173  sub randomizetry_problem_header { Line 3173  sub randomizetry_problem_header {
             $text = &mt('A new variation will be generated after each try until correct or tries limit is reached.');              $text = &mt('A new variation will be generated after each try until correct or tries limit is reached.');
         }          }
     }      }
     return '<span class="LC_info"><h3>'.$header.'</h3></span>'.      return '<h3 class="LC_info">'.$header.'</h3>'.
            '<span class="LC_info">'.$text.'</span><hr />';             '<span class="LC_info">'.$text.'</span><hr />';
 }  }
   
Line 3204  sub randomizetry_part_header { Line 3204  sub randomizetry_part_header {
     if ($num > 1) {      if ($num > 1) {
         $output .= '<hr />';          $output .= '<hr />';
     }      }
     $output .=  '<span class="LC_info"><h4>'.$header.'</h4></span>'.      $output .=  '<h4 class="LC_info">'.$header.'</h4>'.
                   '<span class="LC_info">'.$text.'</span><br /><br />';                    '<span class="LC_info">'.$text.'</span><br /><br />';
     return $output;      return $output;
 }  }

Removed from v.1.555  
changed lines
  Added in v.1.556


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