Changeset 1297 for branches


Ignore:
Timestamp:
May 3, 2006, 7:22:15 PM (19 years ago)
Author:
nikrou
Message:

bug 331 fixed: html generated contains the code in header.tpl twice
when we use the function redirect

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/branch-1_6/include/functions.inc.php

    r1291 r1297  
    527527  global $user, $template, $lang_info, $conf, $lang, $t2, $page, $debug;
    528528
     529  unset($template);
     530  $template = new Template(PHPWG_ROOT_PATH.'template/'.$user['template']);
     531  if (!isset($page['body_id']))
     532  {
     533    $page['body_id'] = 'adminPage';
     534  }
     535
    529536  // $redirect_msg, $refresh, $url_link and $title are required for creating an automated
    530537  // refresh page in header.tpl
Note: See TracChangeset for help on using the changeset viewer.