summaryrefslogtreecommitdiffstats
path: root/admin/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/index.php')
-rw-r--r--admin/index.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/admin/index.php b/admin/index.php
index 2e4d957e..ea2d7e14 100644
--- a/admin/index.php
+++ b/admin/index.php
@@ -28,6 +28,13 @@ if (!$GLOBALS['user']->has_access(100)) {
show_header();
-
+switch ($_REQUEST['action']) {
+ default:
+ // Show Catalogs
+ $catalog_ids = Catalog::get_catalogs();
+ Browse::set_type('catalog');
+ Browse::show_objects($catalog_ids);
+ break;
+}
show_footer();