Elgg
Version 1.9
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
installation
page
elements
sidebar.php
Go to the documentation of this file.
1
<?php
9
$current_step
=
$vars
[
'step'
];
10
$steps
=
$vars
[
'steps'
];
11
12
$current_step_index
= array_search(
$current_step
,
$steps
);
13
14
echo
'<ol>'
;
15
foreach
(
$steps
as $index =>
$step
) {
16
if
($index <
$current_step_index
) {
17
$class
=
'past'
;
18
} elseif ($index ==
$current_step_index
) {
19
$class
=
'present'
;
20
}
else
{
21
$class
=
'future'
;
22
}
23
$text
=
elgg_echo
(
"install:$step"
);
24
echo
"<li class=\"$class\">$text</li>"
;
25
}
26
echo
'</ol>'
;
$current_step
$current_step
Install sidebar.
Definition:
sidebar.php:9
$step
$step
Definition:
install.php:19
$class
if(isset($vars['id'])) $class
Definition:
ajax_loader.php:19
$text
$text
Definition:
default.php:25
elgg_echo
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition:
languages.php:21
$steps
$steps
Definition:
sidebar.php:10
echo
elgg echo
Translates a string.
Definition:
languages.js:43
$current_step_index
$current_step_index
Definition:
sidebar.php:12
$vars
if(file_exists($welcome)) $vars
Definition:
upgrade.php:93
Generated on Sat Dec 21 2024 00:00:36 for Elgg by
1.8.11