maintain license headers

This commit is contained in:
Max Pozdeev 2022-01-14 22:45:30 +03:00
parent e69efe6f62
commit 341eeac12a
21 changed files with 84 additions and 44 deletions

View file

@ -1,9 +1,9 @@
<?php
/*
This file is part of myTinyTodo.
(C) Copyright 2009-2010 Max Pozdeev <maxpozdeev@gmail.com>
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 <maxpozdeev@gmail.com>
Licensed under the GNU GPL version 2 or any later. See file COPYRIGHT for details.
*/
require_once('./init.php');

View file

@ -1,9 +1,9 @@
<?php
/*
This file is part of myTinyTodo.
(C) Copyright 2010-2011,2019 Max Pozdeev <maxpozdeev@gmail.com>
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 <maxpozdeev@gmail.com>
Licensed under the GNU GPL version 2 or any later. See file COPYRIGHT for details.
*/
//$dontStartSession = 1;

View file

@ -1,9 +1,9 @@
<?php
/*
This file is part of myTinyTodo.
(C) Copyright 2009-2010 Max Pozdeev <maxpozdeev@gmail.com>
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 <maxpozdeev@gmail.com>
Licensed under the GNU GPL version 2 or any later. See file COPYRIGHT for details.
*/
$dontStartSession = 1;

View file

@ -1,9 +1,9 @@
<?php
/*
This file is part of myTinyTodo.
This file is a part of myTinyTodo.
(C) Copyright 2021 Max Pozdeev <maxpozdeev@gmail.com>
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

View file

@ -1,8 +1,9 @@
<?php
/*
(C) Copyright 2021 Max Pozdeev <maxpozdeev@gmail.com>
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 <maxpozdeev@gmail.com>
Licensed under the GNU GPL version 2 or any later. See file COPYRIGHT for details.
*/
// ---------------------------------------------------------------------------- //

View file

@ -1,8 +1,9 @@
<?php
/*
(C) Copyright 2009,2019,2021 Max Pozdeev <maxpozdeev@gmail.com>
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 <maxpozdeev@gmail.com>
Licensed under the GNU GPL version 2 or any later. See file COPYRIGHT for details.
*/
// ---------------------------------------------------------------------------- //

View file

@ -1,8 +1,9 @@
<?php
/*
(C) Copyright 2009,2021 Max Pozdeev <maxpozdeev@gmail.com>
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 <maxpozdeev@gmail.com>
Licensed under the GNU GPL version 2 or any later. See file COPYRIGHT for details.
*/
class DatabaseResult_Sqlite3 extends DatabaseResult_Abstract

View file

@ -1,5 +1,10 @@
<?php
/*
This file is a part of myTinyTodo.
(C) Copyright 2021 Max Pozdeev <maxpozdeev@gmail.com>
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();
}
?>

View file

@ -1,5 +1,12 @@
<?php
/*
This file is a part of myTinyTodo.
(C) Copyright 2022 Max Pozdeev <maxpozdeev@gmail.com>
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;
}
}
}

View file

@ -1,5 +1,11 @@
<?php
/*
This file is a part of myTinyTodo.
(C) Copyright 2020-2022 Max Pozdeev <maxpozdeev@gmail.com>
Licensed under the GNU GPL version 2 or any later. See file COPYRIGHT for details.
*/
/*
myTinyTodo language class
*/
@ -155,4 +161,3 @@ class Lang
}
?>

View file

@ -1,5 +1,11 @@
<?php
/*
This file is a part of myTinyTodo.
(C) Copyright 2021-2022 Max Pozdeev <maxpozdeev@gmail.com>
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
}
}
?>

View file

@ -1,9 +1,9 @@
<?php
/*
This file is part of myTinyTodo.
(C) Copyright 2009-2010,2020 Max Pozdeev <maxpozdeev@gmail.com>
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 <maxpozdeev@gmail.com>
Licensed under the GNU GPL version 2 or any later. See file COPYRIGHT for details.
*/
function htmlarray($a, $exclude=null)

View file

@ -1,5 +1,11 @@
<?php
/*
This file is a part of myTinyTodo.
(C) Copyright 2021-2022 Max Pozdeev <maxpozdeev@gmail.com>
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;
}
?>

View file

@ -1,7 +1,7 @@
/*
This file is part of myTinyTodo.
(C) Copyright 2009-2010,2020 Max Pozdeev <maxpozdeev@gmail.com>
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 <maxpozdeev@gmail.com>
Licensed under the GNU GPL version 2 or any later. See file COPYRIGHT for details.
*/
(function(){

View file

@ -1,7 +1,7 @@
/*
This file is a part of myTinyTodo.
(C) Copyright 2010 Max Pozdeev <maxpozdeev@gmail.com>
Licensed under the GNU GPL v2 license. See file COPYRIGHT for details.
(C) Copyright 2010,2020 Max Pozdeev <maxpozdeev@gmail.com>
Licensed under the GNU GPL version 2 or any later. See file COPYRIGHT for details.
*/
// AJAX myTinyTodo Storage

View file

@ -1,5 +1,11 @@
<?php
/*
This file is a part of myTinyTodo.
(C) Copyright 2022 Max Pozdeev <maxpozdeev@gmail.com>
Licensed under the GNU GPL version 2 or any later. See file COPYRIGHT for details.
*/
class MTTParsedown extends Parsedown
{

View file

@ -1,8 +1,8 @@
<?php
/*
This file is part of myTinyTodo.
(C) Copyright 2009-2010,2020 Max Pozdeev <maxpozdeev@gmail.com>
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 <maxpozdeev@gmail.com>
Licensed under the GNU GPL version 2 or any later. See file COPYRIGHT for details.
*/
require_once('./init.php');

View file

@ -1,8 +1,8 @@
<?php
/*
This file is part of myTinyTodo.
(C) Copyright 2009-2010,2020 Max Pozdeev <maxpozdeev@gmail.com>
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 <maxpozdeev@gmail.com>
Licensed under the GNU GPL version 2 or any later. See file COPYRIGHT for details.
*/
define('MTT_VERSION', '@VERSION');

View file

@ -1,5 +1,11 @@
<?php
/*
This file is a part of myTinyTodo.
(C) Copyright 2010-2011,2020-2022 Max Pozdeev <maxpozdeev@gmail.com>
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__) .'/');

View file

@ -1,9 +1,9 @@
<?php
/*
This file is part of myTinyTodo.
(C) Copyright 2009-2011,2020 Max Pozdeev <maxpozdeev@gmail.com>
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 <maxpozdeev@gmail.com>
Licensed under the GNU GPL version 2 or any later. See file COPYRIGHT for details.
*/
require_once('./init.php');

View file

@ -1,9 +1,9 @@
<?php
/*
This file is part of myTinyTodo.
(C) Copyright 2009-2011 Max Pozdeev <maxpozdeev@gmail.com>
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 <maxpozdeev@gmail.com>
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 #####
?>