Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2011-09-24 00:59:24 +0400
committerBart Visscher <bartv@thisnet.nl>2011-09-24 00:59:54 +0400
commit782069e1fa61193e071ee9792c95562977d8f3d5 (patch)
tree43b2dd26773cfcd97185cfee7bcd6a55ad76450a /apps/calendar
parent5741811d3662db44d1eeab3da09d545baa32d6d9 (diff)
Change copyright notice to short form
Diffstat (limited to 'apps/calendar')
-rw-r--r--apps/calendar/ajax/activation.php20
-rw-r--r--apps/calendar/ajax/changeview.php27
-rw-r--r--apps/calendar/ajax/choosecalendar.php27
-rw-r--r--apps/calendar/ajax/createcalendar.php20
-rw-r--r--apps/calendar/ajax/editcalendar.php20
-rw-r--r--apps/calendar/ajax/editevent.php21
-rw-r--r--apps/calendar/ajax/editeventform.php20
-rw-r--r--apps/calendar/ajax/getcal.php25
-rw-r--r--apps/calendar/ajax/geteventinfo.php27
-rw-r--r--apps/calendar/ajax/newcalendar.php20
-rw-r--r--apps/calendar/ajax/newevent.php26
-rw-r--r--apps/calendar/ajax/neweventform.php25
-rw-r--r--apps/calendar/ajax/settimezone.php19
-rw-r--r--apps/calendar/ajax/updatecalendar.php20
-rw-r--r--apps/calendar/caldav.php22
-rw-r--r--apps/calendar/css/style.css25
-rw-r--r--apps/calendar/export.php25
-rw-r--r--apps/calendar/index.php25
-rw-r--r--apps/calendar/js/calendar.js49
-rw-r--r--apps/calendar/lib/calendar.php22
-rw-r--r--apps/calendar/lib/hooks.php22
-rw-r--r--apps/calendar/lib/object.php22
-rw-r--r--apps/calendar/settings.php19
-rw-r--r--apps/calendar/templates/part.editcalendar.php19
-rw-r--r--apps/calendar/templates/part.getcal.php20
-rw-r--r--apps/calendar/templates/settings.php19
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 @@
<?php
-/*************************************************
- * ownCloud - Calendar Plugin *
- * *
- * (c) Copyright 2011 Bart Visscher *
- * License: GNU AFFERO GENERAL PUBLIC LICENSE *
- * *
- * If you are not able to view the License, *
- * <http://www.gnu.org/licenses/> *
- * please write to the Free Software Foundation. *
- * Address: *
- * 59 Temple Place, Suite 330, Boston, *
- * MA 02111-1307 USA *
- *************************************************/
+/**
+ * Copyright (c) 2011 Bart Visscher <bartv@thisnet.nl>
+ * 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("<script type=\"text/javascript\">document.location = oc_webroot;</script>");
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 @@
<?php
-/*************************************************
- * 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, *
- * <http://www.gnu.org/licenses/> *
- * <http://ownclouddev.georgswebsite.de/license/> *
- * please write to the Free Software Foundation. *
- * Address: *
- * 59 Temple Place, Suite 330, Boston, *
- * MA 02111-1307 USA *
- *************************************************/
+/**
+ * Copyright (c) 2011 Georg Ehrke <ownclouddev at georgswebsite dot de>
+ * 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("<script type=\"text/javascript\">document.location = oc_webroot;</script>");
}
$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 @@
<?php
-/*************************************************
- * 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, *
- * <http://www.gnu.org/licenses/> *
- * <http://ownclouddev.georgswebsite.de/license/> *
- * please write to the Free Software Foundation. *
- * Address: *
- * 59 Temple Place, Suite 330, Boston, *
- * MA 02111-1307 USA *
- *************************************************/
+/**
+ * Copyright (c) 2011 Georg Ehrke <ownclouddev at georgswebsite dot de>
+ * 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 @@
<?php
-/*************************************************
- * ownCloud - Calendar Plugin *
- * *
- * (c) Copyright 2011 Bart Visscher *
- * License: GNU AFFERO GENERAL PUBLIC LICENSE *
- * *
- * If you are not able to view the License, *
- * <http://www.gnu.org/licenses/> *
- * please write to the Free Software Foundation. *
- * Address: *
- * 59 Temple Place, Suite 330, Boston, *
- * MA 02111-1307 USA *
- *************************************************/
+/**
+ * Copyright (c) 2011 Bart Visscher <bartv@thisnet.nl>
+ * 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 @@
<?php
-/*************************************************
- * ownCloud - Calendar Plugin *
- * *
- * (c) Copyright 2011 Bart Visscher *
- * License: GNU AFFERO GENERAL PUBLIC LICENSE *
- * *
- * If you are not able to view the License, *
- * <http://www.gnu.org/licenses/> *
- * please write to the Free Software Foundation. *
- * Address: *
- * 59 Temple Place, Suite 330, Boston, *
- * MA 02111-1307 USA *
- *************************************************/
+/**
+ * Copyright (c) 2011 Bart Visscher <bartv@thisnet.nl>
+ * 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 @@
<?php
-/*************************************************
- * ownCloud - Calendar Plugin *
- * *
- * (c) Copyright 2011 Bart Visscher *
- * License: GNU AFFERO GENERAL PUBLIC LICENSE *
- * *
- * <http://www.gnu.org/licenses/> *
- * If you are not able to view the License, *
- * <http://www.gnu.org/licenses/> *
- * please write to the Free Software Foundation. *
- * Address: *
- * 59 Temple Place, Suite 330, Boston, *
- * MA 02111-1307 USA *
- *************************************************/
+/**
+ * Copyright (c) 2011 Bart Visscher <bartv@thisnet.nl>
+ * 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 @@
<?php
-/*************************************************
- * ownCloud - Calendar Plugin *
- * *
- * (c) Copyright 2011 Bart Visscher *
- * License: GNU AFFERO GENERAL PUBLIC LICENSE *
- * *
- * If you are not able to view the License, *
- * <http://www.gnu.org/licenses/> *
- * please write to the Free Software Foundation. *
- * Address: *
- * 59 Temple Place, Suite 330, Boston, *
- * MA 02111-1307 USA *
- *************************************************/
+/**
+ * Copyright (c) 2011 Bart Visscher <bartv@thisnet.nl>
+ * 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 @@
<?php
-/*************************************************
- * 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, *
- * <http://www.gnu.org/licenses/> *
- * <http://ownclouddev.georgswebsite.de/license/> *
- * please write to the Free Software Foundation. *
- * Address: *
- * 59 Temple Place, Suite 330, Boston, *
- * MA 02111-1307 USA *
- *************************************************/
+/**
+ * Copyright (c) 2011 Georg Ehrke <ownclouddev at georgswebsite dot de>
+ * 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("<script type=\"text/javascript\">document.location = oc_webroot;</script>");
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 @@
<?php
-/*************************************************
- * 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 *
- * *
- * <http://www.gnu.org/licenses/> *
- * If you are not able to view the License, *
- * <http://www.gnu.org/licenses/> *
- * <http://ownclouddev.georgswebsite.de/license/> *
- * please write to the Free Software Foundation. *
- * Address: *
- * 59 Temple Place, Suite 330, Boston, *
- * MA 02111-1307 USA *
- *************************************************/
+/**
+ * Copyright (c) 2011 Georg Ehrke <ownclouddev at georgswebsite dot de>
+ * 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 @@
<?php
-/*************************************************
- * ownCloud - Calendar Plugin *
- * *
- * (c) Copyright 2011 Bart Visscher *
- * License: GNU AFFERO GENERAL PUBLIC LICENSE *
- * *
- * If you are not able to view the License, *
- * <http://www.gnu.org/licenses/> *
- * please write to the Free Software Foundation. *
- * Address: *
- * 59 Temple Place, Suite 330, Boston, *
- * MA 02111-1307 USA *
- *************************************************/
+/**
+ * Copyright (c) 2011 Bart Visscher <bartv@thisnet.nl>
+ * 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 @@
<?php
-/*************************************************
- * 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 *
- * *
- * <http://www.gnu.org/licenses/> *
- * If you are not able to view the License, *
- * <http://www.gnu.org/licenses/> *
- * <http://ownclouddev.georgswebsite.de/license/> *
- * please write to the Free Software Foundation. *
- * Address: *
- * 59 Temple Place, Suite 330, Boston, *
- * MA 02111-1307 USA *
- *************************************************/
+/**
+ * Copyright (c) 2011 Georg Ehrke <ownclouddev at georgswebsite dot de>
+ * 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 @@
<?php
-/*************************************************
- * 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, *
- * <http://www.gnu.org/licenses/> *
- * <http://ownclouddev.georgswebsite.de/license/> *
- * please write to the Free Software Foundation. *
- * Address: *
- * 59 Temple Place, Suite 330, Boston, *
- * MA 02111-1307 USA *
- *************************************************/
+/**
+ * Copyright (c) 2011 Georg Ehrke <ownclouddev at georgswebsite dot de>
+ * 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 @@
<?php
-/*************************************************
- * ownCloud - Calendar Plugin *
- * *
- * (c) Copyright 2011 Bart Visscher *
- * License: GNU AFFERO GENERAL PUBLIC LICENSE *
- * *
- * If you are not able to view the License, *
- * <http://www.gnu.org/licenses/> *
- * please write to the Free Software Foundation. *
- * Address: *
- * 59 Temple Place, Suite 330, Boston, *
- * MA 02111-1307 USA *
- *************************************************/
+/**
+ * Copyright (c) 2011 Bart Visscher <bartv@thisnet.nl>
+ * 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 @@
<?php
-/*************************************************
- * ownCloud - Calendar Plugin *
- * *
- * (c) Copyright 2011 Bart Visscher *
- * License: GNU AFFERO GENERAL PUBLIC LICENSE *
- * *
- * If you are not able to view the License, *
- * <http://www.gnu.org/licenses/> *
- * please write to the Free Software Foundation. *
- * Address: *
- * 59 Temple Place, Suite 330, Boston, *
- * MA 02111-1307 USA *
- *************************************************/
+/**
+ * Copyright (c) 2011 Bart Visscher <bartv@thisnet.nl>
+ * 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 @@
<?php
/**
- * ownCloud - Calendar
- *
- * @author Jakob Sack
- * @copyright 2011 Jakob Sack mail@jakobsack.de
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or any later version.
- *
- * This library 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 AFFERO GENERAL PUBLIC LICENSE for more details.
- *
- * You should have received a copy of the GNU Affero General Public
- * License along with this library. If not, see <http://www.gnu.org/licenses/>.
- *
+ * Copyright (c) 2011 Jakob Sack <mail@jakobsack.de>
+ * 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 *
- * *
- * <http://www.gnu.org/licenses/> *
- * If you are not able to view the License, *
- * <http://www.gnu.org/licenses/> *
- * <http://ownclouddev.georgswebsite.de/license/> *
- * please write to the Free Software Foundation. *
- * Address: *
- * 59 Temple Place, Suite 330, Boston, *
- * MA 02111-1307 USA *
- *************************************************/
+/**
+ * Copyright (c) 2011 Georg Ehrke <ownclouddev at georgswebsite dot de>
+ * 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 @@
<?php
-/*************************************************
- * 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, *
- * <http://www.gnu.org/licenses/> *
- * <http://ownclouddev.georgswebsite.de/license/> *
- * please write to the Free Software Foundation. *
- * Address: *
- * 59 Temple Place, Suite 330, Boston, *
- * MA 02111-1307 USA *
- *************************************************/
+/**
+ * Copyright (c) 2011 Georg Ehrke <ownclouddev at georgswebsite dot de>
+ * 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 @@
<?php
-/*************************************************
- * 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, *
- * <http://www.gnu.org/licenses/> *
- * <http://ownclouddev.georgswebsite.de/license/> *
- * please write to the Free Software Foundation. *
- * Address: *
- * 59 Temple Place, Suite 330, Boston, *
- * MA 02111-1307 USA *
- *************************************************/
+/**
+ * Copyright (c) 2011 Georg Ehrke <ownclouddev at georgswebsite dot de>
+ * 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 *
- * *
- * <http://www.gnu.org/licenses/> *
- * If you are not able to view the License, *
- * <http://www.gnu.org/licenses/> *
- * <http://ownclouddev.georgswebsite.de/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 <ownclouddev at georgswebsite dot de>
+ * Copyright (c) 2011 Bart Visscher <bartv@thisnet.nl>
+ * 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 @@
<?php
/**
- * ownCloud - Calendar
- *
- * @author Jakob Sack
- * @copyright 2011 Jakob Sack mail@jakobsack.de
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or any later version.
- *
- * This library 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 AFFERO GENERAL PUBLIC LICENSE for more details.
- *
- * You should have received a copy of the GNU Affero General Public
- * License along with this library. If not, see <http://www.gnu.org/licenses/>.
- *
+ * Copyright (c) 2011 Jakob Sack <mail@jakobsack.de>
+ * 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 @@
<?php
/**
- * ownCloud - Addressbook
- *
- * @author Jakob Sack
- * @copyright 2011 Jakob Sack mail@jakobsack.de
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or any later version.
- *
- * This library 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 AFFERO GENERAL PUBLIC LICENSE for more details.
- *
- * You should have received a copy of the GNU Affero General Public
- * License along with this library. If not, see <http://www.gnu.org/licenses/>.
- *
+ * Copyright (c) 2011 Jakob Sack <mail@jakobsack.de>
+ * 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 @@
<?php
/**
- * ownCloud - Calendar
- *
- * @author Jakob Sack
- * @copyright 2011 Jakob Sack mail@jakobsack.de
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or any later version.
- *
- * This library 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 AFFERO GENERAL PUBLIC LICENSE for more details.
- *
- * You should have received a copy of the GNU Affero General Public
- * License along with this library. If not, see <http://www.gnu.org/licenses/>.
- *
+ * Copyright (c) 2011 Jakob Sack <mail@jakobsack.de>
+ * 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 @@
<?php
-/*************************************************
- * ownCloud - Calendar Plugin *
- * *
- * (c) Copyright 2011 Bart Visscher *
- * License: GNU AFFERO GENERAL PUBLIC LICENSE *
- * *
- * If you are not able to view the License, *
- * <http://www.gnu.org/licenses/> *
- * please write to the Free Software Foundation. *
- * Address: *
- * 59 Temple Place, Suite 330, Boston, *
- * MA 02111-1307 USA *
- *************************************************/
+/**
+ * Copyright (c) 2011 Bart Visscher <bartv@thisnet.nl>
+ * 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 @@
<?php
-/*************************************************
- * ownCloud - Calendar Plugin *
- * *
- * (c) Copyright 2011 Bart Visscher *
- * License: GNU AFFERO GENERAL PUBLIC LICENSE *
- * *
- * If you are not able to view the License, *
- * <http://www.gnu.org/licenses/> *
- * please write to the Free Software Foundation. *
- * Address: *
- * 59 Temple Place, Suite 330, Boston, *
- * MA 02111-1307 USA *
- *************************************************/
+/**
+ * Copyright (c) 2011 Bart Visscher <bartv@thisnet.nl>
+ * This file is licensed under the Affero General Public License version 3 or
+ * later.
+ * See the COPYING-README file.
+ */
?>
<td id="<?php echo $_['new'] ? 'new' : 'edit' ?>calendar_dialog" title="<?php echo $_['new'] ? $l->t("New calendar") : $l->t("Edit calendar"); ?>" colspan="4">
<table width="100%" style="border: 0;">
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 @@
<?php
-/*************************************************
- * ownCloud - Calendar Plugin *
- * *
- * (c) Copyright 2011 Bart Visscher *
- * License: GNU AFFERO GENERAL PUBLIC LICENSE *
- * *
- * If you are not able to view the License, *
- * <http://www.gnu.org/licenses/> *
- * please write to the Free Software Foundation. *
- * Address: *
- * 59 Temple Place, Suite 330, Boston, *
- * MA 02111-1307 USA *
- *************************************************/
+/**
+ * Copyright (c) 2011 Bart Visscher <bartv@thisnet.nl>
+ * 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 @@
<?php
-/*************************************************
- * ownCloud - Calendar Plugin *
- * *
- * (c) Copyright 2011 Bart Visscher *
- * License: GNU AFFERO GENERAL PUBLIC LICENSE *
- * *
- * If you are not able to view the License, *
- * <http://www.gnu.org/licenses/> *
- * please write to the Free Software Foundation. *
- * Address: *
- * 59 Temple Place, Suite 330, Boston, *
- * MA 02111-1307 USA *
- *************************************************/
+/**
+ * Copyright (c) 2011 Bart Visscher <bartv@thisnet.nl>
+ * This file is licensed under the Affero General Public License version 3 or
+ * later.
+ * See the COPYING-README file.
+ */
?>
<form id="calendar">
<fieldset class="personalblock">