diff --git a/core/includes/theme.inc b/core/includes/theme.inc index 144882b..2f0c972 100644 --- a/core/includes/theme.inc +++ b/core/includes/theme.inc @@ -152,7 +152,7 @@ function _drupal_theme_initialize($theme, $base_theme = array()) { // CSS file basenames to remove. $theme->stylesheets_remove = array(); - // Grab stylesheets from base theme + // Grab stylesheets from base theme. foreach ($base_theme as $base) { if (!empty($base->stylesheets)) { foreach ($base->stylesheets as $media => $stylesheets) { @@ -216,10 +216,10 @@ function _drupal_theme_initialize($theme, $base_theme = array()) { } drupal_render($css); - // Do basically the same as the above for scripts + // Do basically the same as the above for scripts. $final_scripts = array(); - // Grab scripts from base theme + // Grab scripts from base theme. foreach ($base_theme as $base) { if (!empty($base->scripts)) { foreach ($base->scripts as $name => $script) { @@ -262,7 +262,7 @@ function _drupal_theme_initialize($theme, $base_theme = array()) { } } else { - // include non-engine theme files + // Include non-engine theme files. foreach ($base_theme as $base) { // Include the theme file or the engine. if (!empty($base->owner)) { @@ -566,7 +566,7 @@ function theme($hook, $variables = array()) { $info = $theme_registry->get($hook); global $theme_path; $temp = $theme_path; - // point path_to_theme() to the currently used theme path: + // Point path_to_theme() to the currently used theme path: $theme_path = $info['theme path']; // Include a file if the theme function or variable preprocessor is held @@ -748,7 +748,7 @@ function theme($hook, $variables = array()) { $output = $render_function($template_file, $variables); } - // restore path_to_theme() + // Restore path_to_theme(). $theme_path = $temp; return (string) $output; } @@ -1608,7 +1608,7 @@ function theme_table($variables) { foreach ($colgroups as $colgroup) { $attributes = array(); - // Check if we're dealing with a simple or complex column + // Check if we're dealing with a simple or complex column. if (isset($colgroup['data'])) { foreach ($colgroup as $key => $value) { if ($key == 'data') { @@ -1623,7 +1623,7 @@ function theme_table($variables) { $cols = $colgroup; } - // Build colgroup + // Build colgroup. if (is_array($cols) && count($cols)) { $output .= '