/** * Copyright: dtbaker 2012 * Licence: Please check CodeCanyon.net for licence details. * More licence clarification available here: http://codecanyon.net/wiki/support/legal-terms/licensing-terms/ * Deploy: 9809 f200f46c2a19bb98d112f2d32a8de0c4 * Envato: 4ffca17e-861e-4921-86c3-8931978c40ca * Package Date: 2015-11-25 02:55:20 * IP Address: 67.79.165.254 */ $search = isset($_REQUEST['search']) && is_array($_REQUEST['search']) ? $_REQUEST['search'] : array(); $search['customer_id'] = 0; $users = module_user::get_users($search); // grab a list of customer sites $sites = array(); $user_statuses = module_user::get_statuses(); $roles = module_security::get_roles(); $heading = array('title' => _l('User Administration'), 'button' => array(), 'main' => true); if (module_user::can_i('create', 'Users', 'Config')) { $heading['button'][] = array('title' => 'Add new user', 'type' => 'add', 'url' => $module->link_open('new')); } print_heading($heading); ?> <form action="" method="post"> <?php $search_bar = array('elements' => array('name' => array('title' => _l('Users Name:'), 'field' => array('type' => 'text', 'name' => 'search[generic]', 'value' => isset($search['generic']) ? $search['generic'] : '')))); echo module_form::search_bar($search_bar);