From f137b26979754e3e94bec73ea947cd87d08594a2 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 11 Feb 2004 19:21:14 +0000 Subject: - Patch 4902 by Goba: + only adds an optional parameter to url() and l(), so individual links can be set to be absolute + modifies drupal_goto() to accept the parameters of url() without the $absolute parameter, so cleaner invocations can be used + rework of some code in node_feed, making it much better to look at (the current code uses foreach with an immediate brake to get the first key of the associative array, geeeeez) + added xml:base to the rss tag generated by node_feed() + set all user mail URLs to be absolute + fix a small fragmented URL in user.module --- modules/comment.module | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/comment.module') diff --git a/modules/comment.module b/modules/comment.module index 702c6c368..ae6e0a1e3 100644 --- a/modules/comment.module +++ b/modules/comment.module @@ -837,7 +837,7 @@ function comment_page() { case t("Moderate comments"): case t("Moderate comment"): comment_moderate($edit); - drupal_goto(url(comment_referer_load())); + drupal_goto(comment_referer_load()); break; case "reply": print theme("page", comment_reply(check_query(arg(3)), check_query(arg(2))), t("Add new comment")); @@ -851,7 +851,7 @@ function comment_page() { print theme("page", $error_body, $error_title); } else { - drupal_goto(url(comment_referer_load())); + drupal_goto(comment_referer_load()); } break; case t("Save settings"): @@ -861,7 +861,7 @@ function comment_page() { $comments_per_page = $_POST["comments_per_page"]; comment_save_settings(check_query($mode), check_query($order), check_query($threshold), check_query($comments_per_page)); - drupal_goto(url(comment_referer_load())); + drupal_goto(comment_referer_load()); break; } } -- cgit v1.2.3