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
760 B
760 B
TODO
- Create migration 010_apropos_contents.sql (apropos_contents table, seed defaults)
- Add apropos CRUD methods to Database.php
- Create admin/contenus.php (replaces pages.php)
- Create admin/contenus-edit.php (edit pages + apropos contacts/credits/erg_url)
- Create admin/actions/apropos.php - save handler for apropos contents
- Update templates/header.php: rename "Pages statiques" → "Contenus", update nav links
- Update public/apropos.php: read contacts/credits/erg_url from DB instead of config
- Delete config/apropos.php
- Delete public/admin/pages.php
- Delete public/admin/pages-edit.php
- Delete public/admin/actions/page.php
- Update storage/schema.sql with apropos_contents table + trigger