Example #1
0
//  This library is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
//  Lesser General Public License for more details.
//
//  You should have received a copy of the GNU Lesser General Public
//  License along with this library; if not, write to the Free Software
//  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
//
try {
    include 'resizableadmin.php';
    LoadSessionVars();
    // Did the user logout?
    CheckForLogout();
    // Are we cancelling?  If so, there is nothing to do.
    CheckForCancel('servermanagement.php');
    // Define local vars
    $menuCategory = SERVER_MANAGEMENT_MENU_ITEM;
    $menuItem = CONFIGURE_SERVICES_MENU_ITEM;
    $pageTitle = CONFIGURE_SERVICES_TITLE;
    $helpPage = 'HelpDocs/configuring_services.htm';
    $pageName = 'ServicesPropertiesPage';
    $formName = 'ServicesPropertiesForm';
    $homePage = 'servermanagement.php';
    $siteServerAddress = "";
    $selectedServerID = "Server";
    $serverAdmin = 0;
    $featureServiceProps = new FeatureServicePropsRecord();
    $resourceServiceProps = new ResourceServicePropsRecord();
    $siteServiceProps = new SiteServicePropsRecord();
    $tileServiceProps = new TileServicePropsRecord();
Example #2
0
//  This library is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
//  Lesser General Public License for more details.
//
//  You should have received a copy of the GNU Lesser General Public
//  License along with this library; if not, write to the Free Software
//  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
//
try {
    include 'resizableadmin.php';
    LoadSessionVars();
    // Did the user logout?
    CheckForLogout();
    // Are we cancelling?  If so, there is nothing to do.
    CheckForCancel('performanceReport.php');
    // Define Local values
    $menuCategory = PERFORMANCE_REPORT_MENU_ITEM;
    $pageTitle = PERFORMANCE_REPORT_MENU_ITEM;
    $helpPage = 'HelpDocs/performance_report.htm';
    $pageName = 'PerformanceReportPage';
    $formName = 'PerformanceReportForm';
    $homePage = NULL;
    $confirmationMsg = "";
    $errorMsg = "";
    $mapProfileResult = new MapProfileResult();
    $mapResources;
    $displayManager = new DisplayProfileResultManager();
    $recentSettings = new RecentSettings();
    //this user-defined sort function is according to the design
    function CompareMapName($a, $b)
Example #3
0
//  This library is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
//  Lesser General Public License for more details.
//
//  You should have received a copy of the GNU Lesser General Public
//  License along with this library; if not, write to the Free Software
//  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
//
try {
    include 'resizableadmin.php';
    LoadSessionVars();
    // Did the user logout?
    CheckForLogout();
    // Are we cancelling?  If so, there is nothing to do.
    CheckForCancel('wfsproperties.php');
    // Define local vars
    $menuItem = CONFIGURE_WFS_MENU_ITEM;
    $pageTitle = CONFIGURE_WFS_TITLE;
    $helpPage = 'HelpDocs/configuring_web_services.htm';
    $pageName = 'WFSPropertiesPage';
    $formName = 'WFSPropertiesForm';
    $WFSProps = new WFSPropsRecord();
    $confirmationMsg = "";
    $errorMsg = "";
    if (FirstTimeHere($pageName)) {
        $WFSProps->GetProps();
    } else {
        GetWFSServicePropVals($_POST, $WFSProps);
        GetWFSServiceContactPropVals($_POST, $WFSProps);
        // Validate inputs.
Example #4
0
 $serverRec = GetDataForServer($selectedServer);
 if ($serverRec == NULL) {
     throw new Exception(sprintf($errNotFound, $selectedServer));
 }
 if (!$serverRec->poweredUp) {
     throw new Exception(sprintf($errServerIsDown, $selectedServer));
 }
 $pageEnabled = true;
 // Is this our first time here?
 if (FirstTimeHere($pageName)) {
     $refreshRequested = true;
 } else {
     $refreshRequested = CheckForRefresh();
 }
 // Are we cancelling?
 CheckForCancel('logproperties.php?' . $selectedLogID . '=' . $selectedLog);
 // Set up class for selected log properties
 if ($selectedLog == ACCESS_LOG) {
     $selectedLogProps = new LogPropsRecord(MgConfigProperties::AccessLogPropertiesSection, MgConfigProperties::AccessLogPropertyEnabled, MgConfigProperties::AccessLogPropertyFilename, MgConfigProperties::AccessLogPropertyParameters, $allAccessLogParms);
 } else {
     if ($selectedLog == ADMIN_LOG) {
         $selectedLogProps = new LogPropsRecord(MgConfigProperties::AdminLogPropertiesSection, MgConfigProperties::AdminLogPropertyEnabled, MgConfigProperties::AdminLogPropertyFilename, MgConfigProperties::AdminLogPropertyParameters, $allAdminLogParms);
     } else {
         if ($selectedLog == AUTHENTICATION_LOG) {
             $selectedLogProps = new LogPropsRecord(MgConfigProperties::AuthenticationLogPropertiesSection, MgConfigProperties::AuthenticationLogPropertyEnabled, MgConfigProperties::AuthenticationLogPropertyFilename, MgConfigProperties::AuthenticationLogPropertyParameters, $allAuthenticationLogParms);
         } else {
             if ($selectedLog == ERROR_LOG) {
                 $selectedLogProps = new LogPropsRecord(MgConfigProperties::ErrorLogPropertiesSection, MgConfigProperties::ErrorLogPropertyEnabled, MgConfigProperties::ErrorLogPropertyFilename, MgConfigProperties::ErrorLogPropertyParameters, $allErrorLogParms);
             } else {
                 if ($selectedLog == SESSION_LOG) {
                     $selectedLogProps = new LogPropsRecord(MgConfigProperties::SessionLogPropertiesSection, MgConfigProperties::SessionLogPropertyEnabled, MgConfigProperties::SessionLogPropertyFilename, MgConfigProperties::SessionLogPropertyParameters, $allSessionLogParms);
Example #5
0
//  This library is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
//  Lesser General Public License for more details.
//
//  You should have received a copy of the GNU Lesser General Public
//  License along with this library; if not, write to the Free Software
//  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
//
try {
    include 'resizableadmin.php';
    LoadSessionVars();
    // Did the user logout?
    CheckForLogout();
    // Are we cancelling?  If so, there is nothing to do.
    CheckForCancel('unmanageddatamanagement.php');
    // Local global vals.
    $menuCategory = UNMANAGEDDATA_MANAGEMENT_MENU_ITEM;
    $menuItem = EDIT_UNMANAGEDDATA_MENU_ITEM;
    $pageTitle = EDIT_UNMANAGEDDATA_TITLE;
    $helpPage = 'HelpDocs/about_external_files.htm';
    $pageName = 'EditUnmanagedDataPage';
    $formName = 'EditUnmanagedDataForm';
    $homePage = 'unmanageddatamanagement.php';
    $selectedMappingID = 'SelectedMapping';
    $mappingName = "";
    $mappingNameID = 'mappingName';
    $location = "";
    $locationID = 'location';
    $errorMsg = "";
    $confirmationMsg = "";
Example #6
0
//  This library is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
//  Lesser General Public License for more details.
//
//  You should have received a copy of the GNU Lesser General Public
//  License along with this library; if not, write to the Free Software
//  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
//
try {
    include 'resizableadmin.php';
    LoadSessionVars();
    // Did the user logout?
    CheckForLogout();
    // Are we cancelling?  If so, there is nothing to do.
    CheckForCancel('userrolemanagement.php');
    // Define local vars
    $menuCategory = ASSIGN_ROLES_MENU_ITEM;
    $menuItem = EDIT_ROLES_MENU_ITEM;
    $pageTitle = EDIT_ROLES_TITLE;
    $helpPage = 'HelpDocs/assigning_roles.htm';
    $pageName = 'AssignRolesPage';
    $formName = 'AssignRolesForm';
    $homePage = 'userrolemanagement.php';
    $selectedRole = "";
    $selectedRoleID = 'selectedRole' . NO_PERSISTENCE_FLAG;
    $usersSelected = array();
    $usersSelectedID = 'usersSelected';
    $usersNotSelected = array();
    $usersNotSelectedID = 'usersNotSelected';
    $groupsSelected = array();
Example #7
0
//  This library is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
//  Lesser General Public License for more details.
//
//  You should have received a copy of the GNU Lesser General Public
//  License along with this library; if not, write to the Free Software
//  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
//
try {
    include 'resizableadmin.php';
    LoadSessionVars();
    // Did the user logout?
    CheckForLogout();
    // Are we cancelling?  If so, there is nothing to do.
    CheckForCancel('groupmanagement.php');
    // Define local vars
    $menuCategory = GROUP_MANAGEMENT_MENU_ITEM;
    $menuItem = EDIT_GROUP_MENU_ITEM;
    $pageTitle = EDIT_GROUP_TITLE;
    $helpPage = 'HelpDocs/adding_users_to_groups.htm';
    $pageName = 'EditGroupPage';
    $formName = 'EditGroupForm';
    $homePage = 'groupmanagement.php';
    $selectedGroupID = 'SelectedGroup';
    $description = "";
    $descriptionID = 'description';
    $usersSelected = array();
    $usersSelectedID = 'usersSelected';
    $usersNotSelected = array();
    $usersNotSelectedID = 'usersNotSelected';