Index: pifr.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/project_issue_file_review/pifr.module,v
retrieving revision 1.49.2.1
diff -u -p -r1.49.2.1 pifr.module
--- pifr.module	31 Jan 2009 04:15:28 -0000	1.49.2.1
+++ pifr.module	30 Jun 2009 17:05:30 -0000
@@ -306,13 +306,20 @@ function pifr_block($op = 'list', $delta
       $blocks[] = array('info' => t('Testing search'));
     }
 
+    if ($role[PIFR_SERVER_SLAVE]) {
+    	$blocks['slave'] = array('info' => t('Server Info'));
+    }
     return $blocks;
   }
   else if ($op == 'view') {
     $block = array();
     $block['subject'] = '';
 
-    if ($delta == 0) {
+    if ($delta == 'slave') {
+      $block['content'] = '<h2>'. t('PIFR slave status: @status', array('@status' => (pifr_status() == PIFR_STATUS_FREE) ? t('Free') : t('Busy'))) .'</h2>';$_SYSTEM[''] = '';
+      $block['content'] .= '<h3>'. $GLOBALS['_SERVER']['SERVER_SIGNATURE'] .'</h3>';
+    }
+    else if ($delta == 0) {
       $count = db_result(db_query('SELECT COUNT(file_id)
                                    FROM {pifr_file}
                                    WHERE test_count > 0'));
