You are here

function swftools_admin in SWF Tools 5

Show the administration forms, depending on the url. In general, SWF Tools player integration modules allow SWF Tools to define the callback so that it passes through here.

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

File

./swftools.module, line 73

Code

function swftools_admin() {

  // Clear caches
  cache_clear_all();
  cache_clear_all('*', 'cache_filter', TRUE);
  if ($page = arg(3)) {
    return drupal_get_form('swftools_admin_' . $page . '_form');
  }
  else {
    return system_admin_menu_block_page();
  }
}