summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-08-30 07:40:19 +0000
committerDries Buytaert <dries@buytaert.net>2003-08-30 07:40:19 +0000
commit6f4e902e3bf5b7536eb600d916374ba708805b60 (patch)
tree09f9bef4e670613be3db80becacd318fab0af1d7
parent99400fa3344ae6041a23e47c72e41283b5057a29 (diff)
downloadbrdo-6f4e902e3bf5b7536eb600d916374ba708805b60.tar.gz
brdo-6f4e902e3bf5b7536eb600d916374ba708805b60.tar.bz2
- Corrected the form description of the URL aliasing; don't add a trailing
slash. Reported by Stefan.
-rw-r--r--modules/node.module2
-rw-r--r--modules/node/node.module2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/node.module b/modules/node.module
index 96e43cb57..0e81aab1b 100644
--- a/modules/node.module
+++ b/modules/node.module
@@ -1228,7 +1228,7 @@ function node_form($edit, $error = NULL) {
$output .= form_textfield(t("Title"), "title", $edit->title, 60, 128, $error["title"]);
if (user_access("create custom URLs")) {
- $output .= form_textfield(t("Path alias"), "path", ($edit->path == "node/view/$edit->nid") ? "" : $edit->path, 60, 250, $error["path"] ? $error["path"] : t("Optionally specify an alternative URL by which this node can be accessed. For example, type 'about/' when writing an about page."));
+ $output .= form_textfield(t("Path alias"), "path", ($edit->path == "node/view/$edit->nid") ? "" : $edit->path, 60, 250, $error["path"] ? $error["path"] : t("Optionally specify an alternative URL by which this node can be accessed. For example, type 'about' when writing an about page. Don't add a trailing slash or the URL won't work."));
}
/*
diff --git a/modules/node/node.module b/modules/node/node.module
index 96e43cb57..0e81aab1b 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -1228,7 +1228,7 @@ function node_form($edit, $error = NULL) {
$output .= form_textfield(t("Title"), "title", $edit->title, 60, 128, $error["title"]);
if (user_access("create custom URLs")) {
- $output .= form_textfield(t("Path alias"), "path", ($edit->path == "node/view/$edit->nid") ? "" : $edit->path, 60, 250, $error["path"] ? $error["path"] : t("Optionally specify an alternative URL by which this node can be accessed. For example, type 'about/' when writing an about page."));
+ $output .= form_textfield(t("Path alias"), "path", ($edit->path == "node/view/$edit->nid") ? "" : $edit->path, 60, 250, $error["path"] ? $error["path"] : t("Optionally specify an alternative URL by which this node can be accessed. For example, type 'about' when writing an about page. Don't add a trailing slash or the URL won't work."));
}
/*