You are here

function _flag_is_drupal_5 in Flag 5

Same name and namespace in other branches
  1. 6 flag.inc \_flag_is_drupal_5()
2 calls to _flag_is_drupal_5()
flag_flag::theme in ./flag.inc
Renders a flag/unflag link. This is a wrapper around theme('flag') that, in Drupal 6, easily channels the call to the right template file.
_flag_url in ./flag.inc

File

./flag.inc, line 1223
Implements various flags. Uses object oriented style inspired by that of Views 2.

Code

function _flag_is_drupal_5() {
  return !function_exists('theme_get_registry');
}