From f8dda8f80bae83459fe3f92b3a8d5ae5ae2a207c Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 5 Oct 2003 17:36:23 +0000 Subject: - Various path module fixes by Gabor. --- modules/path.module | 12 ++++++------ modules/path/path.module | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) (limited to 'modules') diff --git a/modules/path.module b/modules/path.module index 9fda730d4..763318484 100644 --- a/modules/path.module +++ b/modules/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(); } ?> 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(); } ?> -- cgit v1.2.3