".$text." disabled " . $description; else echo " " . $text . " enabled "; } function Check( $support, $description, $error_message ) { $result = "Checking " . $description . " "; $ok = false; switch( $support ) { case 'php-gettext': if( function_exists( 'gettext') ) $ok = true; break; case 'php-gd': if( function_exists( 'gd_info') ) $ok = true; break; case 'pear-db': if ( class_exists('DB') ) $ok = true; break; case 'smarty-cache': if ( is_writable( "./templates_c" ) ) $ok = true; break; } if( $ok ) $result .= "  "; else $result .= "$error_message "; echo $result; } ?> Bacula-web - Test page
Testing your graph system capabilities (Bacula-web only use PNG)