Commit 3ffbc8af authored by tbrehm's avatar tbrehm
Browse files

Fixed: FS#1834 - More info link

parent 2ec83ac5
......@@ -196,7 +196,7 @@ function _getServerState($serverId, $serverName) {
$ispcData = null;
foreach($records as $record) {
/* get the state from the db-data */
_processDbState($record['type'], $serverId, $serverState, $messages);
_processDbState($record['type'], $serverId, &$serverState, &$messages);
/* if we have the os-info, get it */
if ($record['type'] == 'os_info') {
$osData = unserialize($record['data']);
......
<h2><tmpl_var name="list_head_txt"></h2>
<p><tmpl_var name="list_desc_txt"></p>
<div class="panel panel_sys_state">
<div class="pnl_toolsarea">
<fieldset class="inlineLabels"><legend><tmpl_var name="monTransRefreshsq"></legend>
<div class="buttons">
<div class="ctrlHolder">
<label for="refreshinterval">{tmpl_var name='refreshinterval_txt'}</label>
<select name="refreshinterval" id="refreshinterval" class="selectInput" onChange="loadContentRefresh('monitor/show_sys_state.php?state={tmpl_var name="state_type"}')">
{tmpl_var name='refresh'}
</select>
</div>
</div>
</fieldset>
</div>
<div class="pnl_formarea">
<fieldset><legend></legend>
<div class="stateview"><tmpl_var name="state_data"></div>
</fieldset>
</div>
</div>
<h2><tmpl_var name="list_head_txt"></h2>
<p><tmpl_var name="list_desc_txt"></p>
<div class="panel panel_sys_state">
<div class="pnl_toolsarea">
<fieldset class="inlineLabels"><legend><tmpl_var name="monTransRefreshsq"></legend>
<div class="buttons">
<div class="ctrlHolder">
<label for="refreshinterval">{tmpl_var name='refreshinterval_txt'}</label>
<select name="refreshinterval" id="refreshinterval" class="selectInput withicons" onChange="loadContentRefresh('monitor/show_sys_state.php?state={tmpl_var name="state_type"}')">
{tmpl_var name='refresh'}
</select>
</div>
</div>
</fieldset>
</div>
<div class="pnl_formarea">
<fieldset><legend></legend>
<div class="stateview"><tmpl_var name="state_data"></div>
</fieldset>
</div>
</div>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment