diff options
-rw-r--r-- | modules/node.module | 4 | ||||
-rw-r--r-- | modules/node/node.module | 4 | ||||
-rw-r--r-- | modules/path.module | 2 | ||||
-rw-r--r-- | modules/path/path.module | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/modules/node.module b/modules/node.module index b23d071a5..a17b5eb3a 100644 --- a/modules/node.module +++ b/modules/node.module @@ -924,14 +924,14 @@ function node_admin_nodes() { // Overview table: $header = array(NULL, t('Title'), t('Type'), t('Author'), t('Status'), array('data' => t('Operations'), 'colspan' => '2')); + $destination = drupal_get_destination(); while ($node = db_fetch_object($result)) { $rows[] = array(form_checkbox(NULL, 'nodes]['. $node->nid, 1, 0), l($node->title, 'node/'. $node->nid) .' '. theme('mark', node_mark($node->nid, $node->changed)), node_invoke($node, 'node_name'), format_name($node), ($node->status ? t('published') : t('not published')), - l(t('edit'), 'node/'. $node->nid .'/edit'), - l(t('delete'), 'admin/node/delete/'. $node->nid)); + l(t('edit'), 'node/'. $node->nid .'/edit', array(), $destination)); } if ($pager = theme('pager', NULL, 50, 0)) { diff --git a/modules/node/node.module b/modules/node/node.module index b23d071a5..a17b5eb3a 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -924,14 +924,14 @@ function node_admin_nodes() { // Overview table: $header = array(NULL, t('Title'), t('Type'), t('Author'), t('Status'), array('data' => t('Operations'), 'colspan' => '2')); + $destination = drupal_get_destination(); while ($node = db_fetch_object($result)) { $rows[] = array(form_checkbox(NULL, 'nodes]['. $node->nid, 1, 0), l($node->title, 'node/'. $node->nid) .' '. theme('mark', node_mark($node->nid, $node->changed)), node_invoke($node, 'node_name'), format_name($node), ($node->status ? t('published') : t('not published')), - l(t('edit'), 'node/'. $node->nid .'/edit'), - l(t('delete'), 'admin/node/delete/'. $node->nid)); + l(t('edit'), 'node/'. $node->nid .'/edit', array(), $destination)); } if ($pager = theme('pager', NULL, 50, 0)) { diff --git a/modules/path.module b/modules/path.module index 86a9bea07..e48589c05 100644 --- a/modules/path.module +++ b/modules/path.module @@ -266,7 +266,7 @@ function path_overview() { $destination = drupal_get_destination(); while ($data = db_fetch_object($result)) { - $rows[] = array($data->dst, $data->src, l(t('edit'), "admin/path/edit/$data->pid", array(), $destination), l(t('delete'), "admin/path/delete/$data->pid")); + $rows[] = array($data->dst, $data->src, l(t('edit'), "admin/path/edit/$data->pid", array(), $destination), l(t('delete'), "admin/path/delete/$data->pid", array(), $destination)); } if ($pager = theme('pager', NULL, 50, 0, tablesort_pager())) { diff --git a/modules/path/path.module b/modules/path/path.module index 86a9bea07..e48589c05 100644 --- a/modules/path/path.module +++ b/modules/path/path.module @@ -266,7 +266,7 @@ function path_overview() { $destination = drupal_get_destination(); while ($data = db_fetch_object($result)) { - $rows[] = array($data->dst, $data->src, l(t('edit'), "admin/path/edit/$data->pid", array(), $destination), l(t('delete'), "admin/path/delete/$data->pid")); + $rows[] = array($data->dst, $data->src, l(t('edit'), "admin/path/edit/$data->pid", array(), $destination), l(t('delete'), "admin/path/delete/$data->pid", array(), $destination)); } if ($pager = theme('pager', NULL, 50, 0, tablesort_pager())) { |