From 2e2e57b37eda84054994a9af72e842f920662eae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Schneider?= Date: Fri, 6 Apr 2012 08:54:13 +0200 Subject: [PATCH] Added licenses Former-commit-id: 92b0dc95ef2f5a36bd783d5cd047aef261336a1c --- CoreVersions/Baikal_0.1/Distrib.php | 24 ++++++ .../Frameworks/Baikal/Core/ClassLoader.php | 24 ++++++ .../Frameworks/Baikal/Model/Principal.php | 24 ++++++ .../Frameworks/Baikal/Model/User.php | 24 ++++++ .../BaikalAdmin/Controller/Dashboard.php | 24 ++++++ .../BaikalAdmin/Controller/Details.php | 24 ++++++ .../BaikalAdmin/Controller/Install.php | 24 ++++++ .../BaikalAdmin/Controller/Users.php | 24 ++++++ .../Frameworks/BaikalAdmin/Core/Auth.php | 24 ++++++ .../Frameworks/BaikalAdmin/Core/Bootstrap.php | 24 ++++++ .../BaikalAdmin/Core/ClassLoader.php | 24 ++++++ .../BaikalAdmin/Route/Dashboard.php | 24 ++++++ .../Frameworks/BaikalAdmin/Route/Details.php | 24 ++++++ .../Frameworks/BaikalAdmin/Route/Install.php | 24 ++++++ .../Frameworks/BaikalAdmin/Route/Users.php | 24 ++++++ .../Frameworks/BaikalAdmin/View/User/Form.php | 24 ++++++ .../BaikalAdmin/View/User/Listing.php | 24 ++++++ .../Frameworks/BaikalAdmin/config.php | 24 ++++++ .../Frameworks/BaikalStandalone/run.sh | 25 ++++++ .../Frameworks/Flake/Controller/Cli.php | 24 ++++++ .../Frameworks/Flake/Controller/HtmlBlock.php | 24 ++++++ .../Flake/Controller/HtmlBlockTemplated.php | 24 ++++++ .../Frameworks/Flake/Controller/Kickstart.php | 24 ++++++ .../Frameworks/Flake/Controller/Page.php | 24 ++++++ .../Baikal_0.1/Frameworks/Flake/Core/Auth.php | 24 ++++++ .../Frameworks/Flake/Core/Bootstrap.php | 24 ++++++ .../Frameworks/Flake/Core/ClassLoader.php | 24 ++++++ .../Frameworks/Flake/Core/Collection.php | 86 +++++++------------ .../Frameworks/Flake/Core/CollectionTyped.php | 41 +++++---- .../Frameworks/Flake/Core/Controller.php | 26 +++++- .../Frameworks/Flake/Core/Database.php | 24 ++++++ .../Frameworks/Flake/Core/Database/Mysql.php | 24 ++++++ .../Frameworks/Flake/Core/Database/Sqlite.php | 24 ++++++ .../Frameworks/Flake/Core/FLObject.php | 36 +++++--- .../Frameworks/Flake/Core/Model.php | 28 +++++- .../Frameworks/Flake/Core/Model/Db.php | 26 +++++- .../Frameworks/Flake/Core/Model/NoDb.php | 24 ++++++ .../Flake/Core/Render/Container.php | 24 ++++++ .../Frameworks/Flake/Core/Render/Zone.php | 24 ++++++ .../Frameworks/Flake/Core/Requester.php | 24 ++++++ .../Frameworks/Flake/Core/Requester/Sql.php | 24 ++++++ .../Flake/Core/Requester/Universal.php | 24 ++++++ .../Frameworks/Flake/Core/Template.php | 24 ++++++ .../Baikal_0.1/Frameworks/Flake/Core/View.php | 24 ++++++ .../Frameworks/Flake/Util/Router.php | 30 ++++++- .../Flake/Util/Router/QuestionMarkRewrite.php | 29 +++++++ .../Frameworks/Flake/Util/Tools.php | 24 ++++++ .../Baikal_0.1/Frameworks/Flake/config.php | 24 ++++++ .../Frameworks/Formal/Core/Bootstrap.php | 24 ++++++ .../Frameworks/Formal/Core/ClassLoader.php | 24 ++++++ .../Frameworks/Formal/Core/Message.php | 24 ++++++ .../Baikal_0.1/Frameworks/Formal/Element.php | 31 +++++-- .../Frameworks/Formal/Element/Password.php | 24 ++++++ .../Frameworks/Formal/Element/Text.php | 24 ++++++ .../Baikal_0.1/Frameworks/Formal/Form.php | 24 ++++++ .../Frameworks/Formal/Form/Morphology.php | 24 ++++++ CoreVersions/Baikal_0.1/WWWRoot/index.php | 2 +- Specific/config.php | 24 ++++++ 58 files changed, 1396 insertions(+), 92 deletions(-) diff --git a/CoreVersions/Baikal_0.1/Distrib.php b/CoreVersions/Baikal_0.1/Distrib.php index e50869d..0d47c38 100755 --- a/CoreVersions/Baikal_0.1/Distrib.php +++ b/CoreVersions/Baikal_0.1/Distrib.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ define("BAIKAL_VERSION", "0.2"); define("BAIKAL_HOMEPAGE", "http://baikal.codr.fr"); \ No newline at end of file diff --git a/CoreVersions/Baikal_0.1/Frameworks/Baikal/Core/ClassLoader.php b/CoreVersions/Baikal_0.1/Frameworks/Baikal/Core/ClassLoader.php index af95e8b..dac400a 100644 --- a/CoreVersions/Baikal_0.1/Frameworks/Baikal/Core/ClassLoader.php +++ b/CoreVersions/Baikal_0.1/Frameworks/Baikal/Core/ClassLoader.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace Baikal\Core; diff --git a/CoreVersions/Baikal_0.1/Frameworks/Baikal/Model/Principal.php b/CoreVersions/Baikal_0.1/Frameworks/Baikal/Model/Principal.php index 00721e8..c6c3abb 100644 --- a/CoreVersions/Baikal_0.1/Frameworks/Baikal/Model/Principal.php +++ b/CoreVersions/Baikal_0.1/Frameworks/Baikal/Model/Principal.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace Baikal\Model; diff --git a/CoreVersions/Baikal_0.1/Frameworks/Baikal/Model/User.php b/CoreVersions/Baikal_0.1/Frameworks/Baikal/Model/User.php index fd2700c..e555fda 100644 --- a/CoreVersions/Baikal_0.1/Frameworks/Baikal/Model/User.php +++ b/CoreVersions/Baikal_0.1/Frameworks/Baikal/Model/User.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace Baikal\Model; diff --git a/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/Controller/Dashboard.php b/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/Controller/Dashboard.php index 3d08361..79f0708 100644 --- a/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/Controller/Dashboard.php +++ b/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/Controller/Dashboard.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace BaikalAdmin\Controller; diff --git a/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/Controller/Details.php b/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/Controller/Details.php index ce5eab8..0514b3c 100644 --- a/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/Controller/Details.php +++ b/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/Controller/Details.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace BaikalAdmin\Controller; diff --git a/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/Controller/Install.php b/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/Controller/Install.php index c6764e6..66b48e7 100644 --- a/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/Controller/Install.php +++ b/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/Controller/Install.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace BaikalAdmin\Controller; diff --git a/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/Controller/Users.php b/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/Controller/Users.php index 5e7071b..250198e 100644 --- a/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/Controller/Users.php +++ b/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/Controller/Users.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace BaikalAdmin\Controller; diff --git a/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/Core/Auth.php b/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/Core/Auth.php index 55830e3..876a317 100644 --- a/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/Core/Auth.php +++ b/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/Core/Auth.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace BaikalAdmin\Core; diff --git a/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/Core/Bootstrap.php b/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/Core/Bootstrap.php index 492594a..8c6c907 100644 --- a/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/Core/Bootstrap.php +++ b/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/Core/Bootstrap.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ define("BAIKALADMIN_PATH_ROOT", dirname(dirname(__FILE__)) . "/"); diff --git a/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/Core/ClassLoader.php b/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/Core/ClassLoader.php index c5fe065..1b385cb 100644 --- a/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/Core/ClassLoader.php +++ b/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/Core/ClassLoader.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace BaikalAdmin\Core; diff --git a/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/Route/Dashboard.php b/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/Route/Dashboard.php index 086c188..52269a7 100644 --- a/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/Route/Dashboard.php +++ b/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/Route/Dashboard.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace BaikalAdmin\Route; diff --git a/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/Route/Details.php b/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/Route/Details.php index f991f59..7fcca0b 100644 --- a/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/Route/Details.php +++ b/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/Route/Details.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace BaikalAdmin\Route; diff --git a/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/Route/Install.php b/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/Route/Install.php index c305042..bf1cce4 100644 --- a/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/Route/Install.php +++ b/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/Route/Install.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace BaikalAdmin\Route; diff --git a/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/Route/Users.php b/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/Route/Users.php index fe9f903..91acbf0 100644 --- a/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/Route/Users.php +++ b/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/Route/Users.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace BaikalAdmin\Route; diff --git a/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/View/User/Form.php b/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/View/User/Form.php index 3d27392..47f130d 100644 --- a/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/View/User/Form.php +++ b/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/View/User/Form.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace BaikalAdmin\View\User; diff --git a/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/View/User/Listing.php b/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/View/User/Listing.php index 1ea433d..767a601 100644 --- a/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/View/User/Listing.php +++ b/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/View/User/Listing.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace BaikalAdmin\View\User; diff --git a/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/config.php b/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/config.php index 12bafa6..e918a6b 100644 --- a/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/config.php +++ b/CoreVersions/Baikal_0.1/Frameworks/BaikalAdmin/config.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ define("BAIKALADMIN_PATH_TEMPLATES", BAIKALADMIN_PATH_ROOT . "Resources/Templates/"); diff --git a/CoreVersions/Baikal_0.1/Frameworks/BaikalStandalone/run.sh b/CoreVersions/Baikal_0.1/Frameworks/BaikalStandalone/run.sh index a5f0009..7ea1896 100755 --- a/CoreVersions/Baikal_0.1/Frameworks/BaikalStandalone/run.sh +++ b/CoreVersions/Baikal_0.1/Frameworks/BaikalStandalone/run.sh @@ -1,5 +1,30 @@ #!/usr/bin/env bash +################################################################# +# Copyright notice +# +# (c) 2012 Jérôme Schneider +# All rights reserved +# +# http://baikal.codr.fr +# +# This script is part of the Baïkal Server project. The Baïkal +# Server project is free software; you can redistribute it +# and/or modify it under the terms of the GNU General Public +# License as published by the Free Software Foundation; either +# version 2 of the License, or (at your option) any later version. +# +# The GNU General Public License can be found at +# http://www.gnu.org/copyleft/gpl.html. +# +# This script 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. +# +# This copyright notice MUST APPEAR in all copies of the script! +################################################################# + PATH_SCRIPTFILE=`readlink -f $0` PATH_SCRIPTDIR=`dirname $PATH_SCRIPTFILE`"/" PATH_ROOT=`dirname $(dirname $(dirname $(dirname $PATH_SCRIPTDIR)))`"/" # ../../../../ diff --git a/CoreVersions/Baikal_0.1/Frameworks/Flake/Controller/Cli.php b/CoreVersions/Baikal_0.1/Frameworks/Flake/Controller/Cli.php index a5140ee..0a6f919 100755 --- a/CoreVersions/Baikal_0.1/Frameworks/Flake/Controller/Cli.php +++ b/CoreVersions/Baikal_0.1/Frameworks/Flake/Controller/Cli.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace Flake\Controller; diff --git a/CoreVersions/Baikal_0.1/Frameworks/Flake/Controller/HtmlBlock.php b/CoreVersions/Baikal_0.1/Frameworks/Flake/Controller/HtmlBlock.php index 88ff165..033c218 100755 --- a/CoreVersions/Baikal_0.1/Frameworks/Flake/Controller/HtmlBlock.php +++ b/CoreVersions/Baikal_0.1/Frameworks/Flake/Controller/HtmlBlock.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace Flake\Controller; diff --git a/CoreVersions/Baikal_0.1/Frameworks/Flake/Controller/HtmlBlockTemplated.php b/CoreVersions/Baikal_0.1/Frameworks/Flake/Controller/HtmlBlockTemplated.php index 89420ae..2e42496 100755 --- a/CoreVersions/Baikal_0.1/Frameworks/Flake/Controller/HtmlBlockTemplated.php +++ b/CoreVersions/Baikal_0.1/Frameworks/Flake/Controller/HtmlBlockTemplated.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace Flake\Controller; diff --git a/CoreVersions/Baikal_0.1/Frameworks/Flake/Controller/Kickstart.php b/CoreVersions/Baikal_0.1/Frameworks/Flake/Controller/Kickstart.php index 586fef4..f05578d 100755 --- a/CoreVersions/Baikal_0.1/Frameworks/Flake/Controller/Kickstart.php +++ b/CoreVersions/Baikal_0.1/Frameworks/Flake/Controller/Kickstart.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace Flake\Controller; diff --git a/CoreVersions/Baikal_0.1/Frameworks/Flake/Controller/Page.php b/CoreVersions/Baikal_0.1/Frameworks/Flake/Controller/Page.php index a3e3571..966c753 100755 --- a/CoreVersions/Baikal_0.1/Frameworks/Flake/Controller/Page.php +++ b/CoreVersions/Baikal_0.1/Frameworks/Flake/Controller/Page.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace Flake\Controller; diff --git a/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Auth.php b/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Auth.php index cd731aa..0550236 100755 --- a/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Auth.php +++ b/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Auth.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace Flake\Core; diff --git a/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Bootstrap.php b/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Bootstrap.php index 248d1be..ac5d28b 100755 --- a/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Bootstrap.php +++ b/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Bootstrap.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ if(array_key_exists("SERVER_NAME", $_SERVER) && $_SERVER["SERVER_NAME"] === "mongoose") { define("MONGOOSE_SERVER", TRUE); diff --git a/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/ClassLoader.php b/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/ClassLoader.php index bdd1366..12d70b9 100755 --- a/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/ClassLoader.php +++ b/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/ClassLoader.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace Flake\Core; diff --git a/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Collection.php b/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Collection.php index 572a3d8..743304f 100755 --- a/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Collection.php +++ b/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Collection.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace Flake\Core; @@ -48,30 +72,15 @@ class Collection extends \Flake\Core\FLObject implements \Iterator { public function prev() { return prev($this->aCollection); } - - /* - * Retourne le nombre d'élémént - * - * @return int nombre l'éléments - */ + public function count() { return count($this->aCollection); } - - /* - * Retourne le tableau des clés - * - * @return array tableau des clés - */ + public function keys() { return array_keys($this->aCollection); } - - /* - * Vérifie si la collection est vide - * - * @return bool TRUE si la collection est vide - */ + public function isEmpty() { return $this->count() === 0; } @@ -83,32 +92,16 @@ class Collection extends \Flake\Core\FLObject implements \Iterator { public function isAtLast() { return $this->key() === array_pop($this->keys()); } - - /* - * Insère un élément dans la collection - * - * @param $mMixed valeur à insérer dans la collection - * @return void - */ + public function push(&$mMixed) { array_push($this->aCollection, $mMixed); } - - /* - * Vide la collection - * - * @return void - */ + public function flush() { unset($this->aCollection); $this->aCollection = array(); } - - /* - * Retourne le premier élément de la collection - * - * @return mixed premier élément de la collection - */ + public function &first() { if(!$this->isEmpty()) { $aKeys = $this->keys(); @@ -126,31 +119,18 @@ class Collection extends \Flake\Core\FLObject implements \Iterator { return null; } - - /* - * Converti la collection en tableau - * - * @return array collection sous forme de tableau - */ + public function toArray() { return $this->aCollection; } # Create a new collection like this one # This abstraction is useful because of CollectionTyped - protected function newCollectionLikeThisOne() { $oCollection = \Flake\Core\Collection(); return $oCollection; } - - /* - * Méthode magique __call - * - * @param $sName string nom de la méthode - * @param $aArguments array argument passé initialement - * @return mixed valeur de la collection correspond - */ + public function &__call($sName, $aArguments) { if( strlen($sName) > 7 && @@ -190,7 +170,7 @@ class Collection extends \Flake\Core\FLObject implements \Iterator { return null; } } else { - throw new \Exception("Method " . $sName . "() not found on " . self::getClass()); + throw new \Exception("Method " . $sName . "() not found on " . get_class($this)); } } } \ No newline at end of file diff --git a/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/CollectionTyped.php b/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/CollectionTyped.php index 735274f..40cf4e4 100755 --- a/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/CollectionTyped.php +++ b/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/CollectionTyped.php @@ -1,28 +1,40 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace Flake\Core; class CollectionTyped extends \Flake\Core\Collection { - private $sTypeClassOrProtocol; + protected $sTypeClassOrProtocol; - /* - * Constructeur de la classe - * - * @param $sTypeClassOrProtocol string type des éléments de la collection - * @return void - */ public function __construct($sTypeClassOrProtocol) { $this->sTypeClassOrProtocol = $sTypeClassOrProtocol; $this->setMetaType($this->sTypeClassOrProtocol); } - /* - * Insère un élément dans la collection - * - * @param $mMixed mixed valeur à insérer dans la collection - * @return void - */ public function push(&$mMixed) { if(!\Flake\Util\Tools::is_a($mMixed, $this->sTypeClassOrProtocol)) { throw new \Exception("\Flake\Core\CollectionTyped<" . $this->sTypeClassOrProtocol . ">: Given object is not correctly typed."); @@ -32,8 +44,7 @@ class CollectionTyped extends \Flake\Core\Collection { } # Create a new collection like this one - # This abstraction is useful because of CollectionTyped - + # This abstraction is useful because of CollectionTyped protected function newCollectionLikeThisOne() { $oCollection = \Flake\Core\CollectionTyped($this->sTypeClassOrProtocol); return $oCollection; diff --git a/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Controller.php b/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Controller.php index f053423..05daee7 100755 --- a/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Controller.php +++ b/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Controller.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace Flake\Core; @@ -13,7 +37,7 @@ abstract class Controller extends \Flake\Core\FLObject { abstract function execute(); abstract function render(); static function link(/*[$sParam, $sParam2, ...]*/) { - + return static::buildRoute(); } public static function buildRoute(/*[$sParam, $sParam2, ...]*/) { diff --git a/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Database.php b/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Database.php index e54ef76..65a4767 100755 --- a/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Database.php +++ b/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Database.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace Flake\Core; diff --git a/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Database/Mysql.php b/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Database/Mysql.php index 87c1317..d3db223 100755 --- a/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Database/Mysql.php +++ b/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Database/Mysql.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace Flake\Core; diff --git a/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Database/Sqlite.php b/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Database/Sqlite.php index 273fc92..1d344af 100755 --- a/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Database/Sqlite.php +++ b/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Database/Sqlite.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace Flake\Core\Database; diff --git a/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/FLObject.php b/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/FLObject.php index 42098a7..ada0512 100755 --- a/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/FLObject.php +++ b/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/FLObject.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace Flake\Core; @@ -7,18 +31,6 @@ class FLObject { return print_r($this, TRUE); } - public function getClass() { -// throw new \Exception("getClass() is deprecated"); - if(!isset($this)) { -# echo "STATIC
"; - return get_called_class(); - } else { -# echo "INSTANCE
"; -# debug($this); - return get_class($this); - } - } - public function isA($sClassOrProtocolName) { return \Flake\Util\Tools::is_a($this, $sClassOrProtocolName); } diff --git a/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Model.php b/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Model.php index 8a5ad10..f3227ae 100755 --- a/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Model.php +++ b/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Model.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace Flake\Core; @@ -15,7 +39,7 @@ abstract class Model extends \Flake\Core\FLObject { return $this->aData[$sPropName]; } - throw new \Exception("\Flake\Core\Model->get(): property " . htmlspecialchars($sPropName) . " does not exist on " . self::getClass()); + throw new \Exception("\Flake\Core\Model->get(): property " . htmlspecialchars($sPropName) . " does not exist on " . get_class($this)); } public function set($sPropName, $sPropValue) { @@ -24,7 +48,7 @@ abstract class Model extends \Flake\Core\FLObject { return $this; } - throw new \Exception("\Flake\Core\Model->set(): property " . htmlspecialchars($sPropName) . " does not exist on " . self::getClass()); + throw new \Exception("\Flake\Core\Model->set(): property " . htmlspecialchars($sPropName) . " does not exist on " . get_class($this)); } public function getLabel() { diff --git a/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Model/Db.php b/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Model/Db.php index 2786857..11ca86a 100755 --- a/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Model/Db.php +++ b/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Model/Db.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace Flake\Core\Model; @@ -52,7 +76,7 @@ abstract class Db extends \Flake\Core\Model { ); if(($aRs = $GLOBALS["DB"]->fetch($rSql)) === FALSE) { - throw new \Exception("\Flake\Core\Model '" . htmlspecialchars($sPrimary) . "' not found for model " . self::getClass()); + throw new \Exception("\Flake\Core\Model '" . htmlspecialchars($sPrimary) . "' not found for model " . get_class($this)); } reset($aRs); diff --git a/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Model/NoDb.php b/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Model/NoDb.php index 8ef1571..1183687 100755 --- a/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Model/NoDb.php +++ b/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Model/NoDb.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace Flake\Core\Model; diff --git a/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Render/Container.php b/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Render/Container.php index 8b5654a..17fd08c 100755 --- a/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Render/Container.php +++ b/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Render/Container.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace Flake\Core\Render; diff --git a/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Render/Zone.php b/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Render/Zone.php index 0aa3321..0a2d2c2 100755 --- a/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Render/Zone.php +++ b/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Render/Zone.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace Flake\Core\Render; diff --git a/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Requester.php b/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Requester.php index af1f30b..5e98e4d 100644 --- a/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Requester.php +++ b/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Requester.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace Flake\Core; diff --git a/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Requester/Sql.php b/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Requester/Sql.php index ea2f7f8..ff774cb 100755 --- a/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Requester/Sql.php +++ b/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Requester/Sql.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace Flake\Core\Requester; diff --git a/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Requester/Universal.php b/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Requester/Universal.php index 3a3ff24..f1c238a 100644 --- a/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Requester/Universal.php +++ b/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Requester/Universal.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace Flake\Core\Requester; diff --git a/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Template.php b/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Template.php index d57fc6b..ba571df 100755 --- a/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Template.php +++ b/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/Template.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace Flake\Core; diff --git a/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/View.php b/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/View.php index ff3380f..bf66319 100755 --- a/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/View.php +++ b/CoreVersions/Baikal_0.1/Frameworks/Flake/Core/View.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace Flake\Core; diff --git a/CoreVersions/Baikal_0.1/Frameworks/Flake/Util/Router.php b/CoreVersions/Baikal_0.1/Frameworks/Flake/Util/Router.php index 81f8582..c47ee88 100755 --- a/CoreVersions/Baikal_0.1/Frameworks/Flake/Util/Router.php +++ b/CoreVersions/Baikal_0.1/Frameworks/Flake/Util/Router.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace Flake\Util; @@ -73,13 +97,17 @@ abstract class Router extends \Flake\Core\FLObject { # this method is likely to change with every Router implementation public static function buildRoute($sRoute /* [, $sParam, $sParam2, ...] */) { $aParams = func_get_args(); - array_shift($aParams); # Stripping $sRoute + array_shift($aParams); # Stripping $sRoute $sParams = implode("/", $aParams); if(trim($sParams) !== "") { $sParams .= "/"; } + if($sRoute === "default" && empty($aParams)) { + return "/"; + } + return "/" . $sRoute . "/" . $sParams; } diff --git a/CoreVersions/Baikal_0.1/Frameworks/Flake/Util/Router/QuestionMarkRewrite.php b/CoreVersions/Baikal_0.1/Frameworks/Flake/Util/Router/QuestionMarkRewrite.php index 608d562..78ffcd4 100644 --- a/CoreVersions/Baikal_0.1/Frameworks/Flake/Util/Router/QuestionMarkRewrite.php +++ b/CoreVersions/Baikal_0.1/Frameworks/Flake/Util/Router/QuestionMarkRewrite.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace Flake\Util\Router; @@ -47,6 +71,11 @@ class QuestionMarkRewrite extends \Flake\Util\Router { public static function buildRoute($sRoute /* [, $sParam, $sParam2, ...] */) { $aParams = func_get_args(); $sUrl = call_user_func_array("parent::buildRoute", $aParams); + + if($sUrl === "/") { + return ""; + } + return "?" . $sUrl; } diff --git a/CoreVersions/Baikal_0.1/Frameworks/Flake/Util/Tools.php b/CoreVersions/Baikal_0.1/Frameworks/Flake/Util/Tools.php index 329093a..e4d38fa 100755 --- a/CoreVersions/Baikal_0.1/Frameworks/Flake/Util/Tools.php +++ b/CoreVersions/Baikal_0.1/Frameworks/Flake/Util/Tools.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace Flake\Util; diff --git a/CoreVersions/Baikal_0.1/Frameworks/Flake/config.php b/CoreVersions/Baikal_0.1/Frameworks/Flake/config.php index f4b2d97..3089f29 100644 --- a/CoreVersions/Baikal_0.1/Frameworks/Flake/config.php +++ b/CoreVersions/Baikal_0.1/Frameworks/Flake/config.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ define("FLAKE_DB_FILEPATH", BAIKAL_SQLITE_FILE); define("FLAKE_TIMEZONE", BAIKAL_TIMEZONE); diff --git a/CoreVersions/Baikal_0.1/Frameworks/Formal/Core/Bootstrap.php b/CoreVersions/Baikal_0.1/Frameworks/Formal/Core/Bootstrap.php index 0e1a566..ed02d22 100644 --- a/CoreVersions/Baikal_0.1/Frameworks/Formal/Core/Bootstrap.php +++ b/CoreVersions/Baikal_0.1/Frameworks/Formal/Core/Bootstrap.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ define("FORMAL_PATH_ROOT", dirname(dirname(__FILE__)) . "/"); diff --git a/CoreVersions/Baikal_0.1/Frameworks/Formal/Core/ClassLoader.php b/CoreVersions/Baikal_0.1/Frameworks/Formal/Core/ClassLoader.php index ddee199..b2058ec 100644 --- a/CoreVersions/Baikal_0.1/Frameworks/Formal/Core/ClassLoader.php +++ b/CoreVersions/Baikal_0.1/Frameworks/Formal/Core/ClassLoader.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace Formal\Core; diff --git a/CoreVersions/Baikal_0.1/Frameworks/Formal/Core/Message.php b/CoreVersions/Baikal_0.1/Frameworks/Formal/Core/Message.php index b455407..1e7ff24 100644 --- a/CoreVersions/Baikal_0.1/Frameworks/Formal/Core/Message.php +++ b/CoreVersions/Baikal_0.1/Frameworks/Formal/Core/Message.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace Formal\Core; diff --git a/CoreVersions/Baikal_0.1/Frameworks/Formal/Element.php b/CoreVersions/Baikal_0.1/Frameworks/Formal/Element.php index 1b3b8bc..0fb362a 100644 --- a/CoreVersions/Baikal_0.1/Frameworks/Formal/Element.php +++ b/CoreVersions/Baikal_0.1/Frameworks/Formal/Element.php @@ -1,8 +1,33 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace Formal; class Element { + protected $aOptions = array( "readonly" => FALSE, "validation" => "", @@ -40,12 +65,6 @@ class Element { $this->aOptions[$sOptionName] = $sOptionValue; } -/* public function addToOptionArray($sOptionName, $sOptionValue) { - $aOptions = $this->optionArray($sOptionName); - $aOptions[] = $sOptionValue; - $this->aOptions[$sOptionName] = implode(",", $aOptions); - }*/ - public function value() { return $this->sValue; } diff --git a/CoreVersions/Baikal_0.1/Frameworks/Formal/Element/Password.php b/CoreVersions/Baikal_0.1/Frameworks/Formal/Element/Password.php index 13e5772..f348669 100644 --- a/CoreVersions/Baikal_0.1/Frameworks/Formal/Element/Password.php +++ b/CoreVersions/Baikal_0.1/Frameworks/Formal/Element/Password.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace Formal\Element; diff --git a/CoreVersions/Baikal_0.1/Frameworks/Formal/Element/Text.php b/CoreVersions/Baikal_0.1/Frameworks/Formal/Element/Text.php index d1a0c0a..a0aa424 100644 --- a/CoreVersions/Baikal_0.1/Frameworks/Formal/Element/Text.php +++ b/CoreVersions/Baikal_0.1/Frameworks/Formal/Element/Text.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace Formal\Element; diff --git a/CoreVersions/Baikal_0.1/Frameworks/Formal/Form.php b/CoreVersions/Baikal_0.1/Frameworks/Formal/Form.php index a9004b8..6945206 100644 --- a/CoreVersions/Baikal_0.1/Frameworks/Formal/Form.php +++ b/CoreVersions/Baikal_0.1/Frameworks/Formal/Form.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace Formal; diff --git a/CoreVersions/Baikal_0.1/Frameworks/Formal/Form/Morphology.php b/CoreVersions/Baikal_0.1/Frameworks/Formal/Form/Morphology.php index 72d93fa..a69ac94 100644 --- a/CoreVersions/Baikal_0.1/Frameworks/Formal/Form/Morphology.php +++ b/CoreVersions/Baikal_0.1/Frameworks/Formal/Form/Morphology.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ namespace Formal\Form; diff --git a/CoreVersions/Baikal_0.1/WWWRoot/index.php b/CoreVersions/Baikal_0.1/WWWRoot/index.php index d145604..5506b1d 100755 --- a/CoreVersions/Baikal_0.1/WWWRoot/index.php +++ b/CoreVersions/Baikal_0.1/WWWRoot/index.php @@ -22,7 +22,7 @@ * GNU General Public License for more details. * * This copyright notice MUST APPEAR in all copies of the script! -***************************************************************/ +***************************************************************/ ?> diff --git a/Specific/config.php b/Specific/config.php index fc5aaca..340b0e2 100755 --- a/Specific/config.php +++ b/Specific/config.php @@ -1,4 +1,28 @@ +* All rights reserved +* +* http://baikal.codr.fr +* +* This script is part of the Baïkal Server project. The Baïkal +* Server project is free software; you can redistribute it +* and/or modify it under the terms of the GNU General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* The GNU General Public License can be found at +* http://www.gnu.org/copyleft/gpl.html. +* +* This script 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. +* +* This copyright notice MUST APPEAR in all copies of the script! +***************************************************************/ ############################################################################## # In this section: Required configuration: you *have* to customize