$files) { foreach ($files as $file => $preprocess) { $url = base_path() . $file; if (file_exists($file)) { // Refresh Facebook's cache anytime file changes. $url .= '?v=' . filemtime($file); } // preprocess ignored if ($type == 'module') { $module_css .= '\n"; } else if ($type == 'theme') { $theme_css .= '\n"; } } } $vars['styles'] = $module_css . $theme_css; // Include only Facebook aware javascript. $vars['fbjs'] = drupal_get_js('fbml'); // Enforce that only admins see admin block. This can be done (more // cleanly?) elsewhere. But we're doing it here to make sure. if (!user_access('access administration pages')) $vars['admin'] =''; else if ($vars['admin']) { $vars['admin'] = "