//------------------------------------------------------------------------------ // Licensed Materials - Property of IBM // (c) Copyright IBM Corporation 2001,2002 All Rights Reserved. // US Government Users Restricted Rights - Use, duplication or disclosure // restricted by GSA ADP Schedule Contract with IBM Corp. //------------------------------------------------------------------------------ // Manage Users // // Filename: ma_user_list.htm // // This file displays the web UI uesrs and handles requests to add, modify, // and delete users. // // When POST data is recieved, operation result information is retrieved // from the POST data and displayed in the Message Box. // // // Input: POST data // errorCode result of operation // Message message flag = message in POST data // returnMessage text information about the operation results // // Ouput: POST ('form_out') // url original request page // userGuids user guids // userdata info about users // libGuids lib guids // libNames logical lib names // libEmTypes emulation types // // // Change History: // // Date Defect Changed By Description of Change // ---- ------ ---------- --------------------- // 07/25/2005 rwinston File Created // //------------------------------------------------------------------------------ include('user_inc.htm'); include('main_inc.htm'); include('utils_inc.htm'); // include('../ibm.test/testing_user_inc.htm'); // for displaying message box $errorCode = 0; $displayMessage = 0; //no // If a post, then this is a return from an operation // retrieve the results of the operation if ($_SERVER['REQUEST_METHOD'] == "POST") { $errorCode= $_REQUEST['errorCode']; $displayMessage = $_REQUEST['Message']; $returnMessage = $_REQUEST["returnMessage"]; } $ma_users = get_all_users($user); $numRows = count($ma_users); // determine the attributes for the div that handles displaying and scrolling // for the main data table if ($numRows > MAX_ROWS_USER_LIST) { // make the table scrollable $divAttributes['divClass'] = "table-scroll"; $divAttributes['thClass'] = "table-noscroll"; $divAttributes['divHeight'] = MAX_SIZE_USER_LIST; } else { // no scrolling needed $divAttributes['divClass'] = ""; $divAttributes['thClass'] = ""; $divAttributes['divHeight'] = ""; } ?>