Add backend site management for collective topics and topics

- Introduced new backend site management features including the ability to accept, unaccept, save, edit, and display topics and collective topics.
- Added new views for editing and listing collective topics and topics.
- Implemented necessary backend logic in the `BackendSites` and `factory\BackendSites` classes to handle CRUD operations for topics and collective topics.
- Updated the layout to include links for accessing the new backend features based on user permissions.
This commit is contained in:
2025-05-04 19:08:48 +02:00
parent 5bb48fa21a
commit 9dfa15b115
13 changed files with 792 additions and 301 deletions

View File

@@ -85,6 +85,14 @@
<a href="/wiki/main_view/">Wiki</a>
</li>
<? endif;?>
<? if ( \controls\Users::permissions( $this -> user[ 'id' ], 'zaplecze' ) ):?>
<li>
<a href="/backend_sites/collective_topics/">Zaplecze - tematy zbiorcze</a>
</li>
<li>
<a href="/backend_sites/topics/">Zaplecze - tematy</a>
</li>
<? endif;?>
</ul>
</div>
<div class="main">