summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-07-07 13:30:50 +0000
committerDries Buytaert <dries@buytaert.net>2005-07-07 13:30:50 +0000
commit73010a5215325763c301110ba108bb98b0a4cb98 (patch)
tree4ab25fc765535075cda471de97b80eab11378ebd
parent2c2d981e8629eadf7fcaaff13a8942418c82b5f9 (diff)
downloadbrdo-73010a5215325763c301110ba108bb98b0a4cb98.tar.gz
brdo-73010a5215325763c301110ba108bb98b0a4cb98.tar.bz2
- Fix by darix: fixed content type settings broken by berkes' last patch.
-rw-r--r--modules/node.module6
-rw-r--r--modules/node/node.module6
2 files changed, 6 insertions, 6 deletions
diff --git a/modules/node.module b/modules/node.module
index f718246a0..df4071636 100644
--- a/modules/node.module
+++ b/modules/node.module
@@ -693,7 +693,7 @@ function node_menu($may_cache) {
}
}
else if (arg(0) == 'admin' && arg(1) == 'node' && arg(2) == 'configure' && arg(3) == 'types' && is_string(arg(4))) {
- $items[] = array('path' => 'admin/node/configure/types/'. arg(4),
+ $items[] = array('path' => 'admin/settings/content-types/'. arg(4),
'title' => t("'%name' content type", array('%name' => node_invoke(arg(4), 'node_name'))),
'type' => MENU_CALLBACK);
}
@@ -931,7 +931,7 @@ function node_types_configure($type = NULL) {
if (isset($type)) {
// Go to the listing page when we submit this form, system_settings_save() calls drupal_goto().
if ($_POST['op']) {
- $_GET['q'] = 'admin/node/configure/types';
+ $_GET['q'] = 'admin/settings/content-types';
$options = 'options_'. $type;
if (empty($node->$options)) {
$node->$options = array();
@@ -953,7 +953,7 @@ function node_types_configure($type = NULL) {
$rows = array();
foreach (node_list() as $type) {
- $rows[] = array(node_invoke($type, 'node_name'), l(t('configure'), 'admin/node/configure/types/'. $type));
+ $rows[] = array(node_invoke($type, 'node_name'), l(t('configure'), 'admin/settings/content-types/'. $type));
}
return theme('table', $header, $rows);
diff --git a/modules/node/node.module b/modules/node/node.module
index f718246a0..df4071636 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -693,7 +693,7 @@ function node_menu($may_cache) {
}
}
else if (arg(0) == 'admin' && arg(1) == 'node' && arg(2) == 'configure' && arg(3) == 'types' && is_string(arg(4))) {
- $items[] = array('path' => 'admin/node/configure/types/'. arg(4),
+ $items[] = array('path' => 'admin/settings/content-types/'. arg(4),
'title' => t("'%name' content type", array('%name' => node_invoke(arg(4), 'node_name'))),
'type' => MENU_CALLBACK);
}
@@ -931,7 +931,7 @@ function node_types_configure($type = NULL) {
if (isset($type)) {
// Go to the listing page when we submit this form, system_settings_save() calls drupal_goto().
if ($_POST['op']) {
- $_GET['q'] = 'admin/node/configure/types';
+ $_GET['q'] = 'admin/settings/content-types';
$options = 'options_'. $type;
if (empty($node->$options)) {
$node->$options = array();
@@ -953,7 +953,7 @@ function node_types_configure($type = NULL) {
$rows = array();
foreach (node_list() as $type) {
- $rows[] = array(node_invoke($type, 'node_name'), l(t('configure'), 'admin/node/configure/types/'. $type));
+ $rows[] = array(node_invoke($type, 'node_name'), l(t('configure'), 'admin/settings/content-types/'. $type));
}
return theme('table', $header, $rows);