Location: PHPKode > projects > Community Learning Network > cln/lib/CLN/interfaces/Group/selectUsers.html
<?php

// set title
// should support multiple languages
$GLOBALS['CLN_PAGE_TITLE'] = 'Add Users to Group';

?>

<form name="groupEdit" action="<?php echo appendToURL(cleanURL($GLOBALS['path']), 'editKoId=' . $this->koId . '&amp;editProcess=selectUsers'); ?>" method="post">
<h3>Select users</h3>
<p>Select the users you want to add to this group.</p>
<table>
	<tr>
		<td>&nbsp;</td>
		<td><strong>User</strong></td>
		<!-- :ONEDAY: <td>&nbsp;</td>-->
	</tr>

<?php

$users = $this->editGroup->loadAllUsers();

// Loop through, making a list of groups with checkboxes
foreach($users as $userId => $userName) {
	if (!isset($this->editGroup->users[$userId])) {
		echo " <tr>\n";
		echo '  <td><input type="checkbox" name="user[' . $userId . ']" value="' . $userName . '" /></td>' . "\n";
		echo "  <td>" . $userName . "</td>\n";
		//echo "  <td><a href=\"#\">View Profile</a> - :ONEDAY:</td>\n";
		echo " </tr>\n";
	}
}

?>
</table>
<span class="clnFormLine">
	<label class="clnFormLabel"  for="selectedUsers"></label>
	<input class="clnFormInput" type="submit" id="selectedUsers" name="selectedUsers" value="Select and Return" />
</span>


</form>
Return current item: Community Learning Network