16 <
select name=
"<?php echo $vars['name']; ?>" class=
"<?php echo $class; ?>">
18 if (isset(
$vars[
'options_values'])) {
19 foreach (
$vars[
'options_values'] as
$value => $option) {
21 echo "<option value=\"$value\">{$option}</option>";
23 echo "<option value=\"$value\" selected=\"selected\">{$option}</option>";
27 foreach (
$vars[
'options'] as $option) {
28 if ($option !=
$vars[
'value']) {
29 echo "<option>{$option}</option>";
31 echo "<option selected=\"selected\">{$option}</option>";
elgg echo
Translates a string.
if(file_exists($welcome)) $vars