Ignore:
Timestamp:
Feb 28, 2011, 10:50:28 AM (13 years ago)
Author:
patdenice
Message:

Some optimizations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/PWG_Stuffs/main.inc.php

    r9383 r9410  
    3737  global $template;
    3838
    39   include(STUFFS_PATH . 'include/class.inc.php');
    40   include(STUFFS_PATH . 'include/functions.inc.php');
     39  include(STUFFS_PATH . 'class.inc.php');
     40  include(STUFFS_PATH . 'functions.inc.php');
    4141
    4242  $template->set_template_dir(STUFFS_PATH.'theme/template/');
     
    4848  {
    4949    $template->assign('blocks', $stuffs->blocks['begin']);
    50     $template->concat($stuffs->template_var['begin'],  $template->parse('stuffs', true));
     50    $template->concat($stuffs->prefixe.'BEFORE',  $template->parse('stuffs', true));
    5151  }
    5252  if (!empty($stuffs->blocks['end']))
    5353  {
    5454    $template->assign('blocks', $stuffs->blocks['end']);
    55     $template->concat($stuffs->template_var['end'],  $template->parse('stuffs', true));
     55    $template->concat($stuffs->prefixe.'AFTER',  $template->parse('stuffs', true));
    5656  }
    5757}
Note: See TracChangeset for help on using the changeset viewer.