'; foreach ($steps as $index => $step) { if ($index < $current_step_index) { $class = 'past'; } elseif ($index == $current_step_index) { $class = 'present'; } else { $class = 'future'; } $text = elgg_echo("install:$step"); echo "
  • $text
  • "; } echo '';