public function runConfigureUsers(framework\Request $request) { $this->groups = entities\Group::getAll(); $this->teams = entities\Team::getAll(); $this->clients = entities\Client::getAll(); $this->finduser = $request['finduser']; }
?> </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 (\thebuggenie\core\entities\Group::getAll() as $group) { ?> <option value="<?php echo $group->getID(); ?> "<?php if ($user->getGroupID() == $group->getID()) { ?> selected<?php } ?> ><?php echo $group->getName(); ?> </option> <?php
</tr> </thead> <tbody> <tr class="hover_highlight"> <td style="padding: 2px; border-bottom: 1px solid #EAEAEA;"><?php echo __('<b>Global </b>(Everyone with access)', array(), true); ?> </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 = \thebuggenie\core\entities\Group::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 } ?>