--- admin.module	2009-11-16 16:28:47.000000000 +0100
+++ admin.module.new	2009-11-16 16:27:26.000000000 +0100
@@ -41,6 +41,21 @@ function admin_init() {
   else if (function_exists('admin_theme_init') && $GLOBALS['custom_theme'] == 'slate') {
     _admin_init_theme();
   }
+  // Some custom defined pages should get admin theme
+  // original code is from admin_theme module
+  else if (trim(variable_get('admin_path', '')) != '') {
+  // pages that are defined by their normal path
+    if (drupal_match_path($_GET['q'], variable_get('admin_path', ''))){
+      _admin_init_theme();
+    }
+    // pages that are defined with their alias
+    $alias = drupal_get_path_alias($_GET['q']);
+    if ($alias != $_GET['q']) {
+      if(drupal_match_path($alias, variable_get('admin_path', ''))){
+	_admin_init_theme();
+      }
+    }
+  }
 }
 
 /**
