phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] [18962] continue API license transition to L/GPLv3


From: Dave Hall
Subject: [Phpgroupware-cvs] [18962] continue API license transition to L/GPLv3
Date: Sun, 05 Oct 2008 14:05:18 +0000

Revision: 18962
          
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=18962
Author:   skwashd
Date:     2008-10-05 14:05:17 +0000 (Sun, 05 Oct 2008)

Log Message:
-----------
continue API license transition to L/GPLv3

Modified Paths:
--------------
    modules/phpgwapi/trunk/inc/class.Template.inc.php
    modules/phpgwapi/trunk/inc/class.Template_experimental.inc.php
    modules/phpgwapi/trunk/inc/class.applications.inc.php
    modules/phpgwapi/trunk/inc/class.arrayfunctions.inc.php
    modules/phpgwapi/trunk/inc/class.asyncservice.inc.php
    modules/phpgwapi/trunk/inc/class.bojsaddressbook.inc.php
    modules/phpgwapi/trunk/inc/class.browser.inc.php
    modules/phpgwapi/trunk/inc/class.calendar_holidays.inc.php
    modules/phpgwapi/trunk/inc/class.categories.inc.php
    modules/phpgwapi/trunk/inc/class.clientsniffer.inc.php
    modules/phpgwapi/trunk/inc/class.common.inc.php
    modules/phpgwapi/trunk/inc/class.config.inc.php
    modules/phpgwapi/trunk/inc/class.contact_accounts.inc.php
    modules/phpgwapi/trunk/inc/class.contact_addr.inc.php
    modules/phpgwapi/trunk/inc/class.contact_addr_type.inc.php
    modules/phpgwapi/trunk/inc/class.contact_categories.inc.php
    modules/phpgwapi/trunk/inc/class.contact_central.inc.php
    modules/phpgwapi/trunk/inc/class.contact_comm.inc.php
    modules/phpgwapi/trunk/inc/class.contact_comm_descr.inc.php
    modules/phpgwapi/trunk/inc/class.contact_comm_type.inc.php
    modules/phpgwapi/trunk/inc/class.contact_note.inc.php
    modules/phpgwapi/trunk/inc/class.contact_note_type.inc.php
    modules/phpgwapi/trunk/inc/class.contact_org.inc.php
    modules/phpgwapi/trunk/inc/class.contact_org_person.inc.php
    modules/phpgwapi/trunk/inc/class.contact_others.inc.php
    modules/phpgwapi/trunk/inc/class.contact_person.inc.php
    modules/phpgwapi/trunk/inc/class.contact_types.inc.php
    modules/phpgwapi/trunk/inc/class.contacts.inc.php
    modules/phpgwapi/trunk/inc/class.contacts_shared.inc.php
    modules/phpgwapi/trunk/inc/class.contacts_sql.inc.php
    modules/phpgwapi/trunk/inc/class.country.inc.php
    modules/phpgwapi/trunk/inc/class.crypto.inc.php
    modules/phpgwapi/trunk/inc/class.css.inc.php
    modules/phpgwapi/trunk/inc/class.csstooltip.inc.php
    modules/phpgwapi/trunk/inc/class.custom_fields.inc.php
    modules/phpgwapi/trunk/inc/class.data_cleaner.inc.php
    modules/phpgwapi/trunk/inc/class.datetime.inc.php
    modules/phpgwapi/trunk/inc/class.db.inc.php
    modules/phpgwapi/trunk/inc/class.error.inc.php
    modules/phpgwapi/trunk/inc/class.errorlog.inc.php
    modules/phpgwapi/trunk/inc/class.excel.inc.php
    modules/phpgwapi/trunk/inc/class.excelreader.inc.php
    modules/phpgwapi/trunk/inc/class.gdbutton.inc.php
    modules/phpgwapi/trunk/inc/class.gdgraph.inc.php
    modules/phpgwapi/trunk/inc/class.gdimage.inc.php
    modules/phpgwapi/trunk/inc/class.historylog.inc.php
    modules/phpgwapi/trunk/inc/class.hooks.inc.php
    modules/phpgwapi/trunk/inc/class.html2text.inc.php
    modules/phpgwapi/trunk/inc/class.http.inc.php
    modules/phpgwapi/trunk/inc/class.http_dav_client.inc.php
    modules/phpgwapi/trunk/inc/class.http_svn_client.inc.php
    modules/phpgwapi/trunk/inc/class.icalendar.inc.php
    modules/phpgwapi/trunk/inc/class.interserver.inc.php
    modules/phpgwapi/trunk/inc/class.ipc_.inc.php
    modules/phpgwapi/trunk/inc/class.ipc_manager.inc.php
    modules/phpgwapi/trunk/inc/class.jscal.inc.php
    modules/phpgwapi/trunk/inc/class.jscalendar.inc.php
    modules/phpgwapi/trunk/inc/class.listbox.inc.php
    modules/phpgwapi/trunk/inc/class.log.inc.php
    modules/phpgwapi/trunk/inc/class.log_message.inc.php
    modules/phpgwapi/trunk/inc/class.mail2array.inc.php
    modules/phpgwapi/trunk/inc/class.mailer_smtp.inc.php
    modules/phpgwapi/trunk/inc/class.matrixview.inc.php
    modules/phpgwapi/trunk/inc/class.menu_apps.inc.php
    modules/phpgwapi/trunk/inc/class.menutree.inc.php
    modules/phpgwapi/trunk/inc/class.mime_magic.inc.php
    modules/phpgwapi/trunk/inc/class.net_http_client.inc.php
    modules/phpgwapi/trunk/inc/class.network.inc.php
    modules/phpgwapi/trunk/inc/class.nextmatchs.inc.php
    modules/phpgwapi/trunk/inc/class.nextmatchs_xslt.inc.php
    modules/phpgwapi/trunk/inc/class.nusoap_base.inc.php
    modules/phpgwapi/trunk/inc/class.pdf.inc.php
    modules/phpgwapi/trunk/inc/class.phpgw_soapval.inc.php
    modules/phpgwapi/trunk/inc/class.ping.inc.php
    modules/phpgwapi/trunk/inc/class.portalbox.inc.php
    modules/phpgwapi/trunk/inc/class.preferences.inc.php
    modules/phpgwapi/trunk/inc/class.resultbox.inc.php
    modules/phpgwapi/trunk/inc/class.richtext.inc.php
    modules/phpgwapi/trunk/inc/class.rssparser.inc.php
    modules/phpgwapi/trunk/inc/class.sbox.inc.php
    modules/phpgwapi/trunk/inc/class.sbox2.inc.php
    modules/phpgwapi/trunk/inc/class.schema_proc.inc.php
    modules/phpgwapi/trunk/inc/class.schema_proc_array.inc.php
    modules/phpgwapi/trunk/inc/class.schema_proc_mssql.inc.php
    modules/phpgwapi/trunk/inc/class.schema_proc_mysql.inc.php
    modules/phpgwapi/trunk/inc/class.schema_proc_oracle.inc.php
    modules/phpgwapi/trunk/inc/class.schema_proc_pgsql.inc.php
    modules/phpgwapi/trunk/inc/class.schema_proc_sapdb.inc.php
    modules/phpgwapi/trunk/inc/class.send.inc.php
    modules/phpgwapi/trunk/inc/class.service.inc.php
    modules/phpgwapi/trunk/inc/class.service_contacts.inc.php
    modules/phpgwapi/trunk/inc/class.service_notes.inc.php
    modules/phpgwapi/trunk/inc/class.service_schedule.inc.php
    modules/phpgwapi/trunk/inc/class.setup.inc.php
    modules/phpgwapi/trunk/inc/class.setup_detection.inc.php
    modules/phpgwapi/trunk/inc/class.setup_html.inc.php
    modules/phpgwapi/trunk/inc/class.setup_translation.inc.php
    modules/phpgwapi/trunk/inc/class.shm.inc.php
    modules/phpgwapi/trunk/inc/class.soap_XMLSchema.inc.php
    modules/phpgwapi/trunk/inc/class.soap_client.inc.php
    modules/phpgwapi/trunk/inc/class.soap_fault.inc.php
    modules/phpgwapi/trunk/inc/class.soap_parser.inc.php
    modules/phpgwapi/trunk/inc/class.soap_server.inc.php
    modules/phpgwapi/trunk/inc/class.soap_transport_http.inc.php
    modules/phpgwapi/trunk/inc/class.soapclient.inc.php
    modules/phpgwapi/trunk/inc/class.soapmsg.inc.php
    modules/phpgwapi/trunk/inc/class.soapval.inc.php
    modules/phpgwapi/trunk/inc/class.sql.inc.php
    modules/phpgwapi/trunk/inc/class.sql_builder.inc.php
    modules/phpgwapi/trunk/inc/class.sql_criteria.inc.php
    modules/phpgwapi/trunk/inc/class.sql_entity.inc.php
    modules/phpgwapi/trunk/inc/class.translation.inc.php
    modules/phpgwapi/trunk/inc/class.translation_sql.inc.php
    modules/phpgwapi/trunk/inc/class.uijsaddressbook.inc.php
    modules/phpgwapi/trunk/inc/class.utilities.inc.php
    modules/phpgwapi/trunk/inc/class.validator.inc.php
    modules/phpgwapi/trunk/inc/class.vcard.inc.php
    modules/phpgwapi/trunk/inc/class.vfs.inc.php
    modules/phpgwapi/trunk/inc/class.vfs_dav.inc.php
    modules/phpgwapi/trunk/inc/class.vfs_shared.inc.php
    modules/phpgwapi/trunk/inc/class.vfs_sql.inc.php
    modules/phpgwapi/trunk/inc/class.wsdl.inc.php
    modules/phpgwapi/trunk/inc/class.xmltool.inc.php
    modules/phpgwapi/trunk/inc/class.xslttemplates.inc.php

Modified: modules/phpgwapi/trunk/inc/class.Template.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.Template.inc.php   2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.Template.inc.php   2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -13,6 +13,21 @@
  *
  */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
 /**
  * The template class allows you to keep your HTML code in some external files
  * which are completely free of PHP code, but contain replacement fields.

Modified: modules/phpgwapi/trunk/inc/class.Template_experimental.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.Template_experimental.inc.php      
2008-10-05 13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.Template_experimental.inc.php      
2008-10-05 14:05:17 UTC (rev 18962)
@@ -10,6 +10,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Template class
        * 

Modified: modules/phpgwapi/trunk/inc/class.applications.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.applications.inc.php       2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.applications.inc.php       2008-10-05 
14:05:17 UTC (rev 18962)
@@ -10,6 +10,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Class for managing and installing applications
        *

Modified: modules/phpgwapi/trunk/inc/class.arrayfunctions.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.arrayfunctions.inc.php     2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.arrayfunctions.inc.php     2008-10-05 
14:05:17 UTC (rev 18962)
@@ -10,6 +10,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU General Public License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Arrayfunctions
        *

Modified: modules/phpgwapi/trunk/inc/class.asyncservice.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.asyncservice.inc.php       2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.asyncservice.inc.php       2008-10-05 
14:05:17 UTC (rev 18962)
@@ -9,6 +9,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU General Public License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Timed Asynchron Services for creating cron-job like timed calls of 
phpGroupWare methods
        *

Modified: modules/phpgwapi/trunk/inc/class.bojsaddressbook.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.bojsaddressbook.inc.php    2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.bojsaddressbook.inc.php    2008-10-05 
14:05:17 UTC (rev 18962)
@@ -8,6 +8,21 @@
        * @subpackage gui
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU General Public License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */ 
+
        /**
        * Logic for the javascript addressbook
        *

Modified: modules/phpgwapi/trunk/inc/class.browser.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.browser.inc.php    2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.browser.inc.php    2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -11,6 +11,21 @@
        * @internal Majority of code borrowed from Sourceforge 2.5
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Browser detect functions
        *

Modified: modules/phpgwapi/trunk/inc/class.calendar_holidays.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.calendar_holidays.inc.php  2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.calendar_holidays.inc.php  2008-10-05 
14:05:17 UTC (rev 18962)
@@ -1,570 +1,574 @@
 <?php
-/**
- * Calendar holidays calculation
- * @author Kai Hofmann <address@hidden>
- * @copyright Copyright (C) 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 utilities
- * @version $Id: class.calendar_holidays.inc.php 682 2008-02-01 12:19:55Z dave 
$
- * @internal Original ANSI-C code (C) 2003 Dipl.-Inform. Kai Hofmann 
<address@hidden>
- * @internal For more about calendar calculations see http://www.datelib.de/
- */
-
-/**
- * Calendar holidays calculation
- *
- * @package phpgwapi
- * @subpackage utilities
- */
- class calendar_holidays
- {
        /**
-        * @var array $religions Supported religions
-        * @static
+        * Calendar holidays calculation
+        * @author Kai Hofmann <address@hidden>
+        * @copyright Copyright (C) 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 utilities
+        * @version $Id: class.calendar_holidays.inc.php 682 2008-02-01 
12:19:55Z dave $
+        * @internal Original ANSI-C code (C) 2003 Dipl.-Inform. Kai Hofmann 
<address@hidden>
+        * @internal For more about calendar calculations see 
http://www.datelib.de/
         */
-   var $religions = array('Atheistic','Evangeli','Catholic');
-       /**
-        * @var array $countries Supported countries
-        * @static
-        */
-   var $countries = array('Germany');
-       /**
-        * @var array $federal_states Supported federal states of supported 
countries
-        * @static
-        */
-   var $federal_states = array('Germany' => 
array('Baden-Wuerttemberg','Bavaria','Berlin','Brandenburg','Hansestadt 
Bremen','Hansestadt Hamburg','Hesse','Mecklenburg-Western Pomerania','Lower 
Saxony','North 
Rhine-Westphalia','Rhineland-Palatinate','Saarland','Saxony','Saxony-Anhalt','Schleswig-Holstein','Thuringia'));
 
+               /*
+                  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 3 of the 
License, or
+                  (at your option) any later version.
+
+                  This program is distributed in the hope that it will be 
useful,
+                  but WITHOUT ANY WARRANTY; without even the implied warranty 
of
+                  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+                  GNU General Public License for more details.
+
+                  You should have received a copy of the GNU Lesser General 
Public License
+                  along with this program.  If not, see 
<http://www.gnu.org/licenses/>.
+                */
+
        /**
-        * Constructor
+        * Calendar holidays calculation
         *
-        * @static
+        * @package phpgwapi
+        * @subpackage utilities
         */
-   function calendar_holidays()
-   {
-   }
-   
+        class calendar_holidays
+        {
+               /**
+                * @var array $religions Supported religions
+                * @static
+                */
+          var $religions = array('Atheistic','Evangeli','Catholic');
+               /**
+                * @var array $countries Supported countries
+                * @static
+                */
+          var $countries = array('Germany');
+               /**
+                * @var array $federal_states Supported federal states of 
supported countries
+                * @static
+                */
+          var $federal_states = array('Germany' => 
array('Baden-Wuerttemberg','Bavaria','Berlin','Brandenburg','Hansestadt 
Bremen','Hansestadt Hamburg','Hesse','Mecklenburg-Western Pomerania','Lower 
Saxony','North 
Rhine-Westphalia','Rhineland-Palatinate','Saarland','Saxony','Saxony-Anhalt','Schleswig-Holstein','Thuringia'));
 
-       /**
-       * Count the number of occurences for a fixed date within a given 
start/end date range
-       *
-       * The start/end date range is not allowed to be larger than 1 year 
(i.e. 365/366 days)
-       * @param integer $startday Day of start date
-       * @param integer $startmonth Month of start date
-       * @param integer $startyear Year of start date
-       * @param integer $endday Day of end date
-       * @param integer $endmonth Month of end date
-       * @param integer $endyear Year of end date
-       * @param integer $day Day of fixed date to count
-       * @param integer $month Month of fixed date to count
-       * @param integer &$weekday Weekday of the fixed date when it occurs 
(1=Monday,....,7=Sunday), 0 on error
-       * @return integer 0|1 fixed date occurs zero or one time within date 
range
-       * @access private
-       * @static
-       */
-   function 
countFixDateInRange($startday,$startmonth,$startyear,$endday,$endmonth,$endyear,$day,$month,&$weekday)
-   {
-        $weekday = jddayofweek(gregoriantojd($month,$day,$startyear),0);
-        $weekday = ($weekday == 0) ? 7 : $weekday ;
-        if ($startyear == $endyear)
-        {
-          if (((gregoriantojd($startmonth,$startday,$startyear) - 
gregoriantojd($month,$day,$startyear)) > 0) ||
-                  ((gregoriantojd($month,$day,$endyear) - 
gregoriantojd($endmonth,$endday,$endyear)) > 0)
-                 )
+               /**
+               * Count the number of occurences for a fixed date within a 
given start/end date range
+               *
+               * The start/end date range is not allowed to be larger than 1 
year (i.e. 365/366 days)
+               * @param integer $startday Day of start date
+               * @param integer $startmonth Month of start date
+               * @param integer $startyear Year of start date
+               * @param integer $endday Day of end date
+               * @param integer $endmonth Month of end date
+               * @param integer $endyear Year of end date
+               * @param integer $day Day of fixed date to count
+               * @param integer $month Month of fixed date to count
+               * @param integer &$weekday Weekday of the fixed date when it 
occurs (1=Monday,....,7=Sunday), 0 on error
+               * @return integer 0|1 fixed date occurs zero or one time within 
date range
+               * @access private
+               * @static
+               */
+          function 
countFixDateInRange($startday,$startmonth,$startyear,$endday,$endmonth,$endyear,$day,$month,&$weekday)
           {
-                return(0);
-          }
-          else
-          {
-                return(1);
-          }
-        }
-        else if ($startyear < $endyear)
-        {
-          if ((gregoriantojd($startmonth,$startday,$startyear) - 
gregoriantojd($month,$day,$startyear)) > 0) /* date1 > date2 */
-          {
-                if ((gregoriantojd($month,$day,$endyear) - 
gregoriantojd($endmonth,$endday,$endyear)) > 0)
+                $weekday = 
jddayofweek(gregoriantojd($month,$day,$startyear),0);
+                $weekday = ($weekday == 0) ? 7 : $weekday ;
+                if ($startyear == $endyear)
                 {
-                  return(0);
+                  if (((gregoriantojd($startmonth,$startday,$startyear) - 
gregoriantojd($month,$day,$startyear)) > 0) ||
+                          ((gregoriantojd($month,$day,$endyear) - 
gregoriantojd($endmonth,$endday,$endyear)) > 0)
+                         )
+                  {
+                        return(0);
+                  }
+                  else
+                  {
+                        return(1);
+                  }
                 }
-                else
+                else if ($startyear < $endyear)
                 {
-                  $weekday = 
jddayofweek(gregoriantojd($month,$day,$endyear),0); /* 0 = Sun; 1 = Mon; ... */
-                  $weekday = ($weekday == 0) ? 7 : $weekday ;
-                  return(1);
+                  if ((gregoriantojd($startmonth,$startday,$startyear) - 
gregoriantojd($month,$day,$startyear)) > 0) /* date1 > date2 */
+                  {
+                        if ((gregoriantojd($month,$day,$endyear) - 
gregoriantojd($endmonth,$endday,$endyear)) > 0)
+                        {
+                          return(0);
+                        }
+                        else
+                        {
+                          $weekday = 
jddayofweek(gregoriantojd($month,$day,$endyear),0); /* 0 = Sun; 1 = Mon; ... */
+                          $weekday = ($weekday == 0) ? 7 : $weekday ;
+                          return(1);
+                        }
+                  }
+                  else /* date1 <= date2 */
+                  {
+                        return(1);
+                  }
                 }
+                else /* startyear > endyear*/
+                {
+                  $weekday = -1;
+                  return(0);
+                }
           }
-          else /* date1 <= date2 */
-          {
-                return(1);
-          }
-        }
-        else /* startyear > endyear*/
-        {
-          $weekday = -1;
-          return(0);
-        }
-   }
 
 
-       /**
-       * Count the number of occurences for a variable date within a given 
start/end date range
-       *
-       * The start/end date range is not allowed to be larger than 1 year 
(i.e. 365/366 days)
-       * The year must be within the unix epoche (Gregorian years between 1970 
and 2037 or 2440588 <= jday <= 2465342)
-       * @param integer $startday Day of start date
-       * @param integer $startmonth Month of start date
-       * @param integer $startyear Year of start date
-       * @param integer $endday Day of end date
-       * @param integer $endmonth Month of end date
-       * @param integer $endyear Year of end date
-       * @param string $func Function name of the function that calculates the 
variable holiday 
-       * @return integer 0|1|2 variable date occurs zero,one or two times 
within date range
-       * @access private
-       * @static
-       * @see goodFriday(), easterMonday(), ascension(), whitmonday(), 
corpusChristi()
-       */
-   function 
countVarDateInRange($startday,$startmonth,$startyear,$endday,$endmonth,$endyear,$func)
-   {
-        $day = 0;
-        $month = 0;
-
-        if ($startyear <= $endyear)
-        {
-          if ($startyear < $endyear)
+               /**
+               * Count the number of occurences for a variable date within a 
given start/end date range
+               *
+               * The start/end date range is not allowed to be larger than 1 
year (i.e. 365/366 days)
+               * The year must be within the unix epoche (Gregorian years 
between 1970 and 2037 or 2440588 <= jday <= 2465342)
+               * @param integer $startday Day of start date
+               * @param integer $startmonth Month of start date
+               * @param integer $startyear Year of start date
+               * @param integer $endday Day of end date
+               * @param integer $endmonth Month of end date
+               * @param integer $endyear Year of end date
+               * @param string $func Function name of the function that 
calculates the variable holiday 
+               * @return integer 0|1|2 variable date occurs zero,one or two 
times within date range
+               * @access private
+               * @static
+               * @see goodFriday(), easterMonday(), ascension(), whitmonday(), 
corpusChristi()
+               */
+          function 
countVarDateInRange($startday,$startmonth,$startyear,$endday,$endmonth,$endyear,$func)
           {
-                $counter = 0;
+                $day = 0;
+                $month = 0;
 
-                $this->$func($startyear,$day,$month);
-                if ((gregoriantojd($startmonth,$startday,$startyear) - 
gregoriantojd($month,$day,$startyear)) <= 0)
+                if ($startyear <= $endyear)
                 {
-                  ++$counter;
+                  if ($startyear < $endyear)
+                  {
+                        $counter = 0;
+
+                        $this->$func($startyear,$day,$month);
+                        if ((gregoriantojd($startmonth,$startday,$startyear) - 
gregoriantojd($month,$day,$startyear)) <= 0)
+                        {
+                          ++$counter;
+                        }
+                        $this->$func($endyear,$day,$month);
+                        if ((gregoriantojd($month,$day,$endyear) - 
gregoriantojd($endmonth,$endday,$endyear)) <= 0)
+                        {
+                          ++$counter;
+                        }
+                        return($counter);
+                  }
+                  else
+                  {
+                        $this->$func($startyear,$day,$month);
+                        if (((gregoriantojd($startmonth,$startday,$startyear) 
- gregoriantojd($month,$day,$startyear)) > 0) ||
+                                ((gregoriantojd($month,$day,$endyear) - 
gregoriantojd($endmonth,$endday,$endyear)) > 0)
+                               )
+                        {
+                          return(0);
+                        }
+                        else
+                        {
+                          return(1);
+                        }
+                  }
                 }
-                $this->$func($endyear,$day,$month);
-                if ((gregoriantojd($month,$day,$endyear) - 
gregoriantojd($endmonth,$endday,$endyear)) <= 0)
+                else
                 {
-                  ++$counter;
-                }
-                return($counter);
-          }
-          else
-          {
-                $this->$func($startyear,$day,$month);
-                if (((gregoriantojd($startmonth,$startday,$startyear) - 
gregoriantojd($month,$day,$startyear)) > 0) ||
-                        ((gregoriantojd($month,$day,$endyear) - 
gregoriantojd($endmonth,$endday,$endyear)) > 0)
-                       )
-                {
                   return(0);
                 }
-                else
-                {
-                  return(1);
-                }
           }
-        }
-        else
-        {
-          return(0);
-        }
-   }
 
 
-       /**
-       * Calculate the "good friday" i.e. the friday before easter sunday
-       *
-       * The year must be within the unix epoche (Gregorian years between 1970 
and 2037 or 2440588 <= jday <= 2465342)
-       * @param integer $year Year for which to calculate the holiday
-       * @param integer &$day Day of the holiday within the given year
-       * @param integer &$month Month of the holiday within the given year
-       * @access private
-       * @static
-       */
-   function goodFriday($year,&$day,&$month)
-   {
-        $easter_timestamp = jdtounix(unixtojd(easter_date($year))-2);
-        $day = date("d",$easter_timestamp);
-        $month = date("m",$easter_timestamp);
-   }
+               /**
+               * Calculate the "good friday" i.e. the friday before easter 
sunday
+               *
+               * The year must be within the unix epoche (Gregorian years 
between 1970 and 2037 or 2440588 <= jday <= 2465342)
+               * @param integer $year Year for which to calculate the holiday
+               * @param integer &$day Day of the holiday within the given year
+               * @param integer &$month Month of the holiday within the given 
year
+               * @access private
+               * @static
+               */
+          function goodFriday($year,&$day,&$month)
+          {
+                $easter_timestamp = jdtounix(unixtojd(easter_date($year))-2);
+                $day = date("d",$easter_timestamp);
+                $month = date("m",$easter_timestamp);
+          }
 
 
-       /**
-       * Calculate the "easter monday" i.e. the monday after easter sunday
-       *
-       * The year must be within the unix epoche (Gregorian years between 1970 
and 2037 or 2440588 <= jday <= 2465342)
-       * @param integer $year Year for which to calculate the holiday
-       * @param integer &$day Day of the holiday within the given year
-       * @param integer &$month Month of the holiday within the given year
-       * @access private
-       * @static
-       */
-   function easterMonday($year, &$day, &$month)
-   {
-        $easter_timestamp = jdtounix(unixtojd(easter_date($year))+1);
-        $day = date("d",$easter_timestamp);
-        $month = date("m",$easter_timestamp);
-   }
+               /**
+               * Calculate the "easter monday" i.e. the monday after easter 
sunday
+               *
+               * The year must be within the unix epoche (Gregorian years 
between 1970 and 2037 or 2440588 <= jday <= 2465342)
+               * @param integer $year Year for which to calculate the holiday
+               * @param integer &$day Day of the holiday within the given year
+               * @param integer &$month Month of the holiday within the given 
year
+               * @access private
+               * @static
+               */
+          function easterMonday($year, &$day, &$month)
+          {
+                $easter_timestamp = jdtounix(unixtojd(easter_date($year))+1);
+                $day = date("d",$easter_timestamp);
+                $month = date("m",$easter_timestamp);
+          }
 
 
-       /**
-       * Calculate the "ascension" i.e. 39 days after easter sunday
-       *
-       * The year must be within the unix epoche (Gregorian years between 1970 
and 2037 or 2440588 <= jday <= 2465342)
-       * @param integer $year Year for which to calculate the holiday
-       * @param integer &$day Day of the holiday within the given year
-       * @param integer &$month Month of the holiday within the given year
-       * @access private
-       * @static
-       */
-   function ascension($year, &$day, &$month)
-   {
-        $easter_timestamp = jdtounix(unixtojd(easter_date($year))+39);
-        $day = date("d",$easter_timestamp);
-        $month = date("m",$easter_timestamp);
-   }
+               /**
+               * Calculate the "ascension" i.e. 39 days after easter sunday
+               *
+               * The year must be within the unix epoche (Gregorian years 
between 1970 and 2037 or 2440588 <= jday <= 2465342)
+               * @param integer $year Year for which to calculate the holiday
+               * @param integer &$day Day of the holiday within the given year
+               * @param integer &$month Month of the holiday within the given 
year
+               * @access private
+               * @static
+               */
+          function ascension($year, &$day, &$month)
+          {
+                $easter_timestamp = jdtounix(unixtojd(easter_date($year))+39);
+                $day = date("d",$easter_timestamp);
+                $month = date("m",$easter_timestamp);
+          }
 
 
-       /**
-       * Calculate the "whitemonday" i.e. 50 days after easter sunday
-       *
-       * The year must be within the unix epoche (Gregorian years between 1970 
and 2037 or 2440588 <= jday <= 2465342)
-       * @param integer $year Year for which to calculate the holiday
-       * @param integer &$day Day of the holiday within the given year
-       * @param integer &$month Month of the holiday within the given year
-       * @access private
-       * @static
-       */
-   function whitmonday($year, &$day, &$month)
-   {
-        $easter_timestamp = jdtounix(unixtojd(easter_date($year))+50);
-        $day = date("d",$easter_timestamp);
-        $month = date("m",$easter_timestamp);
-   }
+               /**
+               * Calculate the "whitemonday" i.e. 50 days after easter sunday
+               *
+               * The year must be within the unix epoche (Gregorian years 
between 1970 and 2037 or 2440588 <= jday <= 2465342)
+               * @param integer $year Year for which to calculate the holiday
+               * @param integer &$day Day of the holiday within the given year
+               * @param integer &$month Month of the holiday within the given 
year
+               * @access private
+               * @static
+               */
+          function whitmonday($year, &$day, &$month)
+          {
+                $easter_timestamp = jdtounix(unixtojd(easter_date($year))+50);
+                $day = date("d",$easter_timestamp);
+                $month = date("m",$easter_timestamp);
+          }
 
 
-       /**
-       * Calculate the "corpus christi" i.e. 60 days after easter sunday
-       *
-       * The year must be within the unix epoche (Gregorian years between 1970 
and 2037 or 2440588 <= jday <= 2465342)
-       * @param integer $year Year for which to calculate the holiday
-       * @param integer &$day Day of the holiday within the given year
-       * @param integer &$month Month of the holiday within the given year
-       * @access private
-       * @static
-       */
-   function corpusChristi($year, &$day, &$month)
-   {
-        $easter_timestamp = jdtounix(unixtojd(easter_date($year))+60);
-        $day = date("d",$easter_timestamp);
-        $month = date("m",$easter_timestamp);
-   }
+               /**
+               * Calculate the "corpus christi" i.e. 60 days after easter 
sunday
+               *
+               * The year must be within the unix epoche (Gregorian years 
between 1970 and 2037 or 2440588 <= jday <= 2465342)
+               * @param integer $year Year for which to calculate the holiday
+               * @param integer &$day Day of the holiday within the given year
+               * @param integer &$month Month of the holiday within the given 
year
+               * @access private
+               * @static
+               */
+          function corpusChristi($year, &$day, &$month)
+          {
+                $easter_timestamp = jdtounix(unixtojd(easter_date($year))+60);
+                $day = date("d",$easter_timestamp);
+                $month = date("m",$easter_timestamp);
+          }
 
 
-       /**
-       * Count the number of holidays with the given start/end date range
-       *
-       * The start/end date range is not allowed to be larger than 1 year 
(i.e. 365/366 days)
-       * @param integer $startday Day of start date
-       * @param integer $startmonth Month of start date
-       * @param integer $startyear Year of start date
-       * @param integer $endday Day of end date
-       * @param integer $endmonth Month of end date
-       * @param integer $endyear Year of end date
-       * @param integer $country Country for which to calculate the working 
days
-       * @param integer $federal_state Federal state of given country for 
which to calculate the working days
-       * @param integer $religion Religion for which to calculate the working 
days
-       * @return Number of holidays in start/end date range that are not on a 
saturday or sunday.
-       * @static
-       */
-   function 
get_number_of_holidays($startday,$startmonth,$startyear,$endday,$endmonth,$endyear,$country,$federal_state,$religion)
-   {
-        $days = 0;
-        if ($country == 'Germany')
-        {
-          /* New year */
-          if 
(($this->countFixDateInRange($startday,$startmonth,$startyear,$endday,$endmonth,$endyear,1,1,$weekday)
 > 0) &&
-                  ($weekday <= 5 /* Friday */))
+               /**
+               * Count the number of holidays with the given start/end date 
range
+               *
+               * The start/end date range is not allowed to be larger than 1 
year (i.e. 365/366 days)
+               * @param integer $startday Day of start date
+               * @param integer $startmonth Month of start date
+               * @param integer $startyear Year of start date
+               * @param integer $endday Day of end date
+               * @param integer $endmonth Month of end date
+               * @param integer $endyear Year of end date
+               * @param integer $country Country for which to calculate the 
working days
+               * @param integer $federal_state Federal state of given country 
for which to calculate the working days
+               * @param integer $religion Religion for which to calculate the 
working days
+               * @return Number of holidays in start/end date range that are 
not on a saturday or sunday.
+               * @static
+               */
+          function 
get_number_of_holidays($startday,$startmonth,$startyear,$endday,$endmonth,$endyear,$country,$federal_state,$religion)
           {
-                ++$days;
-          } 
+                $days = 0;
+                if ($country == 'Germany')
+                {
+                  /* New year */
+                  if 
(($this->countFixDateInRange($startday,$startmonth,$startyear,$endday,$endmonth,$endyear,1,1,$weekday)
 > 0) &&
+                          ($weekday <= 5 /* Friday */))
+                  {
+                        ++$days;
+                  } 
 
-          /* 1. May */
-          if 
(($this->countFixDateInRange($startday,$startmonth,$startyear,$endday,$endmonth,$endyear,1,5,$weekday)
 > 0) &&
-                  ($weekday <= 5 /* Friday */))
-          {
-                ++$days;
-          }
+                  /* 1. May */
+                  if 
(($this->countFixDateInRange($startday,$startmonth,$startyear,$endday,$endmonth,$endyear,1,5,$weekday)
 > 0) &&
+                          ($weekday <= 5 /* Friday */))
+                  {
+                        ++$days;
+                  }
 
-          /* German Unification Day */
-          if 
(($this->countFixDateInRange($startday,$startmonth,$startyear,$endday,$endmonth,$endyear,3,10,$weekday)
 > 0) &&
-                  ($weekday <= 5 /* Friday */))
-          {
-                ++$days;
-          }
+                  /* German Unification Day */
+                  if 
(($this->countFixDateInRange($startday,$startmonth,$startyear,$endday,$endmonth,$endyear,3,10,$weekday)
 > 0) &&
+                          ($weekday <= 5 /* Friday */))
+                  {
+                        ++$days;
+                  }
 
-          /* Christmas Eve and New Year's eve as half days */
-          if 
(($this->countFixDateInRange($startday,$startmonth,$startyear,$endday,$endmonth,$endyear,24,12,$weekday)
 > 0) &&
-                  ($weekday <= 5 /* Friday */))
-          {
-                ++$days;
-          } 
+                  /* Christmas Eve and New Year's eve as half days */
+                  if 
(($this->countFixDateInRange($startday,$startmonth,$startyear,$endday,$endmonth,$endyear,24,12,$weekday)
 > 0) &&
+                          ($weekday <= 5 /* Friday */))
+                  {
+                        ++$days;
+                  } 
 
-          /* 1. Christmas day */
-          if 
(($this->countFixDateInRange($startday,$startmonth,$startyear,$endday,$endmonth,$endyear,25,12,$weekday)
 > 0) &&
-                  ($weekday <= 5 /* Friday */))
-          {
-                ++$days;
-          }
+                  /* 1. Christmas day */
+                  if 
(($this->countFixDateInRange($startday,$startmonth,$startyear,$endday,$endmonth,$endyear,25,12,$weekday)
 > 0) &&
+                          ($weekday <= 5 /* Friday */))
+                  {
+                        ++$days;
+                  }
 
-          /* 2. Christmas day */
-          if 
(($this->countFixDateInRange($startday,$startmonth,$startyear,$endday,$endmonth,$endyear,26,12,$weekday)
 > 0) &&
-                  ($weekday <= 5 /* Friday */))
-          {
-                ++$days;
-          }
-  
-          /* Good Friday */
-          $days += 
$this->countVarDateInRange($startday,$startmonth,$startyear,$endday,$endmonth,$endyear,'goodFriday');
+                  /* 2. Christmas day */
+                  if 
(($this->countFixDateInRange($startday,$startmonth,$startyear,$endday,$endmonth,$endyear,26,12,$weekday)
 > 0) &&
+                          ($weekday <= 5 /* Friday */))
+                  {
+                        ++$days;
+                  }
+         
+                  /* Good Friday */
+                  $days += 
$this->countVarDateInRange($startday,$startmonth,$startyear,$endday,$endmonth,$endyear,'goodFriday');
 
-          /* Easter Monday */
-          $days += 
$this->countVarDateInRange($startday,$startmonth,$startyear,$endday,$endmonth,$endyear,'easterMonday');
+                  /* Easter Monday */
+                  $days += 
$this->countVarDateInRange($startday,$startmonth,$startyear,$endday,$endmonth,$endyear,'easterMonday');
 
-          /* Ascension */
-          $days += 
$this->countVarDateInRange($startday,$startmonth,$startyear,$endday,$endmonth,$endyear,'ascension');
+                  /* Ascension */
+                  $days += 
$this->countVarDateInRange($startday,$startmonth,$startyear,$endday,$endmonth,$endyear,'ascension');
 
-          /* Whitemonday */
-          $days += 
$this->countVarDateInRange($startday,$startmonth,$startyear,$endday,$endmonth,$endyear,'whitmonday');
-        
-          if 
(in_array($federal_state,array('Baden-Wuerttemberg','Bavaria','Saxony-Anhalt')))
-          {
-                /* Epiphany */
-                if 
(($this->countFixDateInRange($startday,$startmonth,$startyear,$endday,$endmonth,$endyear,6,1,$weekday)
 > 0) &&
-                        ($weekday <= 5 /* Friday */))
-                {
-                  ++$days;
-                } 
+                  /* Whitemonday */
+                  $days += 
$this->countVarDateInRange($startday,$startmonth,$startyear,$endday,$endmonth,$endyear,'whitmonday');
+                
+                  if 
(in_array($federal_state,array('Baden-Wuerttemberg','Bavaria','Saxony-Anhalt')))
+                  {
+                        /* Epiphany */
+                        if 
(($this->countFixDateInRange($startday,$startmonth,$startyear,$endday,$endmonth,$endyear,6,1,$weekday)
 > 0) &&
+                                ($weekday <= 5 /* Friday */))
+                        {
+                          ++$days;
+                        } 
+                  }
+                
+                  if 
(in_array($federal_state,array('Brandenburg','Mecklenburg-Western 
Pomerania','Saxony','Saxony-Anhalt','Thuringia')))
+                  {
+                        /* Reformation Day */
+                        if 
(($this->countFixDateInRange($startday,$startmonth,$startyear,$endday,$endmonth,$endyear,31,10,$weekday)
 > 0) &&
+                                ($weekday <= 5 /* Friday */))
+                        {
+                          ++$days;
+                        } 
+                  }
+                
+                  if 
(in_array($federal_state,array('Baden-Wuerttemberg','Bavaria','North 
Rhine-Westphalia','Rhineland-Palatinate','Saarland')))
+                  {
+                        /* All Hallows Day */
+                        if 
(($this->countFixDateInRange($startday,$startmonth,$startyear,$endday,$endmonth,$endyear,1,11,$weekday)
 > 0) &&
+                                ($weekday <= 5 /* Friday */))
+                        {
+                          ++$days;
+                        } 
+                  }
+
+                  if (in_array($federal_state,array('Saarland')) || 
(in_array($federal_state,array('Bavaria')) && ($religion == 'Catholic')))
+                  {
+                        /* Assumption Day */
+                        if 
(($this->countFixDateInRange($startday,$startmonth,$startyear,$endday,$endmonth,$endyear,15,8,$weekday)
 > 0) &&
+                                ($weekday <= 5 /* Friday */))
+                        {
+                          ++$days;
+                        } 
+                  }
+                
+                  if 
(in_array($federal_state,array('Baden-Wuerttemberg','Bavaria','Hesse','North 
Rhine-Westphalia','Rhineland-Palatinate','Saarland')) || (($religion == 
'Catholic') && in_array($federal_state,array('Saxony','Thuringia'))))
+                  {
+                       /* Corpus Christi */
+                       $days += 
$this->countVarDateInRange($startday,$startmonth,$startyear,$endday,$endmonth,$endyear,'corpusChristi');
+                  }
+                
+                }
+                return($days);
           }
-        
-          if (in_array($federal_state,array('Brandenburg','Mecklenburg-Western 
Pomerania','Saxony','Saxony-Anhalt','Thuringia')))
-          {
-                /* Reformation Day */
-                if 
(($this->countFixDateInRange($startday,$startmonth,$startyear,$endday,$endmonth,$endyear,31,10,$weekday)
 > 0) &&
-                        ($weekday <= 5 /* Friday */))
-                {
-                  ++$days;
-                } 
-          }
-        
-          if 
(in_array($federal_state,array('Baden-Wuerttemberg','Bavaria','North 
Rhine-Westphalia','Rhineland-Palatinate','Saarland')))
-          {
-                /* All Hallows Day */
-                if 
(($this->countFixDateInRange($startday,$startmonth,$startyear,$endday,$endmonth,$endyear,1,11,$weekday)
 > 0) &&
-                        ($weekday <= 5 /* Friday */))
-                {
-                  ++$days;
-                } 
-          }
 
-          if (in_array($federal_state,array('Saarland')) || 
(in_array($federal_state,array('Bavaria')) && ($religion == 'Catholic')))
+
+               /**
+               * Calculate the number of working days within a given start/end 
date range
+               *
+               * The start/end date range is not allowed to be larger than 1 
year (i.e. 365/366 days)
+               * @param integer $startday Day of start date
+               * @param integer $startmonth Month of start date
+               * @param integer $startyear Year of start date
+               * @param integer $endday Day of end date
+               * @param integer $endmonth Month of end date
+               * @param integer $endyear Year of end date
+               * @param integer $country Country for which to calculate the 
working days
+               * @param integer $federal_state Federal state of given country 
for which to calculate the working days
+               * @param integer $religion Religion for which to calculate the 
working days
+               * @return integer Number of working days within the given date 
range or -1 on error
+               * @static
+               * @see countFixDateInRange(), countVarDateInRange()
+               */
+          function 
get_number_of_workdays($startday,$startmonth,$startyear,$endday,$endmonth,$endyear,$country,$federal_state,$religion)
           {
-                /* Assumption Day */
-                if 
(($this->countFixDateInRange($startday,$startmonth,$startyear,$endday,$endmonth,$endyear,15,8,$weekday)
 > 0) &&
-                        ($weekday <= 5 /* Friday */))
+                $firstweekday = 
jddayofweek(gregoriantojd($startmonth,$startday,$startyear),0); /* 0 = Sun; 1 = 
Mon; ... */
+                $firstweekday = ($firstweekday == 0) ? 7 : $firstweekday; /* 1 
= Mon; ... 7 = Sun */
+                $days = gregoriantojd($endmonth,$endday,$endyear) - 
gregoriantojd($startmonth,$startday,$startyear) + 1;
+                if ($days > 366)
                 {
-                  ++$days;
-                } 
-          }
-        
-          if 
(in_array($federal_state,array('Baden-Wuerttemberg','Bavaria','Hesse','North 
Rhine-Westphalia','Rhineland-Palatinate','Saarland')) || (($religion == 
'Catholic') && in_array($federal_state,array('Saxony','Thuringia'))))
-          {
-               /* Corpus Christi */
-               $days += 
$this->countVarDateInRange($startday,$startmonth,$startyear,$endday,$endmonth,$endyear,'corpusChristi');
-          }
-        
-        }
-        return($days);
-   }
+                  // echo "range to large!\n";
+                  return(-1);
+                }
+                $rest = $days % 7;
+                $lwd = $firstweekday + $rest - 1;
+                $lastweekday = (($lwd <= 7) ? $lwd : ($lwd - 7));
 
+                // echo 'days: ' . $days . "\n";
+                // echo 'days / 7: ' . floor($days / 7) . "\n";
+                // echo 'days % 7: ' . ($days % 7) . "\n";
+                // echo $firstweekday . ':' . $lastweekday . "\n";
 
-       /**
-       * Calculate the number of working days within a given start/end date 
range
-       *
-       * The start/end date range is not allowed to be larger than 1 year 
(i.e. 365/366 days)
-       * @param integer $startday Day of start date
-       * @param integer $startmonth Month of start date
-       * @param integer $startyear Year of start date
-       * @param integer $endday Day of end date
-       * @param integer $endmonth Month of end date
-       * @param integer $endyear Year of end date
-       * @param integer $country Country for which to calculate the working 
days
-       * @param integer $federal_state Federal state of given country for 
which to calculate the working days
-       * @param integer $religion Religion for which to calculate the working 
days
-       * @return integer Number of working days within the given date range or 
-1 on error
-       * @static
-       * @see countFixDateInRange(), countVarDateInRange()
-       */
-   function 
get_number_of_workdays($startday,$startmonth,$startyear,$endday,$endmonth,$endyear,$country,$federal_state,$religion)
-   {
-        $firstweekday = 
jddayofweek(gregoriantojd($startmonth,$startday,$startyear),0); /* 0 = Sun; 1 = 
Mon; ... */
-        $firstweekday = ($firstweekday == 0) ? 7 : $firstweekday; /* 1 = Mon; 
... 7 = Sun */
-        $days = gregoriantojd($endmonth,$endday,$endyear) - 
gregoriantojd($startmonth,$startday,$startyear) + 1;
-        if ($days > 366)
-        {
-          // echo "range to large!\n";
-          return(-1);
-        }
-        $rest = $days % 7;
-        $lwd = $firstweekday + $rest - 1;
-        $lastweekday = (($lwd <= 7) ? $lwd : ($lwd - 7));
+                $days -= floor($days / 7) * 2; // Subtract number of weekend 
days (Sat/Sun) in range
+                $days -= (($firstweekday <= $lastweekday) ?
+                (($lastweekday <= 5 /* Friday */) ? 0 : (1 + ((($firstweekday 
< $lastweekday) && ($lastweekday == 7)) ? 1 : 0))) : // Subtract 1 for Saturday 
or two for Sat/Sun when lastweekday falls on the weekend; for firstweekday <= 
lastweekday; week starts with monday as 1
+                (($firstweekday - $lastweekday == 1) ? 0 : (1 + 
(($firstweekday <= 6 /* Saturday */) ? 1 : 0))) // Subtract weekend days; for 
firstweekday > lastweekday
+                );
 
-        // echo 'days: ' . $days . "\n";
-        // echo 'days / 7: ' . floor($days / 7) . "\n";
-        // echo 'days % 7: ' . ($days % 7) . "\n";
-        // echo $firstweekday . ':' . $lastweekday . "\n";
+                // echo 'mo-fr days: ' . $days . "\n";
 
-        $days -= floor($days / 7) * 2; // Subtract number of weekend days 
(Sat/Sun) in range
-        $days -= (($firstweekday <= $lastweekday) ?
-        (($lastweekday <= 5 /* Friday */) ? 0 : (1 + ((($firstweekday < 
$lastweekday) && ($lastweekday == 7)) ? 1 : 0))) : // Subtract 1 for Saturday 
or two for Sat/Sun when lastweekday falls on the weekend; for firstweekday <= 
lastweekday; week starts with monday as 1
-        (($firstweekday - $lastweekday == 1) ? 0 : (1 + (($firstweekday <= 6 
/* Saturday */) ? 1 : 0))) // Subtract weekend days; for firstweekday > 
lastweekday
-        );
+                $days -= 
$this->get_number_of_holidays($startday,$startmonth,$startyear,$endday,$endmonth,$endyear,$country,$federal_state,$religion);
+                return($days);
+          }
+               
+               
+               /**
+               * Get the first workday in a month
+               *
+               * @param integer $month Month for which we want to know the 
first workday
+               * @param integer $year Year corresponding to the month
+               * @param integer $country Country for which to calculate the 
working days
+               * @param integer $federal_state Federal state of given country 
for which to calculate the working days
+               * @param integer $religion Religion for which to calculate the 
working days
+               * @return integer First workday in given month/year
+               * @static
+               */
+               function 
get_first_workday($month,$year,$country,$federal_state,$religion)
+               {
+                 for ($day = 1; $day <= 31; ++$day)
+                 {
+                       $weekday = 
jddayofweek(gregoriantojd($month,$day,$year),0);
+                       $weekday = ($weekday == 0) ? 7 : $weekday ;
+                       if (($weekday <= 5 /* Friday */) && 
($this->get_number_of_holidays($day,$month,$year,$day,$month,$year,$country,$federal_state,$religion)
 == 0))
+                       {
+                         break;
+                       }
+                 }
+                 return($day);
+               }
 
-        // echo 'mo-fr days: ' . $days . "\n";
 
-        $days -= 
$this->get_number_of_holidays($startday,$startmonth,$startyear,$endday,$endmonth,$endyear,$country,$federal_state,$religion);
-        return($days);
-   }
-       
-       
-       /**
-       * Get the first workday in a month
-       *
-       * @param integer $month Month for which we want to know the first 
workday
-       * @param integer $year Year corresponding to the month
-       * @param integer $country Country for which to calculate the working 
days
-       * @param integer $federal_state Federal state of given country for 
which to calculate the working days
-       * @param integer $religion Religion for which to calculate the working 
days
-       * @return integer First workday in given month/year
-       * @static
-       */
-       function 
get_first_workday($month,$year,$country,$federal_state,$religion)
-       {
-         for ($day = 1; $day <= 31; ++$day)
-         {
-               $weekday = jddayofweek(gregoriantojd($month,$day,$year),0);
-               $weekday = ($weekday == 0) ? 7 : $weekday ;
-               if (($weekday <= 5 /* Friday */) && 
($this->get_number_of_holidays($day,$month,$year,$day,$month,$year,$country,$federal_state,$religion)
 == 0))
+               /**
+               * Add a number of workdays to a start date
+               *
+               * The number of workdays is not allowed to be larger than 1 
year (i.e. 365/366 days)
+               * The year must be within the unix epoche (Gregorian years 
between 1970 and 2037 or 2440588 <= jday <= 2465342)
+               * @param integer $startday Day of start date
+               * @param integer $startmonth Month of start date
+               * @param integer $startyear Year of start date
+               * @param integer $workdays Number of workdays to add to 
startdate (must be >= 0)
+               * @param integer $country Country for which to calculate the 
working days
+               * @param integer $federal_state Federal state of given country 
for which to calculate the working days
+               * @param integer $religion Religion for which to calculate the 
working days
+               * @param integer &$newday Day of end date
+               * @param integer &$newmonth Month of end date
+               * @param integer &$newyear Year of end date
+               * @static
+               */
+               function 
add_number_of_workdays($startday,$startmonth,$startyear,$workdays,$country,$federal_state,$religion)
                {
-                 break;
-               }
-         }
-         return($day);
-       }
+                 $jd = gregoriantojd($startmonth,$startday,$startyear)+1;
+                 $timestamp  = jdtounix($jd);
+                 $startday   = date("d",$timestamp);
+                 $startmonth = date("m",$timestamp);
+                 $startyear  = date("Y",$timestamp);
+                 $addwdays = $workdays;
+                 for (;;)
+                 {
+                       $jd += $addwdays;
+                       $timestamp = jdtounix($jd);
+                       $newday    = date("d",$timestamp);
+                       $newmonth  = date("m",$timestamp);
+                       $newyear   = date("Y",$timestamp);
+                       $wdays = 
$this->get_number_of_workdays($startday,$startmonth,$startyear,$newday,$newmonth,$newyear,$country,$federal_state,$religion);
 
+                       // echo $newyear . '-' . $newmonth . '-' . $newday . 
':' . $wdays . "\n";
 
-       /**
-       * Add a number of workdays to a start date
-       *
-       * The number of workdays is not allowed to be larger than 1 year (i.e. 
365/366 days)
-       * The year must be within the unix epoche (Gregorian years between 1970 
and 2037 or 2440588 <= jday <= 2465342)
-       * @param integer $startday Day of start date
-       * @param integer $startmonth Month of start date
-       * @param integer $startyear Year of start date
-       * @param integer $workdays Number of workdays to add to startdate (must 
be >= 0)
-       * @param integer $country Country for which to calculate the working 
days
-       * @param integer $federal_state Federal state of given country for 
which to calculate the working days
-       * @param integer $religion Religion for which to calculate the working 
days
-       * @param integer &$newday Day of end date
-       * @param integer &$newmonth Month of end date
-       * @param integer &$newyear Year of end date
-       * @static
-       */
-       function 
add_number_of_workdays($startday,$startmonth,$startyear,$workdays,$country,$federal_state,$religion)
-       {
-         $jd = gregoriantojd($startmonth,$startday,$startyear)+1;
-         $timestamp  = jdtounix($jd);
-         $startday   = date("d",$timestamp);
-         $startmonth = date("m",$timestamp);
-         $startyear  = date("Y",$timestamp);
-         $addwdays = $workdays;
-         for (;;)
-         {
-               $jd += $addwdays;
-               $timestamp = jdtounix($jd);
-               $newday    = date("d",$timestamp);
-               $newmonth  = date("m",$timestamp);
-               $newyear   = date("Y",$timestamp);
-               $wdays = 
$this->get_number_of_workdays($startday,$startmonth,$startyear,$newday,$newmonth,$newyear,$country,$federal_state,$religion);
+                       if ($wdays == $workdays)
+                       {
+                         break;
+                       }
+                       $addwdays = $workdays - $wdays;
+                 }
+                 
+                 $days = array
+                       (
+                               'newday'=>$newday,
+                               'newmonth'=>$newmonth,
+                               'newyear'=>$newyear,
+                               
+                       );
+                 return $days;
+               }
 
-               // echo $newyear . '-' . $newmonth . '-' . $newday . ':' . 
$wdays . "\n";
 
-               if ($wdays == $workdays)
+               function is_workday($timestamp)
                {
-                 break;
+                       $month = date('m',$timestamp);
+                       $day = date('d',$timestamp);
+                       $year = date('Y',$timestamp);
+                       
+                       return $this->get_number_of_workdays($day, $month, 
$year,
+                                                                               
                 $day, $month, $year,
+                                                                               
                 'Germany', 'Lower Saxony', 'Evangeli');
                }
-               $addwdays = $workdays - $wdays;
-         }
-         
-         $days = array
-               (
-                       'newday'=>$newday,
-                       'newmonth'=>$newmonth,
-                       'newyear'=>$newyear,
-                       
-               );
-         return $days;
-       }
 
-
-       function is_workday($timestamp)
-       {
-               $month = date('m',$timestamp);
-               $day = date('d',$timestamp);
-               $year = date('Y',$timestamp);
                
-               return $this->get_number_of_workdays($day, $month, $year,
-                                                                               
         $day, $month, $year,
-                                                                               
         'Germany', 'Lower Saxony', 'Evangeli');
-       }
+        }
 
-       
- }
 
+        /*
+        Examples:
 
- /*
- Examples:
+        $startday   = 1;
+        $startmonth = 7;
+        $startyear  = 2003;
+        $endday     = 30;
+        $endmonth   = 6;
+        $endyear    = 2004;
+        $workdays   = 253;
+        */
+        /*
+        $startday   = 1;
+        $startmonth = 1;
+        $startyear  = 2004;
+        $endday     = 31;
+        $endmonth   = 12;
+        $endyear    = 2004;
+        $workdays   = 256;
+        */
+        /*
+        $startday   = 1;
+        $startmonth = 7;
+        $startyear  = 2004;
+        $endday     = 30;
+        $endmonth   = 6;
+        $endyear    = 2005;
+        $workdays   = 256;
 
- $startday   = 1;
- $startmonth = 7;
- $startyear  = 2003;
- $endday     = 30;
- $endmonth   = 6;
- $endyear    = 2004;
- $workdays   = 253;
- */
- /*
- $startday   = 1;
- $startmonth = 1;
- $startyear  = 2004;
- $endday     = 31;
- $endmonth   = 12;
- $endyear    = 2004;
- $workdays   = 256;
- */
- /*
- $startday   = 1;
- $startmonth = 7;
- $startyear  = 2004;
- $endday     = 30;
- $endmonth   = 6;
- $endyear    = 2005;
- $workdays   = 256;
-
- $cal_workdays = new calendar_holidays();
- $days = 
$cal_workdays->get_number_of_workdays($startday,$startmonth,$startyear,$endday,$endmonth,$endyear,'Germany','Lower
 Saxony','Evangelic');
- echo 'work days: ' . $days . "\n";
- */
- /*
- $cal_workdays = new calendar_holidays();
- $cal_workdays->add_number_of_workdays(31,5,2004,3,'Germany','Lower 
Saxony','Evangelic',$day,$month,$year);
- echo $year . '-' . $month . '-' . $day . "\n";
- */
-?>
\ No newline at end of file
+        $cal_workdays = new calendar_holidays();
+        $days = 
$cal_workdays->get_number_of_workdays($startday,$startmonth,$startyear,$endday,$endmonth,$endyear,'Germany','Lower
 Saxony','Evangelic');
+        echo 'work days: ' . $days . "\n";
+        */
+        /*
+        $cal_workdays = new calendar_holidays();
+        $cal_workdays->add_number_of_workdays(31,5,2004,3,'Germany','Lower 
Saxony','Evangelic',$day,$month,$year);
+        echo $year . '-' . $month . '-' . $day . "\n";
+        */

Modified: modules/phpgwapi/trunk/inc/class.categories.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.categories.inc.php 2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.categories.inc.php 2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -10,6 +10,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Add ability for applications to make use of categories
        *

Modified: modules/phpgwapi/trunk/inc/class.clientsniffer.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.clientsniffer.inc.php      2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.clientsniffer.inc.php      2008-10-05 
14:05:17 UTC (rev 18962)
@@ -16,6 +16,21 @@
        * @link 
http://developer.netscape.com/docs/examples/javascript/NAME_type.html
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Returns client information based on HTTP_USER_AGENT
        *

Modified: modules/phpgwapi/trunk/inc/class.common.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.common.inc.php     2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.common.inc.php     2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -11,6 +11,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Import required classes
        */

Modified: modules/phpgwapi/trunk/inc/class.config.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.config.inc.php     2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.config.inc.php     2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -9,19 +9,52 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Application configuration in a centralized location
        *
        * @package phpgwapi
        * @subpackage application
        */
-       class config
+       class phpgwapi_config
        {
-               var $db;
-               var $appname;
-               var $config_data;
+               /**
+                * @var phpgwapi_db $db reference to global database object
+                */
+               protected $db;
 
-               function config($appname = '')
+               /**
+                * @var string $appname the module accessing class
+                */
+               public $appname;
+               
+               /**
+                * @var array $config_data configuration data
+                *
+                * @todo make me protected and use __get|set to catch accessors
+                */
+               public $config_data;
+
+               /**
+                * Constructor
+                *
+                * @return void
+                */
+               public function __construct($appname = '')
                {
                        if (! $appname)
                        {
@@ -90,4 +123,3 @@
                        $this->config_data[$variable_name] = $variable_data;
                }
        }
-?>
\ No newline at end of file

Modified: modules/phpgwapi/trunk/inc/class.contact_accounts.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.contact_accounts.inc.php   2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.contact_accounts.inc.php   2008-10-05 
14:05:17 UTC (rev 18962)
@@ -9,6 +9,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Use SQL criteria
        */
@@ -80,4 +95,4 @@
                        $this->add_field('is_user', 
'count('.$this->real_field('account_id').')');
                }
        }
-?>
\ No newline at end of file
+?>

Modified: modules/phpgwapi/trunk/inc/class.contact_addr.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.contact_addr.inc.php       2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.contact_addr.inc.php       2008-10-05 
14:05:17 UTC (rev 18962)
@@ -9,6 +9,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Use SQL criteria
        */

Modified: modules/phpgwapi/trunk/inc/class.contact_addr_type.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.contact_addr_type.inc.php  2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.contact_addr_type.inc.php  2008-10-05 
14:05:17 UTC (rev 18962)
@@ -9,6 +9,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Use SQL criteria
        */

Modified: modules/phpgwapi/trunk/inc/class.contact_categories.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.contact_categories.inc.php 2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.contact_categories.inc.php 2008-10-05 
14:05:17 UTC (rev 18962)
@@ -9,6 +9,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Use SQL criteria
        */
@@ -65,4 +80,4 @@
                        $this->set_elinks('key_cat_id', 
'phpgwapi.contact_categories','parent_id');
                }
        }
-?>
\ No newline at end of file
+?>

Modified: modules/phpgwapi/trunk/inc/class.contact_central.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.contact_central.inc.php    2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.contact_central.inc.php    2008-10-05 
14:05:17 UTC (rev 18962)
@@ -9,6 +9,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Use SQL criteria
        */
@@ -178,4 +193,4 @@
                        }
                }
        }
-?>
\ No newline at end of file
+?>

Modified: modules/phpgwapi/trunk/inc/class.contact_comm.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.contact_comm.inc.php       2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.contact_comm.inc.php       2008-10-05 
14:05:17 UTC (rev 18962)
@@ -9,6 +9,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Use SQL criteria
        */
@@ -266,4 +281,4 @@
                        $this->_add_criteria($this->index_criteria($element));
                }
        }
-?>
\ No newline at end of file
+?>

Modified: modules/phpgwapi/trunk/inc/class.contact_comm_descr.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.contact_comm_descr.inc.php 2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.contact_comm_descr.inc.php 2008-10-05 
14:05:17 UTC (rev 18962)
@@ -9,6 +9,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Use SQL criteria
        */
@@ -91,4 +106,4 @@
                        $this->_add_criteria($criteria);
                }
        }
-?>
\ No newline at end of file
+?>

Modified: modules/phpgwapi/trunk/inc/class.contact_comm_type.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.contact_comm_type.inc.php  2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.contact_comm_type.inc.php  2008-10-05 
14:05:17 UTC (rev 18962)
@@ -9,6 +9,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Use SQL criteria
        */

Modified: modules/phpgwapi/trunk/inc/class.contact_note.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.contact_note.inc.php       2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.contact_note.inc.php       2008-10-05 
14:05:17 UTC (rev 18962)
@@ -9,6 +9,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Use SQL criteria
        */

Modified: modules/phpgwapi/trunk/inc/class.contact_note_type.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.contact_note_type.inc.php  2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.contact_note_type.inc.php  2008-10-05 
14:05:17 UTC (rev 18962)
@@ -9,6 +9,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Use SQL criteria
        */

Modified: modules/phpgwapi/trunk/inc/class.contact_org.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.contact_org.inc.php        2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.contact_org.inc.php        2008-10-05 
14:05:17 UTC (rev 18962)
@@ -9,6 +9,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Use SQL criteria
        */

Modified: modules/phpgwapi/trunk/inc/class.contact_org_person.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.contact_org_person.inc.php 2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.contact_org_person.inc.php 2008-10-05 
14:05:17 UTC (rev 18962)
@@ -9,6 +9,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Use SQL criteria
        */

Modified: modules/phpgwapi/trunk/inc/class.contact_others.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.contact_others.inc.php     2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.contact_others.inc.php     2008-10-05 
14:05:17 UTC (rev 18962)
@@ -9,6 +9,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Use SQL criteria
        */

Modified: modules/phpgwapi/trunk/inc/class.contact_person.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.contact_person.inc.php     2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.contact_person.inc.php     2008-10-05 
14:05:17 UTC (rev 18962)
@@ -9,6 +9,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Use SQL criteria
        */

Modified: modules/phpgwapi/trunk/inc/class.contact_types.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.contact_types.inc.php      2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.contact_types.inc.php      2008-10-05 
14:05:17 UTC (rev 18962)
@@ -9,6 +9,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Use SQL criteria
        */

Modified: modules/phpgwapi/trunk/inc/class.contacts.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.contacts.inc.php   2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.contacts.inc.php   2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -7,6 +7,21 @@
        * @subpackage contacts
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        //print_debug('Contact 
Repository:',"'".$GLOBALS['phpgw_info']['server']['contact_repository']."'",'api');
 
        /**
        * Include SQL handler
@@ -16,4 +31,3 @@
        * Include shared methods
        */
        include(PHPGW_API_INC . '/class.contacts_shared.inc.php');
-?>

Modified: modules/phpgwapi/trunk/inc/class.contacts_shared.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.contacts_shared.inc.php    2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.contacts_shared.inc.php    2008-10-05 
14:05:17 UTC (rev 18962)
@@ -12,6 +12,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Contact Management Shared Routines
        *

Modified: modules/phpgwapi/trunk/inc/class.contacts_sql.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.contacts_sql.inc.php       2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.contacts_sql.inc.php       2008-10-05 
14:05:17 UTC (rev 18962)
@@ -10,6 +10,21 @@
        * @internal Development of this application was funded by 
http://www.sogrp.com
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Include SQL Builder
        * @see sql_builder

Modified: modules/phpgwapi/trunk/inc/class.country.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.country.inc.php    2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.country.inc.php    2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -12,6 +12,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU General Public License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Countries
        *

Modified: modules/phpgwapi/trunk/inc/class.crypto.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.crypto.inc.php     2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.crypto.inc.php     2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -9,6 +9,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Handles encrypting strings based on various encryption schemes
        *

Modified: modules/phpgwapi/trunk/inc/class.css.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.css.inc.php        2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.css.inc.php        2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -8,6 +8,21 @@
        * @version $Id:
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU General Public License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * phpGroupWare css support class
        *

Modified: modules/phpgwapi/trunk/inc/class.csstooltip.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.csstooltip.inc.php 2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.csstooltip.inc.php 2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -16,6 +16,21 @@
        * @subpackage gui
        * @version $Id$
        */
+
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU General Public License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
        
        /**
        * csstooltip wrapper-class
@@ -132,4 +147,4 @@
                        return '<a href="#" 
class="tooltip">'.$link_content.'<span class="tooltip"><span 
class="tooltip_headline">'.$tooltip_headline.'</span><span 
class="tooltip_line">&nbsp;</span><span 
class="tooltip_content">'.$tooltip_content.'</span></span></a>';
                }
        }
-?>
\ No newline at end of file
+?>

Modified: modules/phpgwapi/trunk/inc/class.custom_fields.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.custom_fields.inc.php      2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.custom_fields.inc.php      2008-10-05 
14:05:17 UTC (rev 18962)
@@ -11,6 +11,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU General Public License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
         * Custom Fields
         * @package phpgwapi

Modified: modules/phpgwapi/trunk/inc/class.data_cleaner.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.data_cleaner.inc.php       2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.data_cleaner.inc.php       2008-10-05 
14:05:17 UTC (rev 18962)
@@ -21,6 +21,21 @@
  * @package phpgwapi
  * @subpackage utilities
  */
+
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU General Public License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
 class data_cleaner
 {
        /**

Modified: modules/phpgwapi/trunk/inc/class.datetime.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.datetime.inc.php   2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.datetime.inc.php   2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -11,6 +11,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Datetime class that contains common date/time functions
        *

Modified: modules/phpgwapi/trunk/inc/class.db.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.db.inc.php 2008-10-05 13:55:34 UTC (rev 
18961)
+++ modules/phpgwapi/trunk/inc/class.db.inc.php 2008-10-05 14:05:17 UTC (rev 
18962)
@@ -952,4 +952,3 @@
                }  
 
        }
-?>

Modified: modules/phpgwapi/trunk/inc/class.error.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.error.inc.php      2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.error.inc.php      2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -10,6 +10,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Event log
        * 

Modified: modules/phpgwapi/trunk/inc/class.errorlog.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.errorlog.inc.php   2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.errorlog.inc.php   2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -10,6 +10,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU General Public License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Error log
        * 

Modified: modules/phpgwapi/trunk/inc/class.excel.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.excel.inc.php      2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.excel.inc.php      2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -5,7 +5,6 @@
        * @author Sigurd Nes <address@hidden>
        * @copyright Copyright (C) 2003-2005 Free Software Foundation, Inc. 
http://www.fsf.org/
        * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
-       * @internal Development of this application was funded by 
http://www.bergen.kommune.no/bbb_/ekstern/
        * @package phpgwapi
        * @subpackage utilities
        * @version $Id$
@@ -32,7 +31,21 @@
        * </code>
        */
 
-       
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU General Public License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * @see worksheet
        */
@@ -42,4 +55,3 @@
        * @see workbook
        */
        require_once(PHPGW_API_INC . '/excel/Workbook.php');
-?>

Modified: modules/phpgwapi/trunk/inc/class.excelreader.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.excelreader.inc.php        2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.excelreader.inc.php        2008-10-05 
14:05:17 UTC (rev 18962)
@@ -6,23 +6,32 @@
        * Based on the Java version by Andy Khan (http://www.andykhan.com).  Now
        * maintained by David Sanders.  Reads only Biff 7 and Biff 8 formats.
        *
-       * PHP versions 4 and 5
-       *
        * @author Vadim Tkachenko <address@hidden>
        * @author Sigurd Nes <address@hidden>
        * @copyright Copyright (C) 2003-2005 Free Software Foundation, Inc. 
http://www.fsf.org/
        * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General 
Public License
-       * @internal Development of this application was funded by 
http://www.bergen.kommune.no/bbb_/ekstern/
        * @package phpgwapi
        * @subpackage utilities
        * @version $Id$
        *
        */
 
-       
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
-       * 
+       * Include reader class from module directory 
        */
        require_once(PHPGW_API_INC . '/excelreader/reader.php');
-
-?>

Modified: modules/phpgwapi/trunk/inc/class.gdbutton.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.gdbutton.inc.php   2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.gdbutton.inc.php   2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -10,7 +10,21 @@
        * @internal Some methods based on former class.graphics 2001 Lars 
Kneschke
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
 
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU General Public License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Creates graphical buttons by using GD and TTF fonts
        *

Modified: modules/phpgwapi/trunk/inc/class.gdgraph.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.gdgraph.inc.php    2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.gdgraph.inc.php    2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -10,7 +10,21 @@
        * @internal This class based on boGraph.php3 - Double Choco Latte - 
Source Configuration Management System Copyright (C) 1999  Michael L. Dean & 
Tim R. Norman
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
 
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU General Public License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Creates graphical statistics using GD graphics library
        *

Modified: modules/phpgwapi/trunk/inc/class.gdimage.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.gdimage.inc.php    2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.gdimage.inc.php    2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -10,7 +10,22 @@
        * @internal This class based on htmlGD.php3 - Double Choco Latte - 
Source Configuration Management System - Copyright (C) 1999  Michael L. Dean & 
Tim R. Norman
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
 
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU General Public License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
+
        /**
        * Creates images using GD graphics library
        *

Modified: modules/phpgwapi/trunk/inc/class.historylog.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.historylog.inc.php 2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.historylog.inc.php 2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -9,6 +9,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Record history logging
        * 

Modified: modules/phpgwapi/trunk/inc/class.hooks.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.hooks.inc.php      2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.hooks.inc.php      2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -9,6 +9,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Ability for applications to set and use hooks to communicate with 
each other
        * 

Modified: modules/phpgwapi/trunk/inc/class.html2text.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.html2text.inc.php  2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.html2text.inc.php  2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -11,19 +11,6 @@
  * Copyright (c) 2005 Jon Abernathy <address@hidden>                  *
  * All rights reserved.                                                  *
  *                                                                       *
- * This script 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.                                   *
- *                                                                       *
- * The GNU General Public License can be found at                        *
- * http://www.gnu.org/copyleft/gpl.html.                                 *
- *                                                                       *
- * This script is distributed in the hope that it will be useful,        *
- * but WITHOUT ANY WARRANTY; without even the implied warranty of        *
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the          *
- * GNU General Public License for more details.                          *
- *                                                                       *
  * Author(s): Jon Abernathy <address@hidden>                          *
  *                                                                       *
  * Last modified: 04/06/05                                               *
@@ -32,7 +19,22 @@
  * @subpackage utilities                                                 *
  ************************************************************************/
 
+/*
+   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 3 of the License, or
+   (at your option) any later version.
 
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public License
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
+
 /**
  *  Takes HTML and converts it to formatted, plain text.
  *
@@ -429,5 +431,3 @@
        }
 
 }
-
-?>

Modified: modules/phpgwapi/trunk/inc/class.http.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.http.inc.php       2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.http.inc.php       2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -10,6 +10,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * HTTP protocol class
        * 

Modified: modules/phpgwapi/trunk/inc/class.http_dav_client.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.http_dav_client.inc.php    2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.http_dav_client.inc.php    2008-10-05 
14:05:17 UTC (rev 18962)
@@ -11,6 +11,21 @@
        * @internal At the moment much of this is simply a wrapper around the 
NET_HTTP_Client class, with some other methods for parsing the returned XML etc 
Ideally this will eventually use groupware's inbuilt HTTP class
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Debug flag for dav client
        */

Modified: modules/phpgwapi/trunk/inc/class.http_svn_client.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.http_svn_client.inc.php    2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.http_svn_client.inc.php    2008-10-05 
14:05:17 UTC (rev 18962)
@@ -11,6 +11,21 @@
        * @internal At the moment much of this is simply a wrapper around the 
NET_HTTP_Client class, with some other methods for parsing the returned XML etc 
Ideally this will eventually use groupware's inbuilt HTTP class
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Debug flag for svn client
        */

Modified: modules/phpgwapi/trunk/inc/class.icalendar.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.icalendar.inc.php  2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.icalendar.inc.php  2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -9,6 +9,21 @@
         * @package   phpgwapi
         * @version   $Id$
         */
+
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU General Public License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
        
        require_once PHPGW_API_INC . '/libawl/inc/iCalendar.php';
        

Modified: modules/phpgwapi/trunk/inc/class.interserver.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.interserver.inc.php        2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.interserver.inc.php        2008-10-05 
14:05:17 UTC (rev 18962)
@@ -10,6 +10,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Inter-server communications - Maintain list and provide send 
interface to remote phpgw servers
        * 

Modified: modules/phpgwapi/trunk/inc/class.ipc_.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.ipc_.inc.php       2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.ipc_.inc.php       2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -9,7 +9,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
 
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Abstract IPC Application class for the IPC Layer
        * @package phpgwapi
@@ -113,4 +127,4 @@
                        die('call abstract method: 
'.__class__.'::'.__function__);
                }
        }
-?>
\ No newline at end of file
+?>

Modified: modules/phpgwapi/trunk/inc/class.ipc_manager.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.ipc_manager.inc.php        2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.ipc_manager.inc.php        2008-10-05 
14:05:17 UTC (rev 18962)
@@ -9,6 +9,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Abstract IPC Application class for the IPC Layer
        */

Modified: modules/phpgwapi/trunk/inc/class.jscal.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.jscal.inc.php      2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.jscal.inc.php      2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -10,6 +10,21 @@
        * @version $Id: class.jscal.inc.php 682 2008-02-01 12:19:55Z dave $
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU General Public License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Import the YUI class
        */

Modified: modules/phpgwapi/trunk/inc/class.jscalendar.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.jscalendar.inc.php 2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.jscalendar.inc.php 2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -10,6 +10,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU General Public License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * jsCalendar wrapper-class
        *

Modified: modules/phpgwapi/trunk/inc/class.listbox.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.listbox.inc.php    2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.listbox.inc.php    2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -10,6 +10,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        CreateObject('phpgwapi.portalbox');
 
        /**

Modified: modules/phpgwapi/trunk/inc/class.log.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.log.inc.php        2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.log.inc.php        2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -10,6 +10,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU General Public License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Log
        * 

Modified: modules/phpgwapi/trunk/inc/class.log_message.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.log_message.inc.php        2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.log_message.inc.php        2008-10-05 
14:05:17 UTC (rev 18962)
@@ -10,6 +10,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU General Public License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Log message
        * 

Modified: modules/phpgwapi/trunk/inc/class.mail2array.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.mail2array.inc.php 2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.mail2array.inc.php 2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -13,6 +13,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU General Public License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        class phpgwapi_mail2array
        {
                /**

Modified: modules/phpgwapi/trunk/inc/class.mailer_smtp.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.mailer_smtp.inc.php        2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.mailer_smtp.inc.php        2008-10-05 
14:05:17 UTC (rev 18962)
@@ -9,6 +9,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU General Public License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * @see phpmailer
        */

Modified: modules/phpgwapi/trunk/inc/class.matrixview.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.matrixview.inc.php 2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.matrixview.inc.php 2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -10,6 +10,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Matrix View Generator - creating matrix like timeframes for items
        * 

Modified: modules/phpgwapi/trunk/inc/class.menu_apps.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.menu_apps.inc.php  2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.menu_apps.inc.php  2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -24,7 +24,6 @@
           along with this program.  If not, see <http://www.gnu.org/licenses/>.
         */
 
-
        /**
         * Menus
         *

Modified: modules/phpgwapi/trunk/inc/class.menutree.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.menutree.inc.php   2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.menutree.inc.php   2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -10,6 +10,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU General Public License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * MenuTree
        * 

Modified: modules/phpgwapi/trunk/inc/class.mime_magic.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.mime_magic.inc.php 2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.mime_magic.inc.php 2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -17,6 +17,21 @@
        * @internal Note: this class was relicensed as GPL by Dave Hall - all 
mods GPL
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU General Public License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * mime magic
        * 

Modified: modules/phpgwapi/trunk/inc/class.net_http_client.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.net_http_client.inc.php    2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.net_http_client.inc.php    2008-10-05 
14:05:17 UTC (rev 18962)
@@ -12,7 +12,22 @@
        * @todo remaining WebDAV methods: UNLOCK PROPPATCH
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
 
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU General Public License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
+
        /**
        * Debug level - debug methods calls
        */

Modified: modules/phpgwapi/trunk/inc/class.network.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.network.inc.php    2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.network.inc.php    2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -10,6 +10,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Handles opening network socket connections, taking proxy into account
        * 

Modified: modules/phpgwapi/trunk/inc/class.nextmatchs.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.nextmatchs.inc.php 2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.nextmatchs.inc.php 2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -11,6 +11,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Include nextmatchs XSLT
        * @see nextmatchs_xslt

Modified: modules/phpgwapi/trunk/inc/class.nextmatchs_xslt.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.nextmatchs_xslt.inc.php    2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.nextmatchs_xslt.inc.php    2008-10-05 
14:05:17 UTC (rev 18962)
@@ -9,6 +9,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU General Public License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * XSLT nextmatch
        *

Modified: modules/phpgwapi/trunk/inc/class.nusoap_base.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.nusoap_base.inc.php        2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.nusoap_base.inc.php        2008-10-05 
14:05:17 UTC (rev 18962)
@@ -23,19 +23,18 @@
 
 Copyright (c) 2002 NuSphere Corporation
 
-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 the Free Software Foundation; either
-version 2.1 of the License, or (at your option) any later version.
+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 3 of the License, or
+(at your option) any later version.
 
-This library is distributed in the hope that it will be useful,
+This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-Lesser General Public License for more details.
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
 
-You should have received a copy of the GNU Lesser General Public
-License along with this library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+You should have received a copy of the GNU Lesser General Public License
+along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 If you have any questions or comments, please email:
 

Modified: modules/phpgwapi/trunk/inc/class.pdf.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.pdf.inc.php        2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.pdf.inc.php        2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -5,7 +5,6 @@
        * @author Sigurd Nes <address@hidden>
        * @copyright Copyright (C) 2003-2005 Free Software Foundation, Inc. 
http://www.fsf.org/
        * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
-       * @internal Development of this application was funded by 
http://www.bergen.kommune.no/bbb_/ekstern/
        * @package phpgwapi
        * @subpackage utilities
        * @version $Id$
@@ -32,6 +31,21 @@
        * </code>
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU General Public License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Document me!
        *

Modified: modules/phpgwapi/trunk/inc/class.phpgw_soapval.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.phpgw_soapval.inc.php      2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.phpgw_soapval.inc.php      2008-10-05 
14:05:17 UTC (rev 18962)
@@ -10,6 +10,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
 /* Please see class.base_nusoap.inc.php for more information */
 
 if (@!$GLOBALS['phpgw_info']['flags']['included_classes']['phpgwapi_soapval'])

Modified: modules/phpgwapi/trunk/inc/class.ping.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.ping.inc.php       2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.ping.inc.php       2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -9,6 +9,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Linux only ping class for detecting network connections
        * 

Modified: modules/phpgwapi/trunk/inc/class.portalbox.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.portalbox.inc.php  2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.portalbox.inc.php  2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -9,6 +9,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Helps manage the portal boxes for phpGroupWares main page
        * 

Modified: modules/phpgwapi/trunk/inc/class.preferences.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.preferences.inc.php        2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.preferences.inc.php        2008-10-05 
14:05:17 UTC (rev 18962)
@@ -10,6 +10,21 @@
         * @version $Id$
         */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
         * Preferences class for setting application preferences
         * 

Modified: modules/phpgwapi/trunk/inc/class.resultbox.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.resultbox.inc.php  2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.resultbox.inc.php  2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -10,6 +10,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        CreateObject('phpgwapi.portalbox');
 
        /**

Modified: modules/phpgwapi/trunk/inc/class.richtext.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.richtext.inc.php   2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.richtext.inc.php   2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -13,6 +13,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU General Public License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Rich Text Editor Handler class
        *

Modified: modules/phpgwapi/trunk/inc/class.rssparser.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.rssparser.inc.php  2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.rssparser.inc.php  2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -14,6 +14,21 @@
        * @internal This requires PHP's XML routines. You must configure PHP 
with --with-xml.
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Add element start to $GLOBALS['_rss']
        *

Modified: modules/phpgwapi/trunk/inc/class.sbox.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.sbox.inc.php       2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.sbox.inc.php       2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -10,6 +10,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        phpgw::import_class('phpgwapi.datetime');
 
        /**

Modified: modules/phpgwapi/trunk/inc/class.sbox2.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.sbox2.inc.php      2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.sbox2.inc.php      2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -9,6 +9,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Include parent class
        * @see sbox

Modified: modules/phpgwapi/trunk/inc/class.schema_proc.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.schema_proc.inc.php        2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.schema_proc.inc.php        2008-10-05 
14:05:17 UTC (rev 18962)
@@ -11,6 +11,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU General Public License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Database schema abstraction class
        * 

Modified: modules/phpgwapi/trunk/inc/class.schema_proc_array.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.schema_proc_array.inc.php  2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.schema_proc_array.inc.php  2008-10-05 
14:05:17 UTC (rev 18962)
@@ -11,6 +11,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU General Public License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Database schema abstraction class for array
        * 

Modified: modules/phpgwapi/trunk/inc/class.schema_proc_mssql.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.schema_proc_mssql.inc.php  2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.schema_proc_mssql.inc.php  2008-10-05 
14:05:17 UTC (rev 18962)
@@ -11,6 +11,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU General Public License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Database schema abstraction class for MSSQL
        * 

Modified: modules/phpgwapi/trunk/inc/class.schema_proc_mysql.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.schema_proc_mysql.inc.php  2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.schema_proc_mysql.inc.php  2008-10-05 
14:05:17 UTC (rev 18962)
@@ -10,6 +10,21 @@
        * @subpackage database
        * @version $Id$
        */
+
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU General Public License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
  
        /**
        * Database schema abstraction class for MySQL

Modified: modules/phpgwapi/trunk/inc/class.schema_proc_oracle.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.schema_proc_oracle.inc.php 2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.schema_proc_oracle.inc.php 2008-10-05 
14:05:17 UTC (rev 18962)
@@ -8,6 +8,21 @@
        * @subpackage database
        * @version $Id$
        */
+
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU General Public License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
  
        /**
        * Database schema abstraction class for Oracle

Modified: modules/phpgwapi/trunk/inc/class.schema_proc_pgsql.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.schema_proc_pgsql.inc.php  2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.schema_proc_pgsql.inc.php  2008-10-05 
14:05:17 UTC (rev 18962)
@@ -18,6 +18,21 @@
        * @internal SQL for table properties taken from phpPgAdmin Version 2.2.1
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU General Public License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Database schema abstraction class for PostgreSQL
        * 

Modified: modules/phpgwapi/trunk/inc/class.schema_proc_sapdb.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.schema_proc_sapdb.inc.php  2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.schema_proc_sapdb.inc.php  2008-10-05 
14:05:17 UTC (rev 18962)
@@ -9,6 +9,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
         * Database schema abstraction class for SAPDB
         *

Modified: modules/phpgwapi/trunk/inc/class.send.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.send.inc.php       2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.send.inc.php       2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -11,6 +11,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * SMTP mailer
        * 

Modified: modules/phpgwapi/trunk/inc/class.service.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.service.inc.php    2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.service.inc.php    2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -10,6 +10,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Services abstraction class
        * 
@@ -53,4 +68,3 @@
                        return $this->function_map;
                }
        }
-?>

Modified: modules/phpgwapi/trunk/inc/class.service_contacts.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.service_contacts.inc.php   2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.service_contacts.inc.php   2008-10-05 
14:05:17 UTC (rev 18962)
@@ -10,6 +10,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Services abstraction class for contacts
        * 

Modified: modules/phpgwapi/trunk/inc/class.service_notes.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.service_notes.inc.php      2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.service_notes.inc.php      2008-10-05 
14:05:17 UTC (rev 18962)
@@ -10,6 +10,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Services abstraction class for notes
        * 

Modified: modules/phpgwapi/trunk/inc/class.service_schedule.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.service_schedule.inc.php   2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.service_schedule.inc.php   2008-10-05 
14:05:17 UTC (rev 18962)
@@ -10,6 +10,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Services abstraction class for schedule
        * 

Modified: modules/phpgwapi/trunk/inc/class.setup.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.setup.inc.php      2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.setup.inc.php      2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -12,6 +12,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU General Public License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Setup
        * 

Modified: modules/phpgwapi/trunk/inc/class.setup_detection.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.setup_detection.inc.php    2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.setup_detection.inc.php    2008-10-05 
14:05:17 UTC (rev 18962)
@@ -10,6 +10,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU General Public License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Setup detection
        * 

Modified: modules/phpgwapi/trunk/inc/class.setup_html.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.setup_html.inc.php 2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.setup_html.inc.php 2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -10,6 +10,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU General Public License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Setup html
        * 

Modified: modules/phpgwapi/trunk/inc/class.setup_translation.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.setup_translation.inc.php  2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.setup_translation.inc.php  2008-10-05 
14:05:17 UTC (rev 18962)
@@ -12,6 +12,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        phpgw::import_class('phpgwapi.translation');
 
        /**

Modified: modules/phpgwapi/trunk/inc/class.shm.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.shm.inc.php        2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.shm.inc.php        2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -1,4 +1,32 @@
 <?php
+       /**
+       * phpGroupWare - shared memory handler
+       *
+       * @author Dave Hall <address@hidden>
+       * @author Adam Stevenson <adamstevenson@ _no_spam_  gmail.com>
+       * @author Sigurd Nes <address@hidden>
+       * @copyright Copyright (C) 2003-2008 Free Software Foundation, Inc. 
http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package phpgwapi
+       * @subpackage application
+       * @version $Id$
+       */
+
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU General Public License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
 /*
                        Release under the GNU public license
                        Copyright Adam Stevenson adamstevenson@ _no_spam_  
gmail.com (www.adamstevenson.net)
@@ -54,17 +82,6 @@
                        For even more robust caching, check out 
http://www.danga.com/memcached/
 
 */
-       /**
-       * Handles shared memory
-       * @author Adam Stevenson <adamstevenson@ _no_spam_  gmail.com>
-       * @author Sigurd Nes <address@hidden>
-       * @copyright Copyright (C) 2003-2005 Free Software Foundation, Inc. 
http://www.fsf.org/
-       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
-       * @internal Development of this application was funded by 
http://www.bergen.kommune.no/bbb_/ekstern/
-       * @package phpgwapi
-       * @subpackage application
-       * @version $Id$
-       */
 
        //This makes sure there is something set for temp
        if ( !isset($GLOBALS['phpgw_info']['server']['temp_dir'])  

Modified: modules/phpgwapi/trunk/inc/class.soap_XMLSchema.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.soap_XMLSchema.inc.php     2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.soap_XMLSchema.inc.php     2008-10-05 
14:05:17 UTC (rev 18962)
@@ -10,6 +10,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
 /* Please see class.base_nusoap.inc.php for more information */
 
 if (@!$GLOBALS['phpgw_info']['flags']['included_classes']['nusoap_base'])

Modified: modules/phpgwapi/trunk/inc/class.soap_client.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.soap_client.inc.php        2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.soap_client.inc.php        2008-10-05 
14:05:17 UTC (rev 18962)
@@ -10,6 +10,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
 /* Please see class.base_nusoap.inc.php for more information */
 
        phpgw::import_class('phpgwapi.phpgwapi_soap_transport_http');

Modified: modules/phpgwapi/trunk/inc/class.soap_fault.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.soap_fault.inc.php 2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.soap_fault.inc.php 2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -10,6 +10,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
 /* Please see class.base_nusoap.inc.php for more information */
 
 if (@!$GLOBALS['phpgw_info']['flags']['included_classes']['nusoap_base'])

Modified: modules/phpgwapi/trunk/inc/class.soap_parser.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.soap_parser.inc.php        2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.soap_parser.inc.php        2008-10-05 
14:05:17 UTC (rev 18962)
@@ -10,6 +10,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
 /* Please see class.base_nusoap.inc.php for more information */
 
 if (@!$GLOBALS['phpgw_info']['flags']['included_classes']['nusoap_base'])

Modified: modules/phpgwapi/trunk/inc/class.soap_server.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.soap_server.inc.php        2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.soap_server.inc.php        2008-10-05 
14:05:17 UTC (rev 18962)
@@ -10,6 +10,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
 /* Please see class.base_nusoap.inc.php for more information */
 
 if (@!$GLOBALS['phpgw_info']['flags']['included_classes']['nusoap_base'])

Modified: modules/phpgwapi/trunk/inc/class.soap_transport_http.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.soap_transport_http.inc.php        
2008-10-05 13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.soap_transport_http.inc.php        
2008-10-05 14:05:17 UTC (rev 18962)
@@ -10,6 +10,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
 /* Please see class.base_nusoap.inc.php for more information */
 
 if (@!$GLOBALS['phpgw_info']['flags']['included_classes']['nusoap_base'])

Modified: modules/phpgwapi/trunk/inc/class.soapclient.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.soapclient.inc.php 2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.soapclient.inc.php 2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -10,6 +10,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
 /* Please see class.base_nusoap.inc.php for more information */
 
 if (@!$GLOBALS['phpgw_info']['flags']['included_classes']['nusoap_base'])

Modified: modules/phpgwapi/trunk/inc/class.soapmsg.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.soapmsg.inc.php    2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.soapmsg.inc.php    2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -16,6 +16,21 @@
        * @internal XML-RPC for PHP; SOAP for PHP
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * SOAPx4 client
        *

Modified: modules/phpgwapi/trunk/inc/class.soapval.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.soapval.inc.php    2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.soapval.inc.php    2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -10,6 +10,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
 /* Please see class.base_nusoap.inc.php for more information */
        phpgw::import_class('phpgwapi.nusoap_base');
 

Modified: modules/phpgwapi/trunk/inc/class.sql.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.sql.inc.php        2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.sql.inc.php        2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -13,6 +13,21 @@
        * @link http://www.sogrp.com/
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU General Public License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * SQL entity name
        */

Modified: modules/phpgwapi/trunk/inc/class.sql_builder.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.sql_builder.inc.php        2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.sql_builder.inc.php        2008-10-05 
14:05:17 UTC (rev 18962)
@@ -13,6 +13,21 @@
        * @link http://www.sogrp.com/
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU General Public License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * SQL Generator - helps to construct queries statements
        *

Modified: modules/phpgwapi/trunk/inc/class.sql_criteria.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.sql_criteria.inc.php       2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.sql_criteria.inc.php       2008-10-05 
14:05:17 UTC (rev 18962)
@@ -13,6 +13,21 @@
        * @link http://www.sogrp.com/
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU General Public License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Include SQL class
        */

Modified: modules/phpgwapi/trunk/inc/class.sql_entity.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.sql_entity.inc.php 2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.sql_entity.inc.php 2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -13,6 +13,21 @@
        * @link http://www.sogrp.com/
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU General Public License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * SQL entity alias substitution string EASS
        */

Modified: modules/phpgwapi/trunk/inc/class.translation.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.translation.inc.php        2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.translation.inc.php        2008-10-05 
14:05:17 UTC (rev 18962)
@@ -11,6 +11,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Handles multi-language support use SQL tables
        *

Modified: modules/phpgwapi/trunk/inc/class.translation_sql.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.translation_sql.inc.php    2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.translation_sql.inc.php    2008-10-05 
14:05:17 UTC (rev 18962)
@@ -10,6 +10,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * define the maximal length of a message_id, all message_ids have to be 
unique 
        * in this length, our column is varchar 255, but addslashes might add 
some length.

Modified: modules/phpgwapi/trunk/inc/class.uijsaddressbook.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.uijsaddressbook.inc.php    2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.uijsaddressbook.inc.php    2008-10-05 
14:05:17 UTC (rev 18962)
@@ -13,6 +13,21 @@
        * @internal Inherited some code from the addressbook.php file
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU General Public License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Addressbook Chooser
        * 

Modified: modules/phpgwapi/trunk/inc/class.utilities.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.utilities.inc.php  2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.utilities.inc.php  2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -9,15 +9,21 @@
        * @version $Id$
        */
 
-       $d1 = strtolower(substr(PHPGW_API_INC,0,3));
-       if($d1 == 'htt' || $d1 == 'ftp')
-       {
-               echo 'Failed attempt to break in via an old Security Hole!<br>' 
. "\n";
-               exit;
-       }
-       unset($d1);
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
 
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
 
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * This simply loads up additional utility libraries
        * 
@@ -43,4 +49,3 @@
                        $GLOBALS['phpgw']->sbox = 
createObject('phpgwapi.portalbox');
                }
        }
-?>

Modified: modules/phpgwapi/trunk/inc/class.validator.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.validator.inc.php  2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.validator.inc.php  2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -11,6 +11,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU General Public License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Validator
        * @package phpgwapi
@@ -305,4 +320,4 @@
                        exit;
                }
        }
-?>
\ No newline at end of file
+?>

Modified: modules/phpgwapi/trunk/inc/class.vcard.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.vcard.inc.php      2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.vcard.inc.php      2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -10,6 +10,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Parse vcards->contacts class fields, and vice-versa
        * 

Modified: modules/phpgwapi/trunk/inc/class.vfs.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.vfs.inc.php        2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.vfs.inc.php        2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -8,6 +8,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        if ( !isset($GLOBALS['phpgw_info']['server']['file_repository']) 
                || empty($GLOBALS['phpgw_info']['server']['file_repository']) )
        {

Modified: modules/phpgwapi/trunk/inc/class.vfs_dav.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.vfs_dav.inc.php    2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.vfs_dav.inc.php    2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -10,6 +10,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Enables debug output for this class
        */

Modified: modules/phpgwapi/trunk/inc/class.vfs_shared.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.vfs_shared.inc.php 2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.vfs_shared.inc.php 2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -11,6 +11,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Relative root path
        * @see getabsolutepath()

Modified: modules/phpgwapi/trunk/inc/class.vfs_sql.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.vfs_sql.inc.php    2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.vfs_sql.inc.php    2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -11,6 +11,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * VFS SQL select
        * @see extra_sql()

Modified: modules/phpgwapi/trunk/inc/class.wsdl.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.wsdl.inc.php       2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.wsdl.inc.php       2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -10,6 +10,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU Lesser General Public 
License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
 /* Please see class.base_nusoap.inc.php for more information */
 
 if (@!$GLOBALS['phpgw_info']['flags']['included_classes']['nusoap_base'])

Modified: modules/phpgwapi/trunk/inc/class.xmltool.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.xmltool.inc.php    2008-10-05 13:55:34 UTC 
(rev 18961)
+++ modules/phpgwapi/trunk/inc/class.xmltool.inc.php    2008-10-05 14:05:17 UTC 
(rev 18962)
@@ -11,6 +11,21 @@
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU General Public License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        /**
        * Convert variable to XML
        *

Modified: modules/phpgwapi/trunk/inc/class.xslttemplates.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.xslttemplates.inc.php      2008-10-05 
13:55:34 UTC (rev 18961)
+++ modules/phpgwapi/trunk/inc/class.xslttemplates.inc.php      2008-10-05 
14:05:17 UTC (rev 18962)
@@ -5,12 +5,27 @@
        * @author Bettina Gille address@hidden
        * @author Ralf Becker <address@hidden>
        * @copyright Copyright (C) 2002-2006 Free Software Foundation, Inc. 
http://www.fsf.org/
-       * @license http://www.gnu.org/licenses/lpl.html GNU General Public 
License
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
        * @package phpgwapi
        * @subpackage gui
        * @version $Id$
        */
 
+       /*
+          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 3 of the License, or
+          (at your option) any later version.
+
+          This program is distributed in the hope that it will be useful,
+          but WITHOUT ANY WARRANTY; without even the implied warranty of
+          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+          GNU General Public License for more details.
+
+          You should have received a copy of the GNU General Public License
+          along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        */
+
        if( !extension_loaded('xsl') )
        {
                die('PHP CONFIGURATION. xslt-extension is not loaded. Please 
contact the system administrator.');






reply via email to

[Prev in Thread] Current Thread [Next in Thread]