set_filenames( array('tplConfigurationFooter' => 'tpl/configuration/footer.tpl') ); $tplConfigurationFooter->assign_vars( array( 'SELECTED_DIV' => $sel, 'NOTIFICATION_POSITION' => $config['notification_position'] ) ); //output notification message if we have one if ($msg > '') { $tplConfigurationFooter->assign_block_vars( 'MESSAGE', array('TEXT' => Html::getJsQuote($msg, true)) ); } // if something went wrong with the change of a user or no database was found // -> blend in connection params and let the user correct it if ( (isset($blendInConnectionParams) && $blendInConnectionParams) || count($databases) == 0) { $tplConfigurationFooter->assign_block_vars( 'SWITCH_TO_CONNECTION_PARAMETER', array() ); }