[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] phpgroupware/property/class.base.php, 1.1.2.1
From: |
nomail |
Subject: |
[Phpgroupware-cvs] phpgroupware/property/class.base.php, 1.1.2.1 |
Date: |
Thu, 20 May 2004 19:41:36 -0000 |
Update of /phpgroupware/property
Added Files:
Branch: proposal-branch
class.base.php
date: 2004/04/23 07:11:50; author: sigurdne; state: Exp; lines: +59 -0
Log Message:
Initial import
=====================================================================
No syntax errors detected in -
=====================================================================
<?php
/**************************************************************************\
* phpGroupWare - property
*
* http://www.phpgroupware.org
*
*
*
* Facilities Management
*
* Written by Sigurd Nes [sigurdne at online.no]
*
*
------------------------------------------------------------------------ *
* Copyright 2000 - 2003 Free Software Foundation, Inc
*
* This program is part of the GNU project, see http://www.gnu.org/
*
*
------------------------------------------------------------------------ *
* This program is free software; you can redistribute it and/or modify
it *
* under the terms of the GNU General Public License as published by the
*
* Free Software Foundation; either version 2 of the License, or (at
your *
* option) any later version.
*
\**************************************************************************/
/* $Id: class.base.php,v 1.1.2.1 2004/04/23 07:11:50 sigurdne Exp $ */
/* $Source:
/cvsroot/phpgroupware/phpgroupware/property/Attic/class.base.php,v $ */
$functions = array();
class property_base
{
function property_base()
{
// $GLOBALS['phpgw']->add_xsl('property.base');
$GLOBALS['phpgw']->add_xsl('api.widgets');
if (! $GLOBALS['property_menus_loaded'])
{
$GLOBALS['phpgw']->add_appmenu('Property
menu','Add note','property.base.create');
$GLOBALS['phpgw']->add_appmenu('Property
menu','Preferences','api.base.prefs&appname=property');
$GLOBALS['property_menus_loaded'] = true;
}
$currentapp='property';
$GLOBALS['phpgw_info']['flags'] = array
(
'currentapp' => $currentapp
);
//
$start_page=$GLOBALS['phpgw_info']['user']['preferences'][$currentapp]['default_start_page'];
if ($start_page)
{
$start_page='sid=cookie&op='.$currentapp.'.ui'.$start_page.'.index';
}
else
{
$start_page='sid=cookie&op='.$currentapp.'.uilocation.index';
}
header('Location:
'.$GLOBALS['HTTP_SERVER_VARS']['PHP_SELF'].'?'.$start_page);
//$this->bocommon->redirect_link('/index.php',$start_page);
}
}
- [Phpgroupware-cvs] phpgroupware/property/class.base.php, 1.1.2.1,
nomail <=