test_interface('header'); // set in wphone.php plugin if ( !isset($this->context) || ( ($this->context != 'edit') && ($this->context != 'list') ) ) $this->context = 'edit'; $fancy_text = ucfirst($this->context); if ( $this->context == 'edit' ) { // EDIT FORM / PROFILE require_once( ABSPATH . $this->folder . '/includes/user-form.php' ); } elseif ( $_GET['add'] || is_wp_error($add_user_errors) ) { // ADD FORM require_once( ABSPATH . $this->folder . '/includes/user-form.php' ); } else { // USER LIST $user_search = strip_tags(trim($_GET['usersearch'])); $target_script = 'users.php'; $offset = (int) $_GET['offset']; $limit = 10; // Note: Getting $limit + 1 to know if we do need a next button. $query_limit = $limit + 1; $previous_caption = __('« Previous Users', 'wphone'); $next_caption = __('Next Users »', 'wphone'); $more_caption = __('More Users', 'wphone'); if ( !$this->iscompat ) echo '