//------------------------------------------------------------------------------ // 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. //------------------------------------------------------------------------------ // Configure Notifications - Add // // Filename: ml_set_notifications_add.htm // // This page is used to setup a new email notification. // // When a POST is operation result information is retrieved from POST // data and displayed in the Message Box. // // // Input: POST data // emailaddr editable textfield where the user can insert the new email address. this field is // required. // alertLevel drop down list containing all the posible values for this field. // // // // Ouput: POST ('form_out') // url original request page // guid notification id // emailaddr email address // alertlevel alert level // enabled notification's status // ischeck keeps track of which radio was checked before submit // // // // Change History: // // Date Defect Changed By Description of Change // ---- ------ ---------- --------------------- // 11/02/2005 roomor01 File Created //------------------------------------------------------------------------------ include('common_admin_inc.htm'); include('main_inc.htm'); $notifications = get_notifications($user); $total = count($notifications); $addresses = ""; for ($n = 0; $n < $total; $n++) { if ($addresses == "") { $addresses = $notifications[$n]->emailaddress; } else { $addresses = $addresses.':'.$notifications[$n]->emailaddress; } } ?>