You are here

function og_readme in Organic groups 5.8

Same name and namespace in other branches
  1. 5 og.module \og_readme()
  2. 5.3 og.module \og_readme()
  3. 5.7 og.module \og_readme()
  4. 6.2 og.module \og_readme()
  5. 6 og.module \og_readme()
3 calls to og_readme()
og_admin_settings in ./og.module
og_install in ./og.install
og_requirements in ./og.module

File

./og.module, line 2773

Code

function og_readme() {
  global $base_path;

  // this link has to work when clean urls are disabled and drupal in subdir.
  $href = drupal_get_path('module', 'og') . '/README.txt';
  $link = "<a href=\"{$base_path}{$href}\">" . t('README file') . '</a>';
  return $link;
}