VersionDetail

Description

This function parses the comment headers in all files for their version information and outputs that for some javascript to check with simplemacines.org.

Syntax

void VersionDetail ()


Notes

  • Does not connect directly with simplemachines.org, but rather expects the client to.
  • Requires the admin_forum permission.
  • Uses the view_versions admin area.
  • Loads the view_versions sub template (in the Admin template.)
  • Accessed through ?action=detailedversion.

Context ($context) Variables
Name Description
$context['default_known_languages'] An array of all languages found in Themes/default/languages
$context['default_language_versions'] An array of versions of the language files in Themes/default/languages. Each entry is an array for a particular language
$context['default_template_versions'] An array of versions for the template files in Themes/default
$context['file_versions'] An array of file versions (SSI.php, index.php and all files in Sources). Keys are filenames and values are the versions
$context['forum_version'] Your current SMF version
$context['template_versions'] An array of versions of the templates from the theme you're using
Advertisement: