22 'align' =>
'vertical',
32 if (isset(
$vars[
'id'])) {
33 $id =
"id=\"{$vars['id']}\"";
37 $class =
"elgg-input-radios elgg-{$vars['align']}";
38 if (isset(
$vars[
'class'])) {
39 $class .=
" {$vars['class']}";
40 unset(
$vars[
'class']);
42 unset(
$vars[
'align']);
43 $vars[
'class'] =
'elgg-input-radio';
45 if (is_array(
$vars[
'value'])) {
46 $vars[
'value'] = array_map(
'elgg_strtolower',
$vars[
'value']);
52 unset(
$vars[
'options']);
55 unset(
$vars[
'value']);
58 echo "<ul class=\"$class\" $id>";
62 $vars[
'value'] = $option;
73 echo "<li><label><input type=\"radio\" $attributes />$label</label></li>";
elgg_strtolower()
Wrapper function for mb_strtolower().
elgg echo
Translates a string.
elgg_deprecated_notice($msg, $dep_version, $backtrace_level=1)
Sends a notice about deprecated use of a function, view, etc.
elgg_format_attributes(array $attrs=array())
Converts an associative array into a string of well-formed attributes.
$label
Elgg profile plugin edit default profile action.