Type() != 'WebSite' ) { $Monitor->zmaControl('stop'); $Monitor->zmcControl('stop'); } $Monitor->save($_REQUEST['newMonitor']); if ( $Monitor->Function() != 'None' && $Monitor->Type() != 'WebSite' ) { $Monitor->zmcControl('start'); if ( $Monitor->Enabled() ) { $Monitor->zmaControl('start'); } } } // end foreach mid $view = 'console'; } else { ZM\Warning("Unknown action $action in Monitor"); } // end if action == Delete ?>