Changeset 2453


Ignore:
Timestamp:
Jul 23, 2008, 8:21:59 AM (16 years ago)
Author:
vdigital
Message:

Swift Theme Creator (minor changes): non functional version yet (4).
Bug 836: "Extend for templates" minor change.

Location:
trunk
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/extend_for_templates.php

    r2437 r2453  
    110110    'about.tpl'               => 'about',
    111111    'identification.tpl'      => 'identification',
    112     'mainpage_categories.tpl' => 'index_category',
     112    'mainpage_categories.tpl' => 'index_category_thumbnails',
    113113    'thumbnails.tpl'          => 'index_thumbnails',
    114114    'redirect.tpl'            => 'redirect',
  • trunk/plugins/SwiftThemeCreator/theme_creator.php

    r2450 r2453  
    176176       $main['color7'] = lighten( $r1, $g1, $b1, 10);
    177177  else $main['color7'] = darken( $r1, $g1, $b1, 10);
    178  
    179   /* en gros reste à faire:
    180    * creation des différents fichiers
    181    */
    182178
    183179  // Go ahead
     
    190186  }
    191187
     188  $main['ldelim'] = '{ldelim}';
    192189  /*
    193190   * Build themeconf.inc.php
     
    198195  $plugin_tpl->assign('main',$main);
    199196  $main['themeconf_inc_php'] = $plugin_tpl->parse('themeconf', true);
     197  /*
     198   * Build mail-css.tpl
     199   **/ 
     200  $plugin_tpl->set_filenames(array('mailcss'=>
     201  dirname(__FILE__) . '/mail-css.tpl2'));
     202  $plugin_tpl->assign('main',$main);
     203  $main['mail-css.tpl'] = $plugin_tpl->parse('mailcss', true); 
    200204
    201205  // Smarty trace
     
    230234  }
    231235
     236 
     237  /* All logic is there
     238   * On "todo" : Create files and uncomment some previous statements.
     239   */
    232240
    233241
Note: See TracChangeset for help on using the changeset viewer.