diff --git a/plugins/calendar/calendar.php b/plugins/calendar/calendar.php index 661ede94..92459738 100644 --- a/plugins/calendar/calendar.php +++ b/plugins/calendar/calendar.php @@ -1,27 +1,28 @@ | - | Thomas Bruederli | - +-------------------------------------------------------------------------+ -*/ + +/** + * Calendar plugin for Roundcube webmail + * + * @version 0.6-beta + * @author Lazlo Westerhof + * @author Thomas Bruederli + * + * Copyright (C) 2010, Lazlo Westerhof - Netherlands + * Copyright (C) 2011, Kolab Systems AG + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 + * as published by the Free Software Foundation. + * + * 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, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ class calendar extends rcube_plugin diff --git a/plugins/calendar/calendar_base.js b/plugins/calendar/calendar_base.js index aa482b7c..056bc5b1 100644 --- a/plugins/calendar/calendar_base.js +++ b/plugins/calendar/calendar_base.js @@ -1,26 +1,18 @@ -/* - +-------------------------------------------------------------------------+ - | Base Javascript class for the Calendar Plugin | - | Version 0.3 beta | - | | - | This program is free software; you can redistribute it and/or modify | - | it under the terms of the GNU General Public License version 2 | - | as published by the Free Software Foundation. | - | | - | 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, write to the Free Software Foundation, Inc., | - | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | - | | - +-------------------------------------------------------------------------+ - | Author: Lazlo Westerhof | - | Thomas Bruederli | - +-------------------------------------------------------------------------+ -*/ +/** + * Base Javascript class for the Calendar plugin + * + * @version 0.6-beta + * @author Lazlo Westerhof + * @author Thomas Bruederli + * + * Copyright (C) 2010, Lazlo Westerhof - Netherlands + * Copyright (C) 2011, Kolab Systems AG + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 + * as published by the Free Software Foundation. + */ + // Basic setup for Roundcube calendar client class function rcube_calendar(settings) diff --git a/plugins/calendar/calendar_ui.js b/plugins/calendar/calendar_ui.js index 03fd958a..07e3e64c 100644 --- a/plugins/calendar/calendar_ui.js +++ b/plugins/calendar/calendar_ui.js @@ -1,26 +1,18 @@ -/* - +-------------------------------------------------------------------------+ - | Javascript for the Calendar Plugin | - | Version 0.3 beta | - | | - | This program is free software; you can redistribute it and/or modify | - | it under the terms of the GNU General Public License version 2 | - | as published by the Free Software Foundation. | - | | - | 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, write to the Free Software Foundation, Inc., | - | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | - | | - +-------------------------------------------------------------------------+ - | Author: Lazlo Westerhof | - | Thomas Bruederli | - +-------------------------------------------------------------------------+ -*/ +/** + * Client UI Javascript for the Calendar plugin + * + * @version 0.6-beta + * @author Lazlo Westerhof + * @author Thomas Bruederli + * + * Copyright (C) 2010, Lazlo Westerhof - Netherlands + * Copyright (C) 2011, Kolab Systems AG + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 + * as published by the Free Software Foundation. + */ + // Roundcube calendar UI client class function rcube_calendar_ui(settings) diff --git a/plugins/calendar/drivers/calendar_driver.php b/plugins/calendar/drivers/calendar_driver.php index 8b35f6ad..b1cd580c 100644 --- a/plugins/calendar/drivers/calendar_driver.php +++ b/plugins/calendar/drivers/calendar_driver.php @@ -1,30 +1,32 @@ | - | Thomas Bruederli | - +-------------------------------------------------------------------------+ -*/ /** - * Struct of an internal event object how it passed from/to the driver classes: + * Driver interface for the Calendar plugin + * + * @version 0.6-beta + * @author Lazlo Westerhof + * @author Thomas Bruederli + * + * Copyright (C) 2010, Lazlo Westerhof - Netherlands + * Copyright (C) 2011, Kolab Systems AG + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 + * as published by the Free Software Foundation. + * + * 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, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + + +/** + * Struct of an internal event object how it is passed from/to the driver classes: * * $event = array( * 'id' => 'Event ID used for editing', diff --git a/plugins/calendar/drivers/database/database_driver.php b/plugins/calendar/drivers/database/database_driver.php index 5b22cd11..207c4f1c 100644 --- a/plugins/calendar/drivers/database/database_driver.php +++ b/plugins/calendar/drivers/database/database_driver.php @@ -1,27 +1,29 @@ | - | Thomas Bruederli | - +-------------------------------------------------------------------------+ -*/ + +/** + * Database driver for the Calendar plugin + * + * @version 0.6-beta + * @author Lazlo Westerhof + * @author Thomas Bruederli + * + * Copyright (C) 2010, Lazlo Westerhof - Netherlands + * Copyright (C) 2011, Kolab Systems AG + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 + * as published by the Free Software Foundation. + * + * 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, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + class database_driver extends calendar_driver { diff --git a/plugins/calendar/drivers/kolab/kolab_calendar.php b/plugins/calendar/drivers/kolab/kolab_calendar.php index 20f4267e..bcd7fc69 100644 --- a/plugins/calendar/drivers/kolab/kolab_calendar.php +++ b/plugins/calendar/drivers/kolab/kolab_calendar.php @@ -1,22 +1,28 @@ | - | Author: Aleksander Machniak | - +-------------------------------------------------------------------------+ -*/ + +/** + * Kolab calendar storage class + * + * @version 0.6-beta + * @author Thomas Bruederli + * @author Aleksander Machniak + * + * Copyright (C) 2011, Kolab Systems AG + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 + * as published by the Free Software Foundation. + * + * 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, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + class kolab_calendar { diff --git a/plugins/calendar/drivers/kolab/kolab_driver.php b/plugins/calendar/drivers/kolab/kolab_driver.php index 9a77f1a0..a1c653ea 100644 --- a/plugins/calendar/drivers/kolab/kolab_driver.php +++ b/plugins/calendar/drivers/kolab/kolab_driver.php @@ -1,23 +1,27 @@ | - | Author: Aleksander Machniak | - +-------------------------------------------------------------------------+ -*/ + +/** + * Kolab driver for the Calendar plugin + * + * @version 0.6-beta + * @author Thomas Bruederli + * @author Aleksander Machniak + * + * Copyright (C) 2011, Kolab Systems AG + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 + * as published by the Free Software Foundation. + * + * 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, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ require_once(dirname(__FILE__) . '/kolab_calendar.php'); diff --git a/plugins/calendar/lib/calendar_ical.php b/plugins/calendar/lib/calendar_ical.php index a7ce7604..e31d4ae3 100644 --- a/plugins/calendar/lib/calendar_ical.php +++ b/plugins/calendar/lib/calendar_ical.php @@ -1,28 +1,29 @@ | - | Thomas Bruederli | - | Bogomil "Bogo" Shopov | - +-------------------------------------------------------------------------+ -*/ + +/** + * iCalendar functions for the Calendar plugin + * + * @version 0.6-beta + * @author Lazlo Westerhof + * @author Thomas Bruederli + * @author Bogomil "Bogo" Shopov + * + * Copyright (C) 2010, Lazlo Westerhof - Netherlands + * Copyright (C) 2011, Kolab Systems AG + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 + * as published by the Free Software Foundation. + * + * 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, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ /** diff --git a/plugins/calendar/lib/calendar_ui.php b/plugins/calendar/lib/calendar_ui.php index b1e6ea2a..25c48daa 100644 --- a/plugins/calendar/lib/calendar_ui.php +++ b/plugins/calendar/lib/calendar_ui.php @@ -1,26 +1,28 @@ | - +-------------------------------------------------------------------------+ -*/ +/** + * User Interface class for the Calendar plugin + * + * @version 0.6-beta + * @author Lazlo Westerhof + * @author Thomas Bruederli + * + * Copyright (C) 2010, Lazlo Westerhof - Netherlands + * Copyright (C) 2011, Kolab Systems AG + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 + * as published by the Free Software Foundation. + * + * 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, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + class calendar_ui { diff --git a/plugins/calendar/print.js b/plugins/calendar/print.js index 4c48dea0..ada02c39 100644 --- a/plugins/calendar/print.js +++ b/plugins/calendar/print.js @@ -1,17 +1,16 @@ -/* - +-------------------------------------------------------------------------+ - | Javascript for the Calendar Plugin | - | Version 0.3 beta | - | | - | This program is free software; you can redistribute it and/or modify | - | it under the terms of the GNU General Public License version 2 | - | as published by the Free Software Foundation. | - | | - +-------------------------------------------------------------------------+ - | Author: Lazlo Westerhof | - | Thomas Bruederli | - +-------------------------------------------------------------------------+ -*/ +/** + * Print view for the Calendar plugin + * + * @version 0.6-beta + * @author Thomas Bruederli + * + * Copyright (C) 2011, Kolab Systems AG + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 + * as published by the Free Software Foundation. + */ + /* calendar plugin printing code */ window.rcmail && rcmail.addEventListener('init', function(evt) {