From baa13bb324ec14dbccf3d72ebe32dab5764aa50f Mon Sep 17 00:00:00 2001 From: JohnAlbin Date: Fri, 13 Feb 2009 18:44:31 +0000 Subject: [PATCH] Updated comment. --- zen/template.theme-registry.inc | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/zen/template.theme-registry.inc b/zen/template.theme-registry.inc index 2a5e766..4523ffd 100644 --- a/zen/template.theme-registry.inc +++ b/zen/template.theme-registry.inc @@ -25,8 +25,9 @@ function _zen_theme(&$existing, $type, $theme, $path) { // values may have changed, make sure they are saved in the database properly. zen_theme_get_default_settings($theme); - // If we are auto-rebuilding the theme registry, warn about the feature. Always - // display the warning in the admin section, otherwise limit to 3 warnings per hour. + // If we are auto-rebuilding the theme registry, warn about the feature. + // Always display the warning in the admin section, otherwise limit to three + // warnings per hour. if (user_access('administer site configuration') && theme_get_setting('zen_rebuild_registry') && $theme == $GLOBALS['theme'] && (arg(0) == 'admin' || flood_is_allowed($GLOBALS['theme'] . '_rebuild_registry_warning', 3))) { flood_register_event($GLOBALS['theme'] . '_rebuild_registry_warning'); drupal_set_message(t('For easier theme development, the theme registry is being rebuilt on every page request. It is extremely important to turn off this feature on production websites.', array('!link' => url('admin/build/themes/settings/' . $GLOBALS['theme']))), 'warning', FALSE); -- 1.7.4.1