File:  [LON-CAPA] / loncom / homework / templates / SimpleTrueFalse.problem
Revision 1.3: download - view: text, annotated - select for diffs
Mon Jul 6 17:12:47 2009 UTC (15 years ago) by bisitz
Branches: MAIN
CVS tags: bz6209-base, bz6209, bz2851, HEAD
Consistent problem templates:
- New line after each tag (not for texts in foils)
- One empty row after each end tag and before new start tag for second level tags
- No indentation for second level tags, e.g. <script>
- Four white spaces as indentation for each further sub level
    Exceptions:
        -Content (mostly text) in separate line(s): no indentation
        - Concept groups: same indentation as foilgroup
          (allows to insert code from problems without concept groups without changing the indentation and vice versa)
- No new line at end of template
- Removed new lines from within the middle of default texts
- Added one blank each after "<m>$" and before "$</m>" to ensure no misinterpretation neither by human nor by machine (e.g. "<m>$x" is not "<m>$ $x")
- Replaced deprecated font tag in <instructorcomment> by CSS
- Removed dos line endings
- dos2unix conversion
  (ClickImageExample.problem, RandomLabelExample.problem, SimpleMatching.problem)

    1: <problem>
    2: 
    3: <startouttext />
    4: Type Question Here.
    5: <endouttext />
    6: 
    7: <optionresponse max="10">
    8:     <foilgroup options="('True','False')">
    9:         <foil name="Foil1" value="True">
   10:             <startouttext />This is foil One. It is currently set to "True."<endouttext />
   11:         </foil>
   12:         <foil name="Foil2" value="False">
   13:             <startouttext />This is foil Two. It is currently set to "False."<endouttext />
   14:         </foil>
   15:         <foil name="Foil3" value="True">
   16:             <startouttext />This is foil Three. It is currently set to "True."<endouttext />
   17:         </foil>
   18:         <foil name="Foil4" value="False">
   19:             <startouttext />This is foil Four. It is currently set to "False."<endouttext />
   20:         </foil>
   21:         <foil name="Foil5" value="True">
   22:             <startouttext />This is foil Five. It is currently set to "True."<endouttext />
   23:         </foil>
   24:         <foil name="Foil6" value="False">
   25:             <startouttext />This is foil Six. It is currently set to "False."<endouttext />
   26:         </foil>
   27:     </foilgroup>
   28:     <hintgroup>
   29:         <startouttext /><endouttext />
   30:     </hintgroup>
   31: </optionresponse>
   32: 
   33: </problem>

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