Diff for /loncom/html/adm/helper/resettimes.helper between versions 1.3 and 1.6

version 1.3, 2005/04/07 06:56:22 version 1.6, 2007/09/01 00:41:34
Line 4 Line 4
       <message_text>Select </message_text>        <message_text>Select </message_text>
     </message>      </message>
     <choices variable="harry">      <choices variable="harry">
       <choice computer='1' nextstate="Student">Reset times on one or more maps for a single student.</choice>        <choice computer='1' nextstate="Student">Reset times on one or more folders/maps for a single student.</choice>
       <choice computer='0' nextstate="Class">Reset times on a single map for a section or whole clase.</choice>        <choice computer='0' nextstate="Class">Reset times on a single folder/map for a section or whole class.</choice>
       </choices>        </choices>
   </state>    </state>
   <state name="Student" title="Select Student">    <state name="Student" title="Select Student">
Line 17 Line 17
   
   <state name="SelectAccess">    <state name="SelectAccess">
     <message nextstate="ConfirmStu">      <message nextstate="ConfirmStu">
        <message_text>This is a list of maps and times they were accessed, plese select those you want deleted.</message_text>         <message_text>This is a list of folders/maps and times they were accessed, plese select those you want deleted.</message_text>
     </message>      </message>
     <choices variable='delete' multichoice='true'>      <choices variable='delete' multichoice='true'>
       <exec>        <exec>
Line 45 Line 45
         if (!$fullname) { $fullname="$uname\@$udom"; }          if (!$fullname) { $fullname="$uname\@$udom"; }
         return '<li>'.$fullname.'</li>';          return '<li>'.$fullname.'</li>';
     </eval>      </eval>
     <message><message_text></ul> for maps <ul></message_text></message>      <message><message_text></ul> for folders/maps <ul></message_text></message>
     <eval>      <eval>
  my $list;   my $list;
  my @symbs=split(/\|\|\|/,$helper->{'VARS'}{'delete'});   my @symbs=split(/\|\|\|/,$helper->{'VARS'}{'delete'});
Line 82 Line 82
   
   <state name="Class">    <state name="Class">
     <message nextstate="SelectMap">      <message nextstate="SelectMap">
  <message_text>Select:<br /></message_text>  
     </message>      </message>
     <student variable='stu1' coursepersonnel='true' activeonly='true' multichoice='true' />      <student variable='stu1' coursepersonnel='true' activeonly='true' multichoice='true' />
   </state>    </state>
   
   <state name="SelectMap" title="Select a map">    <state name="SelectMap" title="Select a folder/map">
     <message><message_text>Choose a resource</message_text></message>      <resource variable="res2" includecourse="true">
     <resource variable="res2">        <filterfunc>return ($res->is_map() && $res->map_contains_problem());</filterfunc>
       <filterfunc>return $res->is_map()</filterfunc>  
       <valuefunc>return $res->symb()</valuefunc>        <valuefunc>return $res->symb()</valuefunc>
       <nextstate>ShowPlan</nextstate>        <nextstate>ShowPlan</nextstate>
     </resource>          </resource>    

Removed from v.1.3  
changed lines
  Added in v.1.6


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