]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #3951. Added label for access dropdown in widget edit view.
authorBrett Profitt <brett.profitt@gmail.com>
Fri, 21 Oct 2011 00:42:33 +0000 (17:42 -0700)
committerBrett Profitt <brett.profitt@gmail.com>
Fri, 21 Oct 2011 00:42:33 +0000 (17:42 -0700)
views/default/forms/widgets/save.php

index 4ba911cb5a6a3a5487c93ec1fd122ac30d67888e..6959b2a82de096d0883dab53af6061fe06d18fa5 100644 (file)
@@ -14,7 +14,7 @@ $custom_form_section = elgg_view($edit_view, array('entity' => $widget));
 
 $access = '';
 if ($show_access) {
-       $access = elgg_view('input/access', array(
+       $access = elgg_echo('access') . ': ' . elgg_view('input/access', array(
                'name' => 'params[access_id]',
                'value' => $widget->access_id,
        ));
@@ -38,4 +38,4 @@ $body = <<<___END
        </div>
 ___END;
 
-echo $body;
\ No newline at end of file
+echo $body;