diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-10-05 17:36:23 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-10-05 17:36:23 +0000 |
commit | f8dda8f80bae83459fe3f92b3a8d5ae5ae2a207c (patch) | |
tree | 10696c3534731f162789ce626b449772cdffa1ce /modules/path/path.module | |
parent | 54a157edee162d5123f7750d88493dd9429799d0 (diff) | |
download | brdo-f8dda8f80bae83459fe3f92b3a8d5ae5ae2a207c.tar.gz brdo-f8dda8f80bae83459fe3f92b3a8d5ae5ae2a207c.tar.bz2 |
- Various path module fixes by Gabor.
Diffstat (limited to 'modules/path/path.module')
-rw-r--r-- | modules/path/path.module | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/path/path.module b/modules/path/path.module index 9fda730d4..763318484 100644 --- a/modules/path/path.module +++ b/modules/path/path.module @@ -19,11 +19,11 @@ function path_admin() { } switch ($op) { - case t("add"): + case "add": $output = path_form(); break; - case t("edit"): + case "edit": $output = path_form(path_load(arg(3))); break; @@ -31,13 +31,13 @@ function path_admin() { $output = path_help(); break; - case t("delete"): + case "delete": $output = status(path_delete(arg(3))); $output .= path_overview(); break; - case t("create new alias"): - case t("update alias"): + case t("Create new alias"): + case t("Update alias"): $output .= status(path_save($edit)); break; @@ -265,7 +265,7 @@ function path_save($edit) { } } - return t("the alias has been created.") . path_overview(); + return t("the alias has been saved.") . path_overview(); } ?> |