diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-02-13 02:22:09 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-02-13 02:22:09 +0000 |
commit | 535db9d024393d89a4843eea638056452b4c687d (patch) | |
tree | 78b52ab0520b566d3dbbd186d6d43246682a768c /modules/node/node.pages.inc | |
parent | 2da17d8010a41fd96dbb6e1785b4a7b56a9cbee0 (diff) | |
download | brdo-535db9d024393d89a4843eea638056452b4c687d.tar.gz brdo-535db9d024393d89a4843eea638056452b4c687d.tar.bz2 |
#69468 by marcingy, greggles, mikey_p: Usability: Display node type on editing form.
Diffstat (limited to 'modules/node/node.pages.inc')
-rw-r--r-- | modules/node/node.pages.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/node/node.pages.inc b/modules/node/node.pages.inc index cb5a70d84..d8c17fcdb 100644 --- a/modules/node/node.pages.inc +++ b/modules/node/node.pages.inc @@ -11,7 +11,8 @@ * Menu callback; presents the node editing form, or redirects to delete confirmation. */ function node_page_edit($node) { - drupal_set_title($node->title); + $type_name = node_get_types('name', $node); + drupal_set_title(t('<em>Edit @type</em> @title', array('@type' => $type_name, '@title' => $node->title)), PASS_THROUGH); return drupal_get_form($node->type . '_node_form', $node); } |