Index: flag.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/flag/Attic/flag.module,v retrieving revision 1.1.2.63 diff -u -F^[^a-z]*function -r1.1.2.63 flag.module --- flag.module 9 Nov 2008 09:46:09 -0000 1.1.2.63 +++ flag.module 12 Nov 2008 12:42:08 -0000 @@ -1223,3 +1223,16 @@ function flag_get_token($nid) { function flag_check_token($token, $seed) { return drupal_get_token($seed) == $token; } + +/** + * Implementation of panels_include_directory(). + * + * This is part of the Panels integration. It tells Panels where to find our + * file(s). Note that Panels loads all the files in the directory we return, so + * for efficiency we point it to only a subfolder whithin our 'includes/' one. + */ +function flag_panels_include_directory($plugin_type) { + if ($plugin_type == 'content_types') { + return 'includes/panels'; + } +}