refactor(admin): migrate counters to new architecture
Move counters CRUD to CountersController (rights>=9 super-group) under REST routes
/admin/counters (list/view/new/edit/preview/store/toggle/up/down/delete). Add
Counter model, CounterRepositoryInterface (CRUD + sort swap), and use cases
GetCounterList/SaveCounter/ManageCounter. Convert ?mod= GET mutations (toggle,
up, down, delete) to POST forms with CSRF and PRG redirects; store counter code
raw and render it raw only in the trusted admin preview (escape names/attributes).
Remove includes/counters.php and the dispatcher entry; point both sidebars at
/admin/counters.
/admin/counters (list/view/new/edit/preview/store/toggle/up/down/delete). Add
Counter model, CounterRepositoryInterface (CRUD + sort swap), and use cases
GetCounterList/SaveCounter/ManageCounter. Convert ?mod= GET mutations (toggle,
up, down, delete) to POST forms with CSRF and PRG redirects; store counter code
raw and render it raw only in the trusted admin preview (escape names/attributes).
Remove includes/counters.php and the dispatcher entry; point both sidebars at
/admin/counters.