diff options
Diffstat (limited to 'php')
| -rw-r--r-- | php/footer.php | 17 | ||||
| -rw-r--r-- | php/replace.php | 17 | ||||
| -rw-r--r-- | php/templates.php | 17 |
3 files changed, 51 insertions, 0 deletions
diff --git a/php/footer.php b/php/footer.php index 4a32baf..0d9c8b6 100644 --- a/php/footer.php +++ b/php/footer.php @@ -1,4 +1,21 @@ <?php +/* + * GNUfault.org - GNUfault's website + * Copyright (C) 2026 Connor Thomson + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ require_once PHP_DIR . 'replace.php'; diff --git a/php/replace.php b/php/replace.php index 70fdd25..9cdc5bf 100644 --- a/php/replace.php +++ b/php/replace.php @@ -1,4 +1,21 @@ <?php +/* + * GNUfault.org - GNUfault's website + * Copyright (C) 2026 Connor Thomson + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ function replace(string $templatePath, array $replacements = []): string { $html = file_get_contents($templatePath); diff --git a/php/templates.php b/php/templates.php index 4ead3f8..dfd4063 100644 --- a/php/templates.php +++ b/php/templates.php @@ -1,4 +1,21 @@ <?php +/* + * GNUfault.org - GNUfault's website + * Copyright (C) 2026 Connor Thomson + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ function render_component(string $componentPath): string { ob_start(); |
