You are here

function site_verify_output in Site verification 6

Same name and namespace in other branches
  1. 7.2 site_verify.module \site_verify_output()
  2. 7 site_verify.module \site_verify_output()
1 string reference to 'site_verify_output'
site_verify_menu in ./site_verify.module
Implements hook_menu().

File

./site_verify.module, line 180

Code

function site_verify_output($svid) {
  $verification = site_verify_load($svid);
  if ($verification['file_contents'] && $verification['engine']['file_contents']) {
    echo $verification['file_contents'];
  }
  else {
    drupal_set_title(t('Verification page'));
    return t('This is a verification page for the !title search engine.', array(
      '!title' => $verification['engine']['name'],
    ));
  }
}