bugphpGroupWare - Bugs: bug #18817, ...

 
 

You are not allowed to post comments on this tracker with your current authentification level.

bug #18817: phpgwapi/inc/class.Template.inc.php setup/inc/class.Template.inc.php differ

Submitted by:  Olivier Berger <olberger>
Submitted on:  Thu 18 Jan 2007 12:11:13 PM UTC  
 
Item Group: 0.9.16.011Category: API - phpGroupware API
Severity: 3 - NormalPriority: 1 - Later
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open
Component Version: NoneOperating System: None
Reproducibility: NonePlanned Release: None
Fixed Release: 

Thu 18 Jan 2007 12:11:13 PM UTC, original submission:

Hi.

Both classes differ in 0.9.16.011 ... dunno which one is the right one...

$ diff phpgwapi/inc/class.Template.inc.php setup/inc/class.Template.inc.php
2,20c2,16
< /**
< * Template class
< * @author Kristian Koehntopp
< * @author Dan Kuykendall
< * @copyright Copyright (C) 1999,2000 NetUSE GmbH Kristian Koehntopp
< * @copyright Portions Copyright (C) 2001-2004 Free Software Foundation, Inc. http://www.fsf.org/
< * @license http://www.fsf.org/licenses/lgpl.html GNU Lesser General Public License
< * @package phpgwapi
< * @subpackage gui
< * @version $Id: class.Template.inc.php,v 1.12.4.5 2005/06/08 11:15:16 skwashd Exp $
< * @internal Based on phplib
< */
<
< /**
< * Template class
< *
< * @package phpgwapi
< * @subpackage gui
< */
---

> /**************************************************************************\
> * phpGroupWare API - Template class *
> * (C) Copyright 1999-2000 NetUSE GmbH Kristian Koehntopp *
> * ------------------------------------------------------------------------ *
> * This is not part of phpGroupWare, but is used by phpGroupWare. *
> * http://www.phpgroupware.org/ *
> * ------------------------------------------------------------------------ *
> * This program is free software; you can redistribute it and/or modify it *
> * under the terms of the GNU Lesser General Public License as published *
> * by the Free Software Foundation; either version 2.1 of the License, or *
> * any later version. *
> \**************************************************************************/
>
> /* $Id: class.Template.inc.php,v 1.2.2.1 2004/11/06 16:13:48 powerstat Exp $ */
>

384c380
< $new_root = substr($root, 0, (0 - strlen($GLOBALS['phpgw_info']['server']['template_set']))) . 'default';
---

> $new_root = str_replace($GLOBALS['phpgw_info']['server']['template_set'],'default',$root);

444c440
< $GLOBALS['phpgw']->common->phpgw_exit(True);
---

> exit;

Olivier Berger <olberger>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by olberger (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup