Development

Changeset 11203

You must first sign up to be able to contribute.

Changeset 11203

Show
Ignore:
Timestamp:
08/27/08 17:15:13 (2 years ago)
Author:
KRavEN
Message:

Moved default css array into config.php

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfExtjsThemePlugin/trunk/config/config.php

    r10705 r11203  
    1717 
    1818sfConfig::set('extjs_quote_except', $quoteExcept); 
     19 
     20$default_stylesheets = array( 
     21  '/sfExtjsThemePlugin/css/symfony-extjs.css', 
     22  //'/sfExtjsThemePlugin/Ext.ux.form.Checkbox/checkbox.css' 
     23); 
    1924 
    2025$default_javascripts = array( 
  • plugins/sfExtjsThemePlugin/trunk/data/generator/sfPropelAdmin/extjs/template/templates/listAjaxSuccess.php

    r10372 r11203  
    2424 
    2525[?php 
     26$css = sfConfig::get('extjs_default_stylesheets', array()); 
    2627$js = sfConfig::get('extjs_default_javascripts', array()); 
    2728<?php if ($use_tinymce): ?> 
     
    3233 
    3334// TODO: Need to put in a mechanism to only include extensions we are currently using in the generator.yml 
    34 $sfExtjs2Plugin = new sfExtjs2Plugin(array('theme'   => sfConfig::get('app_sf_extjs_theme_plugin_theme'), 
    35                                            'adapter' => '<?php echo $this->getParameterValue('adapter'); ?>'), 
    36                                      array('css' => array('/sfExtjsThemePlugin/css/symfony-extjs.css', 
    37                                                           '/sfExtjsThemePlugin/Ext.ux.form.Checkbox/checkbox.css' 
    38                                            ), 
    39                                            'js'  => $js 
    40                                           ) 
    41                                     ); 
     35$sfExtjs2Plugin = new sfExtjs2Plugin( 
     36  array( 
     37    'theme'   => sfConfig::get('app_sf_extjs_theme_plugin_theme'), 
     38    'adapter' => '<?php echo $this->getParameterValue('adapter'); ?>' 
     39  ), 
     40  array( 
     41    'css' => $css, 
     42    'js'  => $js 
     43  ) 
     44); 
    4245$sfExtjs2Plugin->load(); 
    4346?] 

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting.
Sensio Labs also supports several large Open-Source projects.