?>
</td>
						<td><label for="user_<?php 
    echo $user->getID();
    ?>
_group"><?php 
    echo __('In group');
    ?>
</label></td>
						<td>
							<select name="group" id="user_<?php 
    echo $user->getID();
    ?>
_group">
								<?php 
    foreach (TBGGroup::getAll() as $group) {
        ?>
									<option value="<?php 
        echo $group->getID();
        ?>
"<?php 
        if ($user->getGroupID() == $group->getID()) {
            ?>
 selected<?php 
        }
        ?>
><?php 
        echo $group->getName();
        ?>
</option>
								<?php 
Ejemplo n.º 2
0
 public function runConfigureUsers(TBGRequest $request)
 {
     $this->groups = TBGGroup::getAll();
     $this->teams = TBGTeam::getAll();
     $this->clients = TBGClient::getall();
     $this->finduser = $request->getParameter('finduser');
 }
Ejemplo n.º 3
0
		</tr>
	</thead>
	<tbody>
		<tr class="hover_highlight">
			<td style="padding: 2px; border-bottom: 1px solid #EAEAEA;"><?php 
echo __('<b>Global </b>(Everyone with access)');
?>
</td>
			<td style="padding: 2px; border-bottom: 1px solid #EAEAEA; text-align: center;">
				<?php 
include_component('configuration/permissionsinfoitem', array('key' => $key, 'target_id' => $target_id, 'type' => 'everyone', 'mode' => $mode, 'item_id' => 0, 'module' => $module, 'access_level' => $access_level));
?>
			</td>
		</tr>
		<?php 
$groups = TBGGroup::getAll();
?>
		<?php 
$gcount = count($groups);
$cc = 1;
?>
		<?php 
foreach ($groups as $group) {
    ?>
			<tr class="hover_highlight">
				<td style="padding: 2px;<?php 
    if ($cc == $gcount) {
        ?>
 border-bottom: 1px solid #EAEAEA;<?php 
    }
    ?>