echo t('to'); ?> <?php echo $form->text('date_to', array('style' => 'width: 86px')); ?> </span> <span class="ccm-search-option" search-field="is_active"> <?php echo $form->select('active', array('0' => t('Inactive Users'), '1' => t('Active Users')), array('style' => 'vertical-align: middle')); ?> </span> <?php if (PERMISSIONS_MODEL == 'advanced') { $gsl = new GroupSetList(); $groupsets = array(); foreach ($gsl->get() as $gs) { $groupsets[$gs->getGroupSetID()] = $gs->getGroupSetDisplayName(); } ?> <span class="ccm-search-option" search-field="group_set"> <?php echo $form->select('gsID', $groupsets); ?> </span> <?php } ?> <?php
<?php defined('C5_EXECUTE') or die("Access Denied."); use Concrete\Core\Permission\Access\Entity\Type as PermissionAccessEntityType; $type = PermissionAccessEntityType::getByHandle('group_set'); $url = $type->getAccessEntityTypeToolsURL(); $tp = new TaskPermission(); if (!$tp->canAccessGroupSearch()) { echo t("You have no access to groups."); } else { $gl = new GroupSetList(); ?> <div id="ccm-list-wrapper"> <?php if ($gl->getTotal() > 0) { foreach ($gl->get() as $gs) { ?> <div class="ccm-group"> <div style="background-image: url(<?php echo ASSETS_URL_IMAGES; ?> /icons/group.png)" class="ccm-group-inner-indiv"> <a class="ccm-group-inner-atag" id="g<?php echo $g['gID']; ?> " href="javascript:void(0)" onclick="ccm_selectGroupSet(<?php echo $gs->getGroupSetID(); ?> )"><?php