Posted by budda on April 25, 2005 at 5:13pm
7 followers
| Project: | Drupal core |
| Version: | 6.x-dev |
| Component: | node system |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (won't fix) |
Issue Summary
node.module - line 1609 of the theme('confirm' ...) function is setting the page title with drupal_set_title($question);
However, the node delete function is putting html (from the theme('placeholder', $node->title) call) in to the html page tag. Surely the message "Are you sure you want to delete %title?" should appear on the page, and not really in the window title bar?
Comments
#1
Is this still an issue in 4.6.3 or HEAD?
#2
Yes, there still is a drupal_set_title($question) in confirm_form().
#3
Verified.
Seems easy to fix.
#4
Still an issue?
#5
This is now line 2392 in Drupal 5.12. Change the line to:
t('Are you sure you want to delete %title? This action cannot be undone.', array('%title' => $node->title)),#6
#7
There is no patch.
#8
Sorry ended up not putting a patch cause this if assigned to 6.x-dev and my fix was for 5.x.
#9
Closing this issue because of a lack of activity.