/[drupal]/contributions/theme-engines/smarty/smarty.engine
ViewVC logotype

Diff of /contributions/theme-engines/smarty/smarty.engine

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

revision 1.13, Sat Apr 14 02:21:28 2007 UTC revision 1.14, Sat Apr 14 02:40:09 2007 UTC
# Line 1  Line 1 
1  <?php // $Id: smarty.engine,v 1.1 2007/04/13 23:09:41 djnz Exp $  <?php // $Id: smarty.engine,v 1.13 2007/04/14 02:21:28 djnz Exp $
2    
3  /**  /**
4   * @file   * @file
# Line 226  function smarty_function_theme_links($pa Line 226  function smarty_function_theme_links($pa
226  function smarty_function_global($params, &$smarty) {  function smarty_function_global($params, &$smarty) {
227    if ( isset($params['var']) ) {    if ( isset($params['var']) ) {
228      if ( isset($params['value']) ) {      if ( isset($params['value']) ) {
229        $smarty->_tpl_vars['globals'][$params['var'] = $params['value'];        $smarty->_tpl_vars['globals'][$params['var']] = $params['value'];
230      } else {      } else {
231        unset($smarty->_tpl_vars['globals'][$params['var']);        unset($smarty->_tpl_vars['globals'][$params['var']]);
232      }      }
233    }    }
234  }  }

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.2