summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorDries Buytaert2004-06-18 15:04:37 (GMT)
committerDries Buytaert2004-06-18 15:04:37 (GMT)
commit54b77d64354949428bc8bf48d47b587312a535f2 (patch)
tree8e29ff15063129388e14009f0de6fda996beb897 /index.php
parent5ad73c8eb63c8c8db451e5586860f52be8dd8874 (diff)
Tabs patch!
CHANGES ------- + Introduced tabs. First, we extended the menu system to support tabs. Next, a tab was added for every link that was (1) an administrative action other than the implicit 'view' (2) relevant to that particular page only. This is illustrated by the fact that all tabs are verbs and that clicking a page's tab leads you to a subpage of that page. + Flattened the administration menu. The tabs helped simplify the navigation menu as I could separate 'actions' from 'navigation'. In addition, I removed the 'administer > configuration'-menu, renamed 'blocks' to 'sidebars' which I hope is a bit more descriptive, and made a couple more changes. Earlier, we already renamed 'taxonomy' to 'categorization' and we move 'statistics' under 'logs'. + Grouped settings. All settings have been grouped under 'administer > settings'. TODO ---- + Update core themes: only Xtemplate default supports tabs and even those look ugly. Need help. + Update contributed modules. The menu() hook changed drastically. Updating your code adhere the new menu() function should be 90% of the work. Moreover, ensure that your modue's admin links are still valid and that URLs to node get updated to the new scheme ('node/view/x' -> 'node/x').
Diffstat (limited to 'index.php')
-rw-r--r--index.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/index.php b/index.php
index 9ab6e66..5356050 100644
--- a/index.php
+++ b/index.php
@@ -9,13 +9,12 @@ fix_gpc_magic();
$status = menu_execute_active_handler();
switch ($status) {
- case MENU_FOUND:
+ case MENU_NOT_FOUND:
+ drupal_not_found();
break;
- case MENU_DENIED:
+ case MENU_ACCESS_DENIED:
drupal_access_denied();
break;
- default:
- drupal_not_found();
}
drupal_page_footer();