You are here

function og_help in Organic groups 6

Same name and namespace in other branches
  1. 5.8 og.module \og_help()
  2. 5 og.module \og_help()
  3. 5.2 og.module \og_help()
  4. 5.3 og.module \og_help()
  5. 5.7 og.module \og_help()
  6. 6.2 og.module \og_help()
  7. 7.2 og.module \og_help()
  8. 7 og.module \og_help()
1 string reference to 'og_help'
og_uninstall in ./og.install

File

./og.module, line 27

Code

function og_help($path, $arg) {
  if ($path) {
    switch ($path) {
      case $arg[2] == 'block' && $arg[4] == 'og':
        return t('Group specific blocks are only visible on group pages and not on systemwide pages like the home page or admin pages.');
        break;
      case 'admin/settings/og':
        return t('In order to let group admins determine their own group theme, you must enable multiple themes using <a href="@url">theme configuration page</a>.', array(
          '@url' => url('admin/build/themes'),
        ));
        break;
    }
  }
}