r2234 - bugfix: display VS/RS config block in RS pool view
authorDenis Ovsienko <infrastation@yandex.ru>
Tue, 7 Oct 2008 10:36:53 +0000 (10:36 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Tue, 7 Oct 2008 10:36:53 +0000 (10:36 +0000)
ChangeLog
inc/interface.php

index b9da044b367d5b019487768dbc2f26a8a8453a1f..f51506d1b892c3274ca2d400af7887eb055d81e5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,5 @@
+0.16.4
+       bugfix: display VS/RS config block in RS pool view
 0.16.3 2008-10-02
        new feature: tell line number for lexical and syntax errors
        new feature: CodePress editor enables line numbers and syntax
index b30c840248fcb5e42082afd2030dd028cf488e91..9a7e6dbb2bbccc7e43a144a5bdbc49a85b1f9cc3 100644 (file)
@@ -4318,6 +4318,16 @@ function renderRSPool ($pool_id = 0)
        echo "<tr><th width='50%' class=tdright>Real servers:</th><td class=tdleft>" . count ($poolInfo['rslist']) . "</td></tr>\n";
        echo "<tr><th width='50%' class=tdright>Load balancers:</th><td class=tdleft>" . count ($poolInfo['lblist']) . "</td></tr>\n";
        printTagTRs ("${root}?page=ipv4rsplist&tab=default&");
+       if (!empty ($poolInfo['vsconfig']))
+       {
+               echo "<tr><th width='50%' class=tdright>VS configuration:</th><td class=tdleft>&nbsp;</td></tr>\n";
+               echo "<tr><td class=tdleft colspan=2><pre>${poolInfo['vsconfig']}</pre></td></tr>\n";
+       }
+       if (!empty ($poolInfo['rsconfig']))
+       {
+               echo "<tr><th width='50%' class=tdright>RS configuration:</th><td class=tdleft>&nbsp;</td></tr>\n";
+               echo "<tr><td class=tdleft colspan=2><pre>${poolInfo['rsconfig']}</pre></td></tr>\n";
+       }
        echo "</table>";
        finishPortlet();