Menu="Buttons:2"
Link="nav-user"
---
<?PHP
/* Copyright 2015, Bergware International.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License version 2,
 * as published by the Free Software Foundation.
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * Plugin development contribution by gfjardim
 */
?>

<script>
function systemTemp() {
  $.get('/plugins/ipmitool-plugin/include/ipmitool_temp.php',{unit:'<?=$display['unit']?>',dot:'<?=$display['number'][0]?>'},function(data) {
    if (data) showFooter(data,'temps');
<?if ($display['refresh']>0 || ($display['refresh']<0 && $var['mdResync']==0)):?>
    timers.systemTemp = setTimeout(systemTemp,<?=max(abs($display['refresh']),10000)?>);
<?endif;?>
  });
}
systemTemp();
</script>