From 782069e1fa61193e071ee9792c95562977d8f3d5 Mon Sep 17 00:00:00 2001 From: Bart Visscher Date: Fri, 23 Sep 2011 22:59:24 +0200 Subject: [PATCH] Change copyright notice to short form --- apps/calendar/ajax/activation.php | 20 +++----- apps/calendar/ajax/changeview.php | 27 +++------- apps/calendar/ajax/choosecalendar.php | 27 +++------- apps/calendar/ajax/createcalendar.php | 20 +++----- apps/calendar/ajax/editcalendar.php | 20 +++----- apps/calendar/ajax/editevent.php | 21 +++----- apps/calendar/ajax/editeventform.php | 20 +++----- apps/calendar/ajax/getcal.php | 25 +++------- apps/calendar/ajax/geteventinfo.php | 27 +++------- apps/calendar/ajax/newcalendar.php | 20 +++----- apps/calendar/ajax/newevent.php | 26 +++------- apps/calendar/ajax/neweventform.php | 25 +++------- apps/calendar/ajax/settimezone.php | 19 +++---- apps/calendar/ajax/updatecalendar.php | 20 +++----- apps/calendar/caldav.php | 22 ++------- apps/calendar/css/style.css | 25 +++------- apps/calendar/export.php | 25 +++------- apps/calendar/index.php | 25 +++------- apps/calendar/js/calendar.js | 49 +++---------------- apps/calendar/lib/calendar.php | 22 ++------- apps/calendar/lib/hooks.php | 22 ++------- apps/calendar/lib/object.php | 22 ++------- apps/calendar/settings.php | 19 +++---- apps/calendar/templates/part.editcalendar.php | 19 +++---- apps/calendar/templates/part.getcal.php | 20 +++----- apps/calendar/templates/settings.php | 19 +++---- 26 files changed, 168 insertions(+), 438 deletions(-) diff --git a/apps/calendar/ajax/activation.php b/apps/calendar/ajax/activation.php index 778c88c2721..38f727e9488 100644 --- a/apps/calendar/ajax/activation.php +++ b/apps/calendar/ajax/activation.php @@ -1,17 +1,11 @@ * - * please write to the Free Software Foundation. * - * Address: * - * 59 Temple Place, Suite 330, Boston, * - * MA 02111-1307 USA * - *************************************************/ +/** + * Copyright (c) 2011 Bart Visscher + * This file is licensed under the Affero General Public License version 3 or + * later. + * See the COPYING-README file. + */ + require_once ("../../../lib/base.php"); if(!OC_USER::isLoggedIn()) { die(""); diff --git a/apps/calendar/ajax/changeview.php b/apps/calendar/ajax/changeview.php index d3a00bf1728..d19a11585a0 100644 --- a/apps/calendar/ajax/changeview.php +++ b/apps/calendar/ajax/changeview.php @@ -1,26 +1,15 @@ * - * * - * please write to the Free Software Foundation. * - * Address: * - * 59 Temple Place, Suite 330, Boston, * - * MA 02111-1307 USA * - *************************************************/ +/** + * Copyright (c) 2011 Georg Ehrke + * This file is licensed under the Affero General Public License version 3 or + * later. + * See the COPYING-README file. + */ + require_once ("../../../lib/base.php"); if(!OC_USER::isLoggedIn()) { die(""); } $currentview = $_GET["v"]; OC_Preferences::setValue(OC_USER::getUser(), "calendar", "currentview", $currentview); -?> \ No newline at end of file +?> diff --git a/apps/calendar/ajax/choosecalendar.php b/apps/calendar/ajax/choosecalendar.php index 03765dabe9d..44ff22906f1 100644 --- a/apps/calendar/ajax/choosecalendar.php +++ b/apps/calendar/ajax/choosecalendar.php @@ -1,22 +1,11 @@ * - * * - * please write to the Free Software Foundation. * - * Address: * - * 59 Temple Place, Suite 330, Boston, * - * MA 02111-1307 USA * - *************************************************/ +/** + * Copyright (c) 2011 Georg Ehrke + * This file is licensed under the Affero General Public License version 3 or + * later. + * See the COPYING-README file. + */ + require_once('../../../lib/base.php'); $l10n = new OC_L10N('calendar'); if(!OC_USER::isLoggedIn()) { @@ -24,4 +13,4 @@ if(!OC_USER::isLoggedIn()) { } $output = new OC_TEMPLATE("calendar", "part.choosecalendar"); $output -> printpage(); -?> \ No newline at end of file +?> diff --git a/apps/calendar/ajax/createcalendar.php b/apps/calendar/ajax/createcalendar.php index df960e8a59f..64c6513f53f 100644 --- a/apps/calendar/ajax/createcalendar.php +++ b/apps/calendar/ajax/createcalendar.php @@ -1,17 +1,11 @@ * - * please write to the Free Software Foundation. * - * Address: * - * 59 Temple Place, Suite 330, Boston, * - * MA 02111-1307 USA * - *************************************************/ +/** + * Copyright (c) 2011 Bart Visscher + * This file is licensed under the Affero General Public License version 3 or + * later. + * See the COPYING-README file. + */ + require_once('../../../lib/base.php'); $l10n = new OC_L10N('calendar'); diff --git a/apps/calendar/ajax/editcalendar.php b/apps/calendar/ajax/editcalendar.php index 99d3e0fb555..8f798d1bbf2 100644 --- a/apps/calendar/ajax/editcalendar.php +++ b/apps/calendar/ajax/editcalendar.php @@ -1,17 +1,11 @@ * - * please write to the Free Software Foundation. * - * Address: * - * 59 Temple Place, Suite 330, Boston, * - * MA 02111-1307 USA * - *************************************************/ +/** + * Copyright (c) 2011 Bart Visscher + * This file is licensed under the Affero General Public License version 3 or + * later. + * See the COPYING-README file. + */ + require_once('../../../lib/base.php'); $l10n = new OC_L10N('calendar'); if(!OC_USER::isLoggedIn()) { diff --git a/apps/calendar/ajax/editevent.php b/apps/calendar/ajax/editevent.php index c78e494356e..5659e7e3c1c 100644 --- a/apps/calendar/ajax/editevent.php +++ b/apps/calendar/ajax/editevent.php @@ -1,18 +1,11 @@ * - * If you are not able to view the License, * - * * - * please write to the Free Software Foundation. * - * Address: * - * 59 Temple Place, Suite 330, Boston, * - * MA 02111-1307 USA * - *************************************************/ +/** + * Copyright (c) 2011 Bart Visscher + * This file is licensed under the Affero General Public License version 3 or + * later. + * See the COPYING-README file. + */ + require_once('../../../lib/base.php'); $l10n = new OC_L10N('calendar'); diff --git a/apps/calendar/ajax/editeventform.php b/apps/calendar/ajax/editeventform.php index f310db3e79a..47008e02e90 100644 --- a/apps/calendar/ajax/editeventform.php +++ b/apps/calendar/ajax/editeventform.php @@ -1,17 +1,11 @@ * - * please write to the Free Software Foundation. * - * Address: * - * 59 Temple Place, Suite 330, Boston, * - * MA 02111-1307 USA * - *************************************************/ +/** + * Copyright (c) 2011 Bart Visscher + * This file is licensed under the Affero General Public License version 3 or + * later. + * See the COPYING-README file. + */ + require_once('../../../lib/base.php'); $l10n = new OC_L10N('calendar'); diff --git a/apps/calendar/ajax/getcal.php b/apps/calendar/ajax/getcal.php index b20f22957c3..9794a83ce49 100644 --- a/apps/calendar/ajax/getcal.php +++ b/apps/calendar/ajax/getcal.php @@ -1,22 +1,11 @@ * - * * - * please write to the Free Software Foundation. * - * Address: * - * 59 Temple Place, Suite 330, Boston, * - * MA 02111-1307 USA * - *************************************************/ +/** + * Copyright (c) 2011 Georg Ehrke + * This file is licensed under the Affero General Public License version 3 or + * later. + * See the COPYING-README file. + */ + require_once ("../../../lib/base.php"); if(!OC_USER::isLoggedIn()) { die(""); diff --git a/apps/calendar/ajax/geteventinfo.php b/apps/calendar/ajax/geteventinfo.php index 6182a60e611..2e5e713c197 100644 --- a/apps/calendar/ajax/geteventinfo.php +++ b/apps/calendar/ajax/geteventinfo.php @@ -1,22 +1,9 @@ * - * If you are not able to view the License, * - * * - * * - * please write to the Free Software Foundation. * - * Address: * - * 59 Temple Place, Suite 330, Boston, * - * MA 02111-1307 USA * - *************************************************/ +/** + * Copyright (c) 2011 Georg Ehrke + * This file is licensed under the Affero General Public License version 3 or + * later. + * See the COPYING-README file. + */ -?> +?> diff --git a/apps/calendar/ajax/newcalendar.php b/apps/calendar/ajax/newcalendar.php index 59d0a8574db..ffcffb8afd7 100644 --- a/apps/calendar/ajax/newcalendar.php +++ b/apps/calendar/ajax/newcalendar.php @@ -1,17 +1,11 @@ * - * please write to the Free Software Foundation. * - * Address: * - * 59 Temple Place, Suite 330, Boston, * - * MA 02111-1307 USA * - *************************************************/ +/** + * Copyright (c) 2011 Bart Visscher + * This file is licensed under the Affero General Public License version 3 or + * later. + * See the COPYING-README file. + */ + require_once('../../../lib/base.php'); $l10n = new OC_L10N('calendar'); if(!OC_USER::isLoggedIn()) { diff --git a/apps/calendar/ajax/newevent.php b/apps/calendar/ajax/newevent.php index 3ae1df66aca..f3cca1cee46 100644 --- a/apps/calendar/ajax/newevent.php +++ b/apps/calendar/ajax/newevent.php @@ -1,23 +1,11 @@ * - * If you are not able to view the License, * - * * - * * - * please write to the Free Software Foundation. * - * Address: * - * 59 Temple Place, Suite 330, Boston, * - * MA 02111-1307 USA * - *************************************************/ +/** + * Copyright (c) 2011 Georg Ehrke + * This file is licensed under the Affero General Public License version 3 or + * later. + * See the COPYING-README file. + */ + require_once('../../../lib/base.php'); $l10n = new OC_L10N('calendar'); diff --git a/apps/calendar/ajax/neweventform.php b/apps/calendar/ajax/neweventform.php index 132294b496e..7a4c6f469e5 100644 --- a/apps/calendar/ajax/neweventform.php +++ b/apps/calendar/ajax/neweventform.php @@ -1,22 +1,11 @@ * - * * - * please write to the Free Software Foundation. * - * Address: * - * 59 Temple Place, Suite 330, Boston, * - * MA 02111-1307 USA * - *************************************************/ +/** + * Copyright (c) 2011 Georg Ehrke + * This file is licensed under the Affero General Public License version 3 or + * later. + * See the COPYING-README file. + */ + require_once('../../../lib/base.php'); $l10n = new OC_L10N('calendar'); diff --git a/apps/calendar/ajax/settimezone.php b/apps/calendar/ajax/settimezone.php index 32926f13859..a07b56ee9ae 100644 --- a/apps/calendar/ajax/settimezone.php +++ b/apps/calendar/ajax/settimezone.php @@ -1,17 +1,10 @@ * - * please write to the Free Software Foundation. * - * Address: * - * 59 Temple Place, Suite 330, Boston, * - * MA 02111-1307 USA * - *************************************************/ +/** + * Copyright (c) 2011 Bart Visscher + * This file is licensed under the Affero General Public License version 3 or + * later. + * See the COPYING-README file. + */ // Init owncloud require_once('../../../lib/base.php'); diff --git a/apps/calendar/ajax/updatecalendar.php b/apps/calendar/ajax/updatecalendar.php index f286ce23c18..efb0b99bad7 100644 --- a/apps/calendar/ajax/updatecalendar.php +++ b/apps/calendar/ajax/updatecalendar.php @@ -1,17 +1,11 @@ * - * please write to the Free Software Foundation. * - * Address: * - * 59 Temple Place, Suite 330, Boston, * - * MA 02111-1307 USA * - *************************************************/ +/** + * Copyright (c) 2011 Bart Visscher + * This file is licensed under the Affero General Public License version 3 or + * later. + * See the COPYING-README file. + */ + require_once('../../../lib/base.php'); $l10n = new OC_L10N('calendar'); diff --git a/apps/calendar/caldav.php b/apps/calendar/caldav.php index 71d62356044..83f6a5ab51d 100644 --- a/apps/calendar/caldav.php +++ b/apps/calendar/caldav.php @@ -1,23 +1,9 @@ . - * + * Copyright (c) 2011 Jakob Sack + * This file is licensed under the Affero General Public License version 3 or + * later. + * See the COPYING-README file. */ // Do not load FS ... diff --git a/apps/calendar/css/style.css b/apps/calendar/css/style.css index b1198062763..f1bd0f9a9c4 100644 --- a/apps/calendar/css/style.css +++ b/apps/calendar/css/style.css @@ -1,22 +1,9 @@ -/************************************************* - * ownCloud - Calendar Plugin * - * * - * (c) Copyright 2011 Georg Ehrke * - * author: Georg Ehrke * - * email: ownclouddev at georgswebsite dot de * - * homepage: ownclouddev.georgswebsite.de * - * manual: ownclouddev.georgswebsite.de/manual * - * License: GNU AFFERO GENERAL PUBLIC LICENSE * - * * - * * - * If you are not able to view the License, * - * * - * * - * please write to the Free Software Foundation. * - * Address: * - * 59 Temple Place, Suite 330, Boston, * - * MA 02111-1307 USA * - *************************************************/ +/** + * Copyright (c) 2011 Georg Ehrke + * This file is licensed under the Affero General Public License version 3 or + * later. + * See the COPYING-README file. + */ #view {margin-left: 10px; float: left; font-size: 12px;} #datecontrol {text-align: center;} diff --git a/apps/calendar/export.php b/apps/calendar/export.php index d5ca5eeedad..a6fdaba1d2f 100644 --- a/apps/calendar/export.php +++ b/apps/calendar/export.php @@ -1,22 +1,11 @@ * - * * - * please write to the Free Software Foundation. * - * Address: * - * 59 Temple Place, Suite 330, Boston, * - * MA 02111-1307 USA * - *************************************************/ +/** + * Copyright (c) 2011 Georg Ehrke + * This file is licensed under the Affero General Public License version 3 or + * later. + * See the COPYING-README file. + */ + require_once ("../../lib/base.php"); OC_Util::checkLoggedIn(); $cal = $_GET["calid"]; diff --git a/apps/calendar/index.php b/apps/calendar/index.php index b4e7d5ff48f..39f961d1bb9 100644 --- a/apps/calendar/index.php +++ b/apps/calendar/index.php @@ -1,22 +1,11 @@ * - * * - * please write to the Free Software Foundation. * - * Address: * - * 59 Temple Place, Suite 330, Boston, * - * MA 02111-1307 USA * - *************************************************/ +/** + * Copyright (c) 2011 Georg Ehrke + * This file is licensed under the Affero General Public License version 3 or + * later. + * See the COPYING-README file. + */ + require_once ('../../lib/base.php'); OC_Util::checkLoggedIn(); // Create default calendar ... diff --git a/apps/calendar/js/calendar.js b/apps/calendar/js/calendar.js index e7217006ec8..1a8bc499574 100644 --- a/apps/calendar/js/calendar.js +++ b/apps/calendar/js/calendar.js @@ -1,44 +1,11 @@ -/************************************************* - * ownCloud - Calendar Plugin * - * * - * (c) Copyright 2011 Georg Ehrke * - * (c) Copyright 2011 Bart Visscher * - * author: Georg Ehrke * - * email: ownclouddev at georgswebsite dot de * - * homepage: ownclouddev.georgswebsite.de * - * manual: ownclouddev.georgswebsite.de/manual * - * License: GNU AFFERO GENERAL PUBLIC LICENSE * - * * - * * - * If you are not able to view the License, * - * * - * * - * please write to the Free Software Foundation. * - * Address: * - * 59 Temple Place, Suite 330, Boston, * - * MA 02111-1307 USA * - ************************************************** - * list of all fx * - * calw - Calendarweek * - * doy - Day of the year * - * checkforleapyear - check for a leap year * - * forward_day - switching one day forward * - * forward_week - switching one week forward * - * forward_month - switching one month forward * - * backward_day - switching one day backward * - * backward_week - switching one week backward * - * backward_month - switching one month backward * - * update_view - update the view of the calendar * - * onedayview - one day view * - * oneweekview - one week view * - * fourweekview - four Weeks view * - * onemonthview - one Month view * - * listview - listview * - * generateDates - generate other days for view * - * switch2today - switching to today * - * removeEvents - remove old events in view * - * loadEvents - load the events * - *************************************************/ +/** + * Copyright (c) 2011 Georg Ehrke + * Copyright (c) 2011 Bart Visscher + * This file is licensed under the Affero General Public License version 3 or + * later. + * See the COPYING-README file. + */ + Calendar={ space:' ', Date:{ diff --git a/apps/calendar/lib/calendar.php b/apps/calendar/lib/calendar.php index 571e3d695eb..4549af8b3c0 100644 --- a/apps/calendar/lib/calendar.php +++ b/apps/calendar/lib/calendar.php @@ -1,23 +1,9 @@ . - * + * Copyright (c) 2011 Jakob Sack + * This file is licensed under the Affero General Public License version 3 or + * later. + * See the COPYING-README file. */ /* * diff --git a/apps/calendar/lib/hooks.php b/apps/calendar/lib/hooks.php index 330d938cf79..14f96bb5fe1 100644 --- a/apps/calendar/lib/hooks.php +++ b/apps/calendar/lib/hooks.php @@ -1,23 +1,9 @@ . - * + * Copyright (c) 2011 Jakob Sack + * This file is licensed under the Affero General Public License version 3 or + * later. + * See the COPYING-README file. */ /** diff --git a/apps/calendar/lib/object.php b/apps/calendar/lib/object.php index 3bb6543d3fd..c4878dac651 100644 --- a/apps/calendar/lib/object.php +++ b/apps/calendar/lib/object.php @@ -1,23 +1,9 @@ . - * + * Copyright (c) 2011 Jakob Sack + * This file is licensed under the Affero General Public License version 3 or + * later. + * See the COPYING-README file. */ /** diff --git a/apps/calendar/settings.php b/apps/calendar/settings.php index 02064327816..b5922802716 100644 --- a/apps/calendar/settings.php +++ b/apps/calendar/settings.php @@ -1,17 +1,10 @@ * - * please write to the Free Software Foundation. * - * Address: * - * 59 Temple Place, Suite 330, Boston, * - * MA 02111-1307 USA * - *************************************************/ +/** + * Copyright (c) 2011 Bart Visscher + * This file is licensed under the Affero General Public License version 3 or + * later. + * See the COPYING-README file. + */ $tmpl = new OC_Template( 'calendar', 'settings'); $timezone=OC_Preferences::getValue(OC_User::getUser(),'calendar','timezone',''); diff --git a/apps/calendar/templates/part.editcalendar.php b/apps/calendar/templates/part.editcalendar.php index af555149120..b5c786f63c1 100644 --- a/apps/calendar/templates/part.editcalendar.php +++ b/apps/calendar/templates/part.editcalendar.php @@ -1,17 +1,10 @@ * - * please write to the Free Software Foundation. * - * Address: * - * 59 Temple Place, Suite 330, Boston, * - * MA 02111-1307 USA * - *************************************************/ +/** + * Copyright (c) 2011 Bart Visscher + * This file is licensed under the Affero General Public License version 3 or + * later. + * See the COPYING-README file. + */ ?> t("Edit calendar"); ?>" colspan="4"> diff --git a/apps/calendar/templates/part.getcal.php b/apps/calendar/templates/part.getcal.php index aaa43c49507..35d08c85b3a 100644 --- a/apps/calendar/templates/part.getcal.php +++ b/apps/calendar/templates/part.getcal.php @@ -1,17 +1,11 @@ * - * please write to the Free Software Foundation. * - * Address: * - * 59 Temple Place, Suite 330, Boston, * - * MA 02111-1307 USA * - *************************************************/ +/** + * Copyright (c) 2011 Bart Visscher + * This file is licensed under the Affero General Public License version 3 or + * later. + * See the COPYING-README file. + */ + $calendars = OC_Calendar_Calendar::allCalendars(OC_User::getUser(), 1); $events = array(); foreach($calendars as $calendar) { diff --git a/apps/calendar/templates/settings.php b/apps/calendar/templates/settings.php index 122f8a9bf93..ac13b2aa402 100644 --- a/apps/calendar/templates/settings.php +++ b/apps/calendar/templates/settings.php @@ -1,17 +1,10 @@ * - * please write to the Free Software Foundation. * - * Address: * - * 59 Temple Place, Suite 330, Boston, * - * MA 02111-1307 USA * - *************************************************/ +/** + * Copyright (c) 2011 Bart Visscher + * This file is licensed under the Affero General Public License version 3 or + * later. + * See the COPYING-README file. + */ ?>
-- 2.39.5