From 341eeac12ae0c91dc54b3bdea2e219ced4e00524 Mon Sep 17 00:00:00 2001 From: Max Pozdeev Date: Fri, 14 Jan 2022 22:45:30 +0300 Subject: [PATCH] maintain license headers --- src/ajax.php | 6 +++--- src/export.php | 6 +++--- src/feed.php | 6 +++--- src/includes/class.config.php | 4 ++-- src/includes/class.db.mysql.php | 5 +++-- src/includes/class.db.mysqli.php | 5 +++-- src/includes/class.db.sqlite3.php | 5 +++-- src/includes/class.dbconnection.php | 6 +++++- src/includes/class.dbcore.php | 10 +++++++++- src/includes/class.lang.php | 7 ++++++- src/includes/class.sessionhandler.php | 7 ++++++- src/includes/common.php | 6 +++--- src/includes/markup.php | 7 ++++++- src/includes/mytinytodo.js | 6 +++--- src/includes/mytinytodo_ajax_storage.js | 4 ++-- src/includes/parsedown/MTTParsedown.php | 6 ++++++ src/index.php | 6 +++--- src/init.php | 6 +++--- src/mytinytodo_lang.php | 6 ++++++ src/settings.php | 6 +++--- src/setup.php | 8 +++----- 21 files changed, 84 insertions(+), 44 deletions(-) diff --git a/src/ajax.php b/src/ajax.php index d482476..dee6f66 100644 --- a/src/ajax.php +++ b/src/ajax.php @@ -1,9 +1,9 @@ - Licensed under the GNU GPL v2 license. See file COPYRIGHT for details. + This file is a part of myTinyTodo. + (C) Copyright 2009-2011,2019-2022 Max Pozdeev + Licensed under the GNU GPL version 2 or any later. See file COPYRIGHT for details. */ require_once('./init.php'); diff --git a/src/export.php b/src/export.php index a53abfc..d0f74d9 100644 --- a/src/export.php +++ b/src/export.php @@ -1,9 +1,9 @@ - Licensed under the GNU GPL v2 license. See file COPYRIGHT for details. + This file is a part of myTinyTodo. + (C) Copyright 2010-2011,2019-2021 Max Pozdeev + Licensed under the GNU GPL version 2 or any later. See file COPYRIGHT for details. */ //$dontStartSession = 1; diff --git a/src/feed.php b/src/feed.php index 8c4c80f..8fd73ab 100644 --- a/src/feed.php +++ b/src/feed.php @@ -1,9 +1,9 @@ - Licensed under the GNU GPL v2 license. See file COPYRIGHT for details. + This file is a part of myTinyTodo. + (C) Copyright 2009-2011,2020-2021 Max Pozdeev + Licensed under the GNU GPL version 2 or any later. See file COPYRIGHT for details. */ $dontStartSession = 1; diff --git a/src/includes/class.config.php b/src/includes/class.config.php index 982ffc6..32fbef6 100644 --- a/src/includes/class.config.php +++ b/src/includes/class.config.php @@ -1,9 +1,9 @@ - Licensed under the GNU GPL v2 license. See file COPYRIGHT for details. + Licensed under the GNU GPL version 2 or any later. See file COPYRIGHT for details. */ class Config diff --git a/src/includes/class.db.mysql.php b/src/includes/class.db.mysql.php index cf1ef74..b49b653 100644 --- a/src/includes/class.db.mysql.php +++ b/src/includes/class.db.mysql.php @@ -1,8 +1,9 @@ - Licensed under the GNU GPL v2 license. See file COPYRIGHT for details. + This file is a part of myTinyTodo. + (C) Copyright 2020-2021 Max Pozdeev + Licensed under the GNU GPL version 2 or any later. See file COPYRIGHT for details. */ // ---------------------------------------------------------------------------- // diff --git a/src/includes/class.db.mysqli.php b/src/includes/class.db.mysqli.php index b3723e2..5ab7e61 100644 --- a/src/includes/class.db.mysqli.php +++ b/src/includes/class.db.mysqli.php @@ -1,8 +1,9 @@ - Licensed under the GNU GPL v2 license. See file COPYRIGHT for details. + This file is a part of myTinyTodo. + (C) Copyright 2019-2021 Max Pozdeev + Licensed under the GNU GPL version 2 or any later. See file COPYRIGHT for details. */ // ---------------------------------------------------------------------------- // diff --git a/src/includes/class.db.sqlite3.php b/src/includes/class.db.sqlite3.php index 9842974..5814d69 100644 --- a/src/includes/class.db.sqlite3.php +++ b/src/includes/class.db.sqlite3.php @@ -1,8 +1,9 @@ - Licensed under the GNU GPL v2 license. See file COPYRIGHT for details. + This file is a part of myTinyTodo. + (C) Copyright 2009,2019-2021 Max Pozdeev + Licensed under the GNU GPL version 2 or any later. See file COPYRIGHT for details. */ class DatabaseResult_Sqlite3 extends DatabaseResult_Abstract diff --git a/src/includes/class.dbconnection.php b/src/includes/class.dbconnection.php index b29bcc8..1004636 100644 --- a/src/includes/class.dbconnection.php +++ b/src/includes/class.dbconnection.php @@ -1,5 +1,10 @@ + Licensed under the GNU GPL version 2 or any later. See file COPYRIGHT for details. +*/ class DBConnection { @@ -48,4 +53,3 @@ abstract class DatabaseResult_Abstract abstract function fetchAssoc(); } -?> \ No newline at end of file diff --git a/src/includes/class.dbcore.php b/src/includes/class.dbcore.php index 658369f..95a2ede 100644 --- a/src/includes/class.dbcore.php +++ b/src/includes/class.dbcore.php @@ -1,5 +1,12 @@ + Licensed under the GNU GPL version 2 or any later. See file COPYRIGHT for details. +*/ + + // FIXME: experimental, subject to change class DBCore @@ -67,4 +74,5 @@ class DBCore return $listId; } -} \ No newline at end of file +} + diff --git a/src/includes/class.lang.php b/src/includes/class.lang.php index 45a5948..870a4c0 100644 --- a/src/includes/class.lang.php +++ b/src/includes/class.lang.php @@ -1,5 +1,11 @@ + Licensed under the GNU GPL version 2 or any later. See file COPYRIGHT for details. +*/ + /* myTinyTodo language class */ @@ -155,4 +161,3 @@ class Lang } -?> \ No newline at end of file diff --git a/src/includes/class.sessionhandler.php b/src/includes/class.sessionhandler.php index ec3ff6b..f6e8e14 100644 --- a/src/includes/class.sessionhandler.php +++ b/src/includes/class.sessionhandler.php @@ -1,5 +1,11 @@ + Licensed under the GNU GPL version 2 or any later. See file COPYRIGHT for details. +*/ + class MTTSessionHandler implements SessionHandlerInterface { /** @@ -97,4 +103,3 @@ class MTTSessionHandler implements SessionHandlerInterface } } -?> \ No newline at end of file diff --git a/src/includes/common.php b/src/includes/common.php index 3656f38..3fd09c8 100644 --- a/src/includes/common.php +++ b/src/includes/common.php @@ -1,9 +1,9 @@ - Licensed under the GNU GPL v2 license. See file COPYRIGHT for details. + This file is a part of myTinyTodo. + (C) Copyright 2009-2010,2020-2022 Max Pozdeev + Licensed under the GNU GPL version 2 or any later. See file COPYRIGHT for details. */ function htmlarray($a, $exclude=null) diff --git a/src/includes/markup.php b/src/includes/markup.php index 139e049..255f5c1 100644 --- a/src/includes/markup.php +++ b/src/includes/markup.php @@ -1,5 +1,11 @@ + Licensed under the GNU GPL version 2 or any later. See file COPYRIGHT for details. +*/ + require_once(MTTINC. 'parsedown/Parsedown.php'); require_once(MTTINC. 'parsedown/MTTParsedown.php'); @@ -78,4 +84,3 @@ function titleMarkup($title) return $title; } -?> \ No newline at end of file diff --git a/src/includes/mytinytodo.js b/src/includes/mytinytodo.js index 6233ee2..109d098 100644 --- a/src/includes/mytinytodo.js +++ b/src/includes/mytinytodo.js @@ -1,7 +1,7 @@ /* - This file is part of myTinyTodo. - (C) Copyright 2009-2010,2020 Max Pozdeev - Licensed under the GNU GPL v2 license. See file COPYRIGHT for details. + This file is a part of myTinyTodo. + (C) Copyright 2009-2010,2020-2022 Max Pozdeev + Licensed under the GNU GPL version 2 or any later. See file COPYRIGHT for details. */ (function(){ diff --git a/src/includes/mytinytodo_ajax_storage.js b/src/includes/mytinytodo_ajax_storage.js index 3b148b4..b557e84 100644 --- a/src/includes/mytinytodo_ajax_storage.js +++ b/src/includes/mytinytodo_ajax_storage.js @@ -1,7 +1,7 @@ /* This file is a part of myTinyTodo. - (C) Copyright 2010 Max Pozdeev - Licensed under the GNU GPL v2 license. See file COPYRIGHT for details. + (C) Copyright 2010,2020 Max Pozdeev + Licensed under the GNU GPL version 2 or any later. See file COPYRIGHT for details. */ // AJAX myTinyTodo Storage diff --git a/src/includes/parsedown/MTTParsedown.php b/src/includes/parsedown/MTTParsedown.php index b8b5f21..ae7901a 100644 --- a/src/includes/parsedown/MTTParsedown.php +++ b/src/includes/parsedown/MTTParsedown.php @@ -1,5 +1,11 @@ + Licensed under the GNU GPL version 2 or any later. See file COPYRIGHT for details. +*/ + class MTTParsedown extends Parsedown { diff --git a/src/index.php b/src/index.php index d641a98..1749685 100644 --- a/src/index.php +++ b/src/index.php @@ -1,8 +1,8 @@ - Licensed under the GNU GPL v2 license. See file COPYRIGHT for details. + This file is a part of myTinyTodo. + (C) Copyright 2009-2010,2020-2022 Max Pozdeev + Licensed under the GNU GPL version 2 or any later. See file COPYRIGHT for details. */ require_once('./init.php'); diff --git a/src/init.php b/src/init.php index f2a0179..ecc3250 100644 --- a/src/init.php +++ b/src/init.php @@ -1,8 +1,8 @@ - Licensed under the GNU GPL v2 license. See file COPYRIGHT for details. + This file is a part of myTinyTodo. + (C) Copyright 2009-2011,2019-2022 Max Pozdeev + Licensed under the GNU GPL version 2 or any later. See file COPYRIGHT for details. */ define('MTT_VERSION', '@VERSION'); diff --git a/src/mytinytodo_lang.php b/src/mytinytodo_lang.php index 67345cc..e276b76 100644 --- a/src/mytinytodo_lang.php +++ b/src/mytinytodo_lang.php @@ -1,5 +1,11 @@ + Licensed under the GNU GPL version 2 or any later. See file COPYRIGHT for details. +*/ + // Deprecated! Will be removed in the next major version! if(!defined('MTTPATH')) define('MTTPATH', dirname(__FILE__) .'/'); diff --git a/src/settings.php b/src/settings.php index a9478f8..f5f5dc7 100644 --- a/src/settings.php +++ b/src/settings.php @@ -1,9 +1,9 @@ - Licensed under the GNU GPL v2 license. See file COPYRIGHT for details. + This file is a part of myTinyTodo. + (C) Copyright 2009-2011,2020-2022 Max Pozdeev + Licensed under the GNU GPL version 2 or any later. See file COPYRIGHT for details. */ require_once('./init.php'); diff --git a/src/setup.php b/src/setup.php index af2e17d..6136f0d 100644 --- a/src/setup.php +++ b/src/setup.php @@ -1,9 +1,9 @@ - Licensed under the GNU GPL v2 license. See file COPYRIGHT for details. + This file is a part of myTinyTodo. + (C) Copyright 2009-2011,2020-2022 Max Pozdeev + Licensed under the GNU GPL version 2 or any later. See file COPYRIGHT for details. */ set_exception_handler('myExceptionHandler'); @@ -482,5 +482,3 @@ UNIQUE KEY `id` (`id`) Config::saveDbConfig(); } ### end of 1.7 ##### - -?> \ No newline at end of file