show loaded extensions

This commit is contained in:
stefanp 2002-09-24 09:04:19 +00:00
parent 5e1913d98b
commit 0e1ea8b8c0
2 changed files with 18 additions and 3 deletions

View file

@ -56,7 +56,17 @@ function countRequests_macro(par) {
}
function extensions_macro (par) {
var vec = this.getExtensions ();
var str = "";
for (var i=0; i<vec.size(); i++) {
str += vec.elementAt (i).getClass ().getName ();
if (i!=(vec.size()-1)) {
str += (par && par.separator) ? par.separator : ", ";
}
}
return str;
}
/**
* Macro returning hostname of this machine

View file

@ -27,12 +27,17 @@
<tr>
<td class="list_property" align="right" width="200" valign="top">total active sessions:</td>
<td class="list_property" width="5">&nbsp;</td>
<td class="list_property" align="left"><% this.countSessions %></td>
<td class="list_property" align="left"><% this.countSessions default="&nbsp;" %></td>
</tr>
<tr>
<td class="list_property" align="right" width="200" valign="top">total requests / 5 min:</td>
<td class="list_property" width="5">&nbsp;</td>
<td class="list_property" align="left"><% this.countRequests %></td>
<td class="list_property" align="left"><% this.countRequests default="&nbsp;" %></td>
</tr>
<tr>
<td class="list_property" align="right" width="200" valign="top">loaded extensions:</td>
<td class="list_property" width="5">&nbsp;</td>
<td class="list_property" align="left"><% this.extensions default="&nbsp;" %></td>
</tr>
<tr>