mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
Fix headers and adjust classname in schedule service
This commit is contained in:
parent
4c3d73a5a3
commit
70425fa29b
@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/**************************************************************************\
|
/**************************************************************************\
|
||||||
* eGroupWare API - Services Abstraction Class *
|
* eGroupWare API - Services Abstraction Class *
|
||||||
* This file written by Miles Lott <milosch@groupwhere.org> *
|
* This file written by Miles Lott <milos@groupwhere.org> *
|
||||||
* Copyright (C) 2001 Miles Lott *
|
* Copyright (C) 2001-2004 Miles Lott *
|
||||||
* -------------------------------------------------------------------------*
|
* ------------------------------------------------------------------------ *
|
||||||
* This library is part of the eGroupWare API *
|
* This library is part of the eGroupWare API *
|
||||||
* http://www.egroupware.org/api *
|
* http://www.egroupware.org/api *
|
||||||
* ------------------------------------------------------------------------ *
|
* ------------------------------------------------------------------------ *
|
||||||
* This library is free software; you can redistribute it and/or modify it *
|
* This library is free software; you can redistribute it and/or modify it *
|
||||||
* under the terms of the GNU Lesser General Public License as published by *
|
* under the terms of the GNU Lesser General Public License as published by *
|
||||||
@ -37,7 +37,7 @@
|
|||||||
$function = $service[1];
|
$function = $service[1];
|
||||||
$service = $service[0];
|
$service = $service[0];
|
||||||
}
|
}
|
||||||
switch ($service)
|
switch($service)
|
||||||
{
|
{
|
||||||
case 'schedule':
|
case 'schedule':
|
||||||
case 'contacts':
|
case 'contacts':
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**************************************************************************\
|
/**************************************************************************\
|
||||||
* eGroupWare API - Services Abstraction Class *
|
* eGroupWare API - Services Abstraction Class *
|
||||||
* This file written by Miles Lott <milosch@groupwhere.org> *
|
* This file written by Miles Lott <milos@groupwhere.org> *
|
||||||
* Copyright (C) 2001 Miles Lott *
|
* Copyright (C) 2001-2004 Miles Lott *
|
||||||
* -------------------------------------------------------------------------*
|
* ------------------------------------------------------------------------ *
|
||||||
* This library is part of the eGroupWare API *
|
* This library is part of the eGroupWare API *
|
||||||
* http://www.egroupware.org/api *
|
* http://www.egroupware.org/api *
|
||||||
* ------------------------------------------------------------------------ *
|
* ------------------------------------------------------------------------ *
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**************************************************************************\
|
/**************************************************************************\
|
||||||
* eGroupWare API - Services Abstraction Class *
|
* eGroupWare API - Services Abstraction Class *
|
||||||
* This file written by Miles Lott <milosch@groupwhere.org> *
|
* This file written by Miles Lott <milos@groupwhere.org> *
|
||||||
* Copyright (C) 2001 Miles Lott *
|
* Copyright (C) 2001-2004 Miles Lott *
|
||||||
* -------------------------------------------------------------------------*
|
* ------------------------------------------------------------------------ *
|
||||||
* This library is part of the eGroupWare API *
|
* This library is part of the eGroupWare API *
|
||||||
* http://www.egroupware.org/api *
|
* http://www.egroupware.org/api *
|
||||||
* ------------------------------------------------------------------------ *
|
* ------------------------------------------------------------------------ *
|
||||||
@ -22,9 +22,9 @@
|
|||||||
|
|
||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
|
|
||||||
class service_contacts extends service
|
class service_notes extends service
|
||||||
{
|
{
|
||||||
function service_contacts()
|
function service_notes()
|
||||||
{
|
{
|
||||||
$this->provider = $GLOBALS['phpgw_info']['notes_service'] ? $GLOBALS['phpgw_info']['notes_service'] : 'notes';
|
$this->provider = $GLOBALS['phpgw_info']['notes_service'] ? $GLOBALS['phpgw_info']['notes_service'] : 'notes';
|
||||||
$this->svc = $this->provider . '.bo' . $this->provider;
|
$this->svc = $this->provider . '.bo' . $this->provider;
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**************************************************************************\
|
/**************************************************************************\
|
||||||
* eGroupWare API - Services Abstraction Class *
|
* eGroupWare API - Services Abstraction Class *
|
||||||
* This file written by Miles Lott <milosch@groupwhere.org> *
|
* This file written by Miles Lott <milos@groupwhere.org> *
|
||||||
* Copyright (C) 2001 Miles Lott *
|
* Copyright (C) 2001-2004 Miles Lott *
|
||||||
* -------------------------------------------------------------------------*
|
* ------------------------------------------------------------------------ *
|
||||||
* This library is part of the eGroupWare API *
|
* This library is part of the eGroupWare API *
|
||||||
* http://www.egroupware.org/api *
|
* http://www.egroupware.org/api *
|
||||||
* ------------------------------------------------------------------------ *
|
* ------------------------------------------------------------------------ *
|
||||||
@ -22,9 +22,9 @@
|
|||||||
|
|
||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
|
|
||||||
class service_contacts extends service
|
class service_schedule extends service
|
||||||
{
|
{
|
||||||
function service_contacts()
|
function service_schedule()
|
||||||
{
|
{
|
||||||
$this->provider = $GLOBALS['phpgw_info']['schedule_service'] ? $GLOBALS['phpgw_info']['schedule_service'] : 'calendar';
|
$this->provider = $GLOBALS['phpgw_info']['schedule_service'] ? $GLOBALS['phpgw_info']['schedule_service'] : 'calendar';
|
||||||
$this->svc = $this->provider . '.bo' . $this->provider;
|
$this->svc = $this->provider . '.bo' . $this->provider;
|
||||||
|
Loading…
Reference in New Issue
Block a user