Pending Configuration Changes
// BEGININC // ENDINC var aTabImages = new Array() aTabImages[ "17" ] = new Array(); aTabImages[ "17" ][ "image" ] = "tab_ports.gif"; aTabImages[ "17" ][ "imageDim" ] = ' HEIGHT="21" WIDTH="226" '; aTabImages[ "11" ] = new Array(); aTabImages[ "11" ][ "image" ] = "tab_accesslog.gif"; aTabImages[ "11" ][ "imageDim" ] = ' HEIGHT="21" WIDTH="226" '; aTabImages[ "8" ] = new Array(); aTabImages[ "8" ][ "image" ] = "tab_httpdelivery.gif"; aTabImages[ "8" ][ "imageDim" ] = ' HEIGHT="21" WIDTH="226" '; aTabImages[ "3" ] = new Array(); aTabImages[ "3" ][ "image" ] = "tab_ipbinding.gif"; aTabImages[ "3" ][ "imageDim" ] = ' HEIGHT="21" WIDTH="226" '; aTabImages[ "15" ] = new Array(); aTabImages[ "15" ][ "image" ] = "tab_mimetypes.gif"; aTabImages[ "15" ][ "imageDim" ] = ' HEIGHT="21" WIDTH="226" '; aTabImages[ "10" ] = new Array(); aTabImages[ "10" ][ "image" ] = "tab_mountpoints.gif"; aTabImages[ "10" ][ "imageDim" ] = ' HEIGHT="21" WIDTH="226" '; aTabImages[ "33" ] = new Array(); aTabImages[ "33" ][ "image" ] = "tab_proxyrouting.gif"; aTabImages[ "33" ][ "imageDim" ] = ' HEIGHT="21" WIDTH="226" '; aTabImages[ "2" ] = new Array(); aTabImages[ "2" ][ "image" ] = "tab_connectioncontrol.gif"; aTabImages[ "2" ][ "imageDim" ] = ' HEIGHT="21" WIDTH="226" '; aTabImages[ "23" ] = new Array(); aTabImages[ "23" ][ "image" ] = "tab_usergroupid.gif"; aTabImages[ "23" ][ "imageDim" ] = ' HEIGHT="21" WIDTH="226" '; aTabImages[ "9" ] = new Array(); aTabImages[ "9" ][ "image" ] = "tab_isphosting.gif"; aTabImages[ "9" ][ "imageDim" ] = ' HEIGHT="21" WIDTH="226" '; aTabImages[ "4" ] = new Array(); aTabImages[ "4" ][ "image" ] = "tab_encoder.gif"; aTabImages[ "4" ][ "imageDim" ] = ' HEIGHT="21" WIDTH="226" '; aTabImages[ "5" ] = new Array(); aTabImages[ "5" ][ "image" ] = "tab_preg2encoders.gif"; aTabImages[ "5" ][ "imageDim" ] = ' HEIGHT="21" WIDTH="226" '; aTabImages[ "6" ] = new Array(); aTabImages[ "6" ][ "image" ] = "tab_livearchiving.gif"; aTabImages[ "6" ][ "imageDim" ] = ' HEIGHT="21" WIDTH="226" '; aTabImages[ "36" ] = new Array(); aTabImages[ "36" ][ "image" ] = "tab_redundancy.gif"; aTabImages[ "36" ][ "imageDim" ] = ' HEIGHT="21" WIDTH="226" '; aTabImages[ "40" ] = new Array(); aTabImages[ "40" ][ "image" ] = "tab_quicktime.gif"; aTabImages[ "40" ][ "imageDim" ] = ' HEIGHT="21" WIDTH="226" '; aTabImages[ "37" ] = new Array(); aTabImages[ "37" ][ "image" ] = "tab_transmitter.gif"; aTabImages[ "37" ][ "imageDim" ] = ' HEIGHT="21" WIDTH="226" '; aTabImages[ "38" ] = new Array(); aTabImages[ "38" ][ "image" ] = "tab_receiver.gif"; aTabImages[ "38" ][ "imageDim" ] = ' HEIGHT="21" WIDTH="226" '; aTabImages[ "28" ] = new Array(); aTabImages[ "28" ][ "image" ] = "tab_pushsource.gif"; aTabImages[ "28" ][ "imageDim" ] = ' HEIGHT="21" WIDTH="226" '; aTabImages[ "27" ] = new Array(); aTabImages[ "27" ][ "image" ] = "tab_pushsplitter.gif"; aTabImages[ "27" ][ "imageDim" ] = ' HEIGHT="21" WIDTH="226" '; aTabImages[ "26" ] = new Array(); aTabImages[ "26" ][ "image" ] = "tab_pullsource.gif"; aTabImages[ "26" ][ "imageDim" ] = ' HEIGHT="21" WIDTH="226" '; aTabImages[ "25" ] = new Array(); aTabImages[ "25" ][ "image" ] = "tab_pullsplitter.gif"; aTabImages[ "25" ][ "imageDim" ] = ' HEIGHT="21" WIDTH="226" '; aTabImages[ "12" ] = new Array(); aTabImages[ "12" ][ "image" ] = "tab_backchannel.gif"; aTabImages[ "12" ][ "imageDim" ] = ' HEIGHT="21" WIDTH="226" '; aTabImages[ "14" ] = new Array(); aTabImages[ "14" ][ "image" ] = "tab_scalable.gif"; aTabImages[ "14" ][ "imageDim" ] = ' HEIGHT="21" WIDTH="226" '; aTabImages[ "13" ] = new Array(); aTabImages[ "13" ][ "image" ] = "tab_sessionannouncement.gif"; aTabImages[ "13" ][ "imageDim" ] = ' HEIGHT="21" WIDTH="226" '; aTabImages[ "16" ] = new Array(); aTabImages[ "16" ][ "image" ] = "tab_cache.gif"; aTabImages[ "16" ][ "imageDim" ] = ' HEIGHT="21" WIDTH="226" '; aTabImages[ "18" ] = new Array(); aTabImages[ "18" ][ "image" ] = "tab_cache.gif"; aTabImages[ "18" ][ "imageDim" ] = ' HEIGHT="21" WIDTH="226" '; aTabImages[ "19" ] = new Array(); aTabImages[ "19" ][ "image" ] = "tab_accesscontrol.gif"; aTabImages[ "19" ][ "imageDim" ] = ' HEIGHT="21" WIDTH="226" '; aTabImages[ "22" ] = new Array(); aTabImages[ "22" ][ "image" ] = "tab_realms.gif"; aTabImages[ "22" ][ "imageDim" ] = ' HEIGHT="21" WIDTH="226" '; aTabImages[ "21" ] = new Array(); aTabImages[ "21" ][ "image" ] = "tab_commerce.gif"; aTabImages[ "21" ][ "imageDim" ] = ' HEIGHT="21" WIDTH="226" '; aTabImages[ "20" ] = new Array(); aTabImages[ "20" ][ "image" ] = "tab_databases.gif"; aTabImages[ "20" ][ "imageDim" ] = ' HEIGHT="21" WIDTH="226" '; aTabImages[ "39" ] = new Array(); aTabImages[ "39" ][ "image" ] = ""; aTabImages[ "39" ][ "imageDim" ] = ''; aTabImages[ "31" ] = new Array(); aTabImages[ "31" ][ "image" ] = "tab_adserving.gif"; aTabImages[ "31" ][ "imageDim" ] = ' HEIGHT="21" WIDTH="226" '; aTabImages[ "1" ] = new Array(); aTabImages[ "1" ][ "image" ] = "tab_adserving.gif"; aTabImages[ "1" ][ "imageDim" ] = ' HEIGHT="21" WIDTH="226" '; aTabImages[ "24" ] = new Array(); aTabImages[ "24" ][ "image" ] = "tab_adsmilgeneration.gif"; aTabImages[ "24" ][ "imageDim" ] = ' HEIGHT="21" WIDTH="226" '; aTabImages[ "29" ] = new Array(); aTabImages[ "29" ][ "image" ] = "tab_viewsource.gif"; aTabImages[ "29" ][ "imageDim" ] = ' HEIGHT="21" WIDTH="226" '; aTabImages[ "7" ] = new Array(); aTabImages[ "7" ][ "image" ] = "tab_contentaccess.gif"; aTabImages[ "7" ][ "imageDim" ] = ' HEIGHT="21" WIDTH="226" '; aTabImages[ "34" ] = new Array(); aTabImages[ "34" ][ "image" ] = "tab_licenses.gif"; aTabImages[ "34" ][ "imageDim" ] = ' HEIGHT="21" WIDTH="226" '; aTabImages[ "" ] = new Array(); aTabImages[ "" ][ "image" ] = ""; aTabImages[ "" ][ "imageDim" ] = ''; aTabImages[ "32" ] = new Array(); aTabImages[ "32" ][ "image" ] = ""; aTabImages[ "32" ][ "imageDim" ] = ''; var fChanges = ( RMAGetFirstProperty( "diffconfig.config" ) != null ); RMAOutput( '' + '
' + ( fChanges ? 'Shown below are changes you have made that will not take effect until you ' + 'restart RealServer. Be sure to review these changes before clicking on the ' + 'Restart Server button to implement them.' : 'No changes are pending.' ) + '

' ); if ( fChanges ) { // loop through the image array (its sorted by toc order) for ( var contextID in aTabImages ) { if ( RMAGetFirstProperty( "contextconfig." + contextID + ".config" ) ) { emitChanges( contextID ); } } } function emitChanges ( contextID ) { RMAOutput( '' + '' + '' ); // enumerate the changes enumProps( "contextconfig." + contextID + ".config", enumFuncChanges, 0 ); RMAOutput( "
Configuration ValueAction Taken
" ); } // emitChanges () function enumFuncChanges ( prop, propValue, curDepth ) { // strip off the "contextconfig..config" prop = prop.rightProp( -2 ); if ( ! prop ) return ; var displayValue = ""; //is this property a list ? if ( RMAGetFirstProperty( "diffconfig." + prop ) ) { // is it a new list? if ( (!RMAGetFirstProperty( prop )) && RMAGetFirstProperty( "fileconfig." + prop ) ) { displayValue = "New List".span( "bolder" ); } else { // else skip it return ; } } else { // is this property a deleted list? if ( RMAGetFirstProperty( prop ) && (!RMAGetFirstProperty( "fileconfig." + prop )) ) { displayValue = "List Deleted".span( "bolder" ); } else { var newValue = RMAGetPropertyValue( "fileconfig." + prop ); var oldValue = RMAGetPropertyValue( prop ); if ( prop.bSearch( /password/i ) ) { if ( oldValue ) oldValue = '????????' ; if ( newValue ) newValue = '********' ; } if ( ( oldValue == null ) && ( newValue == null ) ) { displayValue = "Deleted".span( "bolder" ); } else if ( oldValue == null ) { displayValue = "Set to " + newValue.span( "bolder" ); } else { if ( newValue == null ) newValue = ""; displayValue = "Changed from " + oldValue.span( "bolder" ) + " to " + newValue.span( "bolder" ); } } } RMAOutput( '' + prop.rightProp( -1 ) + '' + displayValue + '' ); } // enumFuncChanges ()