diff --git a/libraries/controllers/ServerVariablesController.php b/libraries/controllers/ServerVariablesController.php index ddc2765530..29002b7568 100644 --- a/libraries/controllers/ServerVariablesController.php +++ b/libraries/controllers/ServerVariablesController.php @@ -270,9 +270,11 @@ class ServerVariablesController extends Controller . '' . ''; + $output .= '
'; $output .= $this->_getHtmlForServerVariablesItems( $serverVars, $serverVarsSession ); + $output .= ''; $output .= ''; @@ -293,75 +295,49 @@ class ServerVariablesController extends Controller ) { // list of static system variables $static_variables = $this->_getStaticSystemVariables(); + // list of documentation links + $variable_doc_links = $this->_getArrayForDocumentLinks(); - $output = ''; + $output = ''; $odd_row = true; foreach ($serverVars as $name => $value) { $has_session_value = isset($serverVarsSession[$name]) && $serverVarsSession[$name] != $value; $row_class = ($odd_row ? ' odd' : ' even') . ($has_session_value ? ' diffSession' : ''); + $docLink = isset($variable_doc_links[$name]) + ? $variable_doc_links[$name] : null; + $formattedValue = $this->_formatVariable( + $name, $value, $variable_doc_links + ); - $output .= '