mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-05-06 19:19:19 +02:00
- Create apropos_contents table via migration 010 - Add Database methods: getAproposContent(), saveAproposContent(), getAllAproposContents() - Replace admin/pages.php with admin/contenus.php (renamed header from 'Pages statiques' to 'Contenus') - Replace admin/pages-edit.php with admin/contenus-edit.php (support editing pages + apropos contents) - Create admin/actions/apropos.php for saving apropos data (contacts, credits, erg_url) - Update public/apropos.php to read contacts/credits/erg_url from DB - Delete config/apropos.php
15 lines
760 B
Markdown
15 lines
760 B
Markdown
# TODO
|
|
|
|
- [x] Create migration 010_apropos_contents.sql (apropos_contents table, seed defaults)
|
|
- [x] Add apropos CRUD methods to Database.php
|
|
- [x] Create admin/contenus.php (replaces pages.php)
|
|
- [x] Create admin/contenus-edit.php (edit pages + apropos contacts/credits/erg_url)
|
|
- [x] Create admin/actions/apropos.php - save handler for apropos contents
|
|
- [x] Update templates/header.php: rename "Pages statiques" → "Contenus", update nav links
|
|
- [x] Update public/apropos.php: read contacts/credits/erg_url from DB instead of config
|
|
- [x] Delete config/apropos.php
|
|
- [x] Delete public/admin/pages.php
|
|
- [x] Delete public/admin/pages-edit.php
|
|
- [x] Delete public/admin/actions/page.php
|
|
- [x] Update storage/schema.sql with apropos_contents table + trigger
|