You are here

function og_readme in Organic groups 5.3

Same name and namespace in other branches
  1. 5.8 og.module \og_readme()
  2. 5 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 2771

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;
}