Exemplo n.º 1
0
?>
          <?php 
echo ResizeableColumn('Videos Processed', $stats[ThumbQueue::STAT_PROCESSED_ITEMS], true);
?>
          <?php 
echo ResizeableColumn('Failed', $stats[ThumbQueue::STAT_FAILED_ITEMS], true);
?>
          <?php 
echo ResizeableColumn('Average Time', $stats[ThumbQueue::STAT_AVERAGE_TIME]);
?>
          <?php 
echo ResizeableColumn('Average Wait', $stats[ThumbQueue::STAT_AVERAGE_WAIT]);
?>

<script language="JavaScript" type="text/javascript">
$(function()
{
    $('#dialog-button-start').attr('disabled', '<?php 
echo ThumbQueue::IsStartable() ? '' : 'disabled';
?>
');
    $('#dialog-button-stop').attr('disabled', '<?php 
echo ThumbQueue::IsRunning() ? '' : 'disabled';
?>
');
    $('#dialog-button-clear').attr('disabled', '<?php 
echo !ThumbQueue::IsRunning() ? '' : 'disabled';
?>
');
});
</script>