/[drupal]/contributions/modules/conditional_styles/conditional_styles.theme.inc
ViewVC logotype

Diff of /contributions/modules/conditional_styles/conditional_styles.theme.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.5, Mon May 25 14:33:03 2009 UTC revision 1.6, Mon Aug 24 08:57:32 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: conditional_styles.theme.inc,v 1.4 2008/09/14 23:26:47 johnalbin Exp $  // $Id: conditional_styles.theme.inc,v 1.5 2009/05/25 14:33:03 johnalbin Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 43  function _conditional_styles_theme($exis Line 43  function _conditional_styles_theme($exis
43    $themes = list_themes();    $themes = list_themes();
44    foreach (array_keys($themes) AS $theme) {    foreach (array_keys($themes) AS $theme) {
45      // We only need to process active themes.      // We only need to process active themes.
46      if ($themes[$theme]->status) {      if ($themes[$theme]->status || $GLOBALS['theme'] == $theme) {
47        $paths = conditional_styles_paths_to_basetheme($theme);        $paths = conditional_styles_paths_to_basetheme($theme);
48    
49        // Grab all the conditional stylesheets.        // Grab all the conditional stylesheets.

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.2