Ignore:
Timestamp:
Jan 13, 2005, 11:18:49 AM (19 years ago)
Author:
plg
Message:
  • use template->parse instead of pparse. (exceptions for install.php and upgrade.php)
  • bug fixed : queries time and count were not displayed on a redirection
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions.inc.php

    r686 r688  
    544544function redirect( $url )
    545545{
    546   global $user, $template, $lang_info, $conf, $lang, $t2;
     546  global $user, $template, $lang_info, $conf, $lang, $t2, $page;
    547547
    548548  // $refresh, $url_link and $title are required for creating an automated
     
    551551  $url_link = $url;
    552552  $title = 'redirection';
     553
    553554  include( PHPWG_ROOT_PATH.'include/page_header.php' );
    554555 
    555556  $template->set_filenames( array( 'redirect' => 'redirect.tpl' ) );
    556   $template->pparse('redirect');
     557  $template->parse('redirect');
    557558 
    558559  include( PHPWG_ROOT_PATH.'include/page_tail.php' );
Note: See TracChangeset for help on using the changeset viewer.