32 'align' =>
'vertical',
42 $class =
"elgg-input-checkboxes elgg-{$vars['align']}";
43 if (isset(
$vars[
'class'])) {
44 $class .=
" {$vars['class']}";
45 unset(
$vars[
'class']);
49 if (isset(
$vars[
'id'])) {
50 $id =
"id=\"{$vars['id']}\"";
54 if (is_array(
$vars[
'value'])) {
55 $values = array_map(
'elgg_strtolower',
$vars[
'value']);
68 if (count(
$vars[
'options']) > 0) {
70 if (
$vars[
'name'] &&
$vars[
'default'] !==
false) {
71 echo "<input type=\"hidden\" name=\"{$vars['name']}\" value=\"{$vars['default']}\" />";
74 echo "<ul class=\"$class\" $id>";
88 echo "<li>$input</li>";
if(!$owner||!($owner instanceof ElggUser)||!$owner->canEdit()) $input
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_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
$label
Elgg profile plugin edit default profile action.