You are here

function swftools_status in SWF Tools 6

Same name and namespace in other branches
  1. 6.3 includes/swftools.admin.status.inc \swftools_status()
  2. 6.2 swftools.admin.status.inc \swftools_status()

Generate a status report for SWF Tools methods / players / media defaults

1 string reference to 'swftools_status'
swftools_menu in ./swftools.module
Implementation of hook_menu().

File

./swftools.admin.status.inc, line 6

Code

function swftools_status() {

  // Pick up definitions for severity levels
  include_once './includes/install.inc';

  // Begin html string to hold output
  $html = '';
  $html .= t('<p>The following tables show the status of SWF Tools and its supporting modules. This information can help to diagnose an installation that is not working correctly. Warnings indicate an issue that may prevent SWF Tools from performing as expected but are not necessarily an immediate problem. Errors show that there is an issue that will prevent SWF Tools from working.</p>');

  // Get embedding status report
  $html .= _swftools_status_embedding();

  // Get playback and player status report
  $html .= _swftools_status_players();

  // Return markup
  return $html;
}