' . elgg_view('input/file', array('name' => 'images[]')) . ''; } $foot = elgg_view('input/hidden', array('name' => 'guid', 'value' => $album->getGUID())); $foot .= elgg_view('input/submit', array('value' => elgg_echo("photos:addphotos"))); $form_body = << $max
    $list
$foot
HTML; echo elgg_view('input/form', array( 'body' => $form_body, 'action' => 'action/photos/image/upload', 'enctype' => 'multipart/form-data', ));