Commit 3f894f81 authored by Dries's avatar Dries
Browse files

- Bugfix: removed bogus $name parameters.

  TODO: when 'previewing' an existing node, the breadcrumb trail is incorrect.
parent ac3a7fc0
......@@ -1494,14 +1494,14 @@ function node_page() {
break;
case t('Preview'):
$edit = node_validate($edit);
print theme('page', node_preview($edit), t('Preview %name', array('%name' => $name)));
print theme('page', node_preview($edit), t('Preview'));
break;
case t('Submit'):
drupal_set_title(t('Submit %name', array('%name' => $name)));
drupal_set_title(t('Submit'));
print theme('page', node_submit($edit));
break;
case t('Delete'):
print theme('page', node_delete($edit), t('Delete %name', array('%name' => $name)));
print theme('page', node_delete($edit), t('Delete'));
break;
default:
print theme('page', node_page_default(), '');
......
......@@ -1494,14 +1494,14 @@ function node_page() {
break;
case t('Preview'):
$edit = node_validate($edit);
print theme('page', node_preview($edit), t('Preview %name', array('%name' => $name)));
print theme('page', node_preview($edit), t('Preview'));
break;
case t('Submit'):
drupal_set_title(t('Submit %name', array('%name' => $name)));
drupal_set_title(t('Submit'));
print theme('page', node_submit($edit));
break;
case t('Delete'):
print theme('page', node_delete($edit), t('Delete %name', array('%name' => $name)));
print theme('page', node_delete($edit), t('Delete'));
break;
default:
print theme('page', node_page_default(), '');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment