diff -ru ./og_content_type_admin_org/og_content_type_admin.module ./og_content_type_admin/og_content_type_admin.module --- ./og_content_type_admin_org/og_content_type_admin.module 2007-03-15 18:26:06.000000000 -0700 +++ ./og_content_type_admin/og_content_type_admin.module 2007-05-22 11:51:11.000000000 -0700 @@ -123,7 +123,7 @@ if (is_numeric(arg(2))) { $group = node_load(arg(2)); if ($group) { - if (_og_content_type_is_admin($group)) { + if (_og_content_type_admin_is_admin($group)) { $items[] = array( 'title' => t('Manage group\'s content types'), 'path' => 'og_content_types/manage', @@ -148,7 +148,7 @@ global $user; $links = array(); if ($group) { - if (_og_content_type_is_admin($group)) { + if (_og_content_type_admin_is_admin($group)) { $links[] = l(t('Manage group content types'), 'og_content_types/manage/' .$group->nid, array('title' => t('Lets you decide which content types your group\'s users can create.'))); } @@ -921,7 +921,7 @@ * * @param object $group */ -function _og_content_type_manage_breadcrumb($group) { +function _og_content_type_admin_manage_breadcrumb($group) { $breadcrumb = array(); @@ -936,12 +936,12 @@ ); menu_set_location($breadcrumb); -} // function _og_content_type_manage_breadcrumb() +} // function _og_content_type_admin_manage_breadcrumb() /** * Check if a user is a group manager of the given group */ -function _og_content_type_is_admin($group) { +function _og_content_type_admin_is_admin($group) { global $user; if ($user->uid == 1) return TRUE; if (variable_get('og_content_type_admin_no_change', 0)) { @@ -956,7 +956,7 @@ } } return FALSE; -} // function _og_content_type_is_admin() +} // function _og_content_type_admin_is_admin() /** * A table rebuild function for use when either the global group type exemptions change, or when a type is created or deleted from the system.