Changeset 28600


Ignore:
Timestamp:
06/02/14 21:57:30 (5 years ago)
Author:
rvelices
Message:

local css prefilter does not need new line before get_combined_css

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/template.class.php

    r28587 r28600  
    593593  /** 
    594594   * "translate" variable modifier. 
    595    * Usage :  
     595   * Usage : 
    596596   *    - {'Comment'|translate} 
    597597   *    - {'%d comments'|translate:$count} 
     
    11021102    if (!empty($css)) 
    11031103    { 
    1104       $source = str_replace("\n{get_combined_css}", "\n".implode( "\n", $css )."\n{get_combined_css}", $source); 
     1104      $source = str_replace("{get_combined_css}", implode( "\n", $css )."\n{get_combined_css}", $source); 
    11051105    } 
    11061106 
     
    11651165      } 
    11661166      $this->assign('PLUGIN_PICTURE_BUTTONS', $buttons); 
    1167        
     1167 
    11681168      // only for PHP 5.3 
    11691169      // $this->assign('PLUGIN_PICTURE_BUTTONS', 
     
    11901190      } 
    11911191      $this->assign('PLUGIN_INDEX_BUTTONS', $buttons); 
    1192        
     1192 
    11931193      // only for PHP 5.3 
    11941194      // $this->assign('PLUGIN_INDEX_BUTTONS', 
     
    13601360  /** @param int used to keep declaration order */ 
    13611361  private $counter; 
    1362    
     1362 
    13631363  function __construct() 
    13641364  { 
    13651365    $this->clear(); 
    13661366  } 
    1367    
     1367 
    13681368  function clear() 
    13691369  { 
     
    13711371    $this->counter = 0; 
    13721372  } 
    1373    
     1373 
    13741374  /** 
    13751375   * @return Combinable[] array of combined CSS. 
     
    13811381    return $combiner->combine(); 
    13821382  } 
    1383    
     1383 
    13841384  /** 
    13851385   * Callback for CSS files sorting. 
     
    13891389    return $a->order - $b->order; 
    13901390  } 
    1391    
     1391 
    13921392  /** 
    13931393   * Adds a new file, if a file with the same $id already exsists, the one with 
Note: See TracChangeset for help on using the changeset viewer.