You are here

function coder_upgrade_patch_display in Coder 7

Same name and namespace in other branches
  1. 7.2 coder_upgrade/includes/conversion.inc \coder_upgrade_patch_display()

Returns patch file wrapped in html tags.

Parameters

string $filename: String of the patch filename.

Return value

string HTML output.

1 string reference to 'coder_upgrade_patch_display'
_coder_upgrade_menu in coder_upgrade/includes/menu.inc
Implements hook_menu().

File

coder_upgrade/includes/conversion.inc, line 613

Code

function coder_upgrade_patch_display($filename) {
  echo '<html><head><body><pre>' . check_plain(file_get_contents(coder_upgrade_patch_path($filename))) . '</pre></body></head></html>';
}