From 9a73d523ebd6035fac8deaa347ce41e4eda13232 Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Thu, 19 Jul 2018 00:21:45 +0200 Subject: Add Copyright & GPL3+ notice to Templates --- .../CustomTheme/src/Template/Bake/Model/entity.twig | 21 +++++++++++++++++++++ .../CustomTheme/src/Template/Bake/Model/table.twig | 21 +++++++++++++++++++++ 2 files changed, 42 insertions(+) (limited to 'fai_gestion/plugins/CustomTheme/src/Template/Bake/Model') diff --git a/fai_gestion/plugins/CustomTheme/src/Template/Bake/Model/entity.twig b/fai_gestion/plugins/CustomTheme/src/Template/Bake/Model/entity.twig index e09794a..aaa15e5 100644 --- a/fai_gestion/plugins/CustomTheme/src/Template/Bake/Model/entity.twig +++ b/fai_gestion/plugins/CustomTheme/src/Template/Bake/Model/entity.twig @@ -24,6 +24,27 @@ {%- set accessible = Bake.getFieldAccessibility(fields, primaryKey) %} + * Copyright 2016 Nicolas Goaziou + * + * This file is part of FAI Gestion forked from CHD Gestion. + * + * FAI Gestion 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 3 of the License, or + * (at your option) any later version. + * + * FAI Gestion is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with FAI Gestion. If not, see . + * + * Auto-generated code with CakePHP(tm) bake derived code. +**/ namespace {{ namespace }}\Model\Entity; use Cake\ORM\Entity; diff --git a/fai_gestion/plugins/CustomTheme/src/Template/Bake/Model/table.twig b/fai_gestion/plugins/CustomTheme/src/Template/Bake/Model/table.twig index 94ad17c..2ef02e9 100644 --- a/fai_gestion/plugins/CustomTheme/src/Template/Bake/Model/table.twig +++ b/fai_gestion/plugins/CustomTheme/src/Template/Bake/Model/table.twig @@ -15,6 +15,27 @@ #} {% set annotations = DocBlock.buildTableAnnotations(associations, associationInfo, behaviors, entity, namespace) %} + * Copyright 2016 Nicolas Goaziou + * + * This file is part of FAI Gestion forked from CHD Gestion. + * + * FAI Gestion 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 3 of the License, or + * (at your option) any later version. + * + * FAI Gestion is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with FAI Gestion. If not, see . + * + * Auto-generated code with CakePHP(tm) bake derived code. +**/ namespace {{ namespace }}\Model\Table; {% set uses = ['use Cake\\ORM\\Query;', 'use Cake\\ORM\\RulesChecker;', 'use Cake\\ORM\\Table;', 'use Cake\\Validation\\Validator;'] %} -- cgit v1.1