diff options
Diffstat (limited to 'views/installation/install/sidebar.php')
-rw-r--r-- | views/installation/install/sidebar.php | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/views/installation/install/sidebar.php b/views/installation/install/sidebar.php deleted file mode 100644 index 8136cd898..000000000 --- a/views/installation/install/sidebar.php +++ /dev/null @@ -1,26 +0,0 @@ -<?php -/** - * Install sidebar - * - * @uses $vars['step'] Current step - * @uses $vars['steps'] Array of steps - */ - -$current_step = $vars['step']; -$steps = $vars['steps']; - -$current_step_index = array_search($current_step, $steps); - -echo '<ol>'; -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 "<li class=\"$class\">$text</li>"; -} -echo '</ol>'; |