Changes between Version 35 and Version 36 of BoltRef


Ignore:
Timestamp:
Oct 23, 2008, 1:43:35 PM (16 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BoltRef

    v35 v36  
    3939$student->country;
    4040$student->name;
    41 $student->bandwidth;  // 1: <100Kb; 2: <1Mb; 3: <10Mb etc.
    42 $student->has_audio_output;    // 1: no, 2: yes
    43 $student->has_audio_input;
    44 }}}
    45 
    46 For example, suppose you want to use a larger font for students over 50:
    47 {{{
    48 if ($student->age > 50) {
     41}}}
     42
     43For example, suppose you want to use a larger font for female students:
     44{{{
     45if ($student->sex == 2) {
    4946    echo '<style type="text/css">
    5047        body {font-size: large;}
     
    5552
    5653An alternative way to vary content based on student attributes is
    57 to use separate lesson files, selected in the course document.
     54to use separate lesson files, selected in the course document (see below).
    5855
    5956== Exercises ==