- PluginManager: getAdminMenuItems(), handleAdminRoute(), getPluginType() - admin.php: load PluginManager, pass plugin_admin_menu to Twig - admin.php: route to plugin admin pages via handleAdminRoute() - admin.twig: show 'Plugins' sidebar section for system plugins - plugins-new.twig: choose content or system plugin type - handlePluginsNew: generate proper template based on type (content/system) - plugin-admin.twig: renders plugin output in admin layout - GeoIPInfo: example system plugin (admin page with GeoIP info) - System plugins: getAdminMenu(), getAdminRoutes(), handleAdminRoute() - Content plugins: getSidebarContent() (unchanged)
7 lines
168 B
JSON
7 lines
168 B
JSON
{
|
|
"name": "GeoIPInfo",
|
|
"version": "1.0.0",
|
|
"author": "CodePress",
|
|
"description": "Systeem plugin voor GeoIP informatie in admin",
|
|
"type": "system"
|
|
} |